10625 Commits

Author SHA1 Message Date
Andreas Dangel
68046a0064 Merge branch 'issue-412' 2017-07-08 19:43:34 +02:00
Andreas Dangel
c6eeed6d48 Merge branch 'issue-412' of https://github.com/Monits/pmd into issue-412 2017-07-08 19:34:18 +02:00
Juan Martín Sotuyo Dodero
6f37c17565 Merge branch 'pr-490' 2017-07-08 13:59:08 -03:00
Andreas Dangel
8b109f9981 [ci] let's try the quiet option (-q) of maven
travis_wait_truncated doesn't work, since the pipes are buffered...
2017-07-08 13:10:32 +02:00
Andreas Dangel
e9ac18427a [ci] add a truncated travis_wait function
Since travis_wait outputs the "Still running" indication into the
same stream as the command's output, we need to make sure, we
output these indications to avoid a build timeout.
But to workaround the log size limit, we shouldn't output everything.
travis_wait_truncated now outputs the head immediately, while
only outputting the tail of the log after the command is finished.
2017-07-08 12:48:43 +02:00
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
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
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
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
Andreas Dangel
ecaa8cb24d Merge branch 'issue-471' into pmd/5.8.x 2017-06-28 21:18:19 +02:00
Andreas Dangel
3692eb0400 Update changelog, fixes #471 2017-06-28 21:11:20 +02:00
Andreas Dangel
6657d741ab Merge branch 'master' of https://github.com/WinterGrascph/pmd into issue-471 2017-06-28 21:06:53 +02:00
Andreas Dangel
11e973bf8f Set version to 5.8.1-SNAPSHOT 2017-06-28 20:59:29 +02:00
Bendegúz Nagy
39b3f62d33 Java, typeres: fix error with raw types
Issue was with determining the upper bounds of raw types when they had type parameters
with circular references, example: GenericClass<E extends Foo<E>>
2017-06-27 03:50:53 +02:00
Juan Martín Sotuyo Dodero
affd0f7134 Update changelog, refs #469 2017-06-26 15:09:34 -03:00
Juan Martín Sotuyo Dodero
3c6eed61fc [java] Detect more unnecessary finals
- Mark unnecessary finals in anonymous class methods.
 - Mark unnecessary finals in enum instance methods.
 - Fixes #412
2017-06-26 15:03:23 -03:00
Juan Martín Sotuyo Dodero
d93c5ce676 Update changelog 2017-06-26 14:13:35 -03:00
Juan Martín Sotuyo Dodero
80f901187a Merge branch 'pr-379' 2017-06-26 14:11:35 -03:00
Juan Martín Sotuyo Dodero
4da86f2b8e Document API changes 2017-06-26 13:08:14 -03:00
Juan Martín Sotuyo Dodero
df80e52788 Merge branch 'pr-420' 2017-06-26 13:04:53 -03:00
Juan Martín Sotuyo Dodero
cd5ec52250 Update changelog, refs #420 2017-06-26 13:03:28 -03:00