aboutsummaryrefslogtreecommitdiff
path: root/src/delombok
AgeCommit message (Collapse)Author
2013-02-11Bugfix for delombok mangling x++ into ++x on java7.Reinier Zwitserloot
2012-10-25Empty statements no longer being printed to be consistent with Javac7 which ↵Reinier Zwitserloot
seems to just remove these from the AST entirely.
2012-10-22Fixes issue 422: VerifyError when running delombok in a javac7 environment.Reinier Zwitserloot
2012-10-22Ever since we do a lot more than just calling 'parse' when running delombok ↵Reinier Zwitserloot
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. I fixed it by still compiling against a given javac (we can only ship one lombok.jar after all), but having the test task run with a given bootclasspath and a given javac.jar. There are 2 tasks that download both rt.jar and javac.jar for either OpenJDK6 or OpenJDK7, and it writes a properties file with those locations. The test task will use this property file, and explain what you need to do if it is not there. Incidentally, this brought to light issue 422: Delombok in java7 produces VerifyErrors.
2012-07-16Updated tests to reflect changes to delombok (delombok now kills super(), ↵Reinier Zwitserloot
because attrib adds them even in places where that's wrong). Also split up the SynchronizedName test into separate cases for each expected failure mode.
2012-07-16Delombok now also runs attrib on more files; this will reveal more errors ↵Philipp Eichhorn
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.
2012-03-26delombok now prints a space in between method type args and return type.Reinier Zwitserloot
2012-03-05PrettyCommentsPrinter now prints default clause of annotation methods. Fixes ↵Robbert Jan Grootjans
Issue #350
2012-01-30Made LombokApp an abstract class and added isDebugTool.Roel Spilker
2011-12-12Renamed Comment to CommentInfo.Reinier Zwitserloot
2011-11-21Made an API for creating a (oracle javac) JavaCompiler which tracks comments ↵Reinier Zwitserloot
on a per Compilation Unit basis. The old way involved making reflective calls and detecting whether you need the 1.6 or the 1.7 variant to do this. These shenanigans are now hidden behind a nice API (lombok.javac.CommentCatcher).
2011-11-21--print option with multiple input files would only print one file.Reinier Zwitserloot
2011-11-07Changed copyright noticesRoel Spilker
2011-11-01Fixed issue 284 now also for java7, introduced more stubbingRoel Spilker
2011-10-31Fixed delombok making a mess of comments (issue 284) for javac 6. delombok ↵Roel Spilker
in java7 is now completely broken but we'll fix that next.
2011-10-24pretty big refactor; introduced a new source package which should be (and ↵Reinier Zwitserloot
is) separately compilable, i.e. has no deps on any of the others. This is preparation work for being able to access some of these from lombok.ast without creating a cyclic dependency nightmare.
2011-09-20Fixed issue #269: annotations on enum values weren't being printed by delombok.Reinier Zwitserloot
(Due to yet another bug in javac's pretty printer...)
2011-08-16Renamed Javac.getCTCint to getCtcIntRoel Spilker
Made delombok work with multiple JavaCompiler's on the classpath Made @Getter(lazy=true) work on javac7 (fixes issue#223)
2011-08-15The only new JCTree node in java7, JCTypeUnion, is now supported by delombok.Reinier Zwitserloot
2011-08-15Integrated Philipp's proof-of-concept delombok in javac7 fix, and used someReinier Zwitserloot
creative stubbing to ensure both the javac7 and the javac6 source file can be loaded in the same project in eclipse without dependency warnings.
2011-08-11Got delombok to work with JDK 1.7.peichhorn
For now PrettyCommentsPrinter is not able to print new features like JCTypeUnion, but first tests indicate that besides this it works just fine.
2011-08-08Delombok with -d used wrong output folder on Posix. Solves issue #249Anthony Whitford
2011-07-25Delombok with a relative path and in 'output to directory' mode would NPE. ↵Reinier Zwitserloot
Fixes issue #241.
2011-07-25The previous commit to fix Issue 233 accidentally broke delombok for emtpy ↵peichhorn
method bodies. This is now fixed.
2011-07-14fixed Issue 233:peichhorn
Javac parser handles ";" (empty statements) as empty blocks with an invalid position. Thats why delomok replaces ";" with "{}". This gets an issue when you use this in an interface, since interfaces are not allowed to have initializer blocks.
2011-05-28delombok would put copyright headers in between the 'package' keyword and ↵Philipp Eichhorn
the actual package. See discussion at https://groups.google.com/d/topic/project-lombok/64zuUlLnVMc/discussion
2011-02-15Delomboking multiple files still wasn't working right and would result in an ↵Reinier Zwitserloot
IllegalStateException. Fixed.
2011-01-31Calling setCharset with null will use the system default charset (issue 181)Roel Spilker
2011-01-08Making delombok compatible with post-resolution transformers meant delombok ↵Reinier Zwitserloot
would fail with a 'duplicate context value' error. Fixes issue #178 Thanks to Neildo for using the 0.10.0 beta and spotting the problem - the tests don't run 1 delombok with multiple files. Maybe we should change that.
2010-11-29lombok.val import now gets removed. Only adding lombok.val flags the ↵Roel Spilker
compilation unit as changed.
2010-11-18In javac, use ListBuffer to appendRoel Spilker
2010-11-10Delombok has been fixed to work more like a true javac run now. As a result, ↵Reinier Zwitserloot
its now compatible with resolution again (i.e. resolution based transformers are applied correctly when delomboking).
2010-11-10'val' now fully works on javac, even when referring to lombok-generated ↵Reinier Zwitserloot
code, by (ab)using the annotation processor's round system. This breaks delombok though. That'll have to be fixed next.
2010-11-09Experiment to try and make java 'self referential' by deleting the Enter and ↵Reinier Zwitserloot
MemberEnter state. So far it doesn't work yet.
2010-11-06Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2010-11-06implicit flags in interfaces (all methods become public abstract, etc) are ↵Reinier Zwitserloot
now no longer printed in delombok
2010-11-06Fixed typoRoel Spilker
2010-11-03big changes to delombok to prep for resolution, when sourcepath and ↵Reinier Zwitserloot
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-08-13The "// Generated by delombok at ...." line at the top of delombok-produced ↵Reinier Zwitserloot
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-07-22Updated copyright statements and version release name.Reinier Zwitserloot
2010-07-22Compatibility update for PrettyCommentsPrinter, which should now work better ↵Reinier Zwitserloot
in javac 7.
2010-07-21delombok on most javacs would quit with a NoSuchFieldError if it contains ↵Reinier Zwitserloot
<?> style wildcards anywhere in the source. No longer. Fixes issue #134.
2010-07-20Added support for setting up an alternative diagnostics listenerRoel Spilker
2010-07-20Moved DeleteLombokAnnotations to the proper package and source dir.Reinier Zwitserloot
2010-07-20Added copyright header to DelombokApp.javaReinier Zwitserloot
2010-07-20import lombok.AccessLevel is now also removed during delomboking.Reinier Zwitserloot
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-02-14Merge branch 'master' of git@github.com:rzwitserloot/lombokRoel Spilker
2010-02-14Added unicode escape writing to avoid pesky encoding issues.Roel Spilker
2010-02-10cmdreader no longer needs @ParameterizedReinier Zwitserloot
2010-01-11Made DelombokApp's error message if tools.jar is in fact missing more ↵Reinier Zwitserloot
useful; the advice it gives will now actually work.