Clément Fournier
b0b7f69480
Merge branch 'text-utils-simple' into text-utils-javacc
2022-03-05 19:35:10 +01:00
Clément Fournier
af5aceeff8
Merge branch 'pmd7-merge-master' into text-utils-simple
2022-03-05 18:16:49 +01:00
Clément Fournier
f4f7f4b65d
Move nspmd.util.document -> lang.document
2022-03-05 18:05:04 +01:00
Andreas Dangel
69fb502883
[maven-release-plugin] prepare for next development iteration
2022-02-26 10:01:08 +01:00
Andreas Dangel
dd0ee6190b
[maven-release-plugin] prepare release pmd_releases/6.43.0
2022-02-26 10:01:03 +01:00
Clément Fournier
bf91e70c9f
Update tests
2022-02-25 19:50:50 +01:00
Andreas Dangel
dc19597020
[maven-release-plugin] prepare for next development iteration
2022-01-29 09:53:38 +01:00
Andreas Dangel
391c32589f
[maven-release-plugin] prepare release pmd_releases/6.42.0
2022-01-29 09:53:32 +01:00
Clément Fournier
9d1ec11bbd
BAD Merge branch 'text-utils-simple' into text-utils-javacc
2021-12-22 19:24:49 +01:00
Clément Fournier
853278345f
merge
2021-12-16 17:53:25 +01:00
Andreas Dangel
3a97618d5d
[maven-release-plugin] prepare for next development iteration
2021-11-27 11:21:17 +01:00
Andreas Dangel
ac68de1f51
[maven-release-plugin] prepare release pmd_releases/6.41.0
2021-11-27 11:21:12 +01:00
Andreas Dangel
f12710071f
[maven-release-plugin] prepare for next development iteration
2021-10-30 10:00:20 +02:00
Andreas Dangel
be09a31654
[maven-release-plugin] prepare release pmd_releases/6.40.0
2021-10-30 10:00:15 +02:00
Andreas Dangel
0399bbbfc8
[maven-release-plugin] prepare for next development iteration
2021-09-25 13:46:09 +02:00
Andreas Dangel
90b051bfff
[maven-release-plugin] prepare release pmd_releases/6.39.0
2021-09-25 13:46:04 +02:00
Andreas Dangel
d192abff5a
Merge remote-tracking branch 'adangel/fix-cpd' into pmd7-fix-cpd
2021-09-09 09:56:01 +02:00
Andreas Dangel
64ef8957bc
Fix code duplications
2021-09-07 20:12:27 +02:00
Andreas Dangel
65af1c0675
[maven-release-plugin] prepare for next development iteration
2021-08-28 17:27:18 +02:00
Andreas Dangel
7d11a02052
[maven-release-plugin] prepare release pmd_releases/6.38.0
2021-08-28 17:27:12 +02:00
Andreas Dangel
821f7a849b
[maven-release-plugin] prepare for next development iteration
2021-07-31 19:02:07 +02:00
Andreas Dangel
18df47ce6e
[maven-release-plugin] prepare release pmd_releases/6.37.0
2021-07-31 19:01:59 +02:00
Clément Fournier
8b0f7e0caa
Fix tests
2021-07-08 21:16:58 +02:00
Clément Fournier
ab1e3f974e
Fix plsql module
2021-07-08 19:29:40 +02:00
Andreas Dangel
f68bf5ce05
[maven-release-plugin] prepare for next development iteration
2021-06-26 10:24:15 +02:00
Andreas Dangel
45d1605a03
[maven-release-plugin] prepare release pmd_releases/6.36.0
2021-06-26 10:24:07 +02:00
Andreas Dangel
9fdfecf731
[maven-release-plugin] prepare for next development iteration
2021-05-29 07:24:47 +02:00
Andreas Dangel
b49fb2014d
[maven-release-plugin] prepare release pmd_releases/6.35.0
2021-05-29 07:24:39 +02:00
Andreas Dangel
319900cd43
[maven-release-plugin] prepare for next development iteration
2021-04-24 16:41:17 +02:00
Andreas Dangel
bfeaa1b377
[maven-release-plugin] prepare release pmd_releases/6.34.0
2021-04-24 16:41:10 +02:00
Clément Fournier
d9a3ef9691
Merge branch 'text-utils-simple' into text-utils-javacc
2021-03-30 03:04:07 +02:00
Andreas Dangel
37e5525fd5
[maven-release-plugin] prepare for next development iteration
2021-03-27 16:25:18 +01:00
Andreas Dangel
dc1c9d0aed
[maven-release-plugin] prepare release pmd_releases/6.33.0
2021-03-27 16:25:13 +01:00
Andreas Dangel
e0de01ebe9
[maven-release-plugin] prepare for next development iteration
2021-02-27 09:44:05 +01:00
Andreas Dangel
0848e230d0
[maven-release-plugin] prepare release pmd_releases/6.32.0
2021-02-27 09:43:58 +01:00
Andreas Dangel
2ea0328678
[maven-release-plugin] prepare for next development iteration
2021-01-30 18:04:17 +01:00
Andreas Dangel
7d6e6239c5
[maven-release-plugin] prepare release pmd_releases/6.31.0
2021-01-30 18:04:08 +01:00
Andreas Dangel
f7909ae78a
Merge branch 'master' into pr-2963-update
2021-01-21 11:43:01 +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
Clément Fournier
2623efbc8a
Delete ParserOptions
2020-12-13 00:39:05 +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
Maikel Steneker
af31b3a773
Add GenericToken.getKind() to interface
2020-12-10 12:10:47 +01:00
Clément Fournier
11de423765
Merge branch 'text-utils-simple' into text-utils-javacc
2020-11-16 00:29:45 +01:00
Clément Fournier
4cd1fa0a1d
Fix build
2020-11-15 22:24:48 +01:00
Clément Fournier
af1e818ee0
Merge branch 'text-utils-simple' into text-utils-javacc
2020-11-15 19:41:20 +01:00
Clément Fournier
9826ff241b
Merge branch 'analysis-listener' into text-utils-simple
2020-11-15 19:04:14 +01:00
Clément Fournier
d4ad2f5011
Fix compil
2020-11-15 18:47:23 +01:00
Clément Fournier
c8488c5996
Update rest of modules
2020-11-15 18:01:08 +01:00
Clément Fournier
7c45eb0ca9
Use a wrapper 'AstInfo'
2020-11-15 17:35:10 +01:00
Clément Fournier
2431a41d74
Changes to VF, JSP, VM
2020-11-15 17:03:52 +01:00
Clément Fournier
6642f5d038
Isolate single rule pattern
2020-10-26 19:31: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
c88919bbc7
Cleanup
2020-09-17 22:56:45 +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
e93e5b0a4c
Move into .io package
2020-09-17 22:43:29 +02:00
Clément Fournier
6142dc3978
Rename java reader
2020-09-17 22:42:22 +02:00
Clément Fournier
95bac5eb95
Convert CharStream to class
2020-09-17 22:41:16 +02:00
Clément Fournier
b779abd08b
Align cpd
2020-09-17 22:41:14 +02:00
Clément Fournier
ede5206f72
Remove JSP sort functions in tests
...
Aaa
2020-09-17 22:36:35 +02:00
Clément Fournier
13879c9b94
Make RootNode have a text document
2020-09-17 22:33:00 +02:00
Clément Fournier
2356f2f69d
Use TextRegion in tokens
2020-09-17 22:29:59 +02:00
Clément Fournier
7d242718bd
Merge branch '7.0.x' into analysis-listener
2020-09-14 15:09:54 +02:00
Andreas Dangel
9cfe485888
Merge branch 'pr-2746' into pmd/7.0.x
...
[core, ...] Finish generic visitors #2746
Fixes #880
2020-09-13 09:49:14 +02:00
Clément Fournier
656a973fb5
Merge branch 'remove-more-deprecated-things' into analysis-listener
2020-09-01 18:32:29 +02:00
Clément Fournier
2e5de16cce
Merge branch '7.0.x' into remove-more-deprecated-things
2020-09-01 18:32:14 +02:00
Clément Fournier
0d7e60e9e0
Cleanup a JSP test
...
This is to remove the sorting routines,
which depend on the image
2020-09-01 16:57:51 +02:00
Andreas Dangel
c59af0aee6
[maven-release-plugin] prepare for next development iteration
2020-08-31 18:30:18 +02:00
Andreas Dangel
856950f0d2
[maven-release-plugin] prepare release pmd_releases/6.27.0
2020-08-31 18:30:09 +02:00
Clément Fournier
f942076b2a
Get rid of PMDException
2020-08-31 08:34:25 +02:00
Clément Fournier
094ce26227
Make nodes have access to file name
2020-08-31 08:34:14 +02:00
Clément Fournier
e7e6793eb3
Make nodes have access to their language version
2020-08-31 08:34:14 +02:00
Clément Fournier
387555b4a1
Wrap renderer inside listener
...
Fix tests
2020-08-31 08:34:14 +02:00
Clément Fournier
08b19dbcdd
Simplify source code processor, change Parser
...
Remove some stuff with parser options
Get rid of SourceCodeProcessor
Seal processor hierarchy
2020-08-31 08:34:13 +02:00
Clément Fournier
95048b061a
Merge branch '7.0.x' into remove-more-deprecated-things
2020-08-30 21:36:04 +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
Clément Fournier
c5f8d16caf
Cleanup wrapper script
2020-08-26 19:10:32 +02:00
Clément Fournier
80e9f48ed9
Add a hook for nodes to callback if the visitor is incorrect
2020-08-26 19:10:32 +02:00
Clément Fournier
5f8e5fc1ff
Remove ImmutableLanguage
2020-08-25 15:23:22 +02:00
Clément Fournier
285e7f2e94
Merge branch 'master' into 7.0.x
2020-08-25 14:53:48 +02:00
XenoAmess
33f4e27254
addAll issues
2020-08-24 16:58:10 +08:00
Clément Fournier
37bd0db6b0
Merge branch 'remove-old-stuff' into 7.0.x
2020-08-23 17:59:27 +02:00
Clément Fournier
d5f48c4741
Merge branch '7.0.x' into update-saxon-version
2020-08-23 17:45:21 +02:00
Andreas Dangel
d6853c5d0e
[jsp] Deprecate unused nodes ASTJspDeclarations and ASTJspDocument
2020-08-22 18:22:59 +02:00
Clément Fournier
6aa1be26f7
Cleanup AbstractJspRule
2020-08-11 13:53:33 +02:00
Clément Fournier
2673feef90
Remove some nodes that are unused in the jsp tree
...
Idk why they were there, but the grammar
does not produce them anywhere. Compilation
was failing because they expected a visit
method on the visitor, which is not generated
2020-08-11 13:46:13 +02:00
Clément Fournier
546f014999
Doc + deprecate xpath 20
...
Basically, users shouldn't really have a choice
of XPath version, esp. if all versions we support
are compatible.
2020-08-10 11:56:47 +02:00
Clément Fournier
1e85519045
Merge branch '7.0.x' into update-saxon-version
2020-08-08 02:54:04 +02:00
Clément Fournier
3d4f709009
Merge branch '7.0.x' into remove-old-stuff
2020-07-31 16:02:34 +02:00
Andreas Dangel
384dd20319
Merge branch 'master' into pmd/7.0.x
2020-07-30 11:51:53 +02:00
Andreas Dangel
eb683569af
Merge branch 'pr-2617'
...
[core] Deprecate missing language attribute on rule definition #2617
2020-07-30 10:19:03 +02:00
Clément Fournier
4c11082574
Cleanup report
2020-07-29 18:04:56 +02:00
Clément Fournier
57112e4f4d
Pass language registry in configuraiton
2020-07-29 15:35:37 +02:00
Clément Fournier
1ce585aafb
Remove many static usages of LanguageRegistry
2020-07-29 15:35:16 +02:00
Clément Fournier
d650c87d8d
Remove more utils
2020-07-28 12:51:55 +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
Andreas Dangel
a84c83adea
Merge branch 'master' into pmd/7.0.x
2020-07-24 12:03:28 +02:00
Andreas Dangel
6464b349cf
[jsp] Remove usage of deprecated ImportWrapper ( #2658 )
2020-07-24 11:38:37 +02:00
Andreas Dangel
a9996ab45c
Merge branch 'pr-2589' into pmd/7.0.x
...
[core] Add generic visitor interface in pmd-core #2589
2020-07-19 18:07:55 +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
7ae424a35b
Add deprecation javadocs
2020-07-17 14:43: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
Clément Fournier
8add323403
Fix other offenders
2020-07-06 14:02:21 +02:00
Andreas Dangel
370c0b0b6d
Remove unused dependency, explicitly declare used dependencies
2020-07-02 15:12:31 +02:00
Andreas Dangel
c7ccb8a087
javacc is only needed during parser generation
2020-07-02 10:27:26 +02:00
Clément Fournier
49635c2a66
Deprecate Rulechain visitors
2020-07-01 11:27:38 +02:00
Clément Fournier
659066ee02
Deprecate BaseLanguageModule constructor
2020-07-01 11:27:38 +02:00
Clément Fournier
d7f96e08d9
Uniformize apply across languages
2020-07-01 11:27:38 +02:00
Clément Fournier
25beb215fc
Throw on incompatible visitor type
2020-07-01 11:16:03 +02:00
Clément Fournier
feeb1f0a87
Fix swift module
2020-07-01 11:09:12 +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
c6457ab9fc
Merge branch '7.0.x' into generic-visitor2
2020-06-26 23:10:19 +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
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
Clément Fournier
847c4de68b
Merge branch '7.0.x' into generic-visitor2
2020-06-25 14:30:46 +02:00
Clément Fournier
74f88ace4e
Merge branch '7.0.x' into update-saxon-version
2020-06-21 18:07:15 +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
88b34feb22
Use wildcards for acceptVisitor
2020-06-17 21:21:00 +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
b71adce5b9
Merge branch '7.0.x' into update-saxon-version
2020-06-14 14:09:15 +02:00
Clément Fournier
f7b1c375c1
Fix scala compilation
2020-06-14 13:02:30 +02:00
Clément Fournier
b88ddf41c0
Add generic visitor interface in pmd-core
...
Replace SideEffectingVisitor with JavaVisitor
The new visitor is generic. We don't actually need the
old Object->Object visitor, this could just be the new
generic visitor but erased
Port language level checker
Move delegators
Remove old accept methods
Remove reduced adapter
Cleanup some visitor
Make ant wrapper replace old visitor completely
Doc
Add DeprecatedUntil700 annotation
Add top interface for visitors
Convert JSP visitors
Checkstyle
Fix java module
2020-06-14 11:43:24 +02:00
Clément Fournier
87797f7621
Port JSP tests
2020-06-14 05:27:46 +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
510d5c633a
Merge branch 'master' into pmd/7.0.x
2020-05-24 17:47:30 +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
a3a292d591
Remove unnecessary source-type tags in rule tests
...
source-type is actually only needed if
* the language supports more than one version
* the parser behaves differently with different versions
(this has to do with compatibility, e.g. assert/enum keywords
in java)
* the test needs a newer version than the default version
(e.g. to test new language features)
* the test needs an older version than the default version
(e.g. the rule has a maximumLanguageVersion specified)
* the rule behaves differently for different versions
(e.g. BigIntegerInstantiation)
2020-05-23 14:16:13 +02:00
Andreas Dangel
2dae9c085f
Merge branch 'master' into pmd/7.0.x
2020-05-23 11:42:20 +02:00
Clément Fournier
8f13dd82f0
Replace Node#apply(List<Node>) with apply(Node)
2020-05-18 14:57:54 +02:00
Clément Fournier
60d276c2a0
Remove old rulechain impl
2020-05-18 14:57:53 +02:00
Andreas Dangel
7de968a5c9
[jsp] Cleanup rule test xml files
...
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Clément Fournier
d39378eb71
Merge branch '7.0.x' into update-saxon-version
2020-05-08 03:43:40 +02:00
Clément Fournier
1a6d7b393c
Add a type parameter to AbstractNode
2020-04-26 19:04:31 +02:00
Clément Fournier
cda02a2754
Update saxon version
...
Remove Jaxen, port function defs
Use enum to represent XPath version
Move to internal package
Fix style
Refactor functions
2020-04-24 13:59:08 +02:00
Andreas Dangel
4308c545e5
[maven-release-plugin] prepare for next development iteration
2020-04-24 10:53:12 +02:00