74 Commits

Author SHA1 Message Date
Clément Fournier
1a6d7b393c Add a type parameter to AbstractNode 2020-04-26 19:04:31 +02:00
Clément Fournier
81c3743430 Hide setImage 2020-04-23 21:15:52 +02:00
Clément Fournier
11d7aeb10f Add GenericNode & JjtreeNode interfaces 2020-04-23 19:59:52 +02:00
Clément Fournier
13cacee11f Cleanup AbstractNode 2020-04-23 19:59:51 +02:00
Andreas Dangel
3621eed40d Merge remote-tracking branch 'origin/master' into pmd/7.0.x 2020-04-13 12:34:03 +02:00
Clément Fournier
bcf90ceb8a Externalize creator for XPath rule 2020-04-08 21:35:34 +02:00
Clément Fournier
96feed7b83 Do it for the other languages 2020-03-20 18:07:56 +01:00
Clément Fournier
e9b65823bf Cleanup TokenMgrError 2020-03-20 18:07:56 +01:00
Clément Fournier
3cdcba2299 Fix file name for token manager error 2020-03-20 18:07:56 +01:00
Clément Fournier
903383d7cf Merge branch 'master' into 7.0.x 2020-03-17 15:14:46 +01:00
Clément Fournier
138c0e3e86 Deprecate tokManagers for more module 2020-03-17 15:08:58 +01:00
Clément Fournier
e1069b4a33 Fix *ParserVisitor itf being deprecated
refs #2239
2020-03-17 14:42:29 +01:00
Andreas Dangel
4c020bfbf7 [maven-release-plugin] prepare for next development iteration 2020-03-12 15:15:18 +01:00
Andreas Dangel
eb93aaeca7 [maven-release-plugin] prepare release pmd_releases/6.22.0 2020-03-12 15:15:09 +01:00
Clément Fournier
2fe23f5e35 Merge branch '7.0.x' into cleanup-language-version-handlers 2020-02-07 14:33:23 +01:00
Clément Fournier
c3ec3961d2 Merge branch 'master-ant-script' into 7.0.x 2020-01-28 13:36:47 +01:00
Clément Fournier
1fddb03d99 Merge branch 'master' into 7.0.x 2020-01-28 13:35:50 +01:00
Clément Fournier
2db32f8ea6 Simplify comparable behavior of processing stages
Instead of overriding compareTo we can just use an
external comparator
2020-01-27 10:40:00 +01:00
Clément Fournier
7cd64e4374 Merge branch '7.0.x' into cleanup-language-version-handlers 2020-01-27 10:28:48 +01:00
Piotrek Żygieło
de9ccb4444 Remove duplicated dependencies
Avoid:
[WARNING]
[WARNING] Some problems were encountered while building the effective model for net.sourceforge.pmd:pmd-modelica:jar:6.22.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: net.sourceforge.pmd:pmd-lang-test:jar -> duplicate declaration of version (?) @ line 92, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.junit.vintage:junit-vintage-engine:jar -> duplicate declaration of version (?) @ line 102, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
2020-01-25 18:20:09 +01:00
Clément Fournier
d726990e09 Make base parser adapter for jjtree 2020-01-25 16:36:42 +01:00
Clément Fournier
925944289d Merge branch '7.0.x' into master-ant-script 2020-01-24 20:15:16 +01:00
Andreas Dangel
b02ab00e87 Merge remote-tracking branch 'origin/master' into pmd/7.0.x 2020-01-24 19:18:17 +01:00
Andreas Dangel
d994700617 [maven-release-plugin] prepare for next development iteration 2020-01-24 17:20:47 +01:00
Andreas Dangel
a28e9e22e5 [maven-release-plugin] prepare release pmd_releases/6.21.0 2020-01-24 17:20:38 +01:00
Andreas Dangel
5feca7fd93 Exclude generated AST*.java files from internalization 2020-01-24 16:19:24 +01:00
Clément Fournier
5a3ef0965f remove typeres attributes 2020-01-23 18:43:38 +01:00
Clément Fournier
4b9f121ec3 Remove modelica rule violation factory 2020-01-23 18:33:30 +01:00
Clément Fournier
60e97d0ec8 Deprecate javacc generated code 2020-01-22 17:19:29 +01:00
Clément Fournier
b5b0bcb921 Replace more direct usages of parser 2020-01-19 08:36:35 +01:00
Clément Fournier
f3246d6fc3 Merge branch '7.0.x' into master-ant-script 2020-01-19 06:09:56 +01:00
Clément Fournier
aa9a9c2bed Merge branch 'master' into 7.0.x 2020-01-19 05:59:09 +01:00
Clément Fournier
27d7a6c02c Accomodate children iterable for specialization 2020-01-19 05:57:39 +01:00
Clément Fournier
b09b58513b Merge branch '7.0.x' into master-ant-script 2020-01-17 16:22:46 +01:00
Clément Fournier
ecef88aa0a Merge branch 'master' into 7.0.x 2020-01-17 12:10:51 +01:00
Clément Fournier
d9ad819dab Replace usages of node methods everywhere 2020-01-17 11:57:19 +01:00
Andreas Dangel
f53993427c Merge branch 'pr-2172'
[core] Deprecate jjtree methods from the Node interface
2020-01-17 08:18:50 +01:00
Clément Fournier
bb8d612256 Checkstyle 2020-01-15 11:51:41 +01:00
Clément Fournier
4552c04a74 Simplify 2020-01-13 01:49:33 +01:00
Clément Fournier
83e86c20c5 Test modelica text 2020-01-13 01:15:04 +01:00
Clément Fournier
47fcfb6f3c Make end column exclusive 2020-01-13 01:05:54 +01:00
Clément Fournier
820edada4f Add 'children' iterable method to Node interface 2020-01-12 18:18:38 +01:00
Clément Fournier
2d280d0fb0 Make constants file 2020-01-11 04:47:40 +01:00
Clément Fournier
8a128a3bea Replace token tracking function 2020-01-11 01:21:09 +01:00
Clément Fournier
f715e6af72 Use maven properties from within the build.xml 2020-01-10 23:27:07 +01:00
Clément Fournier
efc3becc01 Checkout wrapper script, pmd-core, pmd-modelica 2020-01-10 22:57:47 +01:00
Clément Fournier
99700d7526 Extract changes from #2166 to 7.0.x
* Make Java nodes text-available
* Introduce shared JavaccToken in pmd-core
* Use factory to produce char streams

Tests are still on java-grammar,
since they use the DSL & newer
AST structure.

This is to prepare for other changes
that concern all javacc languages and
should not be done on java-grammar
2020-01-10 21:15:15 +01:00
Andreas Dangel
ea86a23b73 Merge branch 'master' into pmd/7.0.x 2020-01-10 14:41:27 +01:00
Andreas Dangel
398b683565 Merge branch 'pr-2177'
[lang-test] Factorize parsing logic for tests
2020-01-10 14:07:29 +01:00
Andreas Dangel
cf89b742b0 Merge branch 'pr-2177'
[lang-test] Factorize parsing logic for tests
2020-01-10 12:29:38 +01:00