aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-13mentioned Anthony Whitford's delombok maven plugin on delombok feature page.Reinier Zwitserloot
2011-06-13Updated to ivyplusplus 1.7 and used ivy:cachedunjar to shave a second off ↵Reinier Zwitserloot
build times.
2011-06-13Updated the download page for the website, which now includes a list with ↵Reinier Zwitserloot
instructions for many platforms.
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-06ecj is now downloaded into lib/ecj. We don't currently use it for anything ↵Reinier Zwitserloot
anymore, but could be handy for automated testing and definitely handy for manual experimenting / testing.
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-06Minor update to include a timestamp on the edge release download page.Reinier Zwitserloot
2011-06-05Allow "before" to be used as a source-package for eclipse tests (see ↵Philipp Eichhorn
LoggerSlf4jWithPackage).
2011-06-02Eclipse handlers can now opt out of being run in diet-parse mode. Fixes ↵Reinier Zwitserloot
Synchronized and SneakyThrows
2011-06-02the new eclipse dietparse test suite written by philipp requires junit to be ↵Reinier Zwitserloot
fired up with lombok as agent. Fixed that in the build script.
2011-06-02ecj and jdt.core contain mostly the same classes. Its possible to get these ↵Reinier Zwitserloot
mixed up and that would be bad (SecurityExceptions as signatures don't match, and in general mixing and matching classes from different releases). Just ditching ecj should do the job.
2011-06-02Trivial fixes.Reinier Zwitserloot
2011-06-01Added a test infrastructure that simulates eclipse with diet-parse, ↵peichhorn
type-binding and so forth. Similar to eclipse, the test needs to be executed with lombok as vm-agent. @Delegate runs with this setup, sadly val does not, at least for now. And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
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-30Some small typofixes for the website feature docs.Reinier Zwitserloot
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-30Updating website with a shiny new download page listing all the various ↵Reinier Zwitserloot
frameworks and tools lombok now works under.
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-16Robbert Jan excluded com/sun from the pack a while ago, but this by accident ↵Reinier Zwitserloot
also excluded jna which broke ecj apt support.
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-16updated changelog for issue #210grootjans
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.
2011-05-09Updated Delegate docs now that we've changed how it works (it no longer ↵Reinier Zwitserloot
detects that you've implemented a few to-be delegated methods yourself).
2011-05-09Added Issue 210 the the changelog.Roel Spilker
2011-05-09Recurse directories while eclipse or sts is part of the directory name. ↵Roel Spilker
Solves issue 210.
2011-05-03Updated buildscript to new serverReinier Zwitserloot
2011-05-03Changed how @Delegate works in ecj - methods already present do NOTReinier Zwitserloot
preclude them from being generated, which means you get duplicate method errors. excludes=Types has been added to counteract this. Once we figure out how to resolve method sigs out of order we can go back to the original plan.
2011-05-03Merge branch 'master' of git@github.com:rzwitserloot/lombokRoel Spilker
2011-05-03Eclipse 3.7 updated some internal AST classes, causing:Roel Spilker
NoSuchMethodError: CastExpression.<init> This commit fixes this (now lombok works both <3.7 and 3.7). fixes issue #206
2011-04-01Yet another eclipse mirror went down or deleted an older version. We're now ↵Reinier Zwitserloot
hosting this dependency ourselves; it was the last one we weren't already hosting. Also upped version from 3.6.0 to 3.6.2.
2011-04-01Now logging a warning with diagnostic info so that the next timeReinier Zwitserloot
a user runs into issue #164, we can get a more useful stracktrace from them.
2011-04-01Added ability to log warnings in eclipse error log.Reinier Zwitserloot
2011-03-28Now delegating classes defined in the same project works.Reinier Zwitserloot
At this revision, you can easily and reliably reproduce issue #164 by creating a loop (A delegates B and B delegates A).