Andreas Dangel
c179834288
[release] Prepare next development version [skip ci]
2024-10-25 09:28:54 +02:00
Andreas Dangel
7739f2b840
[release] prepare release pmd_releases/7.7.0
2024-10-25 09:07:54 +02:00
Juan Martín Sotuyo Dodero
00bf6fe2f7
Fix @since for @Generated
2024-10-06 17:21:30 -03:00
Andreas Dangel
b7c4a5e492
Ignore javacc code in coverage report ( #5241 )
...
Merge pull request #5241 from Monits:ignore-javacc-code
2024-10-03 20:30:41 +02:00
Andreas Dangel
5fe19b2096
[release] Prepare next development version [skip ci]
2024-09-27 11:43:22 +02:00
Andreas Dangel
d8d4d3d061
[release] prepare release pmd_releases/7.6.0
2024-09-27 11:08:53 +02:00
Andreas Dangel
028444453d
Change branch master to main ( #5211 )
...
Merge pull request #5211 from adangel:switch-to-main-branch
2024-09-26 15:54:55 +02:00
Andreas Dangel
df1a6797c6
[core] RuleSetWriter - write property value as attribute
2024-09-20 16:10:51 +02:00
Andreas Dangel
802decbbcf
[core] Fix RuleReference / RuleSetWriter handling of properties
...
RuleReference#getOverriddenPropertyDescriptors should behave
consistent to #getOverriddenPropertiesByPropertyDescriptor.
RuleSetWriter needs to make sure to
export only the values for properties
of rule references.
Fixes #5222
2024-09-20 15:14:06 +02:00
David Schach
dd6e64a94d
fix(sarif): refer to existent $schema location
2024-09-19 16:46:08 +02:00
Juan Martín Sotuyo Dodero
029130a478
Use a custom annotation to ignore javacc generated code
2024-09-17 17:00:42 -03:00
Andreas Dangel
47f204cb19
Fix unit test
2024-09-13 10:37:37 +02:00
Andreas Dangel
91f17838d4
Change branch master to main
...
- Update documentation
- Update release scripts
- Update rule doc generation
GitHub Action is only triggered from "main" branch now.
2024-09-13 09:59:51 +02:00
Andreas Dangel
6d1fb3e4cd
[core] Fix PMD's XMLRenderer to escape CDATA
...
Processing errors might contain inside their details
message a CDATA section. This is output itself as
a CDATA section, but XMLStreamWriter#writeCData doesn't
escape it automatically - it just outputs the string
as is. This results in invalid XML.
Fixes #5059
2024-09-12 09:44:54 +02:00
Andreas Dangel
2ed25964b8
[release] Prepare next development version [skip ci]
2024-08-30 10:52:17 +02:00
Andreas Dangel
74ada426af
[release] prepare release pmd_releases/7.5.0
2024-08-30 10:31:09 +02:00
Andreas Dangel
537dab95e4
[java] Support Java 23 ( #5112 )
...
Merge pull request #5112 from issue-5062-support-java-23
2024-08-29 17:39:04 +02:00
Clément Fournier
672fd635c9
Improve error handling of semantic exceptions
2024-08-28 13:23:43 +02:00
Clément Fournier
e597e21eda
Update pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/SemanticErrorReporter.java
2024-08-25 22:07:43 +02:00
Clément Fournier
d7a15d1854
Report typeres errors more transparently
2024-08-25 19:46:01 +02:00
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