686 Commits

Author SHA1 Message Date
Andreas Dangel
a283615299 Refactor LanguageMetdata::extensions usages 2023-02-17 09:04:16 +01:00
Andreas Dangel
e2bb0c8480 Reuse names and extensions for CPD language 2023-02-17 09:04:15 +01:00
Andreas Dangel
d7d2ad541e Add explicit language versions (#4120) 2023-02-17 09:04:12 +01:00
Clément Fournier
c572cb88d7 Rename package cpd.internal to cpd.impl 2023-02-13 15:18:37 +01:00
Clément Fournier
9c3434a07b Split cpd/pmd specific methods into...
subinterfaces of Language
2023-02-13 15:16:48 +01:00
Clément Fournier
51b5016163 Cleanups 2023-02-12 20:47:09 +01:00
Clément Fournier
1828faeadc Fix some modules 2023-02-11 19:27:46 +01:00
Clément Fournier
cf81809990 Change a ton of stuff in CPD 2023-02-10 18:21:23 +01:00
Clément Fournier
d4c05d1fb5 Make pmd language have a hook to launch CPD
This allows removing the CPD language instances,
sharing more logic between CPD and PMD, and using
language properties to configure CPD and PMD uniformly.
2023-02-10 16:45:52 +01:00
Clément Fournier
ebe4610389 Remove ability to set custom delimiter 2023-02-05 20:37:45 +01:00
Clément Fournier
872a41b4e9 Make ApexProcessor not implement LVH 2023-02-04 20:22:49 +01:00
Clément Fournier
ef365cd9aa Merge branch '7.0.x' into pmd7-language-lifecycle 2023-02-02 01:04:53 +01:00
Andreas Dangel
5772440a79 [maven-release-plugin] prepare for next development iteration 2023-01-28 10:31:53 +01:00
Andreas Dangel
de1b12b060 [maven-release-plugin] prepare release pmd_releases/6.54.0 2023-01-28 10:31:46 +01:00
Andreas Dangel
9d05cff8cc Merge branch 'master' into experimental-apex-parser 2023-01-14 11:48:12 +01:00
Andreas Dangel
c5a9e785ff Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-10 12:58:51 +01:00
Andreas Dangel
6a6acb9b43 [maven-release-plugin] prepare for next development iteration 2022-12-31 18:22:10 +01:00
Andreas Dangel
37103451bf [maven-release-plugin] prepare release pmd_releases/6.53.0 2022-12-31 18:22:04 +01:00
Aaron Hurst
1a5c57155e Update tested return type name to match Summit, which returns the syntactic type name.
Change-Id: I6ea22b890e60f24c2684f85753223f240e33509a
2022-12-02 17:11:30 +00:00
Aaron Hurst
e9eafdde3e Change case normalization of primitive from 'ID' to 'Id' to match existing behavior.
Change-Id: I7b3406a60bbc18dc2b1e441b8c0122452f709404
2022-12-02 17:11:30 +00:00
Aaron Hurst
d57d482035 Remove pmd-visualforce Jorje dependency.
Change-Id: Id580cdfa39b4288c239a496ed4a61afb123b0b2f
2022-12-01 21:32:21 +00:00
Clément Fournier
c71756a4c1 Merge branch '7.0.x' into pmd7-language-lifecycle 2022-11-26 18:42:34 +01:00
Andreas Dangel
1634bd0043 [maven-release-plugin] prepare for next development iteration 2022-11-26 10:24:58 +01:00
Andreas Dangel
e90bf0f11b [maven-release-plugin] prepare release pmd_releases/6.52.0 2022-11-26 10:24:53 +01:00
Andreas Dangel
eff0168631 [vf] Fix compile error 2022-11-25 19:49:33 +01:00
Andreas Dangel
fcfbb33386 Merge branch 'master' into pmd/7.0.x 2022-11-25 19:05:06 +01:00
Andreas Dangel
faa5bf6e00 [doc] Document deprecated API 2022-11-25 15:10:30 +01:00
Clément Fournier
cef4c30af6 Merge branch '7.0.x' into pmd7-language-lifecycle 2022-11-24 22:39:59 +01:00
Aaron Hurst
1029d6b24d Fix checkstyle violations.
Change-Id: I0aa6ecfeb343f2e0b48d2ebfd176a877a72f40f6
2022-11-24 20:35:42 +00:00
Aaron Hurst
e62b71f89a Add back DataType.fromBasicType(BasicType) and test.
Isolate references to BasicType inside method implementation.

Change-Id: I4be2ad5b8b42fb7a84da0755106d8f0b08034690
2022-11-24 15:55:43 +00:00
Aaron Hurst
c9e21cd4eb Tweak terminology: the map is case-normalized not case-insensitive.
Change-Id: I3499dc615262612b6c220b7840d3ab8cca87c226
2022-11-22 21:38:03 +00:00
Aaron Hurst
5ad37f6757 Replace uses of Jorje types in pmd-visualforce.
Summary: store and compare primitive type names instead of using BasicType enum.

Udpate unit tests and add a few more cases.

Change-Id: If4e5bb33d11793813839b82cf8beb043aad2ce34
2022-11-22 20:15:39 +00:00
Andreas Dangel
5a4bf05493 [maven-release-plugin] prepare for next development iteration 2022-10-29 09:34:25 +02:00
Andreas Dangel
66e834049f [maven-release-plugin] prepare release pmd_releases/6.51.0 2022-10-29 09:34:19 +02:00
Andreas Dangel
88b8209958 Migrate RuleSetFactoryTests to JUnit 5 2022-10-13 17:18:13 +02:00
Andreas Dangel
00924bea75 Migrate LanguageVersionTests to JUnit5
Also move LanguageVersionTests into their language packages
and add missing tests
2022-10-13 17:17:59 +02:00
Andreas Dangel
008fe948c6 [visualforce] Migrate tests to JUnit5 2022-10-03 16:30:02 +02:00
Andreas Dangel
13d9a9457f [maven-release-plugin] prepare for next development iteration 2022-09-30 15:39:14 +02:00
Andreas Dangel
37f6d8254c [maven-release-plugin] prepare release pmd_releases/6.50.0 2022-09-30 15:39:08 +02:00
Clément Fournier
99e03114fc checkstyle 2022-09-11 23:50:46 +02:00
Clément Fournier
a10a73c42a Move nspmd.processor package to nspmd.lang.impl 2022-09-11 17:25:25 +02:00
Clément Fournier
11274d5651 Doc 2022-09-11 17:21:01 +02:00
Clément Fournier
1187a9a977 Merge branch '7.0.x' into pmd7-language-lifecycle 2022-09-11 13:37:28 +02:00
Andreas Dangel
8387cd6409 Merge branch 'pmd/7.0.x' into pr-4049 2022-09-10 20:08:30 +02:00
Andreas Dangel
90663d746b [maven-release-plugin] prepare for next development iteration 2022-08-31 19:19:27 +02:00
Andreas Dangel
4b4ebabc2d [maven-release-plugin] prepare release pmd_releases/6.49.0 2022-08-31 19:19:22 +02:00
Andreas Dangel
995d00fde3 [maven-release-plugin] prepare for next development iteration 2022-07-30 11:35:57 +02:00
Andreas Dangel
6aa2b47f2e [maven-release-plugin] prepare release pmd_releases/6.48.0 2022-07-30 11:35:53 +02:00
Clément Fournier
019169d69d make language of parser task more important than the lang property 2022-07-23 00:12:27 +02:00
Clément Fournier
2cb54ff1bc fix pmd-vf
needs a dependency mechanism
to prevent apex from being pruned
2022-07-21 15:13:16 +02:00