10844 Commits

Author SHA1 Message Date
Andreas Dangel
a3a1f1b30b [ci] add more logging during build-site.sh execution 2017-07-08 12:15:17 +02:00
Andreas Dangel
4efa375a06 Merge branch 'improve-travis' of https://github.com/Monits/pmd into pr-456 2017-07-08 11:49:25 +02:00
Andreas Dangel
ead8d964c5 [cpp] Undo changes to String literals in grammar, it's not needed anymore
Such slightly illegal char escape sequences can still be parsed now.
2017-07-08 11:48:06 +02:00
Andreas Dangel
5bcf30a2a4 [cpp] Add unit test to assert begin/end of Tokens with continuation 2017-07-08 11:32:54 +02:00
Andreas Dangel
ec631f3993 [cpp] Don't skip the continuation character in the grammar anymore
Since we now have a CppCharStream, we can remove the changes
introduced for #431
2017-07-07 23:11:27 +02:00
Andreas Dangel
9618481218 Update changelog, refs #448 2017-07-07 22:46:29 +02:00
Andreas Dangel
dbc2d02895 [cpp] Add custom CppCharStream for line continuation support
Fixes #448
2017-07-07 22:46:21 +02:00
Juan Martín Sotuyo Dodero
37f4be1a35 Merge branch 'pr-488' 2017-07-07 15:04:35 -03:00
Juan Martín Sotuyo Dodero
134de93257 Update changelog, be more explicit on Apex CPD changes 2017-07-07 15:04:15 -03:00
Andreas Dangel
02b2e3cf7a Update changelog, refs #488 2017-07-07 10:52:23 +02:00
Andreas Dangel
0f36c9ae2b [apex] CPD: Prepared option to switch on case sensitive check 2017-07-07 10:38:49 +02:00
Andreas Dangel
e669b28341 [apex] Adjust CPD Tests with using ApexLexer
Note: comments are comments now and not compared anymore
2017-07-07 10:38:49 +02:00
Andreas Dangel
c32cf3703a [apex] Use ApexLexer for CPD tokenizer 2017-07-07 10:38:49 +02:00
oowekyala
78edc46e48 Merge branch 'master' of https://github.com/pmd/pmd into metrics 2017-07-06 23:38:08 +02:00
oowekyala
a0ed1aab06 Documentation on AbstractNode 2017-07-06 23:37:08 +02:00
Juan Martín Sotuyo Dodero
50a2e9fdcf Fix typeresolution for anonymous extending object
- This is really an edge case, with little or no real-world scenarios,
just fix it for completeness
2017-07-06 18:00:07 -03:00
oowekyala
ff870e159e Small corrections 2017-07-06 14:48:38 +02:00
Bendegúz Nagy
0c483205da Java, typres: make MethodType immutable, remove getApplicableMethods overload 2017-07-05 21:19:45 +02:00
Bendegúz Nagy
2fd1c89ede Java, typeres: fix checkstyle and mvn tests 2017-07-05 19:49:29 +02:00
Bendegúz Nagy
4a16fbc9eb Java, typres: add more method tests 2017-07-05 18:46:23 +02:00
Bendegúz Nagy
ed9b015c9f Java, typres: fix mvntest 2017-07-05 13:57:50 +02:00
oowekyala
d90e2e75fb Fixed failing tests 2017-07-05 00:15:22 +02:00
Juan Martín Sotuyo Dodero
96003e31db Give more visibility to external contributors
- Acknowledge the amazing people behind each contribution
2017-07-04 12:15:15 -03:00
Juan Martín Sotuyo Dodero
02c3e0a6de Merge branch 'pr-484' 2017-07-04 12:11:49 -03:00
Juan Martín Sotuyo Dodero
087bf40fea Update changelog, refs #484 2017-07-04 12:11:10 -03:00
patriksevallius
111de11893 Changed linux usage to a more unix like path 2017-07-04 09:27:54 +02:00
Bendegúz Nagy
35597c9ef0 Java, typres: Add simple method type resolution 2017-07-04 00:06:32 +02:00
Bendegúz Nagy
0c2099ab98 Java, typeres: add method applicability tests 2017-07-03 19:48:45 +02:00
oowekyala
8fd95190b2 Removed AbstractSimpleJavaMetricsRule 2017-07-03 14:44:46 +02:00
oowekyala
cd2f414ace Merge branch 'master' of https://github.com/pmd/pmd into metrics 2017-07-02 15:58:34 +02:00
Andreas Dangel
6652ec9545 [travis] fix release script for upload site 2017-07-01 20:01:19 +02:00
Andreas Dangel
a271c49152 Merge branch 'pmd/5.8.x' 2017-07-01 19:27:43 +02:00
Andreas Dangel
7c9f438eaf Prepare next development version 2017-07-01 19:13:16 +02:00
Andreas Dangel
3ef33bc37e [maven-release-plugin] prepare for next development iteration 2017-07-01 19:08:17 +02:00
Andreas Dangel
de28e518d4 [maven-release-plugin] prepare release pmd_releases/5.8.1 pmd_releases/5.8.1 2017-07-01 19:08:08 +02:00
Andreas Dangel
92c325eb6a Prepare pmd release 5.8.1 2017-07-01 19:02:04 +02:00
Andreas Dangel
b09ac82062 Update release script to take bug fix releases into account 2017-07-01 18:56:33 +02:00
Juan Martín Sotuyo Dodero
8954bb037d Update changelog, refs #478 2017-06-30 18:59:49 -03:00
Juan Martín Sotuyo Dodero
f7f46dbe93 Fix anonymous class naming
- Properly handle nested anonymous classes
2017-06-30 18:56:18 -03:00
Juan Martín Sotuyo Dodero
4783c4e14f Add failing test for nested anonymous classes 2017-06-30 18:56:13 -03:00
oowekyala
f65207639b Removed a change to CollectionUtil 2017-06-30 18:54:28 +02:00
oowekyala
a30449d475 Enhanced wrappers 2017-06-30 16:25:14 +02:00
oowekyala
2b56f54824 Cleaned up abstract metric 2017-06-30 13:32:38 +02:00
Juan Martín Sotuyo Dodero
deaa47ebb0 Fix anonymous classes directly from interfaces
- Fix the failing scenarios such as new Comaprator<String>() {...
2017-06-30 00:52:13 -03:00
Juan Martín Sotuyo Dodero
10aab46ba6 Better comments for edge cases 2017-06-29 21:19:43 -03:00
Juan Martín Sotuyo Dodero
08e8dbc08a Checkstyle fixes 2017-06-29 20:47:26 -03:00
Juan Martín Sotuyo Dodero
15ec10ff35 Updated changelog 2017-06-29 20:39:35 -03:00
Juan Martín Sotuyo Dodero
b6482bb33b Fixes #477
- Allow for references to classes not in the classpath
2017-06-29 20:36:30 -03:00
Juan Martín Sotuyo Dodero
3bd69b15f1 Rework type resolution
- JavaTypeDefinition now lazily resolves generics, meaning less
overhead and avoiding access order problems (ie: class Foo extends <A
extends B, B>). These means you can no longer request the generics list
all at once... but you probably shouldn't anyway
 - I took the chance to move most type resolution code dealing with
Java's Type to the JavaTypeDefinition. This makes things a little
clearer and tidier
 - There are some minor API changes, but since 5.8.0 is recently out I
doubt these have any impact. Plus, there was no easy way to just patch
away the open issues in the old greedy algorithm
2017-06-29 20:16:23 -03:00
oowekyala
6a3b394aa0 Solve plugin errors 2017-06-28 23:59:22 +02:00