Commit Graph
643 Commits
Author SHA1 Message Date
Reinier Zwitserloot 81cfc844b9 Changelog for fix to issue 140 2010-08-14 04:06:43 +02:00
Reinier Zwitserloot 2043399d39 delombok added type parameters to constructors that mirror the type's own type parameters. This resulted in delombok turning any generated constructor that takes at least 1 parameter of type 'T' into something that didn't compile, and to boot, a confusing error message. This is now fixed.
Fixes issue #140.
2010-08-14 04:05:27 +02:00
Reinier Zwitserloot 8d012f6734 The "// Generated by delombok at ...." line at the top of delombok-produced source files now uses the system's local line-ending just like the rest of the source file, instead of posix/unix style LF.
Reported by Anthony Whitfield, fixes issue #142.
2010-08-13 04:19:39 +02:00
Reinier Zwitserloot fd8e08cb78 typofixed the link to issue 133 in the changelog. 2010-07-30 08:36:12 +02:00
Reinier Zwitserloot 735b2cf102 trivial: minor stylistic update 2010-07-28 22:26:03 +02:00
Reinier Zwitserloot 7c7c1b2f68 Updated changelog to note issue 136 has been fixed. 2010-07-28 19:11:17 +02:00
Reinier Zwitserloot 357fd954e5 Fix for issue #136: @Getter and @Setter now work on static fields again. 2010-07-28 19:06:46 +02:00
Reinier Zwitserloot 83b4dd8613 Added test case for issue #136: @Getter or @Setter on a static field fails to compile. 2010-07-28 18:48:52 +02:00
Reinier Zwitserloot ec24fe37dd post release version increase. 2010-07-25 03:21:01 +02:00
Reinier Zwitserloot 27a6e0432d bugfix in the maven target, which still listed the old test/delombok/src dir instead of the new name for that, test/transform/src. Also, <scp> and <sshexec> werent loaded. Also fixed a bug in the buildscript for the publish target (regarding googlecode uploads). 2010-07-25 03:20:11 +02:00
Reinier Zwitserloot dcc18f6d6d 0.9.3 release prep 2010-07-25 03:08:41 +02:00
Reinier Zwitserloot 9f14840247 Updated credits page with RJ, ivy, and split up people we'd like to thank and software we use. 2010-07-25 03:02:35 +02:00
Reinier Zwitserloot 90a39ae3c6 Updated README. Fixes issue #135 2010-07-25 02:28:55 +02:00
Reinier Zwitserloot 4d6fa80c9e Added changelog entry for #133: Outer.Inner instead of just Inner in toString(). 2010-07-25 02:27:35 +02:00
Roel Spilker 42107d6a8e Issue 133: @ToString on an inner class should print Outer.Inner instead of Inner 2010-07-25 02:17:54 +02:00
Roel Spilker acb0e52bc0 Do not generate @ConstructorProperties for method-local classes 2010-07-25 01:49:58 +02:00
Roel Spilker 9bc4632315 Bugfix: in JavacNode intintializers were not structurally significant 2010-07-25 01:49:29 +02:00
Reinier Zwitserloot 304f57bd05 Fixed a bug in the mac os X installer's "Choose Location..." dialog which _only_ let you choose directories, which is problematic for e.g. netbeans. Now you can pick any app, which isn't right either, but the mac's deplorable java filechoosers are to blame for this. I can't fix it, tried everything. This will have to do. 2010-07-25 01:29:19 +02:00
Reinier Zwitserloot dec77abcca Added version detection for netbeans. Installing into netbeans now does:
pre 6.8: Error explaining lombok isn't supported pre 6.8.
6.8: Install.
post 6.8: Explain its no longer needed + how to make lombok.jar work in 6.9.
2010-07-25 00:56:18 +02:00
Reinier Zwitserloot f89dbe5d0e Uninstalling lombok from netbeans was broken in the previous installer update. 2010-07-24 23:12:55 +02:00
Reinier Zwitserloot f9d82911dc When the installer errors, for example because it's trying to remove itself, which is not possible in windows, the GUI would hang after telling you about the problem. It no longer does this. It will also remove itself from the INI file BEFORE removing itself, because then the uninstall process is more likely to do what you want, and it'll detect the situation of either trying to install itself (which it skips, no point), or uninstalling itself (which, if it leads to a problem in windows, now leads to a customized error message explaining what the user is to do next).
Fixes issue #57.
2010-07-24 00:32:37 +02:00
Reinier Zwitserloot 8c15e904eb [TRIVIAL] Typofix in changelog. 2010-07-22 14:56:15 +02:00
Reinier Zwitserloot ceda2e5efe toString(), equals(), and hashCode() now use getX() instead of x if either it exists OR it will be generated by some other lombok annotation, addressing issue #110.
code deduplication by removing HandleData's scanning for fields, which is now no longer done; the sub-parts of Data (Getter, Setter, RequiredArgsConstructor, etc) take care of it now.

fix for class-level @Getter/@Setter, which used to go for every field. Now they skip the usual fields (static, for setters final, and $ prefixed fields).

Bugfix for @Data not recognizing that it should let field-level @Getter/@Setter take care of generating the getter/setter for multi field declarations (@Getter int x, y);
2010-07-22 14:19:23 +02:00
Reinier Zwitserloot 868d8b0f93 Updated copyright statements and version release name. 2010-07-22 14:16:18 +02:00
Reinier Zwitserloot 0a9d754fa5 eclipse toString() now uses .getX() instead of .x. 2010-07-22 01:59:58 +02:00
Reinier Zwitserloot 3e2392fb30 Compatibility update for PrettyCommentsPrinter, which should now work better in javac 7. 2010-07-22 01:59:43 +02:00
Reinier Zwitserloot 7c47aa1125 Added more tests, one of which tests usage of .getX() in toString, equals, and hashCode, which isn't fully working yet, so this test still fails. 2010-07-22 01:59:30 +02:00
Reinier Zwitserloot 483e23d385 Added tests for ecj, fixed a few minor bugs that came out of that. 2010-07-22 01:33:24 +02:00
Reinier Zwitserloot 59e585a0c6 refactored the tests to prepare running ecj as well as delombok. 2010-07-21 23:52:28 +02:00
Reinier Zwitserloot 1a9f8f168a delombok on most javacs would quit with a NoSuchFieldError if it contains <?> style wildcards anywhere in the source. No longer.
Fixes issue #134.
2010-07-21 23:05:28 +02:00
Reinier Zwitserloot 91bb3455da Added using .getX() instead of using .x in equals, hashCode, and toString. Also updated changelog as well as the docs.
Also updated usage examples for @EqualsAndHashCode, @ToString, and @Data, which also contained some other minor issues (such as missing this. qualifiers).

Still to do is to detect that getters don't exist _yet_ but will later due to @Getter or @Data.
2010-07-21 10:51:09 +02:00
Reinier Zwitserloot c06660bd18 Refactor: for using this.getX() instead of this.x in generated toString(), equals(), and hashCode() methods. Field accessors are now always generated by a utility method. The one thing that remains is adding a getter searcher to this utility method. 2010-07-21 10:19:13 +02:00
Reinier Zwitserloot 33b3e798fd Added some 'live debugging' - patches to improve error reporting for bugs that are very hard to reproduce. 2010-07-21 10:16:46 +02:00
Roel Spilker 8e1cbe1b10 Added checks for warnings in test cases 2010-07-20 23:52:13 +02:00
Roel Spilker ced6843970 Added support for checking compiler messages (errors & warnings) 2010-07-20 23:51:47 +02:00
Roel Spilker 58f5f68f05 Added support for setting up an alternative diagnostics listener 2010-07-20 23:50:55 +02:00
Roel Spilker b6d468144d Added tests for @Getter and @Setter on a class[B 2010-07-20 22:22:12 +02:00
Reinier Zwitserloot b494720949 Small updates to website docs after feedback from RJ and Roel. 2010-07-20 12:32:19 +02:00
Reinier Zwitserloot 0892b61180 Updated credits to list Petr Jiricka and Cobertura, also updated copyright year for the index page. 2010-07-20 12:27:24 +02:00
Reinier Zwitserloot a9ed18ac85 bugfix: The previous fix to stop removal of lombok annotations unless delombok is running actually only worked for the import, and still deleted the annotation. No longer. 2010-07-20 12:06:20 +02:00
Reinier Zwitserloot db6a456557 Merge branch 'master' of github.com:rzwitserloot/lombok 2010-07-20 12:00:10 +02:00
Reinier Zwitserloot d7ee0bc8a5 @Getter int x, y; used to only apply to 'x', now it applies to both x and y.
Fixes issue #54
2010-07-20 11:58:56 +02:00
Roel Spilker 6daa9cdbe3 Added references to other constructor annotations in the javadoc 2010-07-20 11:54:21 +02:00
Reinier Zwitserloot ba7406f05a Moved DeleteLombokAnnotations to the proper package and source dir. 2010-07-20 11:00:38 +02:00
Reinier Zwitserloot 178f628565 import lombok.*; wasn't working in eclipse. It is now.
Fixes issue #102.
2010-07-20 10:39:19 +02:00
Reinier Zwitserloot aaf8547d91 Added documentation for @RequiredArgsConstructor, @NoArgsConstructor, @AllArgsConstructor, and also how these generate @ConstructorProperties annotations.
Also updated @Getter and @Setter's documentation to explain their new class-level feature, and updated @Data's description to highlight how @Data is now truly nothing more than the combination of @RequiredArgsConstructor, @EqualsAndHashCode, @ToString, @Getter, and @Setter.
2010-07-20 07:43:02 +02:00
Reinier Zwitserloot f17ba28daa Added copyright header to DelombokApp.java 2010-07-20 07:03:20 +02:00
Reinier Zwitserloot 77ff3ca2c3 import lombok.AccessLevel is now also removed during delomboking.
Also, when NOT running delombok, the javac processors no longer delete the lombok annotations as they process. This is particularly relevant for netbeans.

This fixes issue #100 and #103.
2010-07-20 07:03:07 +02:00
Reinier Zwitserloot 4e40de2f88 Whoops, the junit dependency descriptor was misnamed. 2010-07-20 06:28:40 +02:00
Roel Spilker c5a31a3768 Made more consistent 2010-07-20 02:06:06 +02:00