Commit Graph

  • 956165cc8a reverted the deletion of SneakyThrowsDependencyInfo. It's still a runtime dependency for delombok users. Reinier Zwitserloot 2010-11-08 23:36:43 +01:00
  • 844414768c Ran into a one-off, non-repeatable problem involving arguments not binding correctly. Just in case its our fault, added some extra code to not even attempt any 'val' shenanigans in method arguments (which are LocalDeclaration subclasses). Reinier Zwitserloot 2010-11-08 23:27:31 +01:00
  • 93e38f9024 Updated to lombok.patcher, which basically only means that the "PATCHING: ..." prints to system.out are gone. Reinier Zwitserloot 2010-11-08 23:26:52 +01:00
  • cc60afa1eb 'val' now also works in foreach loops, on both javac and ecj / eclipse. Reinier Zwitserloot 2010-11-08 22:32:22 +01:00
  • dee834a397 Added support for canEqual in ecj Roel Spilker 2010-11-08 22:00:06 +01:00
  • 616ef8581f Add diverse logging frameworks for the tests. Roel Spilker 2010-11-08 20:10:43 +01:00
  • c318bb7a0a Merge branch 'master' of github.com:rzwitserloot/lombok Reinier Zwitserloot 2010-11-08 18:02:01 +01:00
  • 46feeaab85 'val' with an array on the initializer didn't work in eclipse. Reinier Zwitserloot 2010-11-08 16:39:25 +01:00
  • 3855a2171b Delombok on files with only 'val' in them, without --force, didn't do anything. Fixed. Reinier Zwitserloot 2010-11-08 16:01:19 +01:00
  • 09cebbdc59 'val' in javac now errors out with an appropriate message on val x = { .. }, and arrays no longer cause "Symbol not found: Array" errors. Reinier Zwitserloot 2010-11-08 15:30:51 +01:00
  • 6e5acaca49 Added support for canEquals in javac Roel Spilker 2010-11-08 02:57:01 +01:00
  • d4ae32fd79 Little cleanup Roel Spilker 2010-11-08 02:56:34 +01:00
  • 2f202525af Merge branch 'eclipseReso' Reinier Zwitserloot 2010-11-07 23:24:08 +01:00
  • 3b58e1a115 'val' support for eclipse. Reinier Zwitserloot 2010-11-07 23:23:48 +01:00
  • 75e8c4f6a0 Updated changelog Roel Spilker 2010-11-07 15:26:07 +01:00
  • 2097dd8731 Solved issue 155: "Eclipse constructor generation not in class body" http://code.google.com/p/projectlombok/issues/detail?id=155 Now all lombok generated methods are located before any other method. Roel Spilker 2010-11-07 15:16:48 +01:00
  • 378b939108 Now generated nodes can also be detected in ecj Roel Spilker 2010-11-07 15:13:47 +01:00
  • 1f0db1191a Use the actual annotation value to process the @Log annotations instead of their String representations. Roel Spilker 2010-11-07 02:49:01 +01:00
  • 50524f338e Provide access to the actual annotation values Roel Spilker 2010-11-07 02:48:13 +01:00
  • 2e88614a84 Updated changelog Roel Spilker 2010-11-06 23:50:58 +01:00
  • 8e7334a505 Updated documentation on @Log and moved them all to lombok.extern.* Roel Spilker 2010-11-06 23:29:43 +01:00
  • d1addc14d5 Updated website documentation to include @Log Roel Spilker 2010-11-06 22:01:18 +01:00
  • 3cbd92e1b2 Merge branch 'master' of github.com:rzwitserloot/lombok Reinier Zwitserloot 2010-11-06 21:17:48 +01:00
  • 384bff18c9 implicit flags in interfaces (all methods become public abstract, etc) are now no longer printed in delombok Reinier Zwitserloot 2010-11-06 21:17:44 +01:00
  • 5915032899 Have j.u.l. be invoked with TargetType.class.getName() instead of "TargetType" Roel Spilker 2010-11-06 20:41:36 +01:00
  • 529a480ca9 Use a ClassLiteralAccess instead of a NameReference Roel Spilker 2010-11-06 17:39:04 +01:00
  • 0c7b29f8e7 Create Clinit if you create a static field and it doesn't yet exist Roel Spilker 2010-11-06 16:41:17 +01:00
  • a48c335c7d Code cleanup Roel Spilker 2010-11-06 16:05:06 +01:00
  • 8a3a656213 Add support for multiple logging frameworks in Eclipse Roel Spilker 2010-11-06 15:37:20 +01:00
  • 66661b63c8 Reorder parameters Roel Spilker 2010-11-06 15:36:45 +01:00
  • f6bbebfbd2 Use an annotation instead of implementations of interfaces Roel Spilker 2010-11-06 14:17:22 +01:00
  • 1346a830c1 Fixed typo Roel Spilker 2010-11-06 14:16:57 +01:00
  • c3eddf66cf Added support for Log4J, Commons and JUL in the javac handler Roel Spilker 2010-11-06 13:30:22 +01:00
  • 7219b78b4d Fixed typo in unit test Roel Spilker 2010-11-06 13:29:00 +01:00
  • f6b60b0cae Intial support for @Log, for now only slf4j Roel Spilker 2010-11-03 02:13:28 +01:00
  • fcf39d88b4 Merge branch 'master' of github.com:rzwitserloot/lombok Reinier Zwitserloot 2010-11-03 00:43:05 +01:00
  • f1cf083890 val in java, including tests and javac resolution utilities. Reinier Zwitserloot 2010-11-03 00:42:58 +01:00
  • d9ba2a191a big changes to delombok to prep for resolution, when sourcepath and classpath are relevant, and the flow needs to be parse all, then enter all, then transform all, instead of parse->enter->transform sequentially for each file in isolation. Reinier Zwitserloot 2010-11-03 00:42:32 +01:00
  • 6e2924bcf2 Some small framework updates to accomodate resolution. Reinier Zwitserloot 2010-11-03 00:40:14 +01:00
  • 17bcfda43b Issue 154: Add null-check to @Cleanup Roel Spilker 2010-11-02 20:39:58 +01:00
  • 5897d9685e Removed trailing tab Roel Spilker 2010-11-02 20:36:51 +01:00
  • 29e07a4875 Added after-delombok test files for Logger grootjans 2010-10-31 23:56:49 +01:00
  • fc6670e1c4 The previous commit (fix for ZIP closed errors) actually breaks lombok on systems with a javac that _does not_ close the annotation processor's jar. Fixed that, too. Reinier Zwitserloot 2010-10-04 20:20:39 +02:00
  • 92b7efac48 Setter now supports 'onMethod=@Annotations' and 'onParam=@Annotations' for javac, though for javac v1.6 you get false errors during compilation printed to stderr :( Reinier Zwitserloot 2010-10-01 03:21:13 +02:00
  • 5a24e6f9f2 Fix for "ZIP file closed" errors caused by the postprocessor trying to load more lombok classes to do its job, after javac has already closed the classloader via a hack. We hack the hack to stop javac from closing only _our_ (that is, lombok.jar's) classloader. Reinier Zwitserloot 2010-10-01 03:19:48 +02:00
  • 05c97e8bfa bugfix for the sneakyThrows remover: In rare cases would erroneously delete an ATHROW opcode. Reinier Zwitserloot 2010-09-30 21:43:03 +02:00
  • c10b91309e trivial: javadoc fixes, renamed 'className' to 'fileName'for postprocessor Reinier Zwitserloot 2010-09-30 21:42:41 +02:00
  • bcdd5226ce Documented the addition of the post-process stuff, which fixes issue 144. Reinier Zwitserloot 2010-08-15 23:57:00 +02:00
  • 431543afcd Documented the ClassFileMetaData utility. Reinier Zwitserloot 2010-08-15 23:19:15 +02:00
  • 240473a6c2 Merge branch 'postProcess' Reinier Zwitserloot 2010-08-15 22:59:49 +02:00
  • 4c23804837 Update to force reading of test sources as UTF-8, which they are. Reinier Zwitserloot 2010-08-15 22:59:10 +02:00
  • 1f1fd17350 Added name of compilation unit to error/warnings generated by postProcess. Roel Spilker 2010-08-15 22:38:32 +02:00
  • e4845802a7 Updated buildscript to include tests and eclipse .project generation for the new bytecode tests in test/bytecode/src Roel Spilker 2010-08-15 22:35:29 +02:00
  • b0ec7d5389 Added error/warning to the printed messages. Roel Spilker 2010-08-15 22:27:56 +02:00
  • 81cfc844b9 Changelog for fix to issue 140 Reinier Zwitserloot 2010-08-14 04:06:43 +02:00
  • 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. Reinier Zwitserloot 2010-08-14 04:05:27 +02:00
  • 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. Reinier Zwitserloot 2010-08-13 04:19:39 +02:00
  • d4247f2e8b Post-compilation works in both Eclipse and ecj Roel Spilker 2010-08-08 22:27:22 +02:00
  • 2683c24ee9 Fixed some bugs in reading the constant pool and added tests Roel Spilker 2010-08-07 22:27:32 +02:00
  • b14eef7eed Created utility class to casually inspect class files on the usage of classes, fields and methods Roel Spilker 2010-08-05 23:46:34 +02:00
  • d41a282e50 Moved wrapOutputStream to PostCompiler Roel Spilker 2010-08-05 23:44:48 +02:00
  • 53650295f0 Remove the double-athrow Roel Spilker 2010-08-05 00:29:38 +02:00
  • 57bb88a769 Post Compiler now works, including the sneaky throws remover. Also added a lombok app for it. Not yet in eclipse, though Roel Spilker 2010-08-03 03:41:07 +02:00
  • 40466c3e2d Hey, the sneaky throws remover works, at least when run separately. Roel Spilker 2010-08-03 02:54:03 +02:00
  • 11fcdbee72 Added initial support for post-compilation byte code transformations Roel Spilker 2010-08-03 01:04:01 +02:00
  • fd8e08cb78 typofixed the link to issue 133 in the changelog. Reinier Zwitserloot 2010-07-30 08:36:12 +02:00
  • 735b2cf102 trivial: minor stylistic update Reinier Zwitserloot 2010-07-28 22:26:03 +02:00
  • 7c7c1b2f68 Updated changelog to note issue 136 has been fixed. Reinier Zwitserloot 2010-07-28 19:11:17 +02:00
  • 357fd954e5 Fix for issue #136: @Getter and @Setter now work on static fields again. Reinier Zwitserloot 2010-07-28 19:06:46 +02:00
  • 83b4dd8613 Added test case for issue #136: @Getter or @Setter on a static field fails to compile. Reinier Zwitserloot 2010-07-28 18:37:44 +02:00
  • ec24fe37dd post release version increase. Reinier Zwitserloot 2010-07-25 03:21:01 +02:00
  • 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). Reinier Zwitserloot 2010-07-25 03:11:50 +02:00
  • dcc18f6d6d 0.9.3 release prep Reinier Zwitserloot 2010-07-25 03:08:41 +02:00
  • 9f14840247 Updated credits page with RJ, ivy, and split up people we'd like to thank and software we use. Reinier Zwitserloot 2010-07-25 03:02:35 +02:00
  • 90a39ae3c6 Updated README. Fixes issue #135 Reinier Zwitserloot 2010-07-25 02:28:55 +02:00
  • 4d6fa80c9e Added changelog entry for #133: Outer.Inner instead of just Inner in toString(). Reinier Zwitserloot 2010-07-25 02:22:04 +02:00
  • 42107d6a8e Issue 133: @ToString on an inner class should print Outer.Inner instead of Inner Roel Spilker 2010-07-25 02:17:54 +02:00
  • acb0e52bc0 Do not generate @ConstructorProperties for method-local classes Roel Spilker 2010-07-25 01:49:58 +02:00
  • 9bc4632315 Bugfix: in JavacNode intintializers were not structurally significant Roel Spilker 2010-07-25 01:49:29 +02:00
  • 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. Reinier Zwitserloot 2010-07-25 01:29:19 +02:00
  • 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. Reinier Zwitserloot 2010-07-25 00:56:18 +02:00
  • f89dbe5d0e Uninstalling lombok from netbeans was broken in the previous installer update. Reinier Zwitserloot 2010-07-24 23:12:55 +02:00
  • 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). Reinier Zwitserloot 2010-07-24 00:32:37 +02:00
  • 8c15e904eb [TRIVIAL] Typofix in changelog. Reinier Zwitserloot 2010-07-22 14:56:15 +02:00
  • 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. Reinier Zwitserloot 2010-07-22 14:19:23 +02:00
  • 868d8b0f93 Updated copyright statements and version release name. Reinier Zwitserloot 2010-07-22 14:16:18 +02:00
  • 0a9d754fa5 eclipse toString() now uses .getX() instead of .x. Reinier Zwitserloot 2010-07-22 01:59:58 +02:00
  • 3e2392fb30 Compatibility update for PrettyCommentsPrinter, which should now work better in javac 7. Reinier Zwitserloot 2010-07-22 01:59:43 +02:00
  • 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. Reinier Zwitserloot 2010-07-22 01:59:30 +02:00
  • 483e23d385 Added tests for ecj, fixed a few minor bugs that came out of that. Reinier Zwitserloot 2010-07-22 01:33:24 +02:00
  • 59e585a0c6 refactored the tests to prepare running ecj as well as delombok. Reinier Zwitserloot 2010-07-21 23:52:28 +02:00
  • 1a9f8f168a delombok on most javacs would quit with a NoSuchFieldError if it contains <?> style wildcards anywhere in the source. No longer. Reinier Zwitserloot 2010-07-21 23:05:28 +02:00
  • 91bb3455da Added using .getX() instead of using .x in equals, hashCode, and toString. Also updated changelog as well as the docs. Reinier Zwitserloot 2010-07-21 10:51:09 +02:00
  • 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. Reinier Zwitserloot 2010-07-21 10:19:13 +02:00
  • 33b3e798fd Added some 'live debugging' - patches to improve error reporting for bugs that are very hard to reproduce. Reinier Zwitserloot 2010-07-21 10:16:46 +02:00
  • 8e1cbe1b10 Added checks for warnings in test cases Roel Spilker 2010-07-20 23:52:13 +02:00
  • ced6843970 Added support for checking compiler messages (errors & warnings) Roel Spilker 2010-07-20 23:51:47 +02:00
  • 58f5f68f05 Added support for setting up an alternative diagnostics listener Roel Spilker 2010-07-20 23:50:55 +02:00
  • b6d468144d Added tests for @Getter and @Setter on a class[B Roel Spilker 2010-07-20 22:22:12 +02:00
  • b494720949 Small updates to website docs after feedback from RJ and Roel. Reinier Zwitserloot 2010-07-20 12:32:19 +02:00