Commit Graph
1732 Commits
Author SHA1 Message Date
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
Robbert Jan Grootjans 4c03e3d220 Type fixes for JDK7 2013-04-05 17:28:44 +02:00
Reinier Zwitserloot d8f090b2b0 Update to newer version of ivyplusplus 2013-04-05 17:00:26 +02:00
Robbert Jan Grootjans 172202add2 Some small fixes for Java 7 2013-04-05 14:37:11 +02:00
Robbert Jan Grootjans 2658b1ba42 Fixed small typo 2013-04-05 14:35:28 +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
Robbert Jan Grootjans 0b100f2207 Refactored out references to TypeTags.
Instead they are retrieved
dynamically, with a pinch of caching during runtime. We already had some
fixes to make sure that compile time constanst were not inlined, but we
need to take into account that a lot of the Integer-based enums have
been replaced with actual enums.

Also, certain TreeMaker methods needed to be invoked dynamically with
reflection.

This needs to be reviewed, and if it turns out that these changes are too
dramatic, we should fork out a larger part of our code for specific JVM
versions.
2013-03-22 18:23:44 +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
Robbert Jan Grootjans 4be46113e8 Compiler options can now be specified for JDK 8 or JDK 6/7 or lower.
After this was finalized I realize that we might consider moving entirely
to String based options, instead of inferring the options from the
provided enum. This setup does have the benefit of throwing exceptions when
options are not present.
2013-03-08 16:54:02 +01:00
Robbert Jan Grootjans 1277188026 Added switch to CommentsCatcher. Assumption, until proven otherwise is
that JDK8 behaves similar to JDK7.
2013-03-08 16:52:14 +01:00
Robbert Jan Grootjans 8bb1542acb Test setup for JDK8 support.
Only Oracle provides builds for JDK8 atm, and there is no OpenJDK
build, so the setup is slightly different. Files have to be copied
manually from an installed JDK. For comparison purposes, an Oracle JDK7
option has been added too. This should be removed before merging to master.
2013-03-08 16:51:29 +01:00
Reinier Zwitserloot 620616bf8a fixed typoed URL to onX docs in changelog 2013-02-25 01:32:52 +01:00