4595 Commits

Author SHA1 Message Date
Andreas Dangel
b51be09795 [core] Cache moduleName to URLs in ClasspathClassLoader 2024-08-13 11:46:31 +01:00
Andreas Dangel
47470b5d0c [java] Support module import declarations (JEP 476)
- new JModuleSymbol
- UnnecessaryImportRule also supports module imports
- module-info.class can be loaded by ClasspathClassLoader
- Support annotations on modules
- Verify that exported packages are loaded
2024-08-01 11:44:37 +02:00
Andreas Dangel
ee800d326f [release] Prepare next development version [skip ci] 2024-07-26 10:11:46 +02:00
Andreas Dangel
db5fa2dbce [release] prepare release pmd_releases/7.4.0 2024-07-26 09:03:38 +02:00
Andreas Dangel
5d39923c2f [core] Don't log warning about skipLexicalErrors twice (#5102)
Merge pull request #5102 from adangel:issue-5091-skipLexicalErrors
2024-07-25 10:28:22 +02:00
Andreas Dangel
b176ca72c1 [javascript] Correctly determine double inaccuracy
Fixes #4716
2024-07-19 14:05:32 +02:00
Andreas Dangel
9bf476ac4f [core] Don't log warning about skipLexicalErrors twice
Fixes #5091
2024-07-05 12:07:28 +02:00
Andreas Dangel
d952a10790 [release] Prepare next development version [skip ci] 2024-06-28 11:27:41 +02:00
Andreas Dangel
c5dbc29bea [release] prepare release pmd_releases/7.3.0 2024-06-28 11:00:04 +02:00
Andreas Dangel
52b2b52c5c [plsql,tsql] Fix CPD being case sensitive in PLSQL and TSQL (#4943)
Merge pull request #4943 from oowekyala:issue4396-cpd-case-sensitive
2024-06-28 08:30:14 +02:00
Juan Martín Sotuyo Dodero
10bfa395e5 Explicitely use no-arg constructor
- Inadvertly I was using the constructor that received an int as
   initial capacity, which instantiated massive collections leading to
   an increase in memory usage.
2024-06-27 20:29:15 -03:00
Andreas Dangel
12b9ecefb1 [doc] Update release notes (#4396) 2024-06-27 21:18:04 +02:00
Andreas Dangel
9b20ec524a [core] Remove AntlrLexerBehavior 2024-06-27 21:16:07 +02:00
Andreas Dangel
f90093c923 Merge branch 'master' into pr-4943 2024-06-27 20:38:19 +02:00
Andreas Dangel
06ba547811 [java] Make impl of ASTLiteral#getLiteralText() public (#5078)
Merge pull request #5078 from adangel:issue-4885-method-should-be-accessible
2024-06-27 14:49:13 +02:00
Andreas Dangel
e93ca46b5a [cli] Add exit code for processing errors (#4991)
Merge pull request #4991 from adangel:cli-exit-codes-processing-errors
2024-06-27 14:41:51 +02:00
Andreas Dangel
b5f6d4e68a [core] Update report schema location to https://pmd.github.io/schema/report_2_0_0.xsd 2024-06-27 09:11:26 +02:00
Andreas Dangel
40bd882f3e Fix cpd xslt sample templates 2024-06-23 21:03:12 +02:00
Andreas Dangel
33f9268cf7 [core] Provide a backwards compatible XMLOldRenderer as "xmlold" 2024-06-23 20:42:45 +02:00
Andreas Dangel
a8ab215010 Clarify namespace, version, pmdVersion 2024-06-23 19:21:49 +02:00
Andreas Dangel
29983a91a2 Fix schema types
Co-authored-by: Juan Martin Sotuyo Dodero <juansotuyo@gmail.com>
2024-06-23 19:00:01 +02:00
Andreas Dangel
aed90ff62e [core] CPD: Add schema for cpd xml report 2024-06-21 20:57:56 +02:00
Andreas Dangel
727fb1597d Merge branch 'master' into cpd-report-processing-errors 2024-06-21 19:30:35 +02:00
Andreas Dangel
d285082709 Updated doc to mention 7.3.0 2024-06-21 19:23:55 +02:00
Andreas Dangel
724b3afe95 Merge branch 'master' into cli-exit-codes-processing-errors 2024-06-21 19:14:17 +02:00
Andreas Dangel
18c30415d0 [java] Make impl of ASTLiteral#getLiteralText() public
Fixes #4885
2024-06-20 15:26:21 +02:00
Andreas Dangel
28c6c8e121 [release] Prepare next development version [skip ci] 2024-05-31 13:21:14 +02:00
Andreas Dangel
38bc997d4e [release] prepare release pmd_releases/7.2.0 2024-05-31 12:57:36 +02:00
Andreas Dangel
2a0cba7b91 [java] Improve LocalVariableCouldBeFinal (#5003)
Merge pull request #5003 from oowekyala:issue1619-localVariableCouldBeFinal-FP
2024-05-31 10:39:37 +02:00
Andreas Dangel
0fe477ec06 Fixups from PR review
- release notes: API Changes
- fix javadoc since tags
- improve messages in ant task for deprecated skipLexicalErrors
2024-05-20 09:25:06 +02:00
Andreas Dangel
603187e41b Update javadoc 2024-05-17 16:37:37 +02:00
Andreas Dangel
10c78f26de [cpd] Deprecate skipLexicalErrors 2024-05-17 16:20:23 +02:00
Andreas Dangel
06efd65b16 [cli] Rename new parameter to be --no-fail-on-error 2024-05-17 16:19:58 +02:00
Andreas Dangel
2d9385f462 Merge branch 'master' into cli-exit-codes-processing-errors 2024-05-17 14:01:57 +02:00
Clément Fournier
4cfe90cfdc Cleanup symtable factory 2024-05-15 09:36:39 +02:00
Clément Fournier
7484186771 Merge branch 'master' into issue4396-cpd-case-sensitive 2024-05-11 23:07:52 +02:00
Clément Fournier
7f0d148a1b Fix FPs 2024-05-11 23:06:30 +02:00
Andreas Dangel
b3cf149f67 [core] CPD: Include processing errors in XML report 2024-05-03 12:22:02 +02:00
Andreas Dangel
a63cfb8228 [doc] New exit code 5, --no-fail-on-processing-error
Fixes #2827
2024-05-03 10:28:46 +02:00
Andreas Dangel
d0a913e50b [cli] Move failOnViolation to AbstractConfiguration 2024-05-03 09:35:59 +02:00
Andreas Dangel
e667bf6773 [cli] Add new param "--no-fail-on-processing-error" 2024-05-03 09:33:46 +02:00
Andreas Dangel
0fc23fc9f4 [cli] PMD: Add new exit code 5: VIOLATIONS_OR_PROCESSING_ERRORS 2024-05-03 09:23:10 +02:00
Juan Martín Sotuyo Dodero
722f25ba86 Merge branch 'master' into xpath-seq-attributes 2024-05-02 13:06:03 -03:00
Andreas Dangel
42ffb31ca0 [cpd] Fix CPD crashes about unicode escapes (#4983)
Merge pull request #4983 from oowekyala:cpd-fix-crashes
2024-05-02 11:13:33 +02:00
Andreas Dangel
22a31c938d [core] Actually duplicate the whole current config for RuleSetLoader (#4981)
Merge pull request #4981 from Monits:issue-4978
2024-05-01 20:32:27 +02:00
Andreas Dangel
2d11ed8e93 [core] Add a unit test for ruleset validation messages
Refs #4981
Refs #4978
2024-05-01 20:31:52 +02:00
Clément Fournier
d773088661 Split unit test 2024-04-29 19:00:46 +02:00
Clément Fournier
4c96e678af Add test for document fix 2024-04-29 12:46:25 +02:00
Clément Fournier
fb17f7ff9a Add test 2024-04-29 12:46:25 +02:00
Clément Fournier
e81449db4a fixes 2024-04-29 12:46:24 +02:00