From 70347aedd5a6eee7aae1a9b9d079395e9e2d91ae Mon Sep 17 00:00:00 2001
From: Andreas Dangel
Date: Tue, 1 May 2012 07:38:38 +0000
Subject: [PATCH] pmd: Prepare pmd release 5.0.0
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/5.0.x@7665 51baf565-9d33-0410-a72c-fc3788e3496d
---
pmd/etc/changelog.txt | 37 ++----------------------
pmd/src/site/site.pre.xml | 8 ++----
pmd/src/site/xdocs/index.xml | 54 ++++++++++++++++++++++++------------
3 files changed, 42 insertions(+), 57 deletions(-)
diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt
index bec7bb4457..e337ffe9e9 100644
--- a/pmd/etc/changelog.txt
+++ b/pmd/etc/changelog.txt
@@ -1,42 +1,11 @@
-???? ??, 2012 - 5.0:
-
-TODO - Release blockers - Must implement before this release can be finally finished
-
- CODE:
- o PropertyDescriptor final tasks:
- - Find some way to have them appear in the online documentation for the rules
- that have them. Ideally we want to ensure we define them in one place only.
- - Report renderers now inherit from PropertySource so we should migrate the
- old-style property references to use the new style. Ensure we remain
- compatible with the online arguments that get passed in.
- o Need to refactor the test framework to more readily support for multiple
- Languages (too Java-centric at the moment). Then, need start adding tests
- for the new XML language and other new languages.
- o Need the modify RuleViolation, RuleViolationFactory, and Rule base classes
- to recognize the difference between violations which require a Node, and
- those without. This is to make certain that Rules which require and do not
- pass, will die with an error because they are buggy and need to be fixed.
-
- DOCUMENTATION:
- o Expand documentation examples which demonstrate use of new RuleSetReferenceId
- capabilities, specifically interal RuleSet reference in a RuleSet XML, and use
- of a Rule reference in places not previously possible (e.g. CMD and Ant).
- o Fully document the changed/new command line and Ant configuration options.
- o Need to enhance documentation to cover Global and Language specific
- function namespaces required for XPath 2.0 use (e.g. pmd:matches
- and pmd-java:typeof).
+May, 1, 2012 - 5.0.0:
Fixed bug 3470274: Using Label for lines in XMLRenderer
Fixed bug 3175710: NPE in InsufficientStringBufferDeclaration
-
CPD:
- Exit with status code 4 when CPD detects code duplication (Patch ID: 3497021)
-
----
-
-
January 31, 2012 - 5.0-alpha:
This version of PMD breaks API compatibility with prior versions of PMD, as well
@@ -458,7 +427,7 @@ The RuleSet XML Schema namespace is now: http://pmd.sourceforge.net/ruleset/2.0.
The RuleSet XML Schema is located in the source at: etc/ruleset_2_0_0.xsd
The RuleSet DTD is located in the source at: etc/ruleset_2_0_0.dtd
Improved include/exclude pattern matching performance for ends-with type patterns.
-Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús García de Soria.
+Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús GarcÃa de Soria.
Fixed character reference in xml report - thanks to Seko
Enhanced SuspiciousEqualsMethodName rule - thanks to Andy Throgmorton
Add a script to launch CPDGUI on Unix system - thanks to Tom Wheeler
@@ -522,7 +491,7 @@ Fixed bug 2835074 - False -: DoubleCheckedLocking with reversed null check
Fixed bug 2826119 - False +: DoubleCheckedLocking warning with volatile field
Fixed bug 2904832 - Type resolution not working for ASTType when using an inner class
-Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús García de Soria.
+Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús GarcÃa de Soria.
Correct -benchmark reporting of Rule visits via the RuleChain
Fix issue with Type Resolution incorrectly handling of Classes with same name as a java.lang Class.
The JSP/JSF parser can now parse Unicode input.
diff --git a/pmd/src/site/site.pre.xml b/pmd/src/site/site.pre.xml
index 1203fcac43..7a86ae11f6 100644
--- a/pmd/src/site/site.pre.xml
+++ b/pmd/src/site/site.pre.xml
@@ -21,12 +21,8 @@
+ Note: PMD 5 is not backwards compatible with PMD 4.x.
+
+ 2011-11-04 PMD 4.3 (download):
+
+ - Add support for Java 7 grammer - thanks to Dinesh Bolkensteyn and SonarSource ;
+ - Add C# support for CPD - thanks to Florian Bauer ;
+ - And, as usual, a bunch of bug fixes and a couple new rules (DontCallThreadRun and GuardDebugLogging) (See Changelog).
+
+ Note: default JDK setting for PMD is now Java 7.
+
+
+ 2011-09-14 PMD 4.2.6: bug fixes, new rules (Changelog)
+ 2009-02-08 PMD 4.2.5: bug fixes, new rule, new Android ruleset (Changelog)
+ 2008-10-12 PMD 4.2.4: bug fixes (Changelog)
+ 2008-08-31 PMD 4.2.3: yet more bug fixes (Changelog)
+ 2008-05-20 PMD 4.2.2: more bug fixes on the 4.2 branch (Changelog)
+ 2008-04-11 PMD 4.2.1: bug fixes (Changelog)
+
+
+ Future releases
+ The next development version will be PMD 5.1. We will release other 5.0.x versions
+ with bug fixes if needed.
+ A snapshot of the web site for the new version is generated daily by our continuous integration server. Early access versions can also be downloaded from there.