263 Commits

Author SHA1 Message Date
Andreas Dangel
46e966105d Merge branch 'master' into pmd/7.0.x 2020-04-23 11:47:21 +02:00
Andreas Dangel
bc49a8afff [javascript] Internalize AbstractInfixEcmascriptNode 2020-04-23 10:17:20 +02:00
Clément Fournier
99606c20d9 Merge branch 'master' into 7.0.x 2020-04-20 11:54:03 +02:00
Clément Fournier
75d5626c40 Merge branch 'master' into javascript-es6 2020-04-20 11:51:51 +02:00
Clément Fournier
6127add18e Fix forgotten ctor in js module 2020-04-20 11:27:16 +02:00
Clément Fournier
8c9f363f44 Fix JS constructors 2020-04-20 11:25:58 +02:00
Clément Fournier
07a75a0dbd Make JS ast nodes final 2020-04-20 11:15:30 +02:00
Clément Fournier
af4504293c Hide some deprecated APIs 2020-04-20 11:14:30 +02:00
Clément Fournier
aad67c501d Merge branch 'master' into js-deprecate-ast 2020-04-20 11:02:27 +02:00
Andreas Dangel
1c8c631637 Merge branch 'master' into pmd/7.0.x 2020-04-19 21:06:32 +02:00
Andreas Dangel
c62041e827 Merge branch 'pr-2377'
[all] Update all XPath rules to XPath 2.0 #2377
2020-04-18 11:49:44 +02:00
Andreas Dangel
623ba4c92e [javascript] Internalize AST constructors 2020-04-17 20:44:54 +02:00
Clément Fournier
fa7b286d31 Checkstyle 2020-04-16 18:17:33 +02:00
Clément Fournier
c7172fe78f Add tests 2020-04-16 18:02:18 +02:00
Andreas Dangel
08d31c62a9 Merge branch 'master' into pr-2377 2020-04-16 17:52:03 +02:00
Clément Fournier
04b5372f23 Fix issue with Rhino localization 2020-04-16 17:19:04 +02:00
Andreas Dangel
e2ee78dae3 [javascript] Add support for ES6 version and use that as default
Fixes #1235
Fixes #2379
2020-04-16 16:42:16 +02:00
Clément Fournier
bcf90ceb8a Externalize creator for XPath rule 2020-04-08 21:35:34 +02:00
Clément Fournier
3d429019ee Fix rules 2020-03-20 18:47:40 +01:00
Clément Fournier
0d65c2e6e6 Add relevant property tag 2020-03-20 18:47:40 +01:00
Clément Fournier
eaceefc39e Update XPath rules to 2.0 2020-03-20 18:47:40 +01:00
Clément Fournier
96feed7b83 Do it for the other languages 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
Andreas Dangel
75c4377b14 [js] Ecmascript5TokenManager is internalapi 2020-03-19 15:41:25 +01:00
Andreas Dangel
0a31e15193 [js] License headers 2020-03-19 15:41:13 +01:00
Clément Fournier
e23df57ccd Port js (es5) module 2020-03-17 18:05:32 +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
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
ec1eb208eb Merge branch 'master' into 7.0.x 2020-01-24 23:48:22 +01:00
Clément Fournier
d90d5d267c Remove trailing whitespace everywhere 2020-01-24 23:40:06 +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
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
7756ad9de0 Merge branch 'master' into 7.0.x 2020-01-17 16:09:45 +01:00
Andreas Dangel
4450d826f7 Merge branch 'pr-2225'
[core] CPD: report endLine / column informations for found duplications
2020-01-17 14:59:02 +01:00
Andreas Dangel
817c3d1127 CPD: Remove deprecations in Mark / TokenEntry
* Provide these values for more languages
2020-01-17 14:47:23 +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
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
c53d9508e9 Small changes from code review
* rename BaseParserHelper
* Not using org.jetbrains.annotations.NotNull
2020-01-10 12:18:43 +01:00
Andreas Dangel
4269fd1b73 Refactor tests for javascript, jsp, plsql, scala, visualforce, xml
using BaseParsingHelper

Revert "REVERT ME Remove some diff"

This reverts commit f72810088d2c7f3c29fbde185b25cfc72fc1fbcc.
2020-01-10 12:12:34 +01:00
Clément Fournier
86086bc04a Factorize javacc jar property 2020-01-02 17:41:27 +01:00
Clément Fournier
f72810088d REVERT ME Remove some diff 2019-12-20 18:32:47 +01:00