Commit Graph
1308 Commits
Author SHA1 Message Date
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
Reinier Zwitserloot ef8769d318 Added all documentation for the onX feature and updated changelog.
Now to actually write the feature (Well, rescue it from the onX-removal tag).
2012-11-17 20:26:58 +01:00
Reinier Zwitserloot 58851b4c6e Updated the javadoc of each and every feature annotation that lombok has:
* 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-17 19:12:01 +01:00
Reinier Zwitserloot e95bb83e06 Fixed two minor javadoc typos in @Getter and @Value.
(With thanks to Bart Enkelaar)
2012-11-12 22:12:35 +01:00
Reinier Zwitserloot 7e84f8d1c2 [refactor] Cleaned up static imports (always use *), and refactored out getCtcInt calls into constants as defined in Javac. 2012-11-12 22:07:07 +01:00
Reinier Zwitserloot 8a6167f8b0 whoops forgot to update changelog for release 0.11.6 2012-10-30 01:03:42 +01:00
Reinier Zwitserloot 4dd2dda762 post-release version bump. 2012-10-30 01:02:32 +01:00
Reinier Zwitserloot afaa5b3060 pre-release version bump 2012-10-30 00:50:29 +01:00
grootjans 11a07262ef Added annotation for the slf4j extended logger 2012-10-30 00:44:45 +01:00
Reinier Zwitserloot 8a5d637af7 Fix for issue 408: IllegalArgumentException when generating setters in eclipse for fields with @Deprecated on them. 2012-10-30 00:25:26 +01:00
Reinier Zwitserloot b8e1f3bdeb added tests for lub and val (lub = finding the common supertype, for example in a ternary expression). 2012-10-29 23:12:14 +01:00
Reinier Zwitserloot 7bd3851f68 //ignore in files now counts even if the 'ignore' comment is followed by more text (such as the explanation for why it is being ignored). 2012-10-29 23:11:21 +01:00
Reinier Zwitserloot d15d722872 fix for issue #423: @ExtensionMethods failed with an NPE in the handler on javac if generated constructors are involved. 2012-10-29 22:21:15 +01:00
Reinier Zwitserloot cec7dfd190 Empty statements no longer being printed to be consistent with Javac7 which seems to just remove these from the AST entirely. 2012-10-25 00:08:02 +02:00
Reinier Zwitserloot d2808d407a The testrunner now uses a different mechanism to verify correctness of 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-25 00:07:44 +02:00
Reinier Zwitserloot 2d21611898 Updated the setup test environment tasks in the build script to produce eclipse launch targets IF the project has been treated as eclipse project ('.project' is present). 2012-10-25 00:05:02 +02:00
Reinier Zwitserloot 7d78e45128 added previous fix to changelog. 2012-10-23 11:22:21 +02:00
Reinier Zwitserloot 614d490ea1 Fix for NPEs in the eclipse log for
org.eclipse.jdt.internal.compiler.lookup.MethodBinding.sourceMethod(MethodBinding.java:1108)
2012-10-23 11:19:35 +02:00
Reinier Zwitserloot 10085d5f2a Typo fixes in build.xml 2012-10-23 11:19:12 +02:00
Reinier Zwitserloot bde859c853 Fixes issue 422: VerifyError when running delombok in a javac7 environment. 2012-10-22 09:49:19 +02:00
Reinier Zwitserloot a295c4fc12 Ever since we do a lot more than just calling 'parse' when running delombok 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-22 09:47:56 +02:00