340 Commits

Author SHA1 Message Date
Andreas Dangel
f49f25f0e1
Rename lang-terse-name to lang-id 2024-02-23 17:46:39 +01:00
Andreas Dangel
3a7460de29
[lang-test] Move classes into n.s.p.lang.test 2024-02-23 17:46:23 +01:00
Andreas Dangel
5599a8fd65
Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-08 18:23:41 +01:00
Andreas Dangel
19f9bdde5f
[core] Remove deprecated classes/methods
CpdLanguageProperties#DEFAULT_SKIP_BLOCKS_PATTERN
BaseAntlrNode#joinTextToken
Node#getNthParent
Node#getFirstChildOfType
2024-02-02 14:41:45 +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
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
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
681c52836c
[core] Create CpdLanguageProperties 2023-08-24 11:14:08 +02:00
Clément Fournier
6f6608dad9
Delete cpp default version 2023-06-10 14:35:11 +02:00
Clément Fournier
287a9a275c
Move forgotten things into language specific packages 2023-06-10 14:33:19 +02:00
Clément Fournier
629e3b415c
Consolidate CPD packages 2023-06-10 14:30:07 +02:00
Clément Fournier
f2cd5abbab
Merge branch 'master' into clem.pmd7-refactor-cpd 2023-05-26 12:21:08 +02:00
Andreas Dangel
6b4c6b2787
Merge branch 'master' into pr-4470 2023-05-19 09:46:16 +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
Andreas Dangel
bdacd38437
[core] Move AntlrTokenizer and JavaCCTokenizer into impl packages 2023-04-13 20:32:53 +02:00
wener
85a0d7f59f Added strings as literal and ignore identifiers in sequences 2023-04-13 17:29:12 +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
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
c572cb88d7
Rename package cpd.internal to cpd.impl 2023-02-13 15:18:37 +01:00
Clément Fournier
ddbfc90c14
Fix build 2023-02-12 20:06:28 +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
bc7a45699f
Merge branch 'pmd/7.0.x' into pmd7-junit5-part2 2022-09-12 19:34:11 +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
227e27c369
fix inclusive offsets in cpp test 2022-07-17 17:55:38 +02:00
Clément Fournier
63c01f0f5b
Merge branch '7.0.x' into text-utils-javacc 2022-07-17 17:06:37 +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
02db84a48c
[cpp] Migrate tests to JUnit5 2022-07-07 17:15:09 +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
Clément Fournier
58ee669696
Add more tests for unicode escape 2022-04-30 22:58:07 +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
a611af163b
Merge branch 'text-utils-simple' into text-utils-javacc 2022-04-02 16:34:17 +02:00
Clément Fournier
163a9274dc
Ignore some cpp tests 2022-04-02 15:54:31 +02:00
Clément Fournier
474deca0e2
Fix cpd 2022-04-02 15:43:28 +02:00
Andreas Dangel
be3e941a08
[maven-release-plugin] prepare for next development iteration 2022-03-27 17:01:59 +02:00
Andreas Dangel
6859f8db36
[maven-release-plugin] prepare release pmd_releases/6.44.0 2022-03-27 17:01:54 +02:00
Clément Fournier
2c0a641b2c
Cleanups 2022-03-07 20:17:15 +01:00
Clément Fournier
3b8d7a32a7
Cleanups 2022-03-07 19:59:50 +01:00
Clément Fournier
b0b7f69480
Merge branch 'text-utils-simple' into text-utils-javacc 2022-03-05 19:35:10 +01:00