1057 Commits

Author SHA1 Message Date
Andreas Dangel
9cfe485888 Merge branch 'pr-2746' into pmd/7.0.x
[core, ...] Finish generic visitors #2746

Fixes #880
2020-09-13 09:49:14 +02:00
Clément Fournier
95048b061a Merge branch '7.0.x' into remove-more-deprecated-things 2020-08-30 21:36:04 +02:00
Clément Fournier
7384fd6fb2 Merge branch 'master' into 7.0.x 2020-08-28 14:58:10 +02:00
XenoAmess
244a39db0f fix typos. 2020-08-27 11:47:11 +08:00
Clément Fournier
80e9f48ed9 Add a hook for nodes to callback if the visitor is incorrect 2020-08-26 19:10:32 +02:00
Clément Fournier
5f8e5fc1ff Remove ImmutableLanguage 2020-08-25 15:23:22 +02:00
Clément Fournier
37bd0db6b0 Merge branch 'remove-old-stuff' into 7.0.x 2020-08-23 17:59:27 +02:00
Clément Fournier
d5f48c4741 Merge branch '7.0.x' into update-saxon-version 2020-08-23 17:45:21 +02:00
Clément Fournier
9c82dd11ef Fix merge (build passes) 2020-08-23 16:53:40 +02:00
Clément Fournier
da3d06377c Merge branch 'apex-generic-visitor' into 7.0.x 2020-08-23 16:42:59 +02:00
Clément Fournier
a1251d0e32 Merge branch 'master' into 7.0.x 2020-08-23 16:41:51 +02:00
Andreas Dangel
0b92a768da [apex] Deprecate ApexParserVisitorReducedAdapter
See also #2661
2020-08-22 18:30:42 +02:00
Andreas Dangel
2b1d071930 Fix tests due to endColumn changes 2020-08-21 12:38:37 +02:00
Andreas Dangel
ab489832fe Merge branch 'master' into pmd/7.0.x 2020-08-21 11:51:54 +02:00
Andreas Dangel
89140d86ce Merge branch 'master' into pr-2656 2020-08-20 09:47:16 +02:00
Clément Fournier
a591994f36 Remove ApexXpathRule 2020-08-10 11:58:21 +02:00
Clément Fournier
1e85519045 Merge branch '7.0.x' into update-saxon-version 2020-08-08 02:54:04 +02:00
Clément Fournier
cbef6a8b7e Merge branch '7.0.x' into remove-old-stuff 2020-08-03 23:25:42 +02:00
Clément Fournier
c554aceba6 Merge branch 'master' into 7.0.x 2020-08-03 23:06:21 +02:00
Andreas Dangel
40f954f81a Merge branch 'pr-2675'
[core] Deprecate parser options #2675
2020-08-02 16:53:24 +02:00
Clément Fournier
3d4f709009 Merge branch '7.0.x' into remove-old-stuff 2020-07-31 16:02:34 +02:00
Andreas Dangel
384dd20319 Merge branch 'master' into pmd/7.0.x 2020-07-30 11:51:53 +02:00
Andreas Dangel
eb683569af Merge branch 'pr-2617'
[core] Deprecate missing language attribute on rule definition #2617
2020-07-30 10:19:03 +02:00
Clément Fournier
4c11082574 Cleanup report 2020-07-29 18:04:56 +02:00
Clément Fournier
4ef71cbfe6 Merge branch 'master' into 7.0.x 2020-07-29 15:03:52 +02:00
Clément Fournier
25d59beb37 Revert changes to apex rules
Someone may be using those properties, this would
be a breaking change
2020-07-28 14:26:06 +02:00
Clément Fournier
190addc1a9 Replace usages of ApexXPathRule 2020-07-28 14:26:05 +02:00
Clément Fournier
9a37ab4962 Deprecate parser options in some places
There is no way to introduce the new API
in a binary compatible change, so LVHandler::getDefaultParserOptions,
LVHandler::getParser and Parser::parse
will remain like this until 7.0 and be
broken.
2020-07-28 14:25:51 +02:00
Andreas Dangel
fe82f6a448 Dogfood - update PMD to 6.26.0, update build-tools 2020-07-25 15:27:24 +02:00
Andreas Dangel
700289bd1a Merge branch 'master' into pmd/7.0.x 2020-07-25 14:07:13 +02:00
Andreas Dangel
49ab75aeb7 [maven-release-plugin] prepare for next development iteration 2020-07-25 13:45:36 +02:00
Andreas Dangel
a9632e2a06 [maven-release-plugin] prepare release pmd_releases/6.26.0 2020-07-25 13:45:27 +02:00
Andreas Dangel
8a6975f8ec [apex] Improve AST for try-catch-finally statements 2020-07-24 16:55:48 +02:00
Clément Fournier
5b15b8ad58 Fix metrics 2020-07-23 17:13:53 +02:00
Clément Fournier
437222db22 Fix rules 2020-07-23 17:07:14 +02:00
Clément Fournier
b81baebf79 Convert cyclo visitor 2020-07-23 16:56:50 +02:00
Clément Fournier
783a7b0583 Update jjtAccept 2020-07-23 16:49:18 +02:00
Clément Fournier
97322010e1 Remove 'reduced' visitor 2020-07-23 16:09:45 +02:00
Clément Fournier
9dd370236b Add default method to apex visitor 2020-07-23 16:09:32 +02:00
Clément Fournier
49d0d2aebc Merge branch 'master' into 7.0.x 2020-07-23 15:55:13 +02:00
Clément Fournier
6f9aedfaeb Merge branch 'master' into issue-2598 2020-07-23 15:51:13 +02:00
Maikel Steneker
6fb5ac59b9 Ensure CPD uses tab width of 1 for tabs consistently
The columns that are reported by CPD were inconsistent across languages
before. A language like Java (using a JavaCC-based tokenizer) would use
a width of 8 for tabs, whereas a language like C# (using an Antlr-based
tokenizer) would use 1 instead.

This includes unit tests for most languages to ensure a tab character is
counted as 1. The configuration for JavaCC has been adjusted to respect
this as well.
2020-07-20 10:42:21 +02:00
Andreas Dangel
884c0f4e9e Fix compilation 2020-07-17 16:32:24 +02:00
Andreas Dangel
dcaa8a1167 Merge branch 'master' into pmd/7.0.x 2020-07-17 16:13:02 +02:00
Andreas Dangel
7b3d31246e Merge branch 'master' into pr-2624 2020-07-17 15:16:24 +02:00
Andreas Dangel
7ae424a35b Add deprecation javadocs 2020-07-17 14:43:43 +02:00
Andreas Dangel
e24a26e211 Merge branch 'pr-2629'
[all] Dependencies cleanup #2629
2020-07-17 12:07:03 +02:00
Andreas Dangel
94afdb117d Add test engines as surefire plugin dependencies
This removes junit-vintage-engine as a test dependency
as well as kotlintest-runner-junit5.
The engines are only needed during test execution, but should
not be available for test compilation.

For this to work, the latest surefire plugin is required.
2020-07-17 12:03:45 +02:00
Andreas Dangel
05933c646e [apex] AvoidSoqlInLoops false positive for SOQL with in For-Loop
Fixes #2598
2020-07-16 20:13:53 +02:00
Andreas Dangel
17e57633b5 Merge branch 'master' into pr-2597 2020-07-16 18:25:59 +02:00