Clément Fournier
2c670339d8
Deprecate CharStream and impls
2020-01-22 17:09:06 +01:00
Clément Fournier
8fe0fe8bc7
Update documentation
2020-01-20 21:25:04 +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
f282a3ad5c
Move metric providers back into language handlers
...
Reverts part of #2231
2020-01-19 12:47:47 +01:00
Clément Fournier
2123ab3d5d
Simplify metrics framework
2020-01-19 12:35:55 +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
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
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
d9ad819dab
Replace usages of node methods everywhere
2020-01-17 11:57:19 +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
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
f53993427c
Merge branch 'pr-2172'
...
[core] Deprecate jjtree methods from the Node interface
2020-01-17 08:18:50 +01:00
Clément Fournier
3062d59892
Merge branch 'master' of github.com:pmd/pmd
2020-01-16 22:28:52 +01:00
Clément Fournier
d9719e850c
Deprecate ASTCatchStatement::getBlock for #2202
2020-01-16 22:28:40 +01:00
Andreas Dangel
1b895c6a9b
[doc] Link broken in pmd documentation for writing Xpath rules
...
Fixes #2214
2020-01-16 19:02:24 +01:00
Andreas Dangel
9c682e4a88
Merge branch 'pr-2200'
...
[java] InvalidLogMessageFormat: handle zero placeholders correctly
2020-01-16 18:08:26 +01:00
Andreas Dangel
bc92fa4590
[java] JavaRuleViolation reports wrong class name
...
Fixes #2212
2020-01-11 12:51:21 +01:00
Clément Fournier
98b57f75ab
Merge branch 'master' into deprecate-jjtree-methods
2020-01-06 18:50:43 +01:00
Andreas Dangel
63221805a3
Merge branch 'pr-2195'
...
[modelica] Normalize invalid node ranges
2020-01-06 18:42:14 +01:00
Andreas Dangel
728632840a
[doc] Update release notes, refs #2195
2020-01-06 18:41:41 +01:00
Andreas Dangel
d3a0c21506
[doc] Update release notes, refs #2199
2020-01-06 18:33:15 +01:00
Andreas Dangel
6bea1e618b
[java] InvalidLogMessageFormat: handle zero placeholders correctly
...
Fixes #2196
Also refactors the implementation to not use a XPath query anymore.
2020-01-06 18:02:41 +01:00
Clément Fournier
e335e069f8
Merge branch 'master' into deprecate-jjtree-methods
2020-01-05 23:17:25 +01:00
Andreas Dangel
a0d0a22e7b
Merge branch 'pr-2190'
...
[java] Deprecations for statements PR
Prerequisite for #2164 for PMD 7.0.0
2020-01-05 19:30:52 +01:00
Andreas Dangel
1d82918efa
Merge branch 'pr-2184'
...
[plsql] Fix DDLCommands parsing
2020-01-05 19:20:29 +01:00
Andreas Dangel
5c19e20294
Merge branch 'pr-2183'
...
[plsql] Fix StringLiteral token
2020-01-05 19:19:27 +01:00
Andreas Dangel
f973ad6ef3
Merge branch 'pr-2185'
...
[core] Internalize API that exposes ResourceLoader
2020-01-05 19:18:18 +01:00
Andreas Dangel
8e30425dfa
[doc] Update release notes, fixes #2161
2020-01-05 19:18:10 +01:00
Juan Martín Sotuyo Dodero
a51726f48f
Merge branch 'pr-2194'
2020-01-04 04:39:40 -03:00
Juan Martín Sotuyo Dodero
d614e7ab17
Update changelog, refs #2194
2020-01-04 04:38:59 -03:00
Juan Martín Sotuyo Dodero
07de89f516
Update changelog, refs #2193
2020-01-04 04:33:40 -03:00
Clément Fournier
f33291e372
Deprecate ASTYieldStatement implementing TypeNode
2019-12-26 18:53:22 +01:00
Clément Fournier
0a0bb6e4bb
Rename getGuardExpressionNode -> getCondition
2019-12-26 18:47:28 +01:00
Clément Fournier
41baa353b0
Deprecate API of TryStatement that will be renamed
2019-12-26 18:40:24 +01:00
Clément Fournier
1b9b94a794
Update release notes
2019-12-26 14:33:44 +01:00
Andreas Dangel
9a82ce1454
[doc] Update release notes, fixes #2009
2019-12-24 11:38:35 +01:00
Andreas Dangel
4599b6989a
[plsql] Fix StringLiteral token
...
StringLiterals can use a custom quote delimiter that
marks the end of a string literal. This quote delimiter
is only effective together with the quote character.
A single quote character, that is not preceded by the
delimiter, should be allowed.
Additionally, the ASTStringLiteral node gives
now access to the plain string value of the
literal without the quoting.
Fixes #2008
2019-12-23 18:24:14 +01:00
Clément Fournier
9023d86945
Merge branch 'master' into deprecate-jjtree-methods
2019-12-23 12:41:08 +01:00
Andreas Dangel
ea6de08094
Merge branch 'pr-2171'
...
[core] Preserve newlines in DocumentFile
2019-12-23 09:08:12 +01:00
Andreas Dangel
e906033a87
Merge branch 'pr-2173'
...
[core] Add warnings for duplicated rule references in rulesets
2019-12-23 09:06:19 +01:00
Andreas Dangel
f67819e05a
Merge branch 'pr-2069'
...
[java] CommentRequired: make property names consistent
2019-12-20 11:38:03 +01:00
Andreas Dangel
364c23cbe1
[core] Add warnings for duplicated rule references in rulesets
...
Fixes #2006
2019-12-18 12:48:31 +01:00