356 Commits

Author SHA1 Message Date
Andreas Dangel
592e80d4a9
[release] prepare release pmd_releases/7.1.0 2024-04-26 08:35:11 +02:00
Juan Martín Sotuyo Dodero
eaec0dad28
Merge pull request #4923 from adangel/fix-checkstyle-config
Fix checkstyle config and checkstyle issues
2024-04-04 10:27:23 -03:00
Andreas Dangel
280b1a1ee3
Bump next version to be 7.1.0-SNAPSHOT 2024-04-04 10:49:18 +02:00
Andreas Dangel
d88a3c50fe
Fix checkstyle config and checkstyle issues 2024-04-04 10:46:05 +02:00
Andreas Dangel
7332d61515
[release] prepare for next development iteration 2024-03-22 09:28:44 +01:00
Andreas Dangel
0541ab8591
Revert "[release] prepare for next development iteration"
This reverts commit 27620724dcf48160f9ea91b9a02a6186400a38cd.
2024-03-22 09:01:47 +01:00
Andreas Dangel
27620724dc
[release] prepare for next development iteration 2024-03-22 08:46:33 +01:00
Andreas Dangel
2e91f316f4
Revert "[release] prepare for next development iteration"
This reverts commit 0c7c0386363e41cf3d639a46352e2e875be0710a.
2024-03-22 08:44:25 +01:00
Andreas Dangel
0c7c038636
[release] prepare for next development iteration 2024-03-22 08:36:51 +01:00
Andreas Dangel
ccb123f1ff
[release] prepare release pmd_releases/7.0.0 2024-03-22 08:36:44 +01:00
Andreas Dangel
f49f25f0e1
Rename lang-terse-name to lang-id 2024-02-23 17:46:39 +01:00
Andreas Dangel
845154716c
[test] Consolidate packages, move PmdRuleTst, SimpleAggregatorTst 2024-02-23 17:46:29 +01:00
Andreas Dangel
3a7460de29
[lang-test] Move classes into n.s.p.lang.test 2024-02-23 17:46:23 +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
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
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
6163f67b06
[core] Rename Tokenizer to CpdLexer
See #4065
2024-01-11 17:04:48 +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
020e2da270
[swift] Log parser errors
* Eventually, this should throw, but the grammar
is very incomplete.
* Support opaque-types
2023-12-11 09:57:39 +01:00
Andreas Dangel
dbfde44b92
[swift] Make Macro expansion an expression
Add parser tests
2023-12-11 09:56:18 +01:00
kenji
10ae2fae96
Add swift 5.9 support 2023-12-01 15:48:31 +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
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
Juan Martín Sotuyo Dodero
38b541f896
Merge branch 'master' into issue-2501-antlr-doc 2023-04-19 00:22:59 -03:00
Andreas Dangel
0d5ecebd4e
[core] Antlr - make more methods protected
The abstract methods createPmdTerminal and createPmdError in AntlrGeneratedParserBase don't need to be public. They are just implementation.

The language specific inner nodes (KotlinInnerNode, SwiftInnerNode)
can be package private. Only the concrete subclasses are considered
public API.
2023-04-14 09:41:52 +02:00
Andreas Dangel
ee227b1397
[core] Introduce an AbstractVisitorRule
Remove AntlrBaseRule
2023-04-13 20:32:58 +02:00
Andreas Dangel
bdacd38437
[core] Move AntlrTokenizer and JavaCCTokenizer into impl packages 2023-04-13 20:32:53 +02:00
Andreas Dangel
2e21c193fe
Fix externalInfoURLs in rulesets 2023-03-30 15:05:14 +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
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
c572cb88d7
Rename package cpd.internal to cpd.impl 2023-02-13 15:18:37 +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