Reinier Zwitserloot
fcf39d88b4
Merge branch 'master' of github.com:rzwitserloot/lombok
2010-11-03 00:43:05 +01:00
Reinier Zwitserloot
f1cf083890
val in java, including tests and javac resolution utilities.
2010-11-03 00:42:58 +01:00
Reinier Zwitserloot
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.
2010-11-03 00:42:32 +01:00
Reinier Zwitserloot
6e2924bcf2
Some small framework updates to accomodate resolution.
2010-11-03 00:40:30 +01:00
Roel Spilker
17bcfda43b
Issue 154: Add null-check to @Cleanup
2010-11-02 20:39:58 +01:00
Roel Spilker
5897d9685e
Removed trailing tab
2010-11-02 20:36:51 +01:00
grootjans
29e07a4875
Added after-delombok test files for Logger
2010-10-31 23:56:49 +01:00
Reinier Zwitserloot
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.
2010-10-04 20:20:39 +02:00
Reinier Zwitserloot
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.
...
Co-Author: Roel
2010-10-01 03:19:48 +02:00
Reinier Zwitserloot
05c97e8bfa
bugfix for the sneakyThrows remover: In rare cases would erroneously delete an ATHROW opcode.
2010-09-30 21:43:03 +02:00
Reinier Zwitserloot
c10b91309e
trivial: javadoc fixes, renamed 'className' to 'fileName'for postprocessor
2010-09-30 21:42:41 +02:00
Reinier Zwitserloot
bcdd5226ce
Documented the addition of the post-process stuff, which fixes issue 144.
2010-08-15 23:57:00 +02:00
Reinier Zwitserloot
431543afcd
Documented the ClassFileMetaData utility.
2010-08-15 23:19:15 +02:00
Reinier Zwitserloot
240473a6c2
Merge branch 'postProcess'
2010-08-15 22:59:49 +02:00
Reinier Zwitserloot
4c23804837
Update to force reading of test sources as UTF-8, which they are.
2010-08-15 22:59:10 +02:00
Roel Spilker
1f1fd17350
Added name of compilation unit to error/warnings generated by postProcess.
2010-08-15 22:38:32 +02:00
Roel Spilker
e4845802a7
Updated buildscript to include tests and eclipse .project generation for the new bytecode tests in test/bytecode/src
2010-08-15 22:35:29 +02:00
Roel Spilker
b0ec7d5389
Added error/warning to the printed messages.
2010-08-15 22:27:56 +02:00
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
Roel Spilker
d4247f2e8b
Post-compilation works in both Eclipse and ecj
2010-08-08 22:27:22 +02:00
Roel Spilker
2683c24ee9
Fixed some bugs in reading the constant pool and added tests
2010-08-07 22:27:32 +02:00
Roel Spilker
b14eef7eed
Created utility class to casually inspect class files on the usage of classes, fields and methods
2010-08-05 23:46:34 +02:00
Roel Spilker
d41a282e50
Moved wrapOutputStream to PostCompiler
2010-08-05 23:44:48 +02:00
Roel Spilker
53650295f0
Remove the double-athrow
2010-08-05 00:29:38 +02:00
Roel Spilker
57bb88a769
Post Compiler now works, including the sneaky throws remover. Also added a lombok app for it. Not yet in eclipse, though
2010-08-03 03:41:07 +02:00
Roel Spilker
40466c3e2d
Hey, the sneaky throws remover works, at least when run separately.
2010-08-03 02:54:03 +02:00
Roel Spilker
11fcdbee72
Added initial support for post-compilation byte code transformations
2010-08-03 01:04:01 +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