Andreas Dangel
f13cd58c7f
[core] Move classes into n.s.pmd.reporting
...
- Report
- RuleContext
- RuleViolation
- ViolationSuppressor
- ParametricRuleViolation
Fixes #3903
2024-01-18 20:27:34 +01:00
Andreas Dangel
faaec5ed6d
[core] Actually move into correct package lang.rule
2024-01-13 20:57:56 +01:00
Andreas Dangel
9e668c22fc
[core] Move Rule/RuleSet related type into net.sourceforge.pmd.rule
...
Refs #3917
2024-01-12 18:14:04 +01:00
Andreas Dangel
6d955d6b9a
[core] Move Rule into package net.sourceforge.pmd.rule
2024-01-12 11:04:02 +01:00
Andreas Dangel
6163f67b06
[core] Rename Tokenizer to CpdLexer
...
See #4065
2024-01-11 17:04:48 +01:00
Andreas Dangel
55d91791c3
[core] Rename TokenMgrError to LexException
...
See #4065
2024-01-11 15:56:28 +01:00
Andreas Dangel
9977c0ffeb
Remove old rulesets
...
These were from PMD 5. In PMD 6, these rules
have been moved into categories.
2024-01-11 12:28:30 +01:00
Andreas Dangel
3cdc99be81
[visualforce] Fix deprecated API usage
2023-12-15 20:39:37 +01:00
Andreas Dangel
5d72bd8deb
Merge branch 'master' into experimental-apex-parser
2023-11-10 11:55:18 +01:00
Juan Martín Sotuyo Dodero
854d6e5c05
Merge branch 'master' into issue-3175-doc-language-modules
2023-10-19 21:11:32 -03:00
Andreas Dangel
b811d3097e
Merge branch 'master' into update-experimental-apex-parser
2023-10-19 11:07:21 +02:00
Andreas Dangel
0c53b69e82
Merge pull request #4586 from adangel:ruleset-xml
...
Use explicit encoding in ruleset xml files #4586
2023-10-19 09:41:57 +02:00
Andreas Dangel
345bb24a25
[release] prepare for next development iteration
2023-09-30 17:15:59 +02:00
Andreas Dangel
720b9a328b
[release] prepare release pmd_releases/7.0.0-rc4
2023-09-30 17:15:54 +02:00
Andreas Dangel
cc7d97ccb9
[vf] Restore test ApexClassPropertyTypesVisitorTest
2023-09-21 17:21:36 +02:00
Andreas Dangel
82bc73c825
Merge branch 'master' into pr-4479
2023-09-14 09:56:38 +02:00
Andreas Dangel
107b8e5b67
[doc] Add pages for all supported language
2023-09-01 12:13:56 +02:00
Andreas Dangel
291a5aa956
[doc] Update language module docs (apex, java, visualforce)
2023-08-31 17:17:54 +02:00
Andreas Dangel
32afa53f8e
All language modules: getInstance()
...
Use a consistent implementation of getInstance().
Now all modules resolve against the LanguageRegistry.
2023-08-24 16:01:27 +02:00
Andreas Dangel
932ac33d15
Merge branch 'master' into pr-4397
2023-08-24 09:48:28 +02:00
Andreas Dangel
b73611f013
Merge branch 'master' into pr-4380
2023-08-10 17:37:36 +02:00
Andreas Dangel
8a89a4c786
Use explicit encoding in ruleset files
2023-06-01 17:29:24 +02:00
Andreas Dangel
835b625d51
[release] prepare for next development iteration
2023-05-30 20:15:08 +02:00
Andreas Dangel
7d6d303488
[release] prepare release pmd_releases/7.0.0-rc3
2023-05-30 20:15:02 +02:00
Clément Fournier
fd0416c85a
Merge branch 'master' into port-properties
2023-05-26 11:42:11 +02:00
Andreas Dangel
b79e6bd92b
[release] prepare for next development iteration
2023-04-29 23:39:34 +02:00
Andreas Dangel
a97e108269
[release] prepare release pmd_releases/7.0.0-rc2
2023-04-29 23:39:28 +02:00
Clément Fournier
b89970d5fe
Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd
2023-04-29 19:20:38 +02:00
Clément Fournier
4834aca95c
Tests and doc
2023-04-29 18:59:23 +02:00
Clément Fournier
68a4e84b5e
Merge branch 'master' into pmd7-textfile-display-name
2023-04-29 18:21:30 +02:00
Aaron Hurst
48645dea5e
Fix visualforce conflicts and test failures.
2023-04-17 23:41:41 +00:00
Andreas Dangel
bdacd38437
[core] Move AntlrTokenizer and JavaCCTokenizer into impl packages
2023-04-13 20:32:53 +02:00
Aaron Hurst
32a4ca45a3
Merge remote-tracking branch 'origin/master' into experimental-apex-parser
2023-04-03 22:25:04 +00:00
Andreas Dangel
d9b2444d7e
[release] prepare for next development iteration
2023-03-25 12:47:33 +01:00
Andreas Dangel
356af8b636
[release] prepare release pmd_releases/7.0.0-rc1
2023-03-25 12:30:51 +01:00
Clément Fournier
f2dc3805af
Cleanups
2023-03-20 15:18:12 +01:00
Clément Fournier
6eabac7d44
Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd
2023-03-20 15:00:23 +01:00
Clément Fournier
194650832f
Fix VF impl
2023-03-20 14:57:26 +01:00
Clément Fournier
5db8be42a3
Merge remote-tracking branch 'upstream/master' into clem.pmd7-refactor-cpd
2023-03-17 15:39:01 +01:00
Clément Fournier
f55c01ac1f
Merge branch '7.0.x' into port-properties
2023-03-14 21:07:35 +01:00
Clément Fournier
255fdf050b
Fix compil
2023-03-04 15:38:40 +01:00
Clément Fournier
67db1dc9d7
Rename noop reporter to QuietReporter
2023-03-04 15:06:09 +01:00
Clément Fournier
c3b88ee5cd
Merge branch 'master' into clem.pmd7-public-noop-reporter
2023-03-04 15:04:17 +01:00
Andreas Dangel
e97da89056
Merge branch 'master' into experimental-apex-parser
2023-03-02 14:51:29 +01:00
Clément Fournier
0b2f1517ba
Merge branch '7.0.x' into clem.pmd7-refactor-cpd
2023-02-27 00:41:11 +01:00
Andreas Dangel
2fc85cfe24
[maven-release-plugin] prepare for next development iteration
2023-02-25 11:50:54 +01:00
Andreas Dangel
ef34553486
[maven-release-plugin] prepare release pmd_releases/6.55.0
2023-02-25 11:50:49 +01:00
Clément Fournier
214e80a5f1
Add public MessageReporter#noop
2023-02-18 17:02:36 +01:00
Clément Fournier
0ba2460f92
Merge branch '7.0.x' into port-properties
2023-02-17 16:27:42 +01:00
Andreas Dangel
be6a46ccff
[vf] Refactor dependency to apex language module
2023-02-17 11:22:52 +01:00
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