524 Commits

Author SHA1 Message Date
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
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