Jakub Dupak
c47f5a6062
[cpd] Add ignore literals and identifiers capability to C++
2024-10-20 21:57:48 +02:00
Juan Martín Sotuyo Dodero
540076b26b
PMD fixes
2024-04-18 01:22:32 -03:00
Juan Martín Sotuyo Dodero
8f6270d3b5
Style issues
2024-04-18 01:11:38 -03:00
Juan Martín Sotuyo Dodero
e1ac7a13a2
Remove multiple occurrence test from cpp
...
- This is superceded by a generic test in pmd-core
2024-04-18 00:54:29 -03:00
Juan Martín Sotuyo Dodero
9d04358707
Add a failing test for multiple exact matches
2024-04-17 23:36:49 -03:00
Juan Martín Sotuyo Dodero
2f54938793
Add failing test case for #2438
2024-04-17 20:05:11 -03:00
Andreas Dangel
d88a3c50fe
Fix checkstyle config and checkstyle issues
2024-04-04 10:46:05 +02: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
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
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
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
Andreas Dangel
02db84a48c
[cpp] Migrate tests to JUnit5
2022-07-07 17:15:09 +02:00
Clément Fournier
58ee669696
Add more tests for unicode escape
2022-04-30 22:58:07 +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
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
Clément Fournier
f4f7f4b65d
Move nspmd.util.document -> lang.document
2022-03-05 18:05:04 +01:00
Clément Fournier
8b0f7e0caa
Fix tests
2021-07-08 21:16:58 +02:00
Clément Fournier
fa31d54bd7
Fix tests
2021-07-08 19:11:20 +02:00
Clément Fournier
d9a3ef9691
Merge branch 'text-utils-simple' into text-utils-javacc
2021-03-30 03:04:07 +02:00
Clément Fournier
50c00f4f9a
Merge branch 'analysis-listener' into text-utils-simple
2021-03-30 02:38:13 +02:00
Andreas Dangel
b58c52db22
Fix compile errors and tests
2021-01-21 21:30:03 +01:00
Andreas Dangel
5dac4a7795
Merge branch 'master' into pmd/7.0.x
2021-01-21 21:00:42 +01:00
Andreas Dangel
f7909ae78a
Merge branch 'master' into pr-2963-update
2021-01-21 11:43:01 +01:00
Andreas Dangel
7f1f374dc5
Fixups for #2963
...
- Add documentation for CPD cli
- Add javadoc for the tokenizer options
- GenericToken::getKind is @Experimental
2021-01-21 11:40:57 +01:00
Maikel Steneker
76566b75bb
Minor changes resulting from review
2021-01-21 11:06:29 +01:00