375 Commits

Author SHA1 Message Date
Andreas Dangel
ea2776f70c [maven-release-plugin] prepare release pmd_releases/6.11.0 2019-01-27 13:24:51 +01:00
Andreas Dangel
89c8f47b2b Move JavaCCTokenizer to internal package 2019-01-26 19:19:46 +01:00
Andreas Dangel
08b7dd49dd [core] Add a generic JavaCCTokenizer for CPD 2019-01-26 11:24:32 +01:00
Andreas Dangel
b745f331b8 CPD: Fix error handling for lexical errors
* TokenMgrError must not be caught by the tokenizer. This is handled
  by CPD itself
* The token managers need to know the filename for proper error messages
2019-01-20 10:18:56 +01:00
Clément Fournier
12b647c548 Merge branch 'master' into 7.0.x
Conflicts:
	pmd-apex-jorje/pom.xml
	pmd-apex/pom.xml
	pmd-core/pom.xml
	pmd-core/src/main/java/net/sourceforge/pmd/lang/LanguageVersionHandler.java
	pmd-core/src/main/java/net/sourceforge/pmd/util/designer/Designer.java
	pmd-cpp/pom.xml
	pmd-cpp/src/main/java/net/sourceforge/pmd/lang/cpp/CppHandler.java
	pmd-cs/pom.xml
	pmd-dist/pom.xml
	pmd-doc/pom.xml
	pmd-fortran/pom.xml
	pmd-go/pom.xml
	pmd-groovy/pom.xml
	pmd-java/pom.xml
	pmd-java8/pom.xml
	pmd-javascript/pom.xml
	pmd-jsp/pom.xml
	pmd-kotlin/pom.xml
	pmd-lang-test/pom.xml
	pmd-matlab/pom.xml
	pmd-matlab/src/main/java/net/sourceforge/pmd/lang/matlab/MatlabHandler.java
	pmd-objectivec/pom.xml
	pmd-objectivec/src/main/java/net/sourceforge/pmd/lang/objectivec/ObjectiveCHandler.java
	pmd-perl/pom.xml
	pmd-php/pom.xml
	pmd-plsql/pom.xml
	pmd-python/pom.xml
	pmd-python/src/main/java/net/sourceforge/pmd/lang/python/PythonHandler.java
	pmd-ruby/pom.xml
	pmd-scala/pom.xml
	pmd-swift/pom.xml
	pmd-test/pom.xml
	pmd-ui/pom.xml
	pmd-visualforce/pom.xml
	pmd-vm/pom.xml
	pmd-xml/pom.xml
	pom.xml
2018-12-13 18:53:10 +01:00
Andreas Dangel
dcb8bb42a2 [maven-release-plugin] prepare for next development iteration 2018-12-09 10:42:20 +01:00
Andreas Dangel
27374d8592 [maven-release-plugin] prepare release pmd_releases/6.10.0 2018-12-09 10:42:09 +01:00
Clément Fournier
4962bc2831 Remove usages of EnumeratedProperty 2018-12-06 15:21:00 +01:00
Clément Fournier
81c9d39bd8 Remove most usages of BooleanProperty 2018-12-04 13:49:35 +01:00
Andreas Dangel
d7f5b0b536 Remove clean configuration from (very) old site generation 2018-12-02 10:30:36 +01:00
Clément Fournier
725f8d7039 Merge branch 'master' into 7.0.x 2018-11-27 18:09:31 +01:00
Andreas Dangel
e735ee0f84 Dogfood - IdenticalCatchBranches, AvoidFileStream 2018-11-25 16:00:47 +01:00
Clément Fournier
5eb1d23a38 Create system to declare processing stages in an extensible fashion 2018-11-02 07:39:16 +01:00
Andreas Dangel
38ab2abc46 Merge branch 'master' into pmd/7.0.x 2018-10-28 19:39:32 +01:00
Andreas Dangel
3c50db2439 [maven-release-plugin] prepare for next development iteration 2018-10-28 16:49:09 +01:00
Andreas Dangel
7e4e859c5f [maven-release-plugin] prepare release pmd_releases/6.9.0 2018-10-28 16:48:57 +01:00
Clément Fournier
b62b216b29 Merge branch 'pr-1399' 2018-10-27 22:55:10 +02:00
Clément Fournier
39f87ca5f3 Update schema location in rulesets 2018-10-27 21:02:16 +02:00
Will Herrmann
377baf7caf Replacing IOUtils.closeQuietly(foo) with try-with-resources statements 2018-10-19 14:23:51 -05:00
Andreas Dangel
1f7c827323 Merge branch 'master' into unit-test-split 2018-10-05 20:39:22 +02:00
Andreas Dangel
6d00e74142 Use new base class PmdRuleTst for rule tests 2018-10-05 20:33:38 +02:00
Andreas Dangel
d8586382f6 [maven-release-plugin] prepare for next development iteration 2018-09-30 10:10:21 +02:00
Andreas Dangel
161d9cd6d6 [maven-release-plugin] prepare release pmd_releases/6.8.0 2018-09-30 10:10:12 +02:00
Andreas Dangel
64137d3231 Merge branch 'pr-1322' 2018-09-11 14:05:54 +02:00
Andreas Dangel
52be023f80 Simplify rule tests, directly inherit from SimpleAggregatorTst
for apex, javascript, jsp, plsql, visualforce, vm, xml
2018-09-09 13:10:44 +02:00
Andreas Dangel
6e2e389520 [javascript] Split the rule tests 2018-09-09 12:01:36 +02:00
Andreas Dangel
291d36d841 [maven-release-plugin] prepare for next development iteration 2018-09-02 14:27:42 +02:00
Andreas Dangel
b98bd0bb96 [maven-release-plugin] prepare release pmd_releases/6.7.0 2018-09-02 14:27:33 +02:00
Clément Fournier
af5130ab00 Improvements and planned updates around PropertySource 2018-08-28 00:25:06 +02:00
Andreas Dangel
20f52700b4 [maven-release-plugin] prepare for next development iteration 2018-07-29 12:07:05 +02:00
Andreas Dangel
868f262c21 [maven-release-plugin] prepare release pmd_releases/6.6.0 2018-07-29 12:06:56 +02:00
Andreas Dangel
444beeb220 [maven-release-plugin] prepare for next development iteration 2018-06-26 09:34:01 +02:00
Andreas Dangel
211002bb34 [maven-release-plugin] prepare release pmd_releases/6.5.0 2018-06-26 09:07:11 +02:00
Andreas Dangel
48d54b0af2 Set version to 7.0.0-SNAPSHOT 2018-06-17 11:08:05 +02:00
Andreas Dangel
5a7bbe19a2 dogfood: fix missing override
Note: the rule is disabled for pmd-xml, refs #1074
2018-06-16 17:48:36 +02:00
Andreas Dangel
9bb638fef2 Reformatting 2018-06-01 09:38:15 +02:00
Andreas Dangel
439624319a [ecmascript] InnaccurateNumericLiteral false positive with hex literals
Fixes #861
2018-06-01 09:38:08 +02:00
Juan Martín Sotuyo Dodero
a788d4b586 [maven-release-plugin] prepare for next development iteration 2018-05-29 13:58:54 -03:00
Juan Martín Sotuyo Dodero
e9d78ede3c [maven-release-plugin] prepare release pmd_releases/6.4.0 2018-05-29 13:58:44 -03:00
Andreas Dangel
85874e7e9c [maven-release-plugin] prepare for next development iteration 2018-04-29 09:54:45 +02:00
Andreas Dangel
10c66fbf38 [maven-release-plugin] prepare release pmd_releases/6.3.0 2018-04-29 09:54:36 +02:00
Juan Martín Sotuyo Dodero
78f7343713 [javascript] Support comment based CPD suppressions 2018-04-15 02:21:28 -03:00
Andreas Dangel
f3ab54d6da [maven-release-plugin] prepare for next development iteration 2018-03-26 09:23:23 +02:00
Andreas Dangel
59b360a60a [maven-release-plugin] prepare release pmd_releases/6.2.0 2018-03-26 09:23:14 +02:00
Andreas Dangel
f335e83043 Cleanup pom.xml files 2018-03-23 10:21:16 +01:00
Andreas Dangel
8bd1e3b486 Fix PMD dogfood: UncommentedEmptyMethodBody, SimplifyBooleanReturns,
UnnecessaryLocalBeforeReturn, OptimizableToArrayCall,
ClassWithOnlyPrivateConstructorsShouldBeFinal,
UseLocaleWithCaseConversions, NonStaticInitializer, UseCollectionIsEmpty
2018-03-10 12:04:50 +01:00
Andreas Dangel
098b0dcac0 [maven-release-plugin] prepare for next development iteration 2018-02-25 09:53:26 +01:00
Andreas Dangel
101b71a13e [maven-release-plugin] prepare release pmd_releases/6.1.0 2018-02-25 09:53:19 +01:00
Clément Fournier
6a3b332aee Abstract toString into AbstractNode, deprecate the implementation
Log that the default implementation will be removed
2018-01-25 03:02:44 +01:00
Clément Fournier
3c0bb45a60 Add getXPathNodeName to the Node interface
A default implementation is available in AbstractNode
to preserve compatibility with the previous way, which
used Object.toString.

Fixes #569
2018-01-24 19:22:36 +01:00