aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-25fixed typoed URL to onX docs in changelogReinier Zwitserloot
2013-02-18Changed @Value to no longer imply @Wither. Usually you want onlyReinier Zwitserloot
a few or no withers at all, and adding them is a lot simpler than removing them. This is a breaking change, but then that's why @Value was in experimental in the first place.
2013-02-18whoops, belated push and fixes to the documentation of onXReinier Zwitserloot
2013-02-11Bugfix for delombok mangling x++ into ++x on java7.Reinier Zwitserloot
2013-02-11BIG commit:Reinier Zwitserloot
* re-introduction of onMethod/onConstructor/onParam * tests checking error/warnings rewritten to be more heuristic, in order to accomodate difference in messaging between java6 and java 7 * Ability to eliminate java's own output of erroneous error messages (heh); i.e. those messages that are invalidated by lombok's actions. This mechanism is used for onMethod/onConstructor/onParam * First steps to unifying a billion setGeneratedBy calls into a single visitor traversal for eclipse' HandleGetter/Setter/Constructor/Wither * To simplify 'zooming in' the tests on just a few files, added an 'accept' mechanism. * Updated copyright headers of website to 2013.
2012-11-17Added all documentation for the onX feature and updated changelog.Reinier Zwitserloot
Now to actually write the feature (Well, rescue it from the onX-removal tag).
2012-11-17Updated the javadoc of each and every feature annotation that lombok has:Reinier Zwitserloot
* Removed most documentation and instead put in a link to the much more up to date and extensive documentation at http://projectlombok.org/features * Getting ahead of ourselves a little, added notes on onConstructor/onParam/onMethod which we are about to add in the next few commits. * Updated copyrights to 2012.
2012-11-12Fixed two minor javadoc typos in @Getter and @Value.Reinier Zwitserloot
(With thanks to Bart Enkelaar)
2012-11-12[refactor] Cleaned up static imports (always use *), and refactored out ↵Reinier Zwitserloot
getCtcInt calls into constants as defined in Javac.
2012-10-30whoops forgot to update changelog for release 0.11.6Reinier Zwitserloot
2012-10-30post-release version bump.Reinier Zwitserloot
2012-10-30pre-release version bumpReinier Zwitserloot
2012-10-30Added annotation for the slf4j extended loggergrootjans
2012-10-30Fix for issue 408: IllegalArgumentException when generating setters in ↵Reinier Zwitserloot
eclipse for fields with @Deprecated on them.
2012-10-29added tests for lub and val (lub = finding the common supertype, for example ↵Reinier Zwitserloot
in a ternary expression).
2012-10-29//ignore in files now counts even if the 'ignore' comment is followed by ↵Reinier Zwitserloot
more text (such as the explanation for why it is being ignored).
2012-10-29fix for issue #423: @ExtensionMethods failed with an NPE in the handler on ↵Reinier Zwitserloot
javac if generated constructors are involved.
2012-10-25Empty statements no longer being printed to be consistent with Javac7 which ↵Reinier Zwitserloot
seems to just remove these from the AST entirely.
2012-10-25The testrunner now uses a different mechanism to verify correctness of ↵Reinier Zwitserloot
produced errors and warnings (i.e. we intentionally compile code with errors in them to verify that the appropriate error or warning message is emitted when lombok is active during a compilation run of either javac or ecj) - instead of string comparisons, it's a little more complex. This to enable testing of both javac6 and javac7, even if they produce (slightly) different error output. Updated all message files in the 'expected output' directories to represent this change.
2012-10-25Updated the setup test environment tasks in the build script to produce ↵Reinier Zwitserloot
eclipse launch targets IF the project has been treated as eclipse project ('.project' is present).
2012-10-23added previous fix to changelog.Reinier Zwitserloot
2012-10-23Fix for NPEs in the eclipse log forReinier Zwitserloot
org.eclipse.jdt.internal.compiler.lookup.MethodBinding.sourceMethod(MethodBinding.java:1108)
2012-10-23Typo fixes in build.xmlReinier Zwitserloot
2012-10-22Fixes issue 422: VerifyError when running delombok in a javac7 environment.Reinier Zwitserloot
2012-10-22Ever since we do a lot more than just calling 'parse' when running delombok ↵Reinier Zwitserloot
in our tests, the tests are in the unfortunate scenario where we always compile against a given javac (lib/build/javac6.jar), and always run the tests against a given javac, but that javac tries to use the bootclasspath of the host JRE, and if that is JRE7, you get all sorts of errors. I fixed it by still compiling against a given javac (we can only ship one lombok.jar after all), but having the test task run with a given bootclasspath and a given javac.jar. There are 2 tasks that download both rt.jar and javac.jar for either OpenJDK6 or OpenJDK7, and it writes a properties file with those locations. The test task will use this property file, and explain what you need to do if it is not there. Incidentally, this brought to light issue 422: Delombok in java7 produces VerifyErrors.
2012-10-08Patches ASTNode.setSourceRange; by default it throws ↵Reinier Zwitserloot
IllegalArgumentExceptions in certain cases, but with no message, thus making it very hard to figure out what went wrong. The patch throws the same exceptions in the same cases, but gives the exception a useful error message.
2012-10-08Updated copyright header in website feature pages.Reinier Zwitserloot
2012-09-17If val errors out, now at least you see where it happened.Reinier Zwitserloot
2012-09-03@FieldDefaults was causing template suggestions to not appear sometimes.Reinier Zwitserloot
See issue 411.
2012-08-28If the JVM is started with -Dlombok.disable, lombok is disabled entirely for ↵Reinier Zwitserloot
both eclipse/ecj and javac operations.
2012-08-27updated copyright year notices in website htmlReinier Zwitserloot
2012-08-24There is now an 'override this method' alternative forReinier Zwitserloot
setting the annotation you handle for an XAnnotationHandler<T>; default behaviour still extracts the T part out of the signature.
2012-08-14post release version bumpReinier Zwitserloot
2012-08-13prerelease version bumpReinier Zwitserloot
2012-08-13Fix for issue 401: test(), Object.test(), and super.test() were all allowed ↵Reinier Zwitserloot
in eclipse for @ExtensionMethod, resulting in VerifyErrors in the emitted class files.
2012-08-13prettying up the pre/post examples for FieldDefaults and ExtensionMethodReinier Zwitserloot
2012-08-13FieldDefaults (and Value) did not call .rebuild() after changing modifiers. ↵Reinier Zwitserloot
This also meant delombok would not emit the changed code if that's all that changed, because it thought nothing changed.
2012-08-13test for using 'val' on an expression that involved lombok-generated code.Reinier Zwitserloot
2012-08-13Documentation for @Value, @FieldDefaults, @WitherReinier Zwitserloot
2012-08-10Added tests for @FieldDefaults and @Value.Reinier Zwitserloot
2012-08-10Added an optimization to javac: Don't force new resolution rounds if none of ↵Reinier Zwitserloot
the handlers in the next priority level need it.
2012-08-10bugfix: Detecting javac6 didn't work on soylatte; now it does.Reinier Zwitserloot
2012-08-10* Added priorities to handlers, along with implementation of the priority ↵Reinier Zwitserloot
system for javac and ecj. * @Value now makes the class itself final by default.
2012-08-06Added @Value and @FieldDefaults implementations for javac and ecj, the ↵Reinier Zwitserloot
annotations including @NonFinal and @PackagePrivate, and some refactors. No tests yet.
2012-08-06Fixed outdated javadoc text in @Data annotation.Reinier Zwitserloot
2012-08-06fully tested the HandleWither impl for eclipse.Reinier Zwitserloot
2012-08-06Merge branch 'master' into witherReinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java
2012-08-06Untested implementation of HandleWither for eclipse along with minor ↵Reinier Zwitserloot
refactors to HandleSetter
2012-07-22A potential fix for issue #394; Memory leaks in eclipse introduced in lombok ↵Reinier Zwitserloot
0.11.2 due to a fix involving WeakHashMaps for lazy getters of type boolean.
2012-07-18Lombok not longer removes the feature annotations and the import ↵Philipp Eichhorn
declarations of said annotations when running in Netbeans. This solves another batch of usability issues in Netbeans.