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
Clément Fournier
f2cd5abbab
Merge branch 'master' into clem.pmd7-refactor-cpd
2023-05-26 12:21:08 +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
72740a8151
Lint
2023-04-29 19:45:09 +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
f2dc3805af
Cleanups
2023-03-20 15:18:12 +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
129b111ee6
Rename PathId -> FileId
2023-03-19 23:20:49 +01:00
Clément Fournier
2d7e200db1
add PathId class
2023-03-19 13:08:14 +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
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
Clément Fournier
add597026c
Don't forget EOF token
2023-02-12 15:28:34 +01:00
Clément Fournier
cf81809990
Change a ton of stuff in CPD
2023-02-10 18:21:23 +01:00
Clément Fournier
d4c05d1fb5
Make pmd language have a hook to launch CPD
...
This allows removing the CPD language instances,
sharing more logic between CPD and PMD, and using
language properties to configure CPD and PMD uniformly.
2023-02-10 16:45:52 +01:00
Clément Fournier
7a31f67ee5
Fix some details
2023-02-04 19:53:38 +01:00
Clément Fournier
ef365cd9aa
Merge branch '7.0.x' into pmd7-language-lifecycle
2023-02-02 01:04:53 +01:00
Clément Fournier
cef4c30af6
Merge branch '7.0.x' into pmd7-language-lifecycle
2022-11-24 22:39:59 +01:00
Clément Fournier
d3ffc1d212
Merge branch '7.0.x' into pmd7-language-lifecycle
2022-11-24 20:22:58 +01:00
Andreas Dangel
88b8209958
Migrate RuleSetFactoryTests to JUnit 5
2022-10-13 17:18:13 +02:00
Andreas Dangel
00924bea75
Migrate LanguageVersionTests to JUnit5
...
Also move LanguageVersionTests into their language packages
and add missing tests
2022-10-13 17:17:59 +02:00
Andreas Dangel
a4422cf2e6
Merge branch 'pmd/7.0.x' into pmd7-junit5-part2
2022-10-03 09:08:59 +02:00
Andreas Dangel
c0dff0d75a
Merge branch 'master' into pmd/7.0.x
2022-09-30 12:17:45 +02:00
Andreas Dangel
bc7a45699f
Merge branch 'pmd/7.0.x' into pmd7-junit5-part2
2022-09-12 19:34:11 +02:00
Andreas Dangel
0f99ef0c3c
[html] Bump jsoup from 1.14.3 to 1.15.3
...
Fixes https://github.com/pmd/pmd/security/dependabot/23
CVE-2022-36033
https://github.com/advisories/GHSA-gp7f-rwcx-9369
2022-09-06 18:33:26 +02:00
Andreas Dangel
90663d746b
[maven-release-plugin] prepare for next development iteration
2022-08-31 19:19:27 +02:00
Andreas Dangel
4b4ebabc2d
[maven-release-plugin] prepare release pmd_releases/6.49.0
2022-08-31 19:19:22 +02:00
Andreas Dangel
995d00fde3
[maven-release-plugin] prepare for next development iteration
2022-07-30 11:35:57 +02:00
Andreas Dangel
6aa2b47f2e
[maven-release-plugin] prepare release pmd_releases/6.48.0
2022-07-30 11:35:53 +02:00
Clément Fournier
019169d69d
make language of parser task more important than the lang property
2022-07-23 00:12:27 +02:00
Andreas Dangel
7ef6198a3b
Merge branch 'pmd/7.0.x' into pmd7-junit5-part2
2022-07-22 21:22:45 +02:00
Clément Fournier
5c2260bd0f
fix more modules
2022-07-21 05:24:33 +02:00
Clément Fournier
3cecfaf38b
convert most lang mods to new base class
2022-07-21 02:10:21 +02:00
Clément Fournier
ec081ed2e5
wip
2022-07-21 01:18:02 +02:00
Clément Fournier
7c9244d631
make lprocessor available on nodes
2022-07-21 00:25:18 +02:00
Clément Fournier
ba105a646c
progress, remove ContextualizedTest
2022-07-17 14:49:48 +02:00
Clément Fournier
8587844c1c
Fix build
...
Refs #2716 - langs aren't declared in java anymore
2022-07-17 14:03:23 +02:00
Clément Fournier
a56ba97e29
Fix merge
2022-07-16 17:55:32 +02:00
Clément Fournier
59d931cd91
Merge remote-tracking branch 'upstream/pmd/7.0.x' into text-utils-simple
2022-07-10 13:50:03 +02:00
Andreas Dangel
917b9df957
[html] Migrate tests to Junit5
2022-07-07 17:28:46 +02:00
Clément Fournier
9a5ab047b3
Merge branch '7.0.x' into abort-on-semantic-errors
2022-06-25 18:39:59 +02:00
Andreas Dangel
a5006f6383
[maven-release-plugin] prepare for next development iteration
2022-06-25 09:30:43 +02:00
Andreas Dangel
07eb3d2d80
[maven-release-plugin] prepare release pmd_releases/6.47.0
2022-06-25 09:30:37 +02:00
Andreas Dangel
2bdc8a8263
Merge branch 'master' into pmd/7.0.x
2022-06-04 15:59:22 +02:00
Andreas Dangel
066b510eef
chore: Fix project.parent.relativePath in pom.xml
...
It must point to a file, pointing to a directory
is not valid.
2022-06-04 11:00:30 +02:00
Andreas Dangel
04c1271d88
[maven-release-plugin] prepare for next development iteration
2022-05-28 11:04:32 +02:00
Andreas Dangel
a75acdeff8
[maven-release-plugin] prepare release pmd_releases/6.46.0
2022-05-28 11:04:27 +02:00
Andreas Dangel
fd8b2e35a1
Merge branch 'master' into pmd/7.0.x
2022-05-28 09:20:01 +02:00
Andreas Dangel
3d898527ee
[html] Add additional file extensions htm, xhtml, xht, shtml
...
xhtml and xht is application/xhtml+xml
shtml is text/html with server side includes
2022-05-26 18:45:30 +02:00
Andreas Dangel
67629e13d0
Merge pull request #3968 from adangel:replace-commons-io
...
[core] Replace commons-io #3968
2022-05-26 15:26:22 +02:00
Andreas Dangel
572ccc302e
Merge branch 'master' into pmd/7.0.x
2022-05-20 14:49:40 +02:00
Andreas Dangel
1a596693fd
[html] Added test case to verify #text doesn't find text nodes anymore
2022-05-20 09:56:49 +02:00
Andreas Dangel
85095f19d3
[html] Added test case to verify #text doesn't find text nodes anymore
2022-05-20 09:54:48 +02:00
Clément Fournier
02571c6c04
Only use MessageReporter as backend of SemanticErrorReporter
2022-05-15 14:14:17 +02:00
Andreas Dangel
a4ebb66769
Replace IOUtils with IOUtil
...
plsql, xml, apex, html, javascript, scala
2022-05-13 12:03:15 +02:00
Andreas Dangel
ec8e42ad2b
Merge branch 'master' into pmd-html-improvements
2022-05-06 16:02:05 +02:00
Andreas Dangel
46727eb5d7
[html] Document XPath 2.0 only and text nodes handling
2022-05-06 15:52:59 +02:00
Clément Fournier
1b7560dd7c
Fix HTML module
...
Requires Chars#newReader
to support marks
2022-04-30 14:37:45 +02:00
Andreas Dangel
ec64315ad7
[maven-release-plugin] prepare for next development iteration
2022-04-30 09:38:24 +02:00
Andreas Dangel
1d2b40b3c0
[maven-release-plugin] prepare release pmd_releases/6.45.0
2022-04-30 09:38:19 +02:00
Andreas Dangel
4c45d6125e
Merge branch 'master' into pmd/7.0.x
2022-04-29 13:40:05 +02:00
Andreas Dangel
c224209d7f
[test] Backport NodePrinters.kt from pmd7
2022-04-29 11:38:52 +02:00
Andreas Dangel
de13682753
[core] Support #text and #comment nodes
2022-04-28 15:43:26 +02:00
Andreas Dangel
f1a69b6ba9
Merge branch 'master' into pmd/7.0.x
2022-04-28 15:42:19 +02:00
Andreas Dangel
f48ab0e509
[doc] Mark package n.s.p.lang.html experimental
2022-04-28 11:57:30 +02:00
Andreas Dangel
c9a1b3fb78
[html] Migrate to PMD 7
2022-04-22 16:01:51 +02:00
Andreas Dangel
e6254baaae
Merge remote-tracking branch 'adangel/html-jsoup' into html-jsoup
2022-04-22 12:40:44 +02:00
Andreas Dangel
83c07a540b
[html] New rule UseAltAttributeForImages which uses rule chain
2022-04-22 12:01:55 +02:00
Andreas Dangel
b3871a1476
[html] New rule UnnecessaryTypeAttributeRule
2022-04-22 11:39:38 +02:00
Andreas Dangel
3e8274fd0d
[html] Rename AST nodes
2022-04-22 11:38:40 +02:00
Andreas Dangel
004a59ab04
[html] Add visitor, add tests for xpath and java rules
2022-04-22 10:49:13 +02:00
Clément Fournier
91d019343c
Move things around
2022-04-16 20:11:10 +02:00
Andreas Dangel
b413d86d08
[html] Add support for HTML using jsoup parser
2022-03-31 17:08:45 +02:00