aboutsummaryrefslogtreecommitdiff
path: root/src/delombok
AgeCommit message (Collapse)Author
2013-07-28Some work on actually making lombok work on JDK8's javac.Reinier Zwitserloot
2013-07-28more progress. This one is less JDK8 compatible, butReinier Zwitserloot
it has major refactorings to make JDK6-8 support possibly with much prettier code.
2013-07-23A source file with just @Getter in it now compiles in javac8, but there is ↵Reinier Zwitserloot
still a looooong way to go.
2013-07-22Merge branch 'master' into jdk8. Also added some major fixes whilst merging.Reinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java src/utils/lombok/javac/CommentCatcher.java src/utils/lombok/javac/Javac.java
2013-07-08added tests for new javadoc behaviour, javac implementation of copying ↵Reinier Zwitserloot
javadoc for getters/setters, and fixed pretty printer to no longer inject an extra newline at the top of javadoc.
2013-07-08A lot of refactoring on how javadoc is handled, to prepare for copying ↵Reinier Zwitserloot
javadoc from field to setter/getter in javac.
2013-07-07lombok's compile target is 1.6, but, eclipse project was generated as 1.7. ↵Reinier Zwitserloot
This caused a bunch of weirdness because eclipse changes a bunch of warnings and quickfixes based on this (such as complaining about lack of @SafeVarargs, a 1.7-only feature).
2013-06-25Value has been promoted to the main package.Reinier Zwitserloot
2013-04-05Type fixes for JDK7Robbert Jan Grootjans
2013-04-05Some small fixes for Java 7Robbert Jan Grootjans
2013-03-22Refactored out references to TypeTags.Robbert Jan Grootjans
Instead they are retrieved dynamically, with a pinch of caching during runtime. We already had some fixes to make sure that compile time constanst were not inlined, but we need to take into account that a lot of the Integer-based enums have been replaced with actual enums. Also, certain TreeMaker methods needed to be invoked dynamically with reflection. This needs to be reviewed, and if it turns out that these changes are too dramatic, we should fork out a larger part of our code for specific JVM versions.
2013-03-18Fixed issue 459: Delombok would choke on try-with-resources.Reinier Zwitserloot
2013-03-08Compiler options can now be specified for JDK 8 or JDK 6/7 or lower.Robbert Jan Grootjans
After this was finalized I realize that we might consider moving entirely to String based options, instead of inferring the options from the provided enum. This setup does have the benefit of throwing exceptions when options are not present.
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