ecef88aa0a
Merge branch 'master' into 7.0.x
2020-01-17 12:10:51 +01:00
b801cf6203
Fix pmd-xml
2020-01-17 11:57:24 +01:00
d9ad819dab
Replace usages of node methods everywhere
2020-01-17 11:57:19 +01:00
0d19482bb8
Merge branch 'pr-2216'
...
[core] Add xml tree renderer
Fixes #2215
2020-01-17 10:14:21 +01:00
d0d447fd5e
[doc] Update release notes, add page xml_dump_ast
2020-01-17 10:14:11 +01:00
6d7ded21ab
[core] Add cli for ast-dump
2020-01-17 10:11:34 +01:00
aca1b77f39
[core] Fix TreeRenderersTest under windows (line ending)
2020-01-17 08:46:05 +01:00
f53993427c
Merge branch 'pr-2172'
...
[core] Deprecate jjtree methods from the Node interface
2020-01-17 08:18:50 +01:00
6c58817d8d
Checkstyle
2020-01-17 02:19:18 +01:00
cb515f3991
Add small API to register & configure tree renderers
2020-01-17 02:11:01 +01:00
af929cc689
Merge branch 'remove-filters' into 7.0.x
2020-01-16 23:21:09 +01:00
b936fce37b
Merge branch 'master' into 7.0.x
2020-01-16 22:29:56 +01:00
741bb0b218
Update usages
2020-01-16 22:29:41 +01:00
3062d59892
Merge branch 'master' of github.com:pmd/pmd
2020-01-16 22:28:52 +01:00
d9719e850c
Deprecate ASTCatchStatement::getBlock for #2202
2020-01-16 22:28:40 +01:00
1b895c6a9b
[doc] Link broken in pmd documentation for writing Xpath rules
...
Fixes #2214
2020-01-16 19:02:24 +01:00
c607292b42
[ci] Update openjdk to 11.0.6+10
2020-01-16 18:23:03 +01:00
9c682e4a88
Merge branch 'pr-2200'
...
[java] InvalidLogMessageFormat: handle zero placeholders correctly
2020-01-16 18:08:26 +01:00
ddf1f2d9f5
Update maven and wrapper
2020-01-16 18:07:25 +01:00
181a37c37c
Fix bug in nodestreams
...
Also fixed by #2220
2020-01-15 12:14:11 +01:00
bb8d612256
Checkstyle
2020-01-15 11:51:41 +01:00
42a3f1f6e0
Merge branch 'port-language-level-checks' into 7.0.x
...
Ports back the changes about language level
checks introduced by #2120 from java-grammar
to 7.0.x. That way we can refactor semantic
error handling on 7.0.x and not java-grammar.
2020-01-15 11:44:12 +01:00
2ceff761e7
Checkstyle
2020-01-15 11:39:28 +01:00
96b1498a79
Something else to revert
2020-01-15 11:35:14 +01:00
5e7b2c5721
Convert some jdk tests to kotlin
2020-01-15 11:28:08 +01:00
1072c49f46
Update grammar
2020-01-15 11:07:17 +01:00
1254addc09
Make it compile
...
When merging back to java grammar resolve
conflicts by preferring the java-grammar version
2020-01-15 10:55:24 +01:00
342a0bac08
Checkout some code from java grammar
2020-01-15 10:24:42 +01:00
1c0f4aad8c
Handle attribute exception
2020-01-15 08:24:03 +01:00
af15334819
Fix platform specific test
2020-01-13 01:39:27 +01:00
22b3f6cd55
Revert changes to DummyNode
...
Fixes the tests
2020-01-12 23:39:50 +01:00
99fdede0aa
Merge branch 'issue-2212'
2020-01-12 23:28:33 +01:00
904fb14e8b
Use interface instead of AbstractAnyTypeDeclaration
2020-01-12 23:27:24 +01:00
dacab0b2ae
Add xml tree renderer
2020-01-12 23:19:48 +01:00
83c568a881
Fix compilation
2020-01-12 19:55:28 +01:00
8aa656d5ac
Fix comment according to suggestion
2020-01-12 19:39:16 +01:00
ddb5f44d3a
Fix compilation
2020-01-12 18:21:35 +01:00
820edada4f
Add 'children' iterable method to Node interface
2020-01-12 18:18:38 +01:00
88f45cdb76
Merge branch 'master' into 7.0.x
2020-01-11 20:34:38 +01:00
f7bd2d54b3
Add kotlin test sources to build-helper-mvn-plugin
...
Intellij doesn't pick up on the sources
correctly and classifies them as resources otherwise
2020-01-11 20:33:58 +01:00
bc92fa4590
[java] JavaRuleViolation reports wrong class name
...
Fixes #2212
2020-01-11 12:51:21 +01:00
99700d7526
Extract changes from #2166 to 7.0.x
...
* Make Java nodes text-available
* Introduce shared JavaccToken in pmd-core
* Use factory to produce char streams
Tests are still on java-grammar,
since they use the DSL & newer
AST structure.
This is to prepare for other changes
that concern all javacc languages and
should not be done on java-grammar
2020-01-10 21:15:15 +01:00
d6296bd85f
Fix apex multifile tests
2020-01-10 20:22:57 +01:00
178fa28414
Merge branch 'master' into 7.0.x
2020-01-10 18:19:07 +01:00
271efff289
[plsql] Use token::getImage instead of token::toString in grammar
...
If we change token.toString to be more descriptive
(eg display kind), the parser breaks. This prepares
changes for 7.0
2020-01-10 18:13:17 +01:00
db1a8d7649
[lang-test] Use processing stages only in BaseParsingHelper
2020-01-10 17:55:41 +01:00
b763a980ec
Merge branch 'master' into 7.0.x
2020-01-10 17:15:49 +01:00
5f44a5fc54
[apex] Use base parser class for apex
...
Refs #2177 , #1937
2020-01-10 17:13:19 +01:00
8739b2bd12
[xml] Fix compile errors
2020-01-10 15:55:45 +01:00
511c928670
[plsql] Fix compile and test errors
2020-01-10 15:46:13 +01:00