15766 Commits

Author SHA1 Message Date
Andreas Dangel
a28e9e22e5 [maven-release-plugin] prepare release pmd_releases/6.21.0 pmd_releases/6.21.0 2020-01-24 17:20:38 +01:00
Andreas Dangel
8f802120a7 Prepare pmd release 6.21.0 2020-01-24 17:06:50 +01:00
Andreas Dangel
024fd7bd85 Merge branch 'pr-2244'
[core] Deprecate CharStream & generated classes
2020-01-24 16:31:38 +01:00
Andreas Dangel
5feca7fd93 Exclude generated AST*.java files from internalization 2020-01-24 16:19:24 +01:00
Andreas Dangel
a35bb37989 Merge branch 'pr-2245'
[core] Fix Language::getVersions duplicating aliased versions
2020-01-24 15:56:31 +01:00
Andreas Dangel
35bb524803 [apex][java] *MetricsProvider are @InternalApi
Refs #2241
2020-01-24 15:56:04 +01:00
Clément Fournier
d0a68448da Fix neg test case 2020-01-24 14:44:12 +01:00
Clément Fournier
153f9dac74 Fix tests 2020-01-23 13:11:28 +01:00
Clément Fournier
f52373c839 checkstyle 2020-01-23 12:49:05 +01:00
Clément Fournier
a5be8968cf Fix Language::getVersions duplicating aliased versions 2020-01-23 10:44:54 +01:00
Clément Fournier
bed7baa35e Deprecate Velocity stuff 2020-01-22 17:25:09 +01:00
Clément Fournier
60e97d0ec8 Deprecate javacc generated code 2020-01-22 17:19:29 +01:00
Clément Fournier
2c670339d8 Deprecate CharStream and impls 2020-01-22 17:09:06 +01:00
Clément Fournier
11c2b201c1 Fix self references in javadoc 2020-01-20 21:14:48 +01:00
Andreas Dangel
73d06fb439 [doc] Update doc for ast-dump 2020-01-19 19:31:26 +01:00
Clément Fournier
31497715e7 Merge branch 'node-api' 2020-01-19 13:05:32 +01:00
Clément Fournier
27d7a6c02c Accomodate children iterable for specialization 2020-01-19 05:57:39 +01:00
Clément Fournier
6e6440df79 Checkstyle 2020-01-18 21:35:33 +01:00
Clément Fournier
7e6ef38c46 Fix tests 2020-01-17 20:15:11 +01:00
Clément Fournier
e1c3ce1206 Merge branch 'tree-export-cli-props' 2020-01-17 20:11:51 +01:00
Clément Fournier
96182fe736 Improve tree export CLI
* Use defaults for format & language
* Allow typing source into stdin
* Add attribute for XML renderer to
ignore common attributes
2020-01-17 19:56:35 +01:00
Clément Fournier
7d7857b5e6 Make renderers configurable from CLI 2020-01-17 19:21:10 +01:00
Clément Fournier
436409e707 Merge branch 'issue-1984' 2020-01-17 18:32:16 +01:00
Clément Fournier
46e4d8bd59 Merge branch 'issue-2218' 2020-01-17 18:31:38 +01:00
Andreas Dangel
fa85b4786d [core] Add Node#findDescendantsOfType with crossFindBoundaries that
returns a list like all other find-methods
2020-01-17 18:29:41 +01:00
Clément Fournier
d68c072c87 Merge branch 'master' of github.com:pmd/pmd 2020-01-17 15:51:34 +01:00
Clément Fournier
bf7732695b Fix comment on Node 2020-01-17 15:51:23 +01:00
Andreas Dangel
0e2b9cf5b4 [java][apex] Move *MetricsProvider into own classes into metrics packages
Make *Metrics.reset package private again
2020-01-17 15:41:54 +01:00
Andreas Dangel
c3b7db042b Move DeprecatedAttribute annotation to internal package 2020-01-17 15:17:27 +01:00
Andreas Dangel
4450d826f7 Merge branch 'pr-2225'
[core] CPD: report endLine / column informations for found duplications
2020-01-17 14:59:02 +01:00
Andreas Dangel
ca4ad73ea2 [doc] Update release notes, refs #2225 2020-01-17 14:47:55 +01:00
Andreas Dangel
817c3d1127 CPD: Remove deprecations in Mark / TokenEntry
* Provide these values for more languages
2020-01-17 14:47:23 +01:00
Andreas Dangel
1f2835f96e [core] Deprecated Node#isFindBoundary for XPath
Refs #2218
2020-01-17 14:05:10 +01:00
Andreas Dangel
0fab38bdbd Merge remote-tracking branch 'origin/master' 2020-01-17 12:18:12 +01:00
Andreas Dangel
1617aa5311 [apex] Update Apex Support to version 48 (Spring '20) 2020-01-17 12:10:11 +01:00
Clément Fournier
b801cf6203 Fix pmd-xml 2020-01-17 11:57:24 +01:00
Clément Fournier
d9ad819dab Replace usages of node methods everywhere 2020-01-17 11:57:19 +01:00
Andreas Dangel
6950d2d9d4 Merge branch 'pr-2232'
[apex] Make FormalComment extend ApexNode
2020-01-17 11:46:26 +01:00
Andreas Dangel
e43438c498 [doc] Update release notes, fixes #2208 2020-01-17 11:46:18 +01:00
Andreas Dangel
b71575fa36 [java] Cyclomatic complexity is misreported (lack of clearing metrics cache)
Fixes #1984
2020-01-17 11:35:32 +01:00
Clément Fournier
b7a618c6dd Update release notes 2020-01-17 11:34:03 +01:00
Clément Fournier
c75875f981 Add test 2020-01-17 11:29:28 +01:00
Clément Fournier
eb7738c341 Make FormalComment extend ApexNode 2020-01-17 11:17:35 +01:00
Andreas Dangel
0d19482bb8 Merge branch 'pr-2216'
[core] Add xml tree renderer

Fixes #2215
2020-01-17 10:14:21 +01:00
Andreas Dangel
d0d447fd5e [doc] Update release notes, add page xml_dump_ast 2020-01-17 10:14:11 +01:00
Andreas Dangel
6d7ded21ab [core] Add cli for ast-dump 2020-01-17 10:11:34 +01:00
Andreas Dangel
aca1b77f39 [core] Fix TreeRenderersTest under windows (line ending) 2020-01-17 08:46:05 +01:00
Andreas Dangel
f53993427c Merge branch 'pr-2172'
[core] Deprecate jjtree methods from the Node interface
2020-01-17 08:18:50 +01:00
Clément Fournier
6c58817d8d Checkstyle 2020-01-17 02:19:18 +01:00
Clément Fournier
cb515f3991 Add small API to register & configure tree renderers 2020-01-17 02:11:01 +01:00