36 Commits

Author SHA1 Message Date
Andreas Dangel
3a7460de29 [lang-test] Move classes into n.s.p.lang.test 2024-02-23 17:46:23 +01:00
Andreas Dangel
0d40878b0a Promote experimental APIs as stable
- HTML support and Kotlin support no more experimental
- The only left over experimental APIs are java preview features
2024-02-09 08:46:48 +01:00
Andreas Dangel
6163f67b06 [core] Rename Tokenizer to CpdLexer
See #4065
2024-01-11 17:04:48 +01:00
Andreas Dangel
55d91791c3 [core] Rename TokenMgrError to LexException
See #4065
2024-01-11 15:56:28 +01:00
Juan Martín Sotuyo Dodero
95ec080bf1 Bump Groovy to 4.0.15
- We now support parsing all Groovy features from Groovy 3 and 4
 - Support for 5 is not included as it would not work with Java 8
 - Along the way, this also fixes #4674
2023-10-21 02:07:56 -03: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
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
b71e1711e5 Cleanups and renamings 2023-03-20 13:31:00 +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
Andreas Dangel
f79d2389b0 [groovy] Migrate tests to Junit5 2022-07-07 17:23:37 +02:00
Clément Fournier
7384fd6fb2 Merge branch 'master' into 7.0.x 2020-08-28 14:58:10 +02:00
XenoAmess
244a39db0f fix typos. 2020-08-27 11:47:11 +08:00
Andreas Dangel
e4690cb56a Fix compile errors for CPD only languages 2020-07-17 15:04:43 +02:00
Clément Fournier
5b7ed588ea Make CPD end column exclusive
This is to align it with PMD columns,
which in 7.0 are already exclusive.
2020-06-19 02:21:45 +02:00
Clément Fournier
c49d9e315f Merge branch 'master' into 7.0.x 2020-06-19 01:32:32 +02:00
Clément Fournier
1bdbd4883c Convert groovy tests 2020-06-14 01:09:49 +02:00
Clément Fournier
59dfa15269 Fix groovy columns 2020-06-14 01:04:32 +02:00
Clément Fournier
551620bbad Checkout TokenMgrError from 7.0.x, make binary compatible with master 2020-05-07 17:59:00 +02:00
Clément Fournier
e9b65823bf Cleanup TokenMgrError 2020-03-20 18:07:56 +01:00
Clément Fournier
7756ad9de0 Merge branch 'master' into 7.0.x 2020-01-17 16:09:45 +01:00
Andreas Dangel
817c3d1127 CPD: Remove deprecations in Mark / TokenEntry
* Provide these values for more languages
2020-01-17 14:47:23 +01:00
Clément Fournier
e6a2a60aaa Forgot golang and groovy 2019-09-27 18:24:22 +02:00
Andreas Dangel
10e27ca3c0 Deprecate PMD LanguageModule for languages, that only support CPD 2018-11-26 13:55:35 +01:00
Will Herrmann
285c4c9390 Replacing IOUtils.toInputStream() with StringReader 2018-10-16 16:34:01 -05:00
Will Herrmann
cba4e87acd Replacing deprecated IO methods with ones that specify a charset
Standardizing with StandardCharsets.UTF_8, given that it was used in
several places of code already, and it provides compile-time checking
(as opposed to "UTF-8")
2018-10-12 17:25:08 -05:00
Andreas Dangel
3d9511a0e5 [doc] Remove old maven site 2017-08-15 14:31:03 +02:00
Matias Comercio
e5ddad3c3b Remove pushed .gitignored files
These files were already at the repository
but they should have been ignored
2017-07-27 18:31:20 -03:00
Andreas Dangel
e3e87694bd pmd-groovy: checkstyle / formatting 2016-12-02 09:31:39 +01:00
Andreas Dangel
cc94ed4c33 Add missing sites for sub modules (java8, test, ui)
Add missing sub module site menu (groovy, java8, perl, swift, test, ui)
2016-11-02 19:51:43 +01:00
Andreas Dangel
aec40ec20c groovy: fix GroovyLanguage not in src/main 2016-09-26 20:10:11 +02:00
Juan Martín Sotuyo Dodero
f01cc473d2 Initial support for CPD Groovy 2016-09-11 14:12:17 -03:00