396 Commits

Author SHA1 Message Date
Andreas Dangel
b64489a515
Merge branch 'master' into issue-4830-consolidate-packages 2024-03-04 19:21:16 +01:00
Andreas Dangel
cc3da7b21e
Fix kotlin compiler warnings 2024-03-01 16:55:01 +01:00
Andreas Dangel
b036931995
Fix javadoc/dokka configuration 2024-02-27 19:49:23 +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
7069e6146c
Simplify kotlin compiler configuration 2024-02-23 10:50:58 +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
1b4acab7c4
Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-10 12:36:58 +01:00
Andreas Dangel
bc5be45566
Merge branch 'master' into issue-4348-internal-api 2024-02-09 21:31:05 +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
5599a8fd65
Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-08 18:23:41 +01:00
Andreas Dangel
1900aa79c4
[core] Remove deprecated methods in AbstractRule
AbstractRule#deepCopyValuesTo
AbstractRule#addRuleChainVisit
AbstractRule#addViolation
AbstractRule#addViolationWithMessage
2024-02-08 08:25:45 +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
db0392cba1
[core] n.s.pmd.cpd.Tokens#Tokens() is now package private
Refs #4348
2024-01-27 18:39:20 +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
55d91791c3
[core] Rename TokenMgrError to LexException
See #4065
2024-01-11 15:56:28 +01:00
Andreas Dangel
ed0cff6da9
Merge branch 'master' into java-ast-updates 2024-01-11 10:28:21 +01:00
Andreas Dangel
73fcf6e38c
[core][java] Integrate improvements from #4352 (avoid getImage())
- This improves ASTLiteral implementation
- Adds ASTLiteral#getLiteralText() - not yet exposed as XPath attribute

Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2023-12-14 12:10:00 +01:00
Andreas Dangel
ba0611534d
[java] Rename ASTVariableDeclaratorId to ASTVariableId 2023-12-13 10:30:39 +01:00
Andreas Dangel
e52fecc130
[test] Close the streams in the tests 2023-10-18 16:07:49 +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
8511c7b0e1
[core] Move PmdCapableLanguage to n.sf.pmd.lang 2023-08-24 11:42:50 +02:00
Clément Fournier
f2cd5abbab
Merge branch 'master' into clem.pmd7-refactor-cpd 2023-05-26 12:21:08 +02:00
Andreas Dangel
bc9c43fb42
Fix tests 2023-05-05 13:19:18 +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
090ffa1a58
Merge remote-tracking branch 'origin/pmd7-textfile-display-name' into pmd7-textfile-display-name 2023-04-29 19:15:23 +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
Clément Fournier
d6b02d18b4
Fix compil 2023-04-20 17:31:12 +02:00
Clément Fournier
913a621f83
Merge branch 'master' into pmd7-textfile-display-name 2023-04-20 16:42:58 +02:00
Andreas Dangel
af74964fcd
[core] Fix FileCollector#addSourceFile parameter order
In PMD 6.55.0 the first parameter is sourceContents and the second is pathId (see ef34553486/pmd-core/src/main/java/net/sourceforge/pmd/lang/document/FileCollector.java (L192)).
This restores that argument order in PMD 7.
2023-04-11 18:57:53 +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
344b2cc17b
Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd 2023-03-20 14:41:17 +01:00
Clément Fournier
a8c481e2ac
Move getFileNameRenderer from FileCollector 2023-03-19 23:29:45 +01:00
Clément Fournier
129b111ee6
Rename PathId -> FileId 2023-03-19 23:20:49 +01:00
Clément Fournier
a4024c0021
Fix more things 2023-03-19 21:55:05 +01:00
Clément Fournier
f7ec779f94
Fix renderers 2023-03-19 19:52:49 +01:00
Clément Fournier
2d7e200db1
add PathId class 2023-03-19 13:08:14 +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
0b2f1517ba
Merge branch '7.0.x' into clem.pmd7-refactor-cpd 2023-02-27 00:41:11 +01:00