4314 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
a69d565d51 Upgrade to saxon 12.4 2024-04-12 18:50:58 -03:00
Juan Martín Sotuyo Dodero
184fb31f4d Typos 2024-04-12 12:57:47 -03:00
Juan Martín Sotuyo Dodero
db0df4ed89 Remove empty implementation 2024-04-12 12:56:53 -03:00
Juan Martín Sotuyo Dodero
55688cf300 Upgrade to Saxon 11.6 2024-04-12 12:55:21 -03:00
Andreas Dangel
2bddfd2b45 [core] Add a filter possibility to FileCollector
Fixes #4942
2024-04-12 12:44:55 +02:00
Andreas Dangel
62f215929c [core] Disable Caching in URLConnection for ClasspathClassLoader
Fixes #4899
2024-04-11 14:52:30 +02:00
Clément Fournier
835abc80f7 Add back ctor for compatibility 2024-04-09 13:44:07 +02:00
Clément Fournier
41c01356fc Fix things 2024-04-09 11:35:14 +02:00
Clément Fournier
ab80b2443d Also add this ability for Antlr lexers, adapt TSQL 2024-04-08 21:36:45 +02:00
Juan Martín Sotuyo Dodero
9e27977244 Checkstyle fixes 2024-04-04 18:41:06 -03:00
Juan Martín Sotuyo Dodero
76b00a95ad Better document what to throw on an unsupported lang 2024-04-04 18:18:14 -03:00
Clément Fournier
6d35f14f6b Fix #4893 - throw if language is not supported 2024-04-04 18:18:14 -03:00
Andreas Dangel
e10f622866 Merge branch 'master' into pr-4864 2024-04-04 08:44:27 +02:00
Andreas Dangel
ede73fa4ce [core] Improve assertion messages for unreachable code paths 2024-03-29 08:59:37 +01:00
Andreas Dangel
f31d50fd90 [core] Test access of package private impl methods of nodes
This is a test case for #4885, but doesn't reproduce
the problem.
2024-03-29 08:56:37 +01:00
Clément Fournier
eaaed0ecec Merge branch 'master' into parametrize-assert-methods 2024-03-21 20:14:56 +01:00
Clément Fournier
03407db09e Use set properties instead 2024-03-21 18:14:55 +01:00
Andreas Dangel
baa7e3d8be [core] Fix CodeClimateRendererTest for releases 2024-03-21 14:31:12 +01:00
Juan Martín Sotuyo Dodero
4ce5cc824a Merge branch 'master' into doc-release-notes-7 2024-03-15 13:45:08 -03:00
Andreas Dangel
b79518191d Merge pull request #4752 from 219sansim:fix_flaky_LatticeRelation
[core] Fix flaky LatticeRelationTest #4752
2024-03-15 13:46:21 +01:00
Andreas Dangel
3237f13d92 Update pmd-core/src/main/java/net/sourceforge/pmd/util/GraphUtil.java
Co-authored-by: Clément Fournier <clem.fournier@proton.me>
2024-03-15 13:40:45 +01:00
Andreas Dangel
d54b8b3e8f [core] Internalize deprecated default ctor of XPathRule 2024-03-14 12:31:16 +01:00
Andreas Dangel
eb631b987d [doc] Review links in release notes and doc pages
- fix javadoc to find Kotlin files
- fix formatting for language info box
- fix tocmaker link generator
2024-03-10 20:21:01 +01:00
Andreas Dangel
8cc2d291da [core] Fix unused import 2024-03-09 10:21:16 +01:00
Andreas Dangel
7badd49c05 [core] Fix javadoc errors 2024-03-07 19:53:18 +01:00
Juan Martín Sotuyo Dodero
daa741c817 Merge pull request #4843 from adangel/cli-banner-display
[cli] Display pmd banner, version improvement, logging
2024-03-05 16:57:31 -03:00
Andreas Dangel
079a13ec4b Merge branch 'master' into cli-banner-display 2024-03-05 19:40:48 +01:00
Andreas Dangel
dffc44ecde Merge branch 'master' into cleanup-todos 2024-03-05 18:53:49 +01:00
Andreas Dangel
b64489a515 Merge branch 'master' into issue-4830-consolidate-packages 2024-03-04 19:21:16 +01:00
Juan Martín Sotuyo Dodero
a9baf48c4d Merge pull request #4851 from adangel/core-nodestream-test
[core] NodeStreamBlanketTest - prefilter the test data
2024-03-01 13:36:09 -05:00
Andreas Dangel
dc92c64135 [core] NodeStreamBlanketTest - prefilter the test data
in order to avoid many ignored unit tests.
E.g. before this change, we had:

Tests passed: 5,417, ignored: 2,539 of 7,956 tests
meaning about 30% of the tests were ignored.
2024-03-01 17:06:58 +01:00
Andreas Dangel
5e277c8211 [core] Fix NPE in AbstractAnalysisCache in case of processing errors 2024-03-01 14:50:35 +01:00
Andreas Dangel
ab0d740d81 Cleanup some TODOs 2024-03-01 12:07:48 +01:00
Andreas Dangel
aa672e9d0e [cli] Remove unnecessary logging 2024-02-29 20:49:33 +01:00
Andreas Dangel
80db40b6a2 [core] Include revision and build time in PMDVersion
- Using git-commit-id-maven-plugin
- Adding the version via an explicit property file
  and resource filtering
- For snapshots, it will be the git commit timestamp
- For release, it will be the release timestamp
2024-02-29 18:42:44 +01:00
Andreas Dangel
9d5e229704 [core] Consolidate test packages
Fix CpdAnalysisTest
Add test cases of PMDFilelistTest into FileCollectorTest
Moved ZipFileTest as FileCollectorZipTest
Remove unnecessary test resources
2024-02-23 17:46:29 +01:00
Andreas Dangel
845154716c [test] Consolidate packages, move PmdRuleTst, SimpleAggregatorTst 2024-02-23 17:46:29 +01:00
Andreas Dangel
3a7b570df0 Merge branch 'master' into experimental-apex-parser 2024-02-22 18:38:17 +01:00
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
59537fb15c Merge branch 'master' into experimental-apex-parser 2024-02-13 20:12:39 +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
5705847594 [core] Consolidate internal api in properties
PropertyTypeId - moved to internal
PropertyDescriptor#getTypeId
2024-02-10 11:56:58 +01:00
Andreas Dangel
68d4561544 [core] Consolidate internal api in XPath Attribute
Attribute#replacementIfDeprecated
2024-02-10 10:51:19 +01:00
Andreas Dangel
5e92b5907e [core] Consolidate internal api in FileCollector
FileCollector#newCollector
2024-02-10 10:47:07 +01:00
Andreas Dangel
3a635da9c2 [core] Consolidate internal api in PMDConfiguration
PMDConfiguration#setAnalysisCache
PMDConfiguration#getAnalysisCache
2024-02-10 10:38:26 +01:00
Andreas Dangel
2cc9ae9d7e [core] Consolidate internal api in LexException 2024-02-10 10:05:56 +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
72edaee08a [core] Internalize ParametricRuleViolation 2024-02-09 22:02:36 +01:00
Andreas Dangel
bc5be45566 Merge branch 'master' into issue-4348-internal-api 2024-02-09 21:31:05 +01:00