103 Commits

Author SHA1 Message Date
Andreas Dangel
1b4acab7c4 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-10 12:36:58 +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
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
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
5599a8fd65 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-08 18:23:41 +01:00
Andreas Dangel
3ec38df9b0 [core] Remove deprecated XPathVersions 2024-02-06 21:33:08 +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
c6ce5a9557 Merge branch 'master' into avoid-image 2024-02-02 16:56:54 +01:00
Andreas Dangel
049f2c7c59 [core] XPathRule - remove version property (#4309) 2024-01-20 17:40:02 +01:00
Andreas Dangel
7c29f16eac [core] Move XPathRule into subpackage lang.rule.xpath (#4309) 2024-01-19 12:52:51 +01:00
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
411d32607b [core] Introduce TextNode and CommentNode for XPath/HTML 2023-12-19 20:45:05 +01:00
Andreas Dangel
bf66f816f0 [html] Remove @Image attributes of text nodes 2023-12-19 20:45:00 +01:00
Andreas Dangel
b059ecb98a Fix deprecated API usage
Fixes in pmd-doc, html, javascript,
jsp, modelica, objectivec, scala,
swift, vm
2023-12-16 18:34:55 +01: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
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
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
f2cd5abbab Merge branch 'master' into clem.pmd7-refactor-cpd 2023-05-26 12:21:08 +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
72740a8151 Lint 2023-04-29 19:45:09 +02: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
344b2cc17b Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd 2023-03-20 14:41:17 +01:00
Clément Fournier
129b111ee6 Rename PathId -> FileId 2023-03-19 23:20:49 +01:00
Clément Fournier
2d7e200db1 add PathId class 2023-03-19 13:08:14 +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
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
ddbfc90c14 Fix build 2023-02-12 20:06:28 +01:00
Clément Fournier
fb9f49624d Delete old CPD Language interface
reorganize cpd modules
2023-02-12 18:03:58 +01:00
Clément Fournier
add597026c Don't forget EOF token 2023-02-12 15:28:34 +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
7a31f67ee5 Fix some details 2023-02-04 19:53:38 +01:00
Clément Fournier
ef365cd9aa Merge branch '7.0.x' into pmd7-language-lifecycle 2023-02-02 01:04:53 +01:00
Clément Fournier
cef4c30af6 Merge branch '7.0.x' into pmd7-language-lifecycle 2022-11-24 22:39:59 +01:00
Clément Fournier
d3ffc1d212 Merge branch '7.0.x' into pmd7-language-lifecycle 2022-11-24 20:22:58 +01:00
Andreas Dangel
88b8209958 Migrate RuleSetFactoryTests to JUnit 5 2022-10-13 17:18:13 +02:00