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
Andreas Dangel
c37f208d3e
Call jjtree/javacc with UTF-8 as default encoding
...
Fixes #2970
2020-12-17 18:31:13 +01:00
Clément Fournier
00bee39767
Merge branch 'analysis-listener' into text-utils-simple
2020-12-13 05:38:09 +01:00
Andreas Dangel
d284ea9634
[maven-release-plugin] prepare for next development iteration
2020-12-12 09:42:10 +01:00
Andreas Dangel
d2e4fb4ca3
[maven-release-plugin] prepare release pmd_releases/6.30.0
2020-12-12 09:42:02 +01:00
Andreas Dangel
384d32ddd0
Merge branch 'master' into pmd/7.0.x
2020-12-11 19:48:54 +01:00
Maikel Steneker
55598d844a
Filter out 2D arrays as well
2020-12-10 12:14:12 +01:00
Maikel Steneker
26728348f6
Add support for C++14 binary literals
2020-12-10 12:10:47 +01:00
Maikel Steneker
3d7fe9fb24
C++ can now ignore sequences of literals
...
This enables the --ignore-literal-sequences option for the C++ language. This was previously only implemented for C#.
2020-12-10 12:10:47 +01:00
Maikel Steneker
af31b3a773
Add GenericToken.getKind() to interface
2020-12-10 12:10:47 +01:00
Clément Fournier
870e13ce83
Cleanup duplicate code paths in escape translators
2020-11-18 12:39:11 +01:00
Clément Fournier
4cd1fa0a1d
Fix build
2020-11-15 22:24:48 +01:00
Andreas Dangel
4837c8dbc8
[maven-release-plugin] prepare for next development iteration
2020-10-24 10:17:24 +02:00
Andreas Dangel
81f12d3e5d
[maven-release-plugin] prepare release pmd_releases/6.29.0
2020-10-24 10:17:15 +02:00
Andreas Dangel
aa245c6e1b
[maven-release-plugin] prepare for next development iteration
2020-09-26 10:25:16 +02:00
Andreas Dangel
722f3ca997
[maven-release-plugin] prepare release pmd_releases/6.28.0
2020-09-26 10:25:05 +02:00
Clément Fournier
dd63a88e6a
Cleanup cpp
2020-09-17 23:05:02 +02:00
Clément Fournier
c88919bbc7
Cleanup
2020-09-17 22:56:45 +02:00
Clément Fournier
e76a1d6eb8
Aha! fix tests of c++
2020-09-17 22:56:02 +02:00
Clément Fournier
3ee32effda
Refactor token documents
...
Isolate static parts
2020-09-17 22:56:01 +02:00
Clément Fournier
a01f1a3574
Stop extending Reader
2020-09-17 22:55:11 +02:00
Clément Fournier
a11f45e511
Cleanup spec
2020-09-17 22:54:59 +02:00
Clément Fournier
155a895a93
Move charstream
2020-09-17 22:54:20 +02:00
Clément Fournier
eaed142496
Move text file stuff into the main document package
2020-09-17 22:53:28 +02:00
Clément Fournier
9843ac0b9d
Fix c++
2020-09-17 22:45:13 +02:00
Clément Fournier
f6b8bdc975
Replace old impl with newer one
...
This uses "fragmented docs". This
is less efficient when there are
a lot of escapes, but:
- it doesn't require the initial
buffer copy
- it doesn't mutate any buffer, so
Chars can be readonly all the time
- it handles escapes of arbitrary
inLen/outLen ratio and is thus
future proof
- it is much more maintainable
On the downside there is
- efficiency (this data structure is
"pointy")
- clarity of the Reader implementation
(one more state to support, ie reading
not from the input buffer but from an
escape)
2020-09-17 22:43:53 +02:00
Clément Fournier
e93e5b0a4c
Move into .io package
2020-09-17 22:43:29 +02:00
Clément Fournier
41d747ead2
Abstract backslash escape readers
2020-09-17 22:42:12 +02:00
Clément Fournier
1f8c5b65b3
Better implementation for appendSuffix
2020-09-17 22:41:16 +02:00
Clément Fournier
c088a6add5
Rename charStream methods
2020-09-17 22:41:16 +02:00
Clément Fournier
95bac5eb95
Convert CharStream to class
2020-09-17 22:41:16 +02:00
Clément Fournier
d4be567652
Fix zero-length escapes
2020-09-17 22:41:15 +02:00
Clément Fournier
b779abd08b
Align cpd
2020-09-17 22:41:14 +02:00
Clément Fournier
d690b50c07
Move text file stuff into the main document package
2020-09-17 22:37:23 +02:00
Clément Fournier
5d436fb7e1
Move factory methods to the interface
2020-09-17 22:37:12 +02:00