aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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)
2011-06-06-javaagent:lombok.jar=ECJ should now work to enable lombok in any ecj-based ↵Reinier Zwitserloot
tool including ecj itself.
2011-06-02Eclipse handlers can now opt out of being run in diet-parse mode. Fixes ↵Reinier Zwitserloot
Synchronized and SneakyThrows
2011-06-02Trivial fixes.Reinier Zwitserloot
2011-05-30Whoops, ecj was broken due to half work on a previous commit to take ecj ↵Reinier Zwitserloot
annotation processing offline.
2011-05-30The EclipseAST was incomplete when it came to ConstructorCalls. This lead to ↵peichhorn
a severe error in PatchDelegate(issue #211) where classes that didn't use lombok at all could not be build due to a NullPointerException.
2011-05-30Whoops, we broke @Delegate with the last update. Now the CAS check on ↵Reinier Zwitserloot
handled is only done if we are -actually- going to call a handler.
2011-05-30tracking if an annotation has been handled or not is now no longer doneReinier Zwitserloot
via the LombokAST object. Instead its tracked more directly in an attempt to avoid having to write all handlers as idempotent, and just in case issue #164 is a race condition (the handled-or-not is a synchronized CAS check). This does break API for other plugins, but the fix is trivial: Just make your 'handle' method return void. That 'we won't call you again' business in the decks never quite worked right anyway. Also, you might want to call Javac.(recursive)setHandledBy when you generate nodes, now.
2011-05-30HandleDelegate did not remove the annotation @Delegate from javac's AST, so ↵peichhorn
HandleDelegate was called multiple times for the same field resulting in an error saying the delegate method was already defined. Also added a test for @Delegate that uncovered this issue.
2011-05-30Removed the ability of lombok to run as ecj annotation processor, becauseReinier Zwitserloot
it won't actually work right; method-level generics would break. The new way is to use -javaagent:lombok.jar=ECJ in addition to -cp lombok.jar
2011-05-28delombok would put copyright headers in between the 'package' keyword and ↵Philipp Eichhorn
the actual package. See discussion at https://groups.google.com/d/topic/project-lombok/64zuUlLnVMc/discussion
2011-05-17Added a layer of indirection between the patched calls for delegate to guard ↵grootjans
against situations in which lombok can't possibly work, since there is not enough of eclipse on the classpath. Major example of this is when we are called through jsps in the eclipse help. Also added an extra check before the patchval is performed by checking if previous patch calls failed in TransformEclipseAST. This fixes Issue #207.
2011-05-16Whoops - previous commit has a grievous error in it. My bad. Fixed now.Reinier Zwitserloot
2011-05-16Split up PatchVal into the ecj and eclipse bits; in ecj you'd just get ↵Reinier Zwitserloot
NoSuchClassErrors.
2011-05-16EclipseLocationProvider now checks the current directory if it matches the ↵grootjans
eclipse-like executable patterns. Probably fixes issue #196
2011-05-16Fixes issue 205: NullPointerException in javac's Check$Validator with valPhilipp Eichhorn
2011-05-16Generalized fix for Issue #210, now the installer looks recursively for all ↵grootjans
platforms
2011-05-13Updated copyright on javac HandleDelegateReinier Zwitserloot
2011-05-13@Delegate in javac on the new types/excludes model without autoexclusion now ↵Reinier Zwitserloot
works.