Commit Graph

6746 Commits

Author SHA1 Message Date
4ffeda09cf pmd: cleanup with the namespace handling in the ruleset files
noNameSpaceLocation is not needed as we use our namespace as
the default one. If we use anything else, we anyway need to
declare what we use.

Copied the schema and dtd to website.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7681 51baf565-9d33-0410-a72c-fc3788e3496d
2012-06-02 12:03:49 +00:00
40c2a5d768 cpd: fixed bug , preserving the newlines in the XML report
Excluding the transitive xalan dependency and adding the missing saxon-dom
dependency, so that we have saxon complete and only one XML library.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7680 51baf565-9d33-0410-a72c-fc3788e3496d
2012-06-02 12:00:55 +00:00
9eab491f2a pmd: fixed bug (InsufficientStringBufferDeclaration fails to parse hex)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7679 51baf565-9d33-0410-a72c-fc3788e3496d
2012-06-02 12:00:14 +00:00
2ec09b626a pmd: Strings.InefficientStringBuffering: fixed bugs and
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7678 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-31 18:22:48 +00:00
af59a4c38b pmd: update changelog
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7677 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-30 19:27:41 +00:00
dd5ae3869c pmd: Fix parser problem with generics
Modified the grammar, so that the different usages of generics work.
Adjusted the rules, that use "super", as super is no longer a PrimarySuffix.
It's now either a ExplicitConstructorInvocation or a PrimaryPrefix.
See also test case ParserCornersTest/testParsersCases

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7676 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-30 18:29:22 +00:00
65e7054972 pmd: improve MissingBreakInSwitch to ignore empty cases
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7675 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-28 17:46:36 +00:00
933e4e4456 Added a new website front-page for pmd.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7674 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-28 06:18:14 +00:00
4768da3e47 pmd: added test case for parser problem
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7673 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-28 06:17:41 +00:00
04d5f470e8 pmd: improve MissingBreakInSwitch to fix false-
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7672 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-28 06:17:04 +00:00
7199a1103d Disable rules from markers shown in editors
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7671 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-03 19:10:53 +00:00
cfb9d30a4d pmd: merged r7665 and r7669 from 5.0.x branch to trunk
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7670 51baf565-9d33-0410-a72c-fc3788e3496d
2012-05-01 12:09:15 +00:00
d841cbaece [maven-release-plugin] prepare release 5.0.x
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7663 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 11:32:30 +00:00
736851e446 [maven-release-plugin] prepare branch 5.0.x
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7661 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 11:31:55 +00:00
47c1cee404 pmd: change the location of the website to include the version number.
This is to support easily multiple pmd versions on the website.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7660 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 11:19:16 +00:00
4124ac0194 pmd: use the released pmd-build plugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7659 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 11:18:50 +00:00
35790351ec [maven-release-plugin] prepare for next development iteration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7658 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 08:58:46 +00:00
d7c37a7876 [maven-release-plugin] prepare release pmd-build-0.6
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7656 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 08:58:07 +00:00
adfa541460 pmd: upgrading plugin versions, making site maven 3 ready
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7655 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 08:54:53 +00:00
2b6400f860 pmd: update documentation, update links in site
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7654 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 08:54:20 +00:00
91f425231f pmd: added the list of XPath attributes to the Designer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7653 51baf565-9d33-0410-a72c-fc3788e3496d
2012-04-30 08:53:23 +00:00
89573b7dc3 pmd: use latest pmd-build plugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7652 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-25 08:09:47 +00:00
cec831d8d9 pmd (build): add missing href to the menu items
We'll need this once we switch to maven3 for site generation

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7651 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-25 08:09:18 +00:00
a27db9c932 pmd (build): fix xref link to rule source; thanks to Mason (masondj) for pointing this out.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7650 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-25 08:08:38 +00:00
3d53a0a4b6 Class name change from Configuration -> PMDConfiguration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7649 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-13 02:37:55 +00:00
1838cab4f9 Refactor main CPD class: migration of command-line arg handling to separate CPDConfiguration class similar to how PMD does it. Will eventually formalize the parameters in the same way.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7648 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-13 02:02:35 +00:00
f2c95c6810 Release 11.1.2.4300
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7646 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 20:19:42 +00:00
cc88c397e3 Release 11.1.1.4300
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7644 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 19:59:15 +00:00
2e8a2625b9 Release 11.1.2.4300
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7643 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 19:57:28 +00:00
bd79c60d85 misc: rm redundant cast, StringBuffer->StringBuilder updates
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7642 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 16:54:13 +00:00
47413a2671 misc: rm redundant cast, rename method
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7641 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 16:34:01 +00:00
99906b8832 Release 10.1.3.4300
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7639 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-11 18:50:49 +00:00
44a1618b6e Applied patch 3497021 from Remi Delmas - CPD now returns non zero status if duplication is found.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7638 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-06 08:42:11 +00:00
6ea6ceab13 Add test case for bug 3496028 (False-)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7637 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-01 23:38:39 +00:00
01cb7b943d Add some tests to reproduce reported bugs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7636 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-28 09:40:10 +00:00
3bd0358b76 Fixed bug 3175710: NPE in InsufficientStringBufferDeclaration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7635 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-28 09:38:43 +00:00
da4059509b pmd: upgrade the checkstyle plugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7634 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-26 15:42:07 +00:00
4279747dcf pmd (site): moved release process documentation to site
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7633 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-26 15:41:45 +00:00
f9ab211b28 renamed violation class, some minor tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7632 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 19:47:26 +00:00
f818c4f72f Various cleanups & refactorings. I would suggest using the name of ParametricRuleViolation instead.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7631 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 19:10:33 +00:00
ae375aa8a1 rm deprecated command line hander & related test, updates to the new one
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7630 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 19:05:58 +00:00
49b55eb199 Test case for bug 3372128 - can't reproduce
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7629 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 11:12:16 +00:00
970771586c Fix 3470274: Using Label for lines in XMLRenderer.
Also did some code cleaning/refactor of the class.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7628 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 10:35:41 +00:00
57b117beee Refactor RuleViolationFactory
In order to ease the integration of new language,
I've refactor a couple of Abstract class, that was
in fact cocncrete (ie no abstract methods) into
parametizable (if this is a word) classes. Idea
being that other languages can simply reuse the
class instead of having to create a class just
to make the abstract class concrete.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7627 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 10:35:10 +00:00
ca9f7aa657 Whitespaces
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7626 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 10:34:14 +00:00
3225b95ef6 Updating Changelog (remove ToDo's that are done)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7625 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 10:33:34 +00:00
d54a66857c pmd: improved the release process documentation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7624 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-31 20:22:35 +00:00
598a293dae [maven-release-plugin] prepare release 5.0-alpha
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7620 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-31 18:45:12 +00:00
311c0ec909 [maven-release-plugin] prepare branch 5.0-alpha
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7618 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-31 18:43:54 +00:00
04769d7631 pmd: preparing release 5.0-alpha
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7617 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-31 18:00:22 +00:00