Commit Graph
1252 Commits
Author SHA1 Message Date
Reinier Zwitserloot 4f5f689bf2 There is now an 'override this method' alternative for
setting the annotation you handle for an XAnnotationHandler<T>;
default behaviour still extracts the T part out of the signature.
2012-08-24 15:17:46 +02:00
Reinier Zwitserloot 579e139c6c post release version bump 2012-08-14 04:00:04 +02:00
Reinier Zwitserloot 767d9f7cad prerelease version bump 2012-08-13 02:51:36 +02:00
Reinier Zwitserloot afcb211e47 Fix for issue 401: test(), Object.test(), and super.test() were all allowed in eclipse for @ExtensionMethod, resulting in VerifyErrors in the emitted class files. 2012-08-13 02:46:43 +02:00
Reinier Zwitserloot d1539a3ec2 prettying up the pre/post examples for FieldDefaults and ExtensionMethod 2012-08-13 02:46:35 +02:00
Reinier Zwitserloot 5f511da091 FieldDefaults (and Value) did not call .rebuild() after changing modifiers. This also meant delombok would not emit the changed code if that's all that changed, because it thought nothing changed. 2012-08-13 00:12:41 +02:00
Reinier Zwitserloot 6e25b00ace test for using 'val' on an expression that involved lombok-generated code. 2012-08-13 00:11:22 +02:00
Reinier Zwitserloot 8850798a04 Documentation for @Value, @FieldDefaults, @Wither 2012-08-13 00:11:02 +02:00
Reinier Zwitserloot 42f5a55d69 Added tests for @FieldDefaults and @Value. 2012-08-10 18:41:51 +02:00
Reinier Zwitserloot 0dbc68a5cc Added an optimization to javac: Don't force new resolution rounds if none of the handlers in the next priority level need it. 2012-08-10 18:30:35 +02:00
Reinier Zwitserloot b31ca9606b bugfix: Detecting javac6 didn't work on soylatte; now it does. 2012-08-10 18:06:24 +02:00
Reinier Zwitserloot 1be7da7601 * Added priorities to handlers, along with implementation of the priority system for javac and ecj.
* @Value now makes the class itself final by default.
2012-08-10 18:06:13 +02:00
Reinier Zwitserloot 70317c7384 Added @Value and @FieldDefaults implementations for javac and ecj, the annotations including @NonFinal and @PackagePrivate, and some refactors. No tests yet. 2012-08-06 22:47:59 +02:00
Reinier Zwitserloot d1b0242dc5 Fixed outdated javadoc text in @Data annotation. 2012-08-06 22:46:17 +02:00
Reinier Zwitserloot 8ca3ddaa53 fully tested the HandleWither impl for eclipse. 2012-08-06 21:26:55 +02:00
Reinier Zwitserloot 87f763a94c Merge branch 'master' into wither
Conflicts:
	src/core/lombok/javac/handlers/JavacHandlerUtil.java
2012-08-06 20:37:21 +02:00
Reinier Zwitserloot eb4cbcd8bb Untested implementation of HandleWither for eclipse along with minor refactors to HandleSetter 2012-08-06 20:36:38 +02:00
Reinier Zwitserloot 34055fcdff A potential fix for issue #394; Memory leaks in eclipse introduced in lombok 0.11.2 due to a fix involving WeakHashMaps for lazy getters of type boolean. 2012-07-22 07:17:52 +02:00
Philipp Eichhorn 98c704c7cb Lombok not longer removes the feature annotations and the import declarations of said annotations when running in Netbeans. This solves another batch of usability issues in Netbeans. 2012-07-18 19:53:29 +02:00
Reinier Zwitserloot 555bdfd52f Updated changelog with fixes for 396 and 399. 2012-07-17 00:19:00 +02:00
Reinier Zwitserloot dd18f63ee5 Fix for issue 396: Static constructors generated for classes with type parameters did not work in javac. 2012-07-17 00:15:40 +02:00
Reinier Zwitserloot a382c21d46 fixed issue 391: Using 'staticConstructor' on @Data whilst an @XxxArgsConstructor is present means it gets ignored, but until now lombok didn't warn you about this. 2012-07-16 23:18:58 +02:00
Reinier Zwitserloot fe4985e212 Added setting position of generated nodes in javac's @Synchronized as a 'pilot' to see if we cause any problems with this approach. It does generate nicer error messages!
Example: Using @Synchronized with named lock on a static method, naming a non-existent or instance lock. That used to error on line -1.
2012-07-16 22:51:56 +02:00
Reinier Zwitserloot b1877a77be fixed tests since Robbert Jan's fix for issue 377. 2012-07-16 22:24:04 +02:00
Reinier Zwitserloot bd2d76bb54 Added feature to test suite to dump actual result of running ecj / delombok on things to a directory (use -Dlombok.tests.dump_actual_files=/path/to/dir).
Useful if you KNOW lombok is working but something changed in output, i.e. order of generated methods.
2012-07-16 22:22:57 +02:00
Reinier Zwitserloot e642150998 Updated tests to reflect changes to delombok (delombok now kills super(), because attrib adds them even in places where that's wrong).
Also split up the SynchronizedName test into separate cases for each expected failure mode.
2012-07-16 22:04:39 +02:00
Philipp Eichhorn 2502862f89 Delombok now also runs attrib on more files; this will reveal more errors which is particularly important for tests.
This does mean delombok really does need your entire source/classpath to work right but there's unfortunately no real avoiding this anyway,
given that we're doing more and more with resolution.
2012-07-16 21:05:54 +02:00
Reinier Zwitserloot c09481eb8e Added tests for @ExtensionMethod 2012-07-16 21:05:48 +02:00
Philipp Eichhorn 06826342f3 Fixed issue 399: @ExtensionMethod broken for javac in nearly all cases 2012-07-13 15:27:52 +02:00
Philipp Eichhorn 02446794b0 Fixed issue 397: Rare java.lang.StackOverflowError in JavacResolution. 2012-07-13 12:48:55 +02:00
Reinier Zwitserloot 3cf9ffed29 Wither support + tests (javac only; ecj tests are currently set to ignore). 2012-07-12 02:58:26 +02:00
Reinier Zwitserloot 1865bd7309 expanded on something in the changelog. 2012-07-11 01:33:21 +02:00
Reinier Zwitserloot 288ea10ec7 fixed some markdown errors in the changelog. 2012-07-11 01:12:50 +02:00
Reinier Zwitserloot d2d9687a5c Fielding a request to make some stuff public. The things made public are already part of things we'll change even if public (because, not part of lombok.X or lombok.experimental.X or lombok.experimental.**), nor is it particularly volatile.
See issue #389.
2012-07-11 00:59:36 +02:00
Reinier Zwitserloot 71e0d53bc3 Fixed an issue where the installer tool would erroneously complain about needing root access to install/uninstall lombok. 2012-07-11 00:53:10 +02:00
Jan Lahoda 6bf2b9299d Made lombok more stable in netbeans based on some smart observations by Jan Lahoda of team Netbeans. 2012-07-11 00:50:46 +02:00
Reinier Zwitserloot 0befce2072 Very slight change to the helptext of lombok the executable 2012-07-10 23:56:26 +02:00
Reinier Zwitserloot 3166a83dbc Version bump to 0.11.3 2012-07-06 12:31:36 +02:00
Roel Spilker f31357e7a5 Updated changelog 2012-07-06 10:07:27 +02:00
Philipp Eichhorn 5f8aa2e9b0 fixed stupid memleak in PatchExtensionMethod.. sorry my bad.. 2012-07-05 22:42:43 +02:00
Reinier Zwitserloot 39a76386b6 version bump in preparation of release 2012-07-03 00:01:35 +02:00
grootjans 11dc252265 Updated changelog for issue #377 2012-07-02 23:41:31 +02:00
grootjans c642f8a50c Merge branch 'master' of github.com:rzwitserloot/lombok 2012-07-02 23:22:40 +02:00
grootjans 3c0ed22062 Simplified method injection into Eclipse. Pre-3.6 version of Eclipse seemed
to need some special treatment to avoid a bug when generating constructors,
see: http://code.google.com/p/projectlombok/issues/detail?id=155

Since Eclipse 3.6 we are no longer able to reproduce this issue. The fix, 
however, introduced bug 377 i.e. it was no longer possible to set break-points
on lines above generated methods/constructors.

tl;dr: Fixes #377, but does not reintroduce #155
2012-07-02 23:08:33 +02:00
grootjans 1c3ba98204 Updated the ant version due to an issue with invalid sha1-hashes on maven-central for the 1.8.0 version 2012-07-02 22:27:54 +02:00
Roel Spilker eb22b3fe05 Added tests to make sure issue 385 is not caused by a simple bug regarding enums 2012-07-02 22:18:18 +02:00
Roel Spilker 5739ffb0d5 Fixed issue 374: updated documentation about case insensitive checking for existing methods. 2012-07-02 21:52:51 +02:00
grootjans 1c0dc22386 Generated methods used to be inserted one higher than the intended place 2012-07-02 21:49:41 +02:00
grootjans c0e326bfcb Added print position feature to @PrintAST 2012-07-02 21:02:57 +02:00
Sander Koning 1b7d7598a1 Don't close the stream immediately after reading the first line... 2012-06-29 11:57:17 +02:00