6828 Commits

Author SHA1 Message Date
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
Andreas Dangel
110fd248ca pmd: Merge pull request #7 2012-10-22 18:57:58 +02:00
Andreas Dangel
d3d31968d5 pmd: #1034 UseConcurrentHashMap flags calls to methods that return Map 2012-10-21 19:59:32 +02:00
Andreas Dangel
ce8a166a11 pmd: #1031 false DontImportJavaLang 2012-10-21 19:57:51 +02:00
Andreas Dangel
d1d4fca5d5 pmd: #1035 UseObjectForClearerAPI has misspelled message 2012-10-21 19:24:01 +02:00
Andreas Dangel
3d2ff17d83 pmd: update bug ids 2012-10-21 17:04:45 +02:00
Andreas Dangel
86015e5277 pmd: using new pmd-build to fix bug 1036 - documentation of properties 2012-10-21 16:36:21 +02:00
Andreas Dangel
3941103714 pmd (build): add a RuntimeRulePropertiesAnalyzer to get the properties a rule supports for documentation (bug 1036)
* added maven plugin testing for a mojo test case
2012-10-21 16:32:30 +02:00
Andreas Dangel
fefdc27c01 pmd (build): make sure the rulesets are sorted alphabetically
* fix TODO - use compiled regex pattern
2012-10-13 18:18:47 +02:00
Andreas Dangel
d126d9b0b8 pmd: bugfix 3546093 performance improving by caching not found classes 2012-10-07 10:38:52 +02:00
Andreas Dangel
60c2af73fd pmd: reintroducing check whether multi threading is support (bugfix for 3565001)
* created SystemUtils to check for multi-threading permission
Revert "pmd: Remove hack related to multithreading in jdk5 with Eclipse - no longer relevant today"

This reverts commit 720bb3d3b41e2590d6f0e4b8542244192a56e022.
2012-10-06 20:58:13 +02:00
Andreas Dangel
54cfe41206 pmd: improve javacc build with eclipse - add incremental build and only build if necessary 2012-10-06 19:24:32 +02:00
Andreas Dangel
99daea42a5 pmd: cleanup redundant test classes
* the two test suites are already integrated in DesignRulesTest and CouplingRulesTest
2012-10-06 19:20:25 +02:00
Andreas Dangel
28b37d6767 pmd: bugfix for 3574133: False+ : SingularField 2012-10-06 19:19:57 +02:00
Andreas Dangel
da6e8fc05e pmd: updated changelog with bugfixes 2012-10-04 20:06:24 +02:00
Andreas Dangel
803e51f56b pmd: improve eclipse/maven integration 2012-10-03 21:51:58 +02:00
Andreas Dangel
5b7273bd47 pmd: delete the files that are generated by javacc from the repository
* the generated files are now located under target/generated-sources/javacc
 * Note: The files that are left in
   src/main/java/net/sourceforge/pmd/lang/java/ast
   were initially generated by javacc, but were modified
   (e.g. every AST*.java class)
2012-10-03 21:51:17 +02:00
Andreas Dangel
05b805b92c whitespaces / reformat 2012-10-03 21:48:52 +02:00
Andreas Dangel
97899e8b04 pmd website: make the site more friendly for smartphones. 2012-09-10 19:08:16 +02:00
Andreas Dangel
ea6285dbf2 pmd (site): update release process with git specific commands. 2012-09-10 19:08:16 +02:00
ryan-gustafson
051824beb8 Remove stray System.out. 2012-08-25 12:20:46 -05:00
ryan-gustafson
6419c3d6f5 Fixed bug 3560464: c/c++ \ as a continuation character not supported
Add ContinuationReader which entirely omits \\n and \\r\n from the
underlying Reader before anything reaches the parser.
2012-08-24 01:16:43 -05:00
ryan-gustafson
98c18554df Add ecmascript AvoidTrailingComma rule. 2012-08-15 05:42:50 -05:00
Romain PELISSE
37ec2f505b Add supported languages to generate usage/help text for CLI 2012-08-06 20:25:22 +02:00
Romain PELISSE
8709ade69f Add a positive value validator for the threads option 2012-08-06 19:54:57 +02:00
Romain PELISSE
a66133e053 Remove now useless classes 2012-08-04 17:41:36 +02:00
Romain PELISSE
a0236ee67f Move all CLI related logic into a class in the subpackage 'cli' - mostly to simplify and clarifiy PMD main class code. 2012-08-04 17:41:27 +02:00
Romain PELISSE
f0b17e35ce Add a new Parameters class to hold all the parameters of PMD CLI 2012-08-04 17:37:02 +02:00
Romain PELISSE
bd23033a82 Add jcommander as a dependency, in order to rework PMD CLI with it 2012-08-04 17:36:12 +02:00
Romain PELISSE
5d3f5f3ff4 Move XPathCLI to appropriate CLI subpackage 2012-08-04 17:35:17 +02:00
Romain PELISSE
a248ca7da3 Whitespaces 2012-08-04 17:33:54 +02:00
Romain PELISSE
e5083d3f59 Fix tests data directory, to ensure all files are properly generated inside the directory 2012-08-04 12:01:13 +02:00
Pelisse Romain
76b61e3054 Merge pull request #2 from rpelisse/master
Unit Test for CLI
2012-08-03 13:13:52 -07:00
Romain PELISSE
094e1bd490 Add unit test for CLI 2012-08-03 15:49:08 +02:00
Romain PELISSE
969678015d Modify PMD run to allow unit test to workaround the call to exit() - and retrieve the status code (using env's properties 2012-08-03 15:49:08 +02:00
Romain PELISSE
42ba8815b4 Add an handy public method to search for a pattern in a file 2012-08-03 15:49:08 +02:00