279 Commits

Author SHA1 Message Date
Andreas Dangel
4c45d6125e Merge branch 'master' into pmd/7.0.x 2022-04-29 13:40:05 +02:00
Andreas Dangel
c224209d7f [test] Backport NodePrinters.kt from pmd7 2022-04-29 11:38:52 +02:00
Andreas Dangel
be3e941a08 [maven-release-plugin] prepare for next development iteration 2022-03-27 17:01:59 +02:00
Andreas Dangel
6859f8db36 [maven-release-plugin] prepare release pmd_releases/6.44.0 2022-03-27 17:01:54 +02:00
Clément Fournier
d41e0d0f32 Merge branch '7.0.x' into pmd7-merge-master 2022-03-05 11:53:55 +01:00
Clément Fournier
9808c743d2 Fix merge 2022-03-03 20:46:01 +01:00
Andreas Dangel
69fb502883 [maven-release-plugin] prepare for next development iteration 2022-02-26 10:01:08 +01:00
Andreas Dangel
dd0ee6190b [maven-release-plugin] prepare release pmd_releases/6.43.0 2022-02-26 10:01:03 +01:00
Clément Fournier
bf91e70c9f Update tests 2022-02-25 19:50:50 +01:00
Clément Fournier
f29b2c1267 Replace test post processing function 2022-02-25 18:52:17 +01:00
Clément Fournier
853942d623 Remove core api 2022-02-25 18:52:17 +01:00
Andreas Dangel
b9542e5219 Merge pull request #3764 from oowekyala:issue3763-ambiguity-error
[java] Fixes #3763 - ambiguity error #3764
2022-02-18 19:59:54 +01:00
Clément Fournier
dff3458d61 Fix #3763 - ambiguity error
Problem was that the header scopes looked like this:

   IMPORTED -> EMPTY -> JAVA_LANG

Where IMPORTED and JAVA_LANG both can resolve the same
name NAME. The empty symtable is administrative, it's
a shadow barrier. With the previous definition of a
 shadow barrier, the barriers were positioned this way:

   IMPORTED -> EMPTY] -> JAVA_LANG]

IMPORTED asks for NAME and finds something. It's not
a shadow barrier so it asks EMPTY for NAME. EMPTY
does not know NAME so it asks its parent, ignoring that
it itself is a shadow barrier.

Now we don't call `ShadowChain::resolve` to collect
shadowed names to avoid this situation.
2022-02-07 21:15:12 +01:00
Andreas Dangel
dc19597020 [maven-release-plugin] prepare for next development iteration 2022-01-29 09:53:38 +01:00
Andreas Dangel
391c32589f [maven-release-plugin] prepare release pmd_releases/6.42.0 2022-01-29 09:53:32 +01:00
Clément Fournier
55f301cbd7 Fix support for --force-language 2021-12-16 16:38:17 +01:00
Clément Fournier
913d0ab272 Merge branch '7.0.x' into analysis-listener 2021-12-16 16:31:50 +01:00
Andreas Dangel
3a97618d5d [maven-release-plugin] prepare for next development iteration 2021-11-27 11:21:17 +01:00
Andreas Dangel
ac68de1f51 [maven-release-plugin] prepare release pmd_releases/6.41.0 2021-11-27 11:21:12 +01:00
Andreas Dangel
f12710071f [maven-release-plugin] prepare for next development iteration 2021-10-30 10:00:20 +02:00
Andreas Dangel
be09a31654 [maven-release-plugin] prepare release pmd_releases/6.40.0 2021-10-30 10:00:15 +02:00
Andreas Dangel
0399bbbfc8 [maven-release-plugin] prepare for next development iteration 2021-09-25 13:46:09 +02:00
Andreas Dangel
90b051bfff [maven-release-plugin] prepare release pmd_releases/6.39.0 2021-09-25 13:46:04 +02:00
Andreas Dangel
65af1c0675 [maven-release-plugin] prepare for next development iteration 2021-08-28 17:27:18 +02:00
Andreas Dangel
7d11a02052 [maven-release-plugin] prepare release pmd_releases/6.38.0 2021-08-28 17:27:12 +02:00
Andreas Dangel
489f28edd3 Merge branch 'master' into pmd/7.0.x 2021-08-22 16:53:55 +02:00
Clément Fournier
e64d485384 Add xpath function for file name 2021-08-08 14:40:25 +02:00
Clément Fournier
54dc756207 Fix cpp module 2021-08-07 17:06:21 +02:00
Clément Fournier
e3a94a1b04 Port some stuff from pmd 7, add test 2021-08-07 14:34:03 +02:00
Clément Fournier
3734d293e8 Add an attribute to apex nodes to get filename from XPath
Fix #3446
2021-08-07 13:58:55 +02:00
Andreas Dangel
821f7a849b [maven-release-plugin] prepare for next development iteration 2021-07-31 19:02:07 +02:00
Andreas Dangel
18df47ce6e [maven-release-plugin] prepare release pmd_releases/6.37.0 2021-07-31 19:01:59 +02:00
Clément Fournier
62ca0edb2a Merge branch '7.0.x' into analysis-listener 2021-07-08 15:23:00 +02:00
Andreas Dangel
f68bf5ce05 [maven-release-plugin] prepare for next development iteration 2021-06-26 10:24:15 +02:00
Andreas Dangel
45d1605a03 [maven-release-plugin] prepare release pmd_releases/6.36.0 2021-06-26 10:24:07 +02:00
Andreas Dangel
9fdfecf731 [maven-release-plugin] prepare for next development iteration 2021-05-29 07:24:47 +02:00
Andreas Dangel
b49fb2014d [maven-release-plugin] prepare release pmd_releases/6.35.0 2021-05-29 07:24:39 +02:00
Andreas Dangel
319900cd43 [maven-release-plugin] prepare for next development iteration 2021-04-24 16:41:17 +02:00
Andreas Dangel
bfeaa1b377 [maven-release-plugin] prepare release pmd_releases/6.34.0 2021-04-24 16:41:10 +02:00
Clément Fournier
173806b687 Fix some compiler warnings 2021-04-03 23:01:54 +02:00
Clément Fournier
7b87d69b85 Fix pmd-lang-test project import 2021-04-03 22:55:39 +02:00
Clément Fournier
25425b1c80 Merge branch '7.0.x' into analysis-listener 2021-03-30 20:44:02 +02:00
Clément Fournier
0011b64c35 Merge branch '7.0.x' into analysis-listener 2021-03-29 23:14:29 +02:00
Clément Fournier
d4a2f4b417 Move file to java source root 2021-03-27 18:43:23 +01:00
Clément Fournier
0cb6e537f0 Change parameters of Metric#compute to match order in MetricsUtil 2021-03-27 18:12:10 +01:00
Andreas Dangel
37e5525fd5 [maven-release-plugin] prepare for next development iteration 2021-03-27 16:25:18 +01:00
Andreas Dangel
dc1c9d0aed [maven-release-plugin] prepare release pmd_releases/6.33.0 2021-03-27 16:25:13 +01:00
Andreas Dangel
e0de01ebe9 [maven-release-plugin] prepare for next development iteration 2021-02-27 09:44:05 +01:00
Andreas Dangel
0848e230d0 [maven-release-plugin] prepare release pmd_releases/6.32.0 2021-02-27 09:43:58 +01:00
Clément Fournier
e3db5b76af Merge branch '7.0.x' into pmd7-update-metrics 2021-02-14 15:25:37 +01:00