6886 Commits

Author SHA1 Message Date
Torsten Kleiber
ef7478c350 Fix for bug #1056 "Error while processing" while running on xml file with DOCTYPE reference
Change the initial value of XINCLUDE_AWARE_DESCRIPTOR to false
This does validate an invalid doctype reference as in some ide generated xml files exist.
Any xml rule, which needs this property should overwrite this value with true.
2013-02-03 15:32:54 +01:00
Romain PELISSE
c080fdda08 pmd: fix #1049 Errors in "How to write a rule" 2013-02-03 15:31:21 +01:00
Andreas Dangel
e603844a53 pmd: fix #1030 CPD Java.lang.IndexOutOfBoundsException: Index: 2013-01-26 20:08:54 +01:00
Andreas Dangel
52b8be6601 pmd: fixed #947 CloseResource rule fails if field is marked with annotation 2013-01-26 17:58:31 +01:00
Andreas Dangel
7cbb385dbb pmd: fixed #1011 CloseResource Rule ignores Constructors 2013-01-26 17:57:17 +01:00
Andreas Dangel
61c0b4ea7f pmd: fixed #1007 Parse Exception with annotation 2013-01-26 17:57:11 +01:00
Andreas Dangel
26fa85a9fa pmd: fixed #1046 ant task CPDTask doesn't accept ecmascript 2013-01-26 17:56:51 +01:00
Andreas Dangel
98b903897e pmd: fixed #1039 pmd-nicerhtml.xsl is packaged in wrong location 2013-01-26 17:55:22 +01:00
Andreas Dangel
55b5aa7f27 pmd: update rule-guidelines to changed package names 2013-01-26 17:54:09 +01:00
Andreas Dangel
ffac9894c9 pmd: fixed #1028 False-positive: Compare objects with equals for Enums 2013-01-26 17:54:03 +01:00
Andreas Dangel
d557ed9c01 pmd: verify #1020 Parsing Error 2013-01-26 17:53:56 +01:00
Andreas Dangel
e0b7f6f17c pmd: fixed #913 SignatureDeclareThrowsException is raised twice 2013-01-26 17:53:49 +01:00
Andreas Dangel
cb9861dd1f pmd: fixed #878 False positive: UnusedFormalParameter for abstract methods 2013-01-26 17:53:41 +01:00
Andreas Dangel
7ee96a6b52 pmd: fixed #1055 Please add a colon in the ant output after line,column for Oracle JDeveloper IDE usage 2013-01-26 17:53:33 +01:00
Andreas Dangel
ac8e3314a3 pmd: fixed bug #1012 False positive: Useless parentheses. 2013-01-19 19:13:09 +01:00
Andreas Dangel
7989ae1863 pmd: fixed #1060 GodClassRule >>> wrong method 2013-01-19 19:12:59 +01:00
Andreas Dangel
e3708b5030 pmd: fix #1037 Facing a showstopper issue in PMD Report Class
* wrapping the report listeners in a thread safe (synchronized) class
 * overtaking the listeners for each thread / report
2012-12-17 11:02:24 +01:00
Andreas Dangel
85e493d55f pmd: fixed #1026 PMD doesn't handle 'value =' in SuppressWarnings annotation 2012-12-16 23:12:29 +01:00
Andreas Dangel
6abbea51dd pmd: fix #1043 node.getEndLine() always returns 0 (ECMAscript)
* added commons-io dependency
 * added a SourceCodePositioner to calculate line/column from position
2012-12-16 18:16:39 +01:00
Andreas Dangel
9162917346 pmd: fix #1047 False Positive in 'for' loops for LocalVariableCouldBeFinal in 5.0.1 2012-12-16 12:10:06 +01:00
Andreas Dangel
637006674f pmd: Fixed bug 1048: CommentContent Rule, String Index out of range Exception 2012-12-07 11:17:44 +01:00
Andreas Dangel
63c1a8fe47 pmd: CLI - make sure we display the usage help text
Therefore make the -h option a help option.
Make the auxclasspath option description look nicer - newlines break the layout.
Always display the jcommander usage help text.
And exit with an error code in case there are parameter errors.
2012-12-05 22:02:49 +01:00
Andreas Dangel
063c4228e3 pmd: fix bug #1044 - update suppressing documentation with new cli paramter name 2012-12-05 22:02:40 +01:00
Andreas Dangel
4b0063dfc1 [maven-release-plugin] prepare for next development iteration 2012-11-28 21:43:38 +01:00
Andreas Dangel
13e36974a5 [maven-release-plugin] prepare release pmd_releases/5.0.1 pmd_releases/5.0.1 2012-11-28 21:43:36 +01:00
Andreas Dangel
33c7af965c pmd: fix failing unit test 2012-11-28 21:25:56 +01:00
Andreas Dangel
a66bbf2193 pmd: prepare release 5.0.1 2012-11-28 21:02:35 +01:00
Andreas Dangel
38af8f2433 Merge branch 'master' into pmd/5.0.x 2012-11-28 20:42:58 +01:00
Pelisse Romain
9fcc0a5c5f Merge pull request #11 from rsalvador/PMDASTClassLoader
Reuse PMDASMClassLoader instance across all compilation units analyzed.
2012-11-28 11:17:09 -08:00
Andreas Dangel
ec9725bbda pmd: update changelog, add contributor info 2012-11-28 20:10:35 +01:00
Andreas Dangel
9a83980ff8 Merge remote-tracking branch 'adangel/cpd-suppression' 2012-11-28 20:08:33 +01:00
Andreas Dangel
c3bf059fa4 Merge remote-tracking branch 'adangel/cstokenizer' 2012-11-28 20:07:10 +01:00
Andreas Dangel
4ec958197c Merge branch 'master' 2012-11-28 20:05:25 +01:00
rsalvador
9e4858b8c2 Reuse PMDASMClassLoader instance across all compilation units analyzed. 2012-11-28 10:08:43 -08:00
Romain PELISSE
14ea3c509d Merge branch 'fault-tolerant' of https://github.com/rsalvador/pmd 2012-11-28 15:30:49 +01:00
Pelisse Romain
57162d0ecd Merge pull request #9 from rsalvador/auxclasspath
Add missing handling for -auxclasspath parameter.
2012-11-27 16:02:34 -08:00
rsalvador
b172c19de7 Make PMD more fault-tolerant. 2012-11-27 13:17:15 -08:00
rsalvador
9366ca2cde Add missing handling for -auxclasspath parameter. 2012-11-27 13:03:03 -08:00
Andreas Dangel
6b82ce4c48 pmd: using the release pmd-build plugin 2012-11-24 18:28:48 +01:00
Andreas Dangel
6a8d7c3bcc [maven-release-plugin] prepare for next development iteration 2012-11-24 17:56:05 +01:00
Andreas Dangel
b242118d74 [maven-release-plugin] prepare release pmd-build/0.7 pmd-build/0.7 2012-11-24 17:56:04 +01:00
Andreas Dangel
d1dfc93eb4 pmd/cpd: adding documentation and switches for suppressing ability and new ignore_annotations switch. 2012-11-23 22:12:04 +01:00
Andreas Dangel
b2f3c070f5 Merge pull request #6 into tacitknowledge-master 2012-11-22 21:30:50 +01:00
Andreas Dangel
62ec54b152 pmd: added unit test for CsTokenizer
* behaves similar like Java, e.g. ignoring semicolons and comments
2012-11-22 20:18:07 +01:00
Andreas Dangel
c563d8c4ce Merge remote-tracking branch 'tiobe/master' into tiobe-master 2012-11-20 22:53:47 +01:00
Andreas Dangel
b0c2721c22 pmd (build): ignore rule definitions without a name in our documentation
This basically adds the question, how to deal with deprecated rule definitions.
We should document this, maybe in an own section per ruleset.
2012-11-20 18:12:42 +01:00
Andreas Dangel
bed009c779 pmd site: fix broken links 2012-11-19 22:46:34 +01:00
Andreas Dangel
dd283b27a5 pmd: updating TODOs in changelog.txt
* test framework: This is done AFAIK - we have tests in different languages.
* RuleViolations without Nodes: Created bug to follow up: https://sourceforge.net/p/pmd/bugs/1040/
* XPath functions doc: Created bug to follow up: https://sourceforge.net/p/pmd/bugs/1041/
* RuleSetReferenceId: Created bug to follow up: https://sourceforge.net/p/pmd/bugs/1042/
2012-11-18 18:15:49 +01:00
Andreas Dangel
0262776074 pmd: re-enable PMDCoverageTest 2012-11-17 17:22:06 +01:00
Andreas Dangel
68cc44b374 add a basic README.md file for github 2012-11-17 17:00:27 +01:00