Commit Graph
1611 Commits
Author SHA1 Message Date
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
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