6870 Commits

Author SHA1 Message Date
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
Andreas Dangel
cc17820ec2 pmd: add a parent pom file to help buildhive identify the maven build 2012-11-17 16:56:05 +01:00
Andreas Dangel
fe0df04363 pmd website: update links, add a proper rewrite rule, add a nicer 404 error page 2012-11-17 16:25:32 +01:00
Romain PELISSE
3545b58820 Merge with remote 2012-11-14 22:55:39 +01:00
Romain PELISSE
5059c75b47 Merge with master 2012-11-14 22:46:12 +01:00
Romain PELISSE
7bc5810f7a pmd: adding changes suggested by Ryan Gustavson 2012-11-14 22:06:32 +01:00
Romain PELISSE
a887700c8f pmd: Fix broken docs regarding new CLI tool usage 2012-11-14 22:06:24 +01:00
Romain PELISSE
1de9f7cd49 pmd: Reindent and whitespaces 2012-11-14 22:06:19 +01:00
Romain PELISSE
412322567e pmd: removes invalid call to System.exit() 2012-11-14 21:29:15 +01:00
Andreas Dangel
d4ff29d2f7 Merge remote-tracking branch 'rpelisse/master' 2012-11-14 20:57:06 +01:00
Pelisse Romain
4a5afbcf75 Merge pull request #8 from adangel/property-renderer
Great job on Property renderer ! Thanks !
2012-11-14 11:30:33 -08:00
Andreas Dangel
a72c4f293c pmd: refactor renderers to use PropertyDescriptors 2012-10-26 20:13:20 +02:00
Andreas Dangel
940d5e36a8 pmd: make the old style properties deprecated for Renderer
* Provides also a default fall back to StringProperty
 * Use the new PropertyDescriptor for PMD command line help text
2012-10-26 19:31:26 +02:00
Andreas Dangel
db22a424c4 pmd: remove old-style properties for renderers, where the properties were not used 2012-10-24 21:45:01 +02:00
Andreas Dangel
4304c8c455 pmd: updating tracker urls (bug 1025) 2012-10-22 20:21:54 +02:00
Andreas Dangel
be6d551ba2 pmd (build): adjust release docu for git 2012-10-22 20:11:52 +02:00
Andreas Dangel
97b92fbf56 pmd: correct tracker url 2012-10-22 19:29:21 +02:00