aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
AgeCommit message (Collapse)Author
2011-09-05fixed Issue 271: @NotNull annotations should introduce a null checkpeichhorn
2011-08-19Preparing for release of 0.10.0-final; updated version and cleaned up changelog.Reinier Zwitserloot
2011-08-17Make Extract Method work without affecting the rendering of the java file.Roel Spilker
2011-08-16Improve Extract method refactoring: you can extract method for code that ↵Roel Spilker
also contains @SneakyThrows
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-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-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-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-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-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-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-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-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-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.