aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-08-16TrivialRoel Spilker
2011-08-16Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2011-08-16This fixes 'val' not working in javac7. The LogDisabler used to simply ↵Reinier Zwitserloot
suppress writes to standard out, but javac7 has a redesigned error system where errors are cached. Now the LogDisabler also wipes out any cached errors added in between a 'disable' and 'enable' session. Ironically we actually whined to Joe Darcy about javac6 emitting errors 'too early' and this caching system is the result. Heh. This was already the case, but a disableLoggers() call HAS to be paired with an enableLoggers() call, so use try/finally. Fixes issue #259.
2011-08-16Renamed Javac.getCTCint to getCtcIntRoel Spilker
Made delombok work with multiple JavaCompiler's on the classpath Made @Getter(lazy=true) work on javac7 (fixes issue#223)
2011-08-15Merge branch 'delombok_java7'Reinier Zwitserloot
2011-08-15The only new JCTree node in java7, JCTypeUnion, is now supported by delombok.Reinier Zwitserloot
2011-08-15Optimized the 'val' search; previously a fairly lengthy import list check ↵Reinier Zwitserloot
was done for _every_ local declaration _anywhere_ in _any_ eclipse source file to see if it needed 'val' treatment. Now as a shortcut there's a check if the typeRef's last part is equal to 'val', and if not, no check is performed.
2011-08-15fixed a warning during the ant compile processReinier Zwitserloot
2011-08-15Integrated Philipp's proof-of-concept delombok in javac7 fix, and used someReinier Zwitserloot
creative stubbing to ensure both the javac7 and the javac6 source file can be loaded in the same project in eclipse without dependency warnings.
2011-08-15Removed support for onMethod, onParam and onConstructor due to javac7 type ↵Roel Spilker
incapabilities. Issue #251
2011-08-12Make extract method work with @Cleanup and @SynchronizedRoel Spilker
2011-08-11Got delombok to work with JDK 1.7.peichhorn
For now PrettyCommentsPrinter is not able to print new features like JCTypeUnion, but first tests indicate that besides this it works just fine.
2011-08-10Made delomboks processor 'work' on java6 and java7 without any warningspeichhorn
2011-08-08Made the annotation processor 'work' on java6 and java7 without any warningsRoel Spilker
2011-08-08Delombok with -d used wrong output folder on Posix. Solves issue #249Anthony Whitford
2011-08-08trivialRoel Spilker
2011-08-06fixed Issue 248:peichhorn
To support the new numeric literal syntax of Java 7, the constructor of IntLiteral got replaced by a factory-method. So we updated the affected handlers to work in both worlds.
2011-08-02About to release 0.10.0-RC3Reinier Zwitserloot
2011-08-01Fixed issue 164. Oh yes. Party time!Reinier Zwitserloot
skipPrintAst was a singleton global, so, yes, thread race issues all over the place.
2011-08-01Updates to the DebugSnapshot system (stack-free logs, global disable switch, ↵Reinier Zwitserloot
print once only)
2011-08-01Added the state of the HasAllMethodBodies flag in the issue 164 analyser. ↵Reinier Zwitserloot
Looks like eclipse sometimes sets this flag even though all method bodies are not in fact parsed yet, as a shortcut to try and force future eclipse parse runs to simply skip doing it as a timesaver. D'oh.
2011-07-30fixed Issue 243:peichhorn
"canEqual(java.lang.Object)" was not in the blacklist of HandleDelegate (only javac, for eclipse it was already present)
2011-07-30fixed Issue 244:peichhorn
Between javac 1.6 and 1.7 the type of the field JCClassDecl.extending has changed from JCTree to JCExpression, but the method getExtendsClause() still returns a JCTree. So we use this for now.
2011-07-25Preparing to release 0.10.0-RC2Reinier Zwitserloot
2011-07-25Works around issue 217. it's not a proper fix but better than 0.10.0-RC1.Reinier Zwitserloot
2011-07-25Delombok with a relative path and in 'output to directory' mode would NPE. ↵Reinier Zwitserloot
Fixes issue #241.
2011-07-25The previous commit to fix Issue 233 accidentally broke delombok for emtpy ↵peichhorn
method bodies. This is now fixed.
2011-07-24Fixes issue 176 more thoroughly; even if both javac6 and javac7 are on the ↵Reinier Zwitserloot
classpath, the 'right' BaseFileObject wrapper is now used.
2011-07-24Merge branch 'i164diag'Reinier Zwitserloot
2011-07-18Upgraded the issue 164 reporter to replace what we had. I think we'll roll ↵Roel Spilker
this out in 0.10.0-RC2.
2011-07-18Changes to the lombok annotations processor, forcing the java processing ↵Jan Lahoda
environment into doing multiple rounds and disabling certain reparses in netbeans. Thanks to Jan Lahoda for researching this issue and supplying us with a patch.
2011-07-18Dump the debug snapshots for issue 164 to a file.Roel Spilker
2011-07-18Fixes issue 232, now we also patch dom.SingleVariableDecls. Fixes val import ↵grootjans
disappearing when organizing imports in Eclipse, when using val in a foreach.
2011-07-18Heh, these weren't included due to .gitignore. Fixed that, so now I can add ↵Reinier Zwitserloot
them.
2011-07-18back-in-time debugging added. Of course now 164 isn't triggering anymore :/Reinier Zwitserloot
2011-07-18Now either all or none of equals/hashCode/canEqual is generated. Fixes issue ↵Roel Spilker
240.
2011-07-14fixed Issue 233:peichhorn
Javac parser handles ";" (empty statements) as empty blocks with an invalid position. Thats why delomok replaces ";" with "{}". This gets an issue when you use this in an interface, since interfaces are not allowed to have initializer blocks.
2011-06-20whoops, a very minor nit in synchronized which also caused a test to fail fixed.Reinier Zwitserloot
2011-06-20Minor tweaks to documentation updates (javadocs, website).Reinier Zwitserloot
2011-06-20Version bump to 0.10.0RC1Reinier Zwitserloot
2011-06-20fixed @Synchronized.Reinier Zwitserloot
2011-06-20Added ability for annotation handlers to be invoked in the diet parse phase ↵Reinier Zwitserloot
even if its a post-diet handler.
2011-06-20Javac/EclipseAnnotationHandler are now abstract classes instead of ↵Reinier Zwitserloot
interfaces; there were too many 'option' methods (methods where you return either true or false), so we really needed the ability to pick a default.
2011-06-20SpiLoadUtil's findAnnotationClass didn't work with extends Foo<T>, only with ↵Reinier Zwitserloot
implements Foo<T>. Fixed this.
2011-06-20as lombok never runs as AP anymore in ecj, the 'show some more info for bug ↵Reinier Zwitserloot
164' escape to not do that in ecj was no longer relevant.
2011-06-13Fixed PrintAST, and separately SneakyThrows/Synchronized which failed ↵Reinier Zwitserloot
because the 'isFullParse' boolean was erronously set on a full rebuild, forced by HandleDelegate. HandleDelegate has also been updated to not do so much work if there's no @Delegate in a source file.
2011-06-07Decided to improve the windows regexp detector from 'windows' to ↵Reinier Zwitserloot
win|win32|win64|windows, on a word break.
2011-06-07Detector regexp for windows had a pointless grouping in it.Reinier Zwitserloot
2011-06-07Updated to ASM 4.0RC1 so that we can deal with java7,Reinier Zwitserloot
especially class files built with java7. Fixes issue #188
2011-06-06Issue 188: add class file pool constants for methodhandles and invokedynamic ↵Roel Spilker
(java7)