11997 Commits

Author SHA1 Message Date
Andreas Dangel
411be4ac00 [doc] Further changes for windows compatibility 2018-01-17 20:51:56 +01:00
Andreas Dangel
090975a972 [doc] Fix file handle leak in SidebarGenerator 2018-01-17 20:19:33 +01:00
Andreas Dangel
1ef5367498 [doc] Fix build/unit tests under windows
* expect line names with windows path normalized to unix paths
* normalize line endings
* File.separator might be a backslash and needs to be escaped in regex
2018-01-17 19:41:45 +01:00
Andreas Dangel
96cc4f01f3 Merge branch 'pr-849'
Closes #841
2018-01-15 20:45:34 +01:00
Andreas Dangel
23a673114c Merge branch 'pr-835' 2018-01-15 20:42:48 +01:00
Juan Martín Sotuyo Dodero
fe53f8bb91 Update changelog, refs #841 2018-01-14 16:17:11 -03:00
Juan Martín Sotuyo Dodero
391c1e8842 Unify literal parsing logic 2018-01-14 16:15:22 -03:00
Juan Martín Sotuyo Dodero
ab96e34099 [java] Resolve NumberFormatException
- InsufficientStringBufferDeclaration now supports all numbr formats
(even octal and binary)
 - We move the logic of understanding the literal value to the literal
node. Looking for other places where this logic is being replicated is
pending
2018-01-14 16:14:38 -03:00
Juan Martín Sotuyo Dodero
a5b546d044 Java 7 compatible implementation 2018-01-13 21:01:37 -03:00
Juan Martín Sotuyo Dodero
79a43fac0f Update changelog, refs #831 2018-01-13 20:44:29 -03:00
Juan Martín Sotuyo Dodero
303f05d8d3 [java] Resolve StackOverflow in JavaTypeDefinitionSimple.toString()
- Resolves #831
2018-01-13 20:43:01 -03:00
Juan Martín Sotuyo Dodero
0c9f27bbbe Inline gitter badge 2018-01-13 20:42:22 -03:00
Juan Martín Sotuyo Dodero
b0775343ca Merge pull request #840 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2018-01-13 20:41:48 -03:00
Juan Martín Sotuyo Dodero
554abc4ac9 Merge branch 'pr-846' 2018-01-13 20:40:46 -03:00
Andreas Dangel
ff9a951c9e Determine java7 home with jdk_switcher 2018-01-13 11:23:26 +01:00
Andreas Dangel
4f62e84392 Use openjdk7
See https://raw.githubusercontent.com/michaelklishin/jdk_switcher/1e091549285fb0f2591cef679b4135cfbfcc0b4c/jdk_switcher.sh for the paths
See travis-ci/travis-ci#7964
2018-01-13 11:13:59 +01:00
Andreas Dangel
12409be1ef Update release notes, refs #842 2018-01-12 23:37:14 +01:00
Andreas Dangel
4ba1cbcb46 Use bootclasspath when building for java7
Note: this is only works correctly, if the property java7.home is set
Fixes #842
2018-01-12 23:36:18 +01:00
Andreas Dangel
9bc7074fb9 Merge branch 'pr-821' 2018-01-11 17:30:40 +01:00
Andreas Dangel
b6fc30964e Add unit test, refs #817 2018-01-11 17:29:34 +01:00
Andreas Dangel
17ea5a89a0 Merge branch 'pr-820' 2018-01-11 17:16:04 +01:00
The Gitter Badger
e6df2c4436 Add Gitter badge 2018-01-11 07:48:19 +00:00
Clément Fournier
4b43bbcb19 Merge branch 'pr-822' 2018-01-08 00:33:17 +01:00
Juan Martín Sotuyo Dodero
dd0c94a082 Merge branch 'pr-826' 2018-01-07 18:17:31 -03:00
Juan Martín Sotuyo Dodero
4ce6a019e1 Add test scenario 2018-01-07 17:33:33 -03:00
Andreas Dangel
baee671c4a Update release notes, refs #782 2018-01-01 16:33:35 +01:00
Clément Fournier
17dee8d1aa Merge branch 'pr-823' 2017-12-31 18:54:14 +01:00
Juan Martín Sotuyo Dodero
72b22cfa5f Update changelog, refs #812 2017-12-31 01:38:26 -03:00
Juan Martín Sotuyo Dodero
2059eac54b [java] Fix concurrency issue on metrics' framework
- Resolves #812
2017-12-31 01:36:56 -03:00
Juan Martín Sotuyo Dodero
99f8a72f27 Update changelog, refs #800 2017-12-31 01:23:13 -03:00
Juan Martín Sotuyo Dodero
c64f6af157 [java] Avoid NPE in ForLoopCanBeForeachRule
- Take the chance to make this rule use the rulechain
 - This partially fixes #800, but the FN is still unhandled
2017-12-31 01:20:04 -03:00
Juan Martín Sotuyo Dodero
c10a8c6844 Update changelog, refs #817 2017-12-31 01:03:13 -03:00
Juan Martín Sotuyo Dodero
83496c0e59 [java] Fix NPE on UnnecessaryModifierRule
- Fixes #817
2017-12-31 01:01:30 -03:00
Juan Martín Sotuyo Dodero
ec7f64fe55 Update changelog, refs #814 2017-12-31 00:49:59 -03:00
Juan Martín Sotuyo Dodero
729d77614f Handle more kinds of errors
- Handle equally incomplete classpath, having a classpath which
   requires a different JRE version than the one used to run PMD and
   others.
 - Fixes #814
2017-12-31 00:48:23 -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
Juan Martín Sotuyo Dodero
cd58d15bc2 Merge branch 'pr-806' 2017-12-24 13:35:45 -03:00
Andreas Dangel
4700692e29 [java] Rewrite GuardLogStatementRule without XPath
- uses now a Java only implementions
- Fixes #783
2017-12-24 11:51:29 +01:00
Andreas Dangel
0ce2939c6b Change version to 6.0.1-SNAPSHOT 2017-12-23 09:54:03 +01:00
Andreas Dangel
0c46f3b6dc Merge branch 'pr-804' 2017-12-23 09:41:58 +01:00
Juan Martín Sotuyo Dodero
3d75a7fdfd Update changelog, refs #794 2017-12-23 02:03:41 -03:00
Juan Martín Sotuyo Dodero
f1b4674505 Update docs
- Be more clear as to how to enable incremental analysis
 - Fix broken links
2017-12-23 02:02:09 -03:00
Juan Martín Sotuyo Dodero
d5a7edf7ff Log links to the proper PMD version 2017-12-23 02:01:43 -03:00
Juan Martín Sotuyo Dodero
19cda30527 Merge branch 'pr-798' 2017-12-23 00:57:09 -03:00
Andreas Dangel
109f458dbf Fixes #793 [java] Parser error with private method in nested classes in interfaces
*   Remember old state to allow nesting
*   Fix ASTMethodDeclaration.isInterfaceMember
*   Extended tests
2017-12-22 12:03:20 +01:00
Juan Martín Sotuyo Dodero
b25e68d907 Merge branch 'pr-799' 2017-12-21 00:35:48 -03:00
Juan Martín Sotuyo Dodero
3f478bc6f3 Update changelog, refs #799 2017-12-21 00:35:05 -03:00
Travis CI (pmd-bot)
ca41530cf3 Update documentation 2017-12-21 02:41:34 +00:00
Juan Martín Sotuyo Dodero
a42203edc4 Merge branch 'pr-786' 2017-12-20 23:32:30 -03:00
Juan Martín Sotuyo Dodero
0d33ba12b2 Update changelog, refs #786 2017-12-20 23:31:54 -03:00