Commit Graph

  • 2658b1ba42 Fixed small typo Robbert Jan Grootjans 2013-04-05 14:35:28 +02:00
  • 790c5e627b long overdue update of copyright year in license file Roel Spilker 2013-04-02 17:12:38 -04:00
  • 9538adc161 updated changelog to reflect performance improvements of previous commit. Roel Spilker 2013-03-26 02:44:48 +01:00
  • 9630fc96e8 Massive performance improvements, and a few potentially breaking changes for other lombok plugin developers. Roel Spilker 2013-03-26 02:42:14 +01:00
  • 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. Roel Spilker 2013-03-26 02:39:52 +01:00
  • f36deeb25f Fixed merge conflict in changelog Roel Spilker 2013-03-25 20:31:18 +01:00
  • d7776a9122 Changed path in releasenotes Roel Spilker 2013-03-25 20:26:16 +01:00
  • 0b100f2207 Refactored out references to TypeTags. Robbert Jan Grootjans 2013-03-22 18:23:44 +01:00
  • 66f32d5073 Fixed issue 459: Delombok would choke on try-with-resources. Reinier Zwitserloot 2013-03-18 23:57:09 +01:00
  • 0ecc23766f Added a //version option to test files to restrict them to specific versions. Reinier Zwitserloot 2013-03-18 23:56:57 +01:00
  • 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. Reinier Zwitserloot 2013-03-18 22:10:20 +01:00
  • f341a00baa fixed javadoc of XAnnotationHandler; they used to be interfaces but now they are abstract classes. Reinier Zwitserloot 2013-03-18 21:22:59 +01:00
  • 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). Reinier Zwitserloot 2013-03-12 01:29:15 +01:00
  • 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. Reinier Zwitserloot 2013-03-12 00:25:50 +01:00
  • c0daffdb43 Updated documentation to reflect support of JBoss Developer Studio Reinier Zwitserloot 2013-03-11 23:30:20 +01:00
  • 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. Reinier Zwitserloot 2013-03-11 23:21:22 +01:00
  • 56150952c4 Added @Log4j2 support. Reinier Zwitserloot 2013-03-11 22:04:27 +01:00
  • 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'. Reinier Zwitserloot 2013-03-11 22:06:09 +01:00
  • 893b5ea69b startOnFirstThread is no longer necessary on modern JVMs on mac. Reinier Zwitserloot 2013-03-11 21:01:53 +01:00
  • 4be46113e8 Compiler options can now be specified for JDK 8 or JDK 6/7 or lower. Robbert Jan Grootjans 2013-03-08 16:54:02 +01:00
  • 1277188026 Added switch to CommentsCatcher. Assumption, until proven otherwise is that JDK8 behaves similar to JDK7. Robbert Jan Grootjans 2013-03-08 16:52:14 +01:00
  • 8bb1542acb Test setup for JDK8 support. Robbert Jan Grootjans 2013-03-08 16:51:29 +01:00
  • 620616bf8a fixed typoed URL to onX docs in changelog Reinier Zwitserloot 2013-02-25 01:32:52 +01:00
  • 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. Reinier Zwitserloot 2013-02-18 22:42:39 +01:00
  • ed61012f95 whoops, belated push and fixes to the documentation of onX Reinier Zwitserloot 2013-02-18 21:41:07 +01:00
  • 1488a262bd Bugfix for delombok mangling x++ into ++x on java7. Reinier Zwitserloot 2013-02-11 22:35:42 +01:00
  • 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. Reinier Zwitserloot 2013-02-11 22:34:48 +01:00
  • ef8769d318 Added all documentation for the onX feature and updated changelog. Reinier Zwitserloot 2012-11-17 20:26:58 +01:00
  • 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. Reinier Zwitserloot 2012-11-17 19:12:01 +01:00
  • e95bb83e06 Fixed two minor javadoc typos in @Getter and @Value. Reinier Zwitserloot 2012-11-12 22:12:35 +01:00
  • 7e84f8d1c2 [refactor] Cleaned up static imports (always use *), and refactored out getCtcInt calls into constants as defined in Javac. Reinier Zwitserloot 2012-11-12 22:07:07 +01:00
  • 8a6167f8b0 whoops forgot to update changelog for release 0.11.6 Reinier Zwitserloot 2012-10-30 01:03:42 +01:00
  • 4dd2dda762 post-release version bump. Reinier Zwitserloot 2012-10-30 01:02:32 +01:00
  • afaa5b3060 pre-release version bump Reinier Zwitserloot 2012-10-30 00:50:29 +01:00
  • 11a07262ef Added annotation for the slf4j extended logger grootjans 2012-10-29 23:38:06 +01:00
  • 8a5d637af7 Fix for issue 408: IllegalArgumentException when generating setters in eclipse for fields with @Deprecated on them. Reinier Zwitserloot 2012-10-30 00:25:26 +01:00
  • b8e1f3bdeb added tests for lub and val (lub = finding the common supertype, for example in a ternary expression). Reinier Zwitserloot 2012-10-29 23:12:14 +01:00
  • 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). Reinier Zwitserloot 2012-10-29 23:11:21 +01:00
  • d15d722872 fix for issue #423: @ExtensionMethods failed with an NPE in the handler on javac if generated constructors are involved. Reinier Zwitserloot 2012-10-29 22:21:15 +01:00
  • cec7dfd190 Empty statements no longer being printed to be consistent with Javac7 which seems to just remove these from the AST entirely. Reinier Zwitserloot 2012-10-25 00:08:02 +02:00
  • 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. Reinier Zwitserloot 2012-10-25 00:07:44 +02:00
  • 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). Reinier Zwitserloot 2012-10-25 00:05:02 +02:00
  • 7d78e45128 added previous fix to changelog. Reinier Zwitserloot 2012-10-23 11:22:21 +02:00
  • 614d490ea1 Fix for NPEs in the eclipse log for org.eclipse.jdt.internal.compiler.lookup.MethodBinding.sourceMethod(MethodBinding.java:1108) Reinier Zwitserloot 2012-10-23 11:19:35 +02:00
  • 10085d5f2a Typo fixes in build.xml Reinier Zwitserloot 2012-10-23 11:19:12 +02:00
  • bde859c853 Fixes issue 422: VerifyError when running delombok in a javac7 environment. Reinier Zwitserloot 2012-10-22 09:48:11 +02:00
  • 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. Reinier Zwitserloot 2012-10-22 09:47:56 +02:00
  • 0baf73b2aa Patches ASTNode.setSourceRange; by default it throws IllegalArgumentExceptions in certain cases, but with no message, thus making it very hard to figure out what went wrong. The patch throws the same exceptions in the same cases, but gives the exception a useful error message. Reinier Zwitserloot 2012-10-08 20:26:06 +02:00
  • a733c15082 Updated copyright header in website feature pages. Reinier Zwitserloot 2012-10-08 20:24:41 +02:00
  • 7ada401b6d If val errors out, now at least you see where it happened. Reinier Zwitserloot 2012-09-17 17:19:05 +02:00
  • 9bc421ecdc @FieldDefaults was causing template suggestions to not appear sometimes. See issue 411. Reinier Zwitserloot 2012-09-03 21:34:51 +02:00
  • 70256754c2 If the JVM is started with -Dlombok.disable, lombok is disabled entirely for both eclipse/ecj and javac operations. Reinier Zwitserloot 2012-08-28 09:14:41 +02:00
  • 672ddda8f5 updated copyright year notices in website html Reinier Zwitserloot 2012-08-27 23:09:09 +02:00
  • 4f5f689bf2 There is now an 'override this method' alternative for setting the annotation you handle for an XAnnotationHandler<T>; default behaviour still extracts the T part out of the signature. Reinier Zwitserloot 2012-08-24 15:17:46 +02:00
  • 579e139c6c post release version bump Reinier Zwitserloot 2012-08-14 04:00:04 +02:00
  • 767d9f7cad prerelease version bump Reinier Zwitserloot 2012-08-13 02:51:36 +02:00
  • afcb211e47 Fix for issue 401: test(), Object.test(), and super.test() were all allowed in eclipse for @ExtensionMethod, resulting in VerifyErrors in the emitted class files. Reinier Zwitserloot 2012-08-13 02:45:58 +02:00
  • d1539a3ec2 prettying up the pre/post examples for FieldDefaults and ExtensionMethod Reinier Zwitserloot 2012-08-13 02:46:35 +02:00
  • 5f511da091 FieldDefaults (and Value) did not call .rebuild() after changing modifiers. This also meant delombok would not emit the changed code if that's all that changed, because it thought nothing changed. Reinier Zwitserloot 2012-08-13 00:12:41 +02:00
  • 6e25b00ace test for using 'val' on an expression that involved lombok-generated code. Reinier Zwitserloot 2012-08-13 00:11:22 +02:00
  • 8850798a04 Documentation for @Value, @FieldDefaults, @Wither Reinier Zwitserloot 2012-08-13 00:11:02 +02:00
  • 42f5a55d69 Added tests for @FieldDefaults and @Value. Reinier Zwitserloot 2012-08-10 18:41:51 +02:00
  • 0dbc68a5cc Added an optimization to javac: Don't force new resolution rounds if none of the handlers in the next priority level need it. Reinier Zwitserloot 2012-08-10 18:30:35 +02:00
  • b31ca9606b bugfix: Detecting javac6 didn't work on soylatte; now it does. Reinier Zwitserloot 2012-08-10 18:06:24 +02:00
  • 1be7da7601 * Added priorities to handlers, along with implementation of the priority system for javac and ecj. * @Value now makes the class itself final by default. Reinier Zwitserloot 2012-08-10 18:06:13 +02:00
  • 70317c7384 Added @Value and @FieldDefaults implementations for javac and ecj, the annotations including @NonFinal and @PackagePrivate, and some refactors. No tests yet. Reinier Zwitserloot 2012-08-06 22:47:59 +02:00
  • d1b0242dc5 Fixed outdated javadoc text in @Data annotation. Reinier Zwitserloot 2012-08-06 22:46:17 +02:00
  • 8ca3ddaa53 fully tested the HandleWither impl for eclipse. Reinier Zwitserloot 2012-08-06 21:26:55 +02:00
  • 87f763a94c Merge branch 'master' into wither Reinier Zwitserloot 2012-08-06 20:37:21 +02:00
  • eb4cbcd8bb Untested implementation of HandleWither for eclipse along with minor refactors to HandleSetter Reinier Zwitserloot 2012-08-06 20:36:38 +02:00
  • 34055fcdff A potential fix for issue #394; Memory leaks in eclipse introduced in lombok 0.11.2 due to a fix involving WeakHashMaps for lazy getters of type boolean. Reinier Zwitserloot 2012-07-22 07:17:52 +02:00
  • 98c704c7cb Lombok not longer removes the feature annotations and the import declarations of said annotations when running in Netbeans. This solves another batch of usability issues in Netbeans. Philipp Eichhorn 2012-07-18 19:53:29 +02:00
  • 555bdfd52f Updated changelog with fixes for 396 and 399. Reinier Zwitserloot 2012-07-17 00:19:00 +02:00
  • dd18f63ee5 Fix for issue 396: Static constructors generated for classes with type parameters did not work in javac. Reinier Zwitserloot 2012-07-16 23:59:43 +02:00
  • a382c21d46 fixed issue 391: Using 'staticConstructor' on @Data whilst an @XxxArgsConstructor is present means it gets ignored, but until now lombok didn't warn you about this. Reinier Zwitserloot 2012-07-16 23:18:58 +02:00
  • fe4985e212 Added setting position of generated nodes in javac's @Synchronized as a 'pilot' to see if we cause any problems with this approach. It does generate nicer error messages! Reinier Zwitserloot 2012-07-16 22:51:56 +02:00
  • b1877a77be fixed tests since Robbert Jan's fix for issue 377. Reinier Zwitserloot 2012-07-16 22:24:04 +02:00
  • bd2d76bb54 Added feature to test suite to dump actual result of running ecj / delombok on things to a directory (use -Dlombok.tests.dump_actual_files=/path/to/dir). Reinier Zwitserloot 2012-07-16 22:22:57 +02:00
  • e642150998 Updated tests to reflect changes to delombok (delombok now kills super(), because attrib adds them even in places where that's wrong). Reinier Zwitserloot 2012-07-16 22:04:39 +02:00
  • 2502862f89 Delombok now also runs attrib on more files; this will reveal more errors which is particularly important for tests. This does mean delombok really does need your entire source/classpath to work right but there's unfortunately no real avoiding this anyway, given that we're doing more and more with resolution. Philipp Eichhorn 2012-07-16 20:58:19 +02:00
  • c09481eb8e Added tests for @ExtensionMethod Reinier Zwitserloot 2012-07-16 20:56:35 +02:00
  • 06826342f3 Fixed issue 399: @ExtensionMethod broken for javac in nearly all cases Philipp Eichhorn 2012-07-13 15:27:52 +02:00
  • 02446794b0 Fixed issue 397: Rare java.lang.StackOverflowError in JavacResolution. Philipp Eichhorn 2012-07-13 12:48:55 +02:00
  • 3cf9ffed29 Wither support + tests (javac only; ecj tests are currently set to ignore). Reinier Zwitserloot 2012-07-12 02:58:26 +02:00
  • 1865bd7309 expanded on something in the changelog. Reinier Zwitserloot 2012-07-11 01:33:21 +02:00
  • 288ea10ec7 fixed some markdown errors in the changelog. Reinier Zwitserloot 2012-07-11 01:12:50 +02:00
  • d2d9687a5c Fielding a request to make some stuff public. The things made public are already part of things we'll change even if public (because, not part of lombok.X or lombok.experimental.X or lombok.experimental.**), nor is it particularly volatile. Reinier Zwitserloot 2012-07-11 00:59:36 +02:00
  • 71e0d53bc3 Fixed an issue where the installer tool would erroneously complain about needing root access to install/uninstall lombok. Reinier Zwitserloot 2012-07-11 00:53:10 +02:00
  • 6bf2b9299d Made lombok more stable in netbeans based on some smart observations by Jan Lahoda of team Netbeans. Jan Lahoda 2012-07-11 00:49:00 +02:00
  • 0befce2072 Very slight change to the helptext of lombok the executable Reinier Zwitserloot 2012-07-10 23:54:24 +02:00
  • 3166a83dbc Version bump to 0.11.3 Reinier Zwitserloot 2012-07-06 12:31:36 +02:00
  • f31357e7a5 Updated changelog Roel Spilker 2012-07-06 10:07:27 +02:00
  • 5f8aa2e9b0 fixed stupid memleak in PatchExtensionMethod.. sorry my bad.. Philipp Eichhorn 2012-07-05 22:42:43 +02:00
  • 39a76386b6 version bump in preparation of release Reinier Zwitserloot 2012-07-03 00:01:35 +02:00
  • 11dc252265 Updated changelog for issue #377 grootjans 2012-07-02 23:41:31 +02:00
  • c642f8a50c Merge branch 'master' of github.com:rzwitserloot/lombok grootjans 2012-07-02 23:22:40 +02:00
  • 3c0ed22062 Simplified method injection into Eclipse. Pre-3.6 version of Eclipse seemed to need some special treatment to avoid a bug when generating constructors, see: http://code.google.com/p/projectlombok/issues/detail?id=155 grootjans 2012-07-02 23:08:33 +02:00
  • 1c3ba98204 Updated the ant version due to an issue with invalid sha1-hashes on maven-central for the 1.8.0 version grootjans 2012-07-02 22:27:54 +02:00
  • eb22b3fe05 Added tests to make sure issue 385 is not caused by a simple bug regarding enums Roel Spilker 2012-07-02 22:18:18 +02:00
  • 5739ffb0d5 Fixed issue 374: updated documentation about case insensitive checking for existing methods. Roel Spilker 2012-07-02 21:52:51 +02:00