42 Commits

Author SHA1 Message Date
Andreas Dangel
9e71e36ab1 Merge pull request #4811 from adangel:issue-4349-cleanup-deprecations
Cleanup remaining experimental and deprecated API #4811
2024-02-22 17:08:51 +01:00
Andreas Dangel
dbde030d8f [core] Remove @DeprecatedUntil700 2024-02-10 13:10:53 +01:00
Andreas Dangel
1b4acab7c4 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-10 12:36:58 +01:00
Andreas Dangel
5e92b5907e [core] Consolidate internal api in FileCollector
FileCollector#newCollector
2024-02-10 10:47:07 +01:00
Andreas Dangel
7c5bf74402 [core] Consolidate internal api in n.s.p.lang.rule
RuleSet#applies
RuleSetLoader#loadRuleSetsWithoutException
RuleSetLoadException ctors
2024-02-10 09:58:53 +01:00
Andreas Dangel
bc5be45566 Merge branch 'master' into issue-4348-internal-api 2024-02-09 21:31:05 +01:00
Andreas Dangel
0c82e97b6a [compat6] Fix XPathRule compatibility 2024-02-09 16:49:13 +01:00
Andreas Dangel
5931461ca9 Merge pull request #4804 from adangel:issue-4309-xpath-cleanups
[core] XPath cleanups #4804
2024-02-09 16:23:58 +01:00
Andreas Dangel
7698b6a994 [compat6] Fix compatibility layer
This is now an unhealthy mixture of old and new
classes. But the integration tests are working.
2024-02-09 16:12:32 +01:00
Andreas Dangel
6a328d6cd0 Merge pull request #4803 from adangel:issue-3903-reporting-package
[core] Consolidate n.s.pmd.reporting package #4803
2024-02-09 15:32:55 +01:00
Andreas Dangel
4bf2c8b980 [compat6] Remove RuleSetFactory - not needed
It was used by RuleSetLoader, but this was stripped
down to do nothing anymore. See the comments
in that file.
2024-02-09 15:14:55 +01:00
Andreas Dangel
2a3128fb86 Merge pull request #4799 from adangel:issue-3917-rule-package
[core] Consolidate n.s.pmd.lang.rule package #4799
2024-02-09 14:39:03 +01:00
Andreas Dangel
0d40878b0a Promote experimental APIs as stable
- HTML support and Kotlin support no more experimental
- The only left over experimental APIs are java preview features
2024-02-09 08:46:48 +01:00
Andreas Dangel
4ff00bfe66 [compat6] Fix compile errors after merge 2024-02-08 19:09:28 +01:00
Andreas Dangel
5599a8fd65 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-08 18:23:41 +01:00
Andreas Dangel
9e5115479d [core] Remove deprecated methods in Language, LanguageRegistry
Language#getTerseName
LanguageModuleBase#getTerseName
LanguageRegistry#getLanguage
LanguageRegistry#findLanguageByTerseName
LanguageRegistry#findByExtension
2024-02-08 09:53:34 +01:00
Andreas Dangel
14ae7f4ce0 [compat6] Fix compile errors 2024-02-02 20:39:04 +01:00
Andreas Dangel
fa97cff7ff Merge pull request #4797 from adangel:lexexception-cpdlexer
[core] Rename TokenMgrError to LexException, Tokenizer to CpdLexer #4797
2024-02-02 19:59:41 +01:00
Andreas Dangel
19f9bdde5f [core] Remove deprecated classes/methods
CpdLanguageProperties#DEFAULT_SKIP_BLOCKS_PATTERN
BaseAntlrNode#joinTextToken
Node#getNthParent
Node#getFirstChildOfType
2024-02-02 14:41:45 +01:00
Andreas Dangel
906baf9b50 [core] Internalize AnalysisCache and related types
Refs #4348
2024-01-26 18:41:00 +01:00
Andreas Dangel
c800bba733 [compat6] Provide XPathRule under old package 2024-01-21 10:02:19 +01:00
Andreas Dangel
3941fe1988 [compat6] Fix SuppressedViolations compatibility 2024-01-20 18:20:45 +01:00
Andreas Dangel
7c29f16eac [core] Move XPathRule into subpackage lang.rule.xpath (#4309) 2024-01-19 12:52:51 +01:00
Andreas Dangel
f6440c6dab [compat6] Making compat6 layer for m-pmd-p work again 2024-01-19 11:49:08 +01:00
Andreas Dangel
faaec5ed6d [core] Actually move into correct package lang.rule 2024-01-13 20:57:56 +01:00
Andreas Dangel
2461a4d00e [core] Move RuleSets/RuleSetReference into internal sub-package 2024-01-13 18:50:29 +01:00
Andreas Dangel
301678fe01 [compat6] Make maven-pmd-plugin work again
Provide some extra bridge methods for backwards
compatible getter, e.g. RuleViolation#getRule()
or PMDConfiguration#getMinimumPriority()
2024-01-13 18:26:10 +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
ba602d1978 [core] Remove ruleset compatibility filter (RuleSetFactoryCompatibility) and CLI option --no-ruleset-compatibility
Fixes #4314
Closes #4378
2024-01-11 12:05:10 +01:00
Andreas Dangel
dcdab9d792 Fix test 2023-12-07 20:05:35 +01:00
Andreas Bergander
f73d75d5a3 Fix NoSuchMethodError on processing errors in pmd-compat6 2023-12-01 15:30:17 +01:00
Andreas Dangel
0aa781c3ab [compat6] Update version to use 7.0.0-SNAPSHOT 2023-11-18 10:36:29 +01:00
Andreas Dangel
655d1dc6c3 Prepare release of pmd-compat6 7.0.0-rc4 2023-11-18 10:33:47 +01:00
Andreas Dangel
aed95e6870 Remove unused imports 2023-11-14 21:07:37 +01:00
Andreas Dangel
a0814be895 Test formats csv and txt for PMD 2023-11-14 20:31:15 +01:00
Andreas Dangel
9dd646a030 Support formats csv and txt for CPD 2023-11-14 20:21:21 +01:00
Andreas Dangel
dd2bb98aa0 Fix PMD dogfood issue 2023-11-09 21:57:21 +01:00
Andreas Dangel
64d20e0368 Fix it verification scripts, only build for java11 2023-11-09 21:29:20 +01:00
Andreas Dangel
1c43a4689c Log failing integration tests 2023-11-09 20:58:41 +01:00
Andreas Dangel
b5d0ffb02f New pmd-compat6 module
This makes it possible to use PMD7 with maven-pmd-plugin
2023-11-09 20:02:23 +01:00