578 Commits

Author SHA1 Message Date
Andreas Dangel
6163f67b06
[core] Rename Tokenizer to CpdLexer
See #4065
2024-01-11 17:04:48 +01:00
Andreas Dangel
bb75ff41c3
Fix old usages of old rulesets 2024-01-11 14:43:59 +01:00
Andreas Dangel
9977c0ffeb
Remove old rulesets
These were from PMD 5. In PMD 6, these rules
have been moved into categories.
2024-01-11 12:28:30 +01:00
Andreas Dangel
120d24dae4
[xml] Fix impl and tests 2024-01-05 17:23:42 +01:00
Andreas Dangel
adfd3963a0
[xml] Avoid using @Image - added new attribute @Text 2024-01-05 16:48:29 +01:00
Andreas Dangel
7fc50e434c
[xml] MissingEncoding - fix rule metadata 2023-10-19 10:24:45 +02:00
Andreas Dangel
e92de6c1da
[xml] MissingEncoding - only look at root document element 2023-10-19 10:16:10 +02:00
Andreas Dangel
7b69ff7355
Merge branch 'master' into pr-4592 2023-10-19 10:10:55 +02:00
Andreas Dangel
0c53b69e82
Merge pull request #4586 from adangel:ruleset-xml
Use explicit encoding in ruleset xml files #4586
2023-10-19 09:41:57 +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
1aefe472c3
Add correct tokenizers for vm, pom, wsdl and xsl 2023-08-26 18:49:08 +02:00
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
8511c7b0e1
[core] Move PmdCapableLanguage to n.sf.pmd.lang 2023-08-24 11:42:50 +02:00
Andreas Dangel
932ac33d15
Merge branch 'master' into pr-4397 2023-08-24 09:48:28 +02:00
Andreas Dangel
b73611f013
Merge branch 'master' into pr-4380 2023-08-10 17:37:36 +02:00
Juan Martín Sotuyo Dodero
febd279be2
Fix import order 2023-06-07 10:10:12 -03:00
Juan Martín Sotuyo Dodero
3bac231516 Fix import order 2023-06-07 00:51:15 -03:00
Juan Martín Sotuyo Dodero
7f66265c1c Update AST tests 2023-06-06 23:07:20 -03:00
Juan Martín Sotuyo Dodero
34a3f792c9 Add test cases 2023-06-05 23:59:41 -03:00
Juan Martín Sotuyo Dodero
59fca83d10 Add a new rule for MissingEncoding
- Enforce XML files have an encoding set in the XML Declaration
2023-06-05 23:59:10 -03:00
Juan Martín Sotuyo Dodero
f2c7da364c Expose XML Declaratoin as attributes 2023-06-05 23:58:39 -03: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
fd0416c85a
Merge branch 'master' into port-properties 2023-05-26 11:42:11 +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
68a4e84b5e
Merge branch 'master' into pmd7-textfile-display-name 2023-04-29 18:21:30 +02:00
Andreas Dangel
bdacd38437
[core] Move AntlrTokenizer and JavaCCTokenizer into impl packages 2023-04-13 20:32: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
b71e1711e5
Cleanups and renamings 2023-03-20 13:31:00 +01:00
Clément Fournier
f55c01ac1f
Merge branch '7.0.x' into port-properties 2023-03-14 21:07:35 +01:00
Clément Fournier
0f17cc83f6
Add back default version for CPD languages 2023-03-11 17:17:43 +01:00
Clément Fournier
0b2f1517ba
Merge branch '7.0.x' into clem.pmd7-refactor-cpd 2023-02-27 00:41:11 +01:00
Clément Fournier
0ba2460f92
Merge branch '7.0.x' into port-properties 2023-02-17 16:27:42 +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
c572cb88d7
Rename package cpd.internal to cpd.impl 2023-02-13 15:18:37 +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
cf81809990
Change a ton of stuff in CPD 2023-02-10 18:21:23 +01:00
Clément Fournier
ebe4610389
Remove ability to set custom delimiter 2023-02-05 20:37:45 +01:00
Clément Fournier
a586a9bf11
Merge branch '7.0.x' into port-properties 2023-02-05 19:41:51 +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
a7cf226dae
Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-30 16:28:19 +01:00
Andreas Dangel
014c28bb1e
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-30 13:36:15 +01:00
Andreas Dangel
d8b41bab6e
Merge branch 'pmd/7.0.x' into pr-4354 2023-01-30 10:21:50 +01:00
Clément Fournier
32d95a46e8
Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-27 13:55:39 +01:00
Andreas Dangel
0d2acf6000
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-27 10:02:58 +01:00
Clément Fournier
2078692d39
Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-25 00:48:36 +01:00
Clément Fournier
403fcdae82
[core] Move utility classes around 2023-01-23 18:47:52 +01:00
Andreas Dangel
8fb578866c
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-17 11:54:18 +01:00
Andreas Dangel
234f9fe679
Migrate remaining ant tests to JUnit5 2023-01-17 11:51:28 +01:00
Andreas Dangel
c5a9e785ff
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-10 12:58:51 +01:00
Clément Fournier
98f515b92c
Merge branch '7.0.x' into port-properties 2022-11-26 18:12:38 +01:00
Juan Martín Sotuyo Dodero
b836a35c8c [cli] Move CLI progressbar rendering to pmd-cli
- Took the chance to improve how we render it
 - Added support for interactive terminals
 - Improved the overall performance / thread-safety of report rendering to STDOUT
2022-11-25 15:24:57 -03:00
Clément Fournier
20eb129dfe
Move cli tests from lang modules to cli 2022-11-25 12:19:24 +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
Clément Fournier
251fa45020
Merge branch '7.0.x' into pr/4028 2022-11-23 21:52:18 +01:00
Andreas Dangel
d6b0068f7b
Merge branch 'master' into pmd/7.0.x 2022-10-28 11:26:12 +02: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
9c182974e7
[doc] Fix ruledoc for POM: ProjectVersionAsDependencyVersion 2022-10-06 17:40:35 +02:00
Andreas Dangel
a934c5f12d
[xml] Migrate tests to JUnit5 2022-10-03 16:30:02 +02:00
Andreas Dangel
13d9a9457f
[maven-release-plugin] prepare for next development iteration 2022-09-30 15:39:14 +02:00
Andreas Dangel
37f6d8254c
[maven-release-plugin] prepare release pmd_releases/6.50.0 2022-09-30 15:39:08 +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
2ec6b6c648
Merge branch 'pmd7-lang-registry-non-static' into pmd7-language-lifecycle 2022-07-22 17:39:39 +02:00
Clément Fournier
29d31ec8d2
Disable progress bar in some tests 2022-07-22 17:39:15 +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
2952df371e
try to adapt tests
we need to remove usages of LanguageVersion::getLanguageVersionHandler
2022-07-20 20:59:40 +02:00
Clément Fournier
29a711335f
Reintroduce separate default delimiter
Let's change that later
2022-07-18 14:41:38 +02:00
Clément Fournier
3cf2eb0a07
Merge branch 'text-utils-simple' into port-properties 2022-07-17 15:45:48 +02:00
Clément Fournier
ba105a646c
progress, remove ContextualizedTest 2022-07-17 14:49:48 +02:00
Clément Fournier
495dbb750f
Merge branch 'text-utils-simple' into pmd7-lang-registry-non-static 2022-07-16 18:48:57 +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
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
309d1dea28
Merge branch 'replace-commons-io' into pmd7-replace-commons-io 2022-05-13 16:00:19 +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
753cb49e40
[all] Remove dependency to commons-io 2022-05-13 12:03:14 +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
Clément Fournier
f2708f4b4e
Make Node#getTextRegion non-default
Now implementors of Node need an implementation.
Implementation of #getReportLocation can be shared
2022-04-24 12:28:05 +02:00
Clément Fournier
9a5eed54ad
Merge branch '7.0.x' into port-properties 2022-04-09 22:42:20 +02:00
Clément Fournier
7e8b5e37fc
Merge branch 'text-utils-simple' into lang-registry-non-static 2022-04-09 21:45:22 +02:00
Clément Fournier
407ffeaf74
Merge branch '7.0.x' into lang-registry-non-static 2022-04-09 20:11:52 +02:00
Clément Fournier
fa635e226e
Merge branch '7.0.x' into text-utils-simple 2022-04-01 23:36:14 +02:00