Commit Graph
1340 Commits
Author SHA1 Message Date
Reinier Zwitserloot 85fec0dffa eclipse support for the new @Getter(lazy=true) desugaring. 2013-07-07 21:49:47 +02:00
Reinier Zwitserloot b6a23a7d94 @Getter(lazy=true) now uses a different, more efficient desugaring. Implementing in javac, ecj still has to be done. 2013-07-07 21:49:47 +02:00
Reinier Zwitserloot dfc682a001 lombok's compile target is 1.6, but, eclipse project was generated as 1.7. This caused a bunch of weirdness because eclipse changes a bunch of warnings and quickfixes based on this (such as complaining about lack of @SafeVarargs, a 1.7-only feature). 2013-07-07 21:49:47 +02:00
Reinier Zwitserloot 446a8e33e0 FINALLY! Found the cause of a really weird eclipse bug,
where _ANY_ mention of com.sun.tools.javac.tree.TreeMaker,
anywhere in a source file, would disable pretty much every
intelligent part of what makes the 'I' in IDE in eclipse:
No auto-complete, no 'go to declaration', etcetera, but only
since Eclipse Juno (not fixed in Kepler either). It's the
presence of src/stubs/com/sun/tools/javac/util/Context.java.

I've moved Context to a special stubs directory that's only used
for javac (so that we still get the benefit of getting some
warnings and such when making command line builds), and removed
the @Override annotations for where the stubbing is relevant
(for methods that exist in javac7 but not in javac6 on interfaces
we create implementations of). Furthermore, I did some extremely
tricky work in making our version actuall compatible with the
exact class signatures of both javac6- and javac7+'s versions;
generation of synthetic methods for reified type parameters was
causing havoc.

A big stack of 'here be voodoo' comments unfortunately added to
explain it all; necessary evil.
2013-07-07 21:49:47 +02:00
Reinier Zwitserloot 5326cfa8e8 Merge branch 'master' of github.com:rzwitserloot/lombok 2013-07-07 05:27:31 +02:00
Reinier Zwitserloot e531b1f499 Merge pull request #37 from maddingo/master
The installer creates proper "full paths" on Windows
2013-06-28 07:52:26 -07:00
Martin Goldhahn a8fe76af4d allow installer to be started with lombok.installer.fullpath, that creates proper paths on Windows 2013-06-28 13:58:36 +02:00
Reinier Zwitserloot 420e0dcb53 deprecating the old Value annotation also added deprecation warnings to where we still support it as an alias. fixed. 2013-06-25 13:03:42 +02:00
Reinier Zwitserloot fb32de51af And now the changelogs are also updated to reflect that Value has been promoted. Racking up the commits here... 2013-06-25 00:29:57 +02:00
Reinier Zwitserloot c3e4eb4f74 and added some more javadoc to point at the new main package variant 2013-06-25 00:28:44 +02:00
Reinier Zwitserloot 54ef2d0852 ... and now that @Value has been promoted to the main package, the old experimental one is now deprecated. 2013-06-25 00:27:09 +02:00
Reinier Zwitserloot b5747963c0 Value has been promoted to the main package. 2013-06-25 00:23:02 +02:00
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