27006 Commits

Author SHA1 Message Date
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
8950cec263 [doc] Fix javadoc links after moving reporting 2024-02-09 15:49:54 +01:00
Andreas Dangel
a2f2720f77 Fix imports 2024-02-09 15:41:36 +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
a9c0ee0cd7 [doc] Fix javadoc links after moving Rule 2024-02-09 14:47:15 +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
9748580ee2 [ci] Fix dogfood SNAPSHOT version 2024-02-04 15:52:42 +01:00
Andreas Dangel
41938cacea Use latest pmd-designer 7.0.0-SNAPSHOT 2024-02-04 14:53:03 +01:00
Andreas Dangel
14ae7f4ce0 [compat6] Fix compile errors 2024-02-02 20:39:04 +01:00
Andreas Dangel
5e4b7f5eb5 Merge pull request #4798 from adangel:textcolor-renderer
[core] TextColorRenderer: Remove property color #4798
2024-02-02 20:02:02 +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
a78e17b7a6 Merge pull request #4796 from adangel:remove-deprecated-and-release-rulesets
Remove deprecated and release rulesets #4796
2024-02-02 19:57:04 +01:00
Andreas Dangel
a76ec3410c Merge pull request #4795 from adangel:remove-ruleset-factory-compatibility
[core] Remove ruleset compatibility filter (RuleSetFactoryCompatibility) and CLI option --no-ruleset-compatibility #4795
2024-02-02 19:53:51 +01:00
Andreas Dangel
a411bc5dac Merge pull request #4793 from adangel:undeprecate-dysfunction-reason
[core] Undeprecate PropertySource::dysfunctionReason in PMD 7 #4793
2024-02-02 19:51:05 +01:00
Andreas Dangel
c8686a0dff Merge pull request #4792 from adangel:undeprecate-node-getImage
[core] Undeprecate Node::getImage() in PMD 7 #4792
2024-02-02 19:49:26 +01:00
Andreas Dangel
5b2b03847e Merge pull request #4786 from adangel:issue-4313-remove-old-rule-reference-notation
[core] Remove support for deprecated rule set references notation #4786
2024-02-02 19:46:55 +01:00
Andreas Dangel
2fbe5cb147 Merge pull request #4782 from adangel:avoid-image
[core] Avoid using getImage/@Image #4782
2024-02-02 18:25:49 +01:00
Andreas Dangel
c6ce5a9557 Merge branch 'master' into avoid-image 2024-02-02 16:56:54 +01:00
dependabot[bot]
1d95f0f03e Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 19:16:37 +01:00
Andreas Dangel
4a1ba2c3c0 [doc] Remove not existing -language cli param
It was already removed for PMD 7.
2024-01-26 17:45:25 +01:00
Juan Martín Sotuyo Dodero
033ede2925 Fix broken link 2024-01-26 11:55:38 -03:00
Juan Martín Sotuyo Dodero
68680de9cb Fix Windows dir separator 2024-01-26 11:52:24 -03:00
Juan Martín Sotuyo Dodero
f70b0d04cf Fix Windows samples 2024-01-26 11:50:29 -03:00
Andreas Dangel
88239b703e Merge pull request #4777 from adangel:fix-deprecated-api-usage
Fix deprecated API usage #4777
2024-01-26 15:16:54 +01:00
Andreas Dangel
7041f27d9f Merge pull request #4775 from adangel:apex-fix-deprecated-api-usage
[apex][visualforce] Fix deprecated API usage #4775
2024-01-26 15:15:58 +01:00
Andreas Dangel
59c2e86203 Merge pull request #4772 from adangel:plsql-fix-deprecated-api-usage
[plsql] Fix deprecated API usage #4772
2024-01-26 15:14:53 +01:00
Andreas Dangel
0c4b4f4dcd Merge pull request #4768 from adangel:java-ast-updates
[java] Updates to AST nodes #4768
2024-01-26 15:13:40 +01:00
Andreas Dangel
f5c4aaddf2 [doc] Update release notes (#4309) 2024-01-25 14:41:39 +01:00
Andreas Dangel
304ff2ec25 [core] XPathHandler/XPathFunctionDefintion: Refactoring, javadoc 2024-01-25 14:41:20 +01:00
Andreas Dangel
721661c3f9 [core] XPathHandler: Avoid direct dependency on saxon, Part 2
Define new interface FunctionCall, that replaces the
saxon interface ExtensionFunctionCall.
2024-01-25 12:28:25 +01:00
Andreas Dangel
b8ecc890af [core] XPathHandler: Avoid direct dependency on saxon, Part 1 2024-01-25 10:56:01 +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
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
f6440c6dab [compat6] Making compat6 layer for m-pmd-p work again 2024-01-19 11:49:08 +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
83522e96ef [ci] Update sonar, use Java 17 2024-01-18 08:32:27 +01:00
Andreas Dangel
963a9a965c [java] Verify fix for BrokenNullCheck (#718)
Closes #718
2024-01-17 17:43:15 +01:00
Andreas Dangel
faaec5ed6d [core] Actually move into correct package lang.rule 2024-01-13 20:57:56 +01:00
Andreas Dangel
7b680eecaf [doc] Update release notes (#3917) 2024-01-13 18:51: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
b17fe92fb5 Merge branch 'master' into java-ast-updates 2024-01-12 10:41:41 +01:00
Andreas Dangel
8bd78b4b8f Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/internal/PrettyPrintingUtil.java
Co-authored-by: Clément Fournier <clement.fournier@tu-dresden.de>
2024-01-12 10:30:49 +01:00
Andreas Dangel
b06d00fb40 [java] SingularField: verify #174
Closes #174
2024-01-12 09:59:17 +01:00