Commit Graph
1328 Commits
Author SHA1 Message Date
Reinier Zwitserloot e1c39bbc60 javac builder implementation. Passes all tests.
Added toString() impl for builders in both eclipse and javac.
Added all documentation, though it'll need some reviewing.
2013-06-18 04:23:15 +02:00
Reinier Zwitserloot eb3d32c718 finished tests for builder (added after-delombok versions). 2013-06-18 03:33:35 +02:00
Reinier Zwitserloot e047d2b94e Added a ClassDef wrapper, because its signature changed between javac1.6 and javac1.7. (The wrapper uses reflection). Need for: javac @Builder impl.
Also added some utilities to JavacHandlerUtil.
2013-06-18 03:33:13 +02:00
Reinier Zwitserloot 359b7845f2 Most of the javac implementation for HandleBuilder, plus
some minor updates and refactoring in the eclipse HandleBuilder.
2013-06-16 13:20:54 +02:00
Reinier Zwitserloot 9066d57ed9 improved and added to test cases for @Builder.
Eclipse's implementation continues to pass them all.
2013-06-16 13:20:54 +02:00
Reinier Zwitserloot 648c3eeee6 Eclipse Builder implementation finished. Tests need fleshing out though. 2013-06-16 13:20:54 +02:00
Reinier Zwitserloot 2d76b1d22d First steps Builder support 2013-06-16 13:20:53 +02:00
Reinier Zwitserloot 4e521c558e Added injectType methods to Eclipse/JavacHandlerUtil, which we'll need to inject the created $Builder type.
Inspired by Philipp Eichhorn's work in lombok-pg.
2013-06-16 13:20:53 +02:00
Reinier Zwitserloot bf43dc7477 Removed a SuppressWarnings which old eclipse doesn't care about for some reason... now I'm just confused. Do we need it or not? 2013-06-16 13:20:53 +02:00
Reinier Zwitserloot b3dac7722e issue 536: annotationprocessor now always returns false. 2013-06-16 10:57:53 +02:00
Reinier Zwitserloot 5fd82596f6 Added some very limited reporting when OutOfMemorErrors occur during
parse tree builder under javac. Let's hope our users reporting these
issues can use this to figure out which files are triggering the issue.
2013-06-13 00:33:14 +02:00
Reinier Zwitserloot 5a3e9bd804 Added @NonNull on parameters feature (issue 514),
including docs and changelog.
2013-05-31 01:03:38 +02:00
Reinier Zwitserloot 7bbb7cf3ca Fixes for issue 470: VerifyErrors when using @SneakyThrows. 2013-05-30 20:26:20 +02:00
Reinier Zwitserloot b3b91a0ddd added test case and delombok result for issue 520 (val in try-with-resources). WARNING: I havent added ecj test output yet because so far there is no ecj7 available for testing with our buildscripts. I should fix that first and then Ill sort this out. 2013-05-24 01:02:13 +02:00
Reinier Zwitserloot 2c53dc7a65 whoops, didnt update version number to 0.11.9 yet 2013-05-24 01:00:44 +02:00
Reinier Zwitserloot 5d6f82d799 added previous fix of issue 520 to the changelog 2013-05-24 00:54:38 +02:00
Reinier Zwitserloot 6b5a0e2cb3 Fixed more issues related to java7's try-with-resources,
and updated ECJ version detection.
2013-05-24 00:52:37 +02:00
Reinier Zwitserloot 9c1e29842e Added methods to obtain JLS support-level version information from AST/LombokNode. Tests updates to honour these with //version X at the top
of any test file (now also in eclipse, which until now always said it was v6)
2013-05-23 22:58:34 +02:00
Reinier Zwitserloot 4152eee126 Added a method to obtain latest java language spec supported by host
platform and implemented it for javac BUT NOT FOR ECJ!
2013-05-23 21:25:30 +02:00
Reinier Zwitserloot ffb3527daa Updated website; the footer of the video was too long and caused wonky formatting, and the download page now points to the IntelliJ plugin page instead of saying that IntelliJ doesn't support lombok. 2013-05-23 12:50:19 +02:00
Reinier Zwitserloot f98bf919cc Fixed issue 513: If equals is present but hashCode isn't, @Data now generates a warning to explain this strange situation. 2013-05-06 22:09:13 +02:00
Reinier Zwitserloot 2e27817ca7 bugfix in website ant buildscript for finding the Java2HtmlTask 2013-04-23 03:31:22 +02:00
Reinier Zwitserloot ea47245b39 prerelease version bump 2013-04-23 03:26:16 +02:00
Reinier Zwitserloot 350a49b4fc added temporary debug switch -Dlombok.debugAsmOnly for issue 470. 2013-04-23 03:08:40 +02:00
Reinier Zwitserloot fcf98722c0 added support for lombok.disablePostCompiler. 2013-04-23 03:08:22 +02:00
Reinier Zwitserloot e353827f7b fixed capitalization error in an inner class. 2013-04-23 03:08:12 +02:00
Reinier Zwitserloot 4a49858b04 added link to a great external non-video based tutorial instead of our crappy way too old slideshow thingie. 2013-04-23 03:07:38 +02:00
Reinier Zwitserloot d8f090b2b0 Update to newer version of ivyplusplus 2013-04-05 17:00:26 +02:00
Roel Spilker 790c5e627b long overdue update of copyright year in license file 2013-04-02 17:12:38 -04:00
Roel Spilker 9538adc161 updated changelog to reflect performance improvements of previous commit. 2013-03-26 02:44:48 +01:00
Roel Spilker 9630fc96e8 Massive performance improvements, and a few potentially breaking changes for other lombok plugin developers. 2013-03-26 02:42:14 +01:00
Roel Spilker 7a50b9a634 We used to add the platform line ending when comparing test files. This obviously doesn't work on windows; we force unix line ending now. 2013-03-26 02:39:52 +01:00
Roel Spilker f36deeb25f Fixed merge conflict in changelog 2013-03-25 20:31:18 +01:00
Roel Spilker d7776a9122 Changed path in releasenotes 2013-03-25 20:26:16 +01:00
Reinier Zwitserloot 66f32d5073 Fixed issue 459: Delombok would choke on try-with-resources. 2013-03-18 23:57:09 +01:00
Reinier Zwitserloot 0ecc23766f Added a //version option to test files to restrict them to specific versions. 2013-03-18 23:56:57 +01:00
Reinier Zwitserloot 5ec852b35b Some halfway work on introducing hideNulls feature to toString. Aborted because it is a lot more work than anticipated, but this code is prettier and slightly more bugfree so worth checking in. 2013-03-18 22:10:20 +01:00
Reinier Zwitserloot f341a00baa fixed javadoc of XAnnotationHandler; they used to be interfaces but now they are abstract classes. 2013-03-18 21:22:59 +01:00
Reinier Zwitserloot cb9b907839 In delombok, we mark the AST as changed if we remove an annotation; this fixes the issue where delombok would leave lombok annotations in the file if that annotation had no actual effect (such as @Getter on a field if there is an explicit getX method for that field).
issue #443: delombok would screw up @SneakyThrows on methods or constructors with empty bodies. Now we generate warnings for this.
2013-03-12 01:29:15 +01:00
Reinier Zwitserloot 9400f39d12 Fix for issue #436: In eclipse, calling i.e. list.get(i).extensionMethod() would fail with VerifyError when that code is executed in eclipse. 2013-03-12 00:25:50 +01:00
Reinier Zwitserloot c0daffdb43 Updated documentation to reflect support of JBoss Developer Studio 2013-03-11 23:30:20 +01:00
Reinier Zwitserloot ce73a67803 Added installer support for JBoss Developer Studio which is an eclipse variant.
Also fixed a bug where eclipses installed in user.home weren't found automatically on windows.
Also fixed a bug where STS installed in C:\Program Files (X86) wasn't found automatically.
2013-03-11 23:21:22 +01:00
Reinier Zwitserloot 56150952c4 Added @Log4j2 support. 2013-03-11 22:06:25 +01:00
Reinier Zwitserloot 653eb56883 changed the pattern for writing dependencies to the various lib/ directories
to be organization-name.jar instead of just name.jar, in order to account for
the ever lovely and wonderful apache's crazy decision to call the entirely
separate log4j v2.0 also 'log4j'. This does mean you'll have to 'ant clean'.
2013-03-11 22:06:24 +01:00
Reinier Zwitserloot 893b5ea69b startOnFirstThread is no longer necessary on modern JVMs on mac. 2013-03-11 21:01:53 +01:00
Reinier Zwitserloot 620616bf8a fixed typoed URL to onX docs in changelog 2013-02-25 01:32:52 +01:00
Reinier Zwitserloot 06537da4e0 Changed @Value to no longer imply @Wither. Usually you want only
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-18 22:42:39 +01:00
Reinier Zwitserloot ed61012f95 whoops, belated push and fixes to the documentation of onX 2013-02-18 21:41:07 +01:00
Reinier Zwitserloot 1488a262bd Bugfix for delombok mangling x++ into ++x on java7. 2013-02-11 22:35:42 +01:00
Reinier Zwitserloot aafd83079a BIG commit:
* 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.
2013-02-11 22:34:48 +01:00