808 Commits

Author SHA1 Message Date
gonzalo
80aba0c858 PR Improvements - 2 2018-01-24 23:35:22 -03:00
Clément Fournier
0316462916 Checkstyle 2018-01-25 03:13:22 +01:00
Clément Fournier
1bdca98f03 Flag deprecated impl to find it quickly 2018-01-25 03:10:04 +01:00
Clément Fournier
27ccd140ef Cleanup 2018-01-25 03:06:54 +01:00
Clément Fournier
6a3b332aee Abstract toString into AbstractNode, deprecate the implementation
Log that the default implementation will be removed
2018-01-25 03:02:44 +01:00
gonzalo
3d818b0963 PR Improvements - 1 2018-01-24 20:09:13 -03:00
Clément Fournier
3c0bb45a60 Add getXPathNodeName to the Node interface
A default implementation is available in AbstractNode
to preserve compatibility with the previous way, which
used Object.toString.

Fixes #569
2018-01-24 19:22:36 +01:00
John Zhang
aeb554ee62 Issue 872 fix
This commit attempts a fix to issue 872.
The inputFileName ('master' file) parameter may be null,
in which case the function returns just the file name if short name is required.
2018-01-23 11:46:02 +11:00
Juan Martín Sotuyo Dodero
c436e9bd94 Fix checkstyle errors 2018-01-21 16:16:06 -03:00
Juan Martín Sotuyo Dodero
26288b0022 [core] Remove usages of deprecated PMD.VERSION
- Take the chance to add some helpers to PMDVersion that seem needed
 - Have CodeClimate renderer point to pmd.github.io rather than SF
2018-01-21 16:02:48 -03:00
Andreas Dangel
8fbb156fd9 [maven-release-plugin] prepare for next development iteration 2018-01-21 16:42:50 +01:00
Andreas Dangel
0e460317e4 [maven-release-plugin] prepare release pmd_releases/6.0.1 2018-01-21 16:42:42 +01:00
gonzalo
9d7d89b669 Add XPath flow documentation && Made small refactor 2018-01-21 11:09:50 -03:00
Juan Martín Sotuyo Dodero
abc73bfc7b [core] Log all rules' movements to categories
- All rules will log where they where moved to, even if the ruleset is
referenced as a whole
 - All deprecation warnings now let's users know on which version
support will be removed.
2018-01-21 05:43:49 -03:00
gonzalo
40ad978d8f Receive Charset of Document in the constructor 2018-01-08 08:56:40 -03:00
gonzalo
de09472421 Change filePath type from String to Path 2018-01-08 02:34:30 -03:00
gonzalo
000d72d3be Change name in document operations comparator inner method && Change visibility of getter in DocumentFile 2018-01-08 02:29:44 -03:00
gonzalo
bb8b2cdd4e [WIP] Working fix for <Line, Offset> mapping to support any type of line separators in the same source file && other minor fixes 2018-01-08 01:55:52 -03:00
gonzalo
40bb0a0fe6 Remove Java 8 and 9 language usages 2018-01-03 23:37:58 -03:00
gonzalo
f09a9b62bd Remove source/target configuration for maven-compiler-plugin added by IDEA 2018-01-03 12:03:13 -03:00
gonzalo
8f6484cadc Add operations to manipulate a document 2018-01-03 11:30:07 -03:00
Andreas Dangel
f4577f9e14 [core] Only issue a deprecation warning, if the referenced ruleset is not empty
and all rules have been deprecated.
Fixes #782
2017-12-28 17:17:11 +01:00
Andreas Dangel
0ce2939c6b Change version to 6.0.1-SNAPSHOT 2017-12-23 09:54:03 +01:00
Juan Martín Sotuyo Dodero
d5a7edf7ff Log links to the proper PMD version 2017-12-23 02:01:43 -03:00
Clément Fournier
bc95ca803c Beanify controllers, new settings persistence logic
Add property edition to the XPath panel
2017-12-21 17:08:11 +01:00
Andreas Dangel
a975048655 [maven-release-plugin] prepare for next development iteration 2017-12-15 16:01:22 +01:00
Andreas Dangel
9b6fe90225 [maven-release-plugin] prepare release pmd_releases/6.0.0 2017-12-15 16:01:14 +01:00
Andreas Dangel
5eb3ecd5ad [core] Make sure, a language with empty version selects the default version 2017-12-15 12:02:04 +01:00
Andreas Dangel
998cad8595 [java] fix PMDCoverageTest ruleset 2017-12-15 11:13:35 +01:00
Andreas Dangel
02fadc1689 [core] Fix classloader closed issue when executing Ant task
Note: the problem (ClassNotFoundExceptions) only shows up with java8
- with java9 the classloader seems to be still usable, even after
we closed it...
2017-12-15 10:32:06 +01:00
Andreas Dangel
c8645440f2 Update release notes with new rules 2017-12-09 10:24:30 +01:00
Andreas Dangel
1bdb412c09 Merge branch 'pr-764' 2017-12-09 10:12:12 +01:00
Andreas Dangel
e84800b34c Update ruleset factory compatibility 2017-11-30 22:54:07 +01:00
Clément Fournier
36ba0e9581 Add a handle on the value parser of the property 2017-11-30 11:34:44 +01:00
Clément Fournier
53f6c39f65 Make the constants available from the string type id 2017-11-29 00:18:40 +01:00
Clément Fournier
b81158ecf0 Convert PropertyDescriptorUtil to an enum and enrich its interface
refs #763
2017-11-28 19:44:24 +01:00
Clément Fournier
539d541ffd Hide factories of MethodProperty, MethodMultiProperty, FileProperty from XPath rules
refs #762
2017-11-28 19:02:29 +01:00
Clément Fournier
abdb96238d Improve builders interface 2017-11-28 18:49:23 +01:00
Andreas Dangel
be29ba44e2 Merge branch 'pr-758' 2017-11-27 20:55:42 +01:00
Andreas Dangel
8eb5170b31 Merge branch 'pr-736' 2017-11-27 20:47:27 +01:00
Clément Fournier
4724ed4636 Expose the full mappings in property descriptor util 2017-11-25 16:15:42 +01:00
Andreas Dangel
08b018274c [core] Fix rule loading - only override the flags, if they are true
Avoid disabling type resolution
2017-11-24 20:45:13 +01:00
Andreas Dangel
4214a75fc4 [core] Add bean-like getter/setter for Rule 2017-11-24 20:13:20 +01:00
Andreas Dangel
2a1b7addb4 Revert "[core] add temporary support for maven debug output"
This reverts commit 61376f81121b678e7e49a785b6fab28553efa450.

With https://issues.apache.org/jira/browse/MPMD-246 this is not needed
anymore.
2017-11-24 18:11:12 +01:00
Andreas Dangel
c49ae6b769 Merge branch 'pr-742' 2017-11-24 11:51:18 +01:00
Andreas Dangel
31725ae241 Merge branch 'pr-747' 2017-11-23 21:25:36 +01:00
Andreas Dangel
72b5bda178 Deprecate the old bgastviewer implementation 2017-11-23 20:20:38 +01:00
Juan Martín Sotuyo Dodero
a95b2a6d85 Deprecate the old designer's classes 2017-11-23 00:39:43 -03:00
Juan Martín Sotuyo Dodero
cbef7a5602 Merge branch 'pr-731' 2017-11-22 18:03:49 -03:00
Andreas Dangel
204e64ea62 Merge branch 'pr-711' 2017-11-22 21:51:31 +01:00