kenji
4a6bc933e1
Manage swift5 string literals
2020-07-27 11:47:26 +02:00
Andreas Dangel
49ab75aeb7
[maven-release-plugin] prepare for next development iteration
2020-07-25 13:45:36 +02:00
Andreas Dangel
a9632e2a06
[maven-release-plugin] prepare release pmd_releases/6.26.0
2020-07-25 13:45:27 +02:00
Maikel Steneker
6fb5ac59b9
Ensure CPD uses tab width of 1 for tabs consistently
...
The columns that are reported by CPD were inconsistent across languages
before. A language like Java (using a JavaCC-based tokenizer) would use
a width of 8 for tabs, whereas a language like C# (using an Antlr-based
tokenizer) would use 1 instead.
This includes unit tests for most languages to ensure a tab character is
counted as 1. The configuration for JavaCC has been adjusted to respect
this as well.
2020-07-20 10:42:21 +02:00
Andreas Dangel
dcaa8a1167
Merge branch 'master' into pmd/7.0.x
2020-07-17 16:13:02 +02:00
Andreas Dangel
7b3d31246e
Merge branch 'master' into pr-2624
2020-07-17 15:16:24 +02:00
Andreas Dangel
e4690cb56a
Fix compile errors for CPD only languages
2020-07-17 15:04:43 +02:00
Andreas Dangel
94afdb117d
Add test engines as surefire plugin dependencies
...
This removes junit-vintage-engine as a test dependency
as well as kotlintest-runner-junit5.
The engines are only needed during test execution, but should
not be available for test compilation.
For this to work, the latest surefire plugin is required.
2020-07-17 12:03:45 +02:00
Andreas Dangel
370c0b0b6d
Remove unused dependency, explicitly declare used dependencies
2020-07-02 15:12:31 +02:00
Andreas Dangel
95d8e80c1b
[maven-release-plugin] prepare for next development iteration
2020-06-27 11:31:27 +02:00
Andreas Dangel
a219b2e1be
[maven-release-plugin] prepare release pmd_releases/6.25.0
2020-06-27 11:31:16 +02:00
Clément Fournier
ad3e8b1fd5
Merge branch '7.0.x' into update-saxon-version
2020-06-26 23:08:50 +02:00
Andreas Dangel
642121c86b
Fix compile error
2020-06-26 11:11:53 +02:00
Andreas Dangel
00dbe08282
Merge branch 'pmd/7.0.x' into pr-2490
2020-06-26 10:58:18 +02:00
Clément Fournier
18f5c7f624
Remove xpath version properties in category xmls
...
Update default version to 3.1
2020-06-25 23:50:43 +02:00
Andreas Dangel
a329621403
Merge branch 'pr-2463' into pmd/7.0.x
...
[swift] Refactor antlr implementation #2463
2020-06-21 12:25:41 +02:00
Andreas Dangel
8cc597f7b4
[swift] Add missing junit-vintage-engine
2020-06-21 11:55:34 +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
fbc93e43cb
Rename nodes so they don't have the 'context' suffix
2020-06-17 22:15:18 +02:00
Clément Fournier
6c053b5edd
Transform antlr visitor to be compatible with #2589
2020-06-17 21:28:23 +02:00
Clément Fournier
ce8166c324
Merge branch '7.0.x' into antlr-touchups
2020-06-15 17:20:27 +02:00
Clément Fournier
47667a0e35
Merge branch '7.0.x' into type-heap
2020-06-14 21:42:38 +02:00
Clément Fournier
394b866524
Convert swift tests
2020-06-13 23:58:17 +02:00
Andreas Dangel
c3219b91c5
Merge branch 'master' into pmd/7.0.x
2020-06-12 14:21:10 +02:00
Andreas Dangel
8defb2fde2
Add missing relativePath configuration in all pom modules
2020-06-07 12:36:58 +02:00
Andreas Dangel
ab04bdacdd
[maven-release-plugin] prepare for next development iteration
2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca
[maven-release-plugin] prepare release pmd_releases/6.24.0
2020-05-24 17:34:25 +02:00
Andreas Dangel
2dae9c085f
Merge branch 'master' into pmd/7.0.x
2020-05-23 11:42:20 +02:00
Clément Fournier
47c4d57aa2
Merge branch '7.0.x' into antlr-touchups
2020-05-21 10:55:14 +02:00
Clément Fournier
cae73a8ac2
Merge branch '7.0.x' into type-heap
2020-05-21 10:51:23 +02:00
Clément Fournier
a2a9353f15
Merge branch 'master' into 7.0.x
2020-05-21 10:44:39 +02:00
Clément Fournier
7126fd6c94
cleanup
2020-05-18 14:57:55 +02:00
Clément Fournier
60d276c2a0
Remove old rulechain impl
2020-05-18 14:57:53 +02:00
kenji
e8f9d939e2
Swift 4.2-5.2 support
2020-05-14 10:24:47 +02:00
Clément Fournier
f1d6e22c49
Reintroduce AntlrNode
2020-05-02 23:17:47 +02:00
Clément Fournier
7a2701fd38
Store constant images in the name dictionary
2020-05-02 22:56:42 +02:00
Clément Fournier
3190c0365c
Fix rule tests
2020-05-02 22:56:42 +02:00
Clément Fournier
473ae2ef19
Fix child index
2020-05-02 22:56:42 +02:00
Clément Fournier
42308da047
Fix name dictionary (all tokens need a name)
2020-05-02 22:56:42 +02:00
Clément Fournier
06a910fe11
Doc
2020-05-02 22:56:42 +02:00
Clément Fournier
4820e812e3
Fix error nodes not extending SwiftNode
2020-05-02 22:56:42 +02:00
Clément Fournier
cc97807d41
Fix error nodes
2020-05-02 22:56:42 +02:00
Clément Fournier
1359f792c2
Abstract ant wrapper for antlr
2020-05-02 22:56:42 +02:00
Clément Fournier
3aadb253a3
Use adapters to be able to make pmd nodes first-class
2020-05-02 22:56:42 +02:00
Clément Fournier
f7560ed9fb
Preserve terminal nodes
2020-05-02 22:56:42 +02:00
Clément Fournier
97fef3fbd9
Fix tree builder, add tests
2020-05-02 22:56:42 +02:00
Clément Fournier
4e55164961
Refactor antlr impl entirely
...
PMD Node implementations don't extend antlr
classes anymore
2020-05-02 22:56:42 +02:00
Clément Fournier
9effca7143
Build tree using a parse tree listener
2020-05-02 22:56:42 +02:00
Clément Fournier
f0652dda76
Remove parser type parameter
2020-05-02 22:56:42 +02:00