aboutsummaryrefslogtreecommitdiff
path: root/src/delombok
AgeCommit message (Collapse)Author
2013-12-11Updated web docs and added format options support to delombok ant task.Reinier Zwitserloot
2013-12-11Added complete support for delombok's 'pretty' format options; covering all ↵Reinier Zwitserloot
of the issue #608.
2013-12-11fixed a bug where called LombokOptionsFactory.getLombokOptions() would ↵Reinier Zwitserloot
actually cause the old options to be wrapped continuously, thus wrapping LombokOptions into itself infinitely. Now it just wraps if needed, other wise returns what's already been done.
2013-12-11Added format preferences: Suppress @SuppressWarnings, suppress needless ↵Reinier Zwitserloot
application of 'final'.
2013-12-11[pretty] Make the tests work with the new delombok formatting options.Roel Spilker
2013-12-11[Pretty] Delombok prettyprinter now adheres to whitspace formatting rulesRoel Spilker
2013-12-11[Pretty] Suppress final en last semicolon in try-with-resources. Do not ↵Roel Spilker
indent empty lines.
2013-12-11added contingency case in format pref scanning if there is no inputReinier Zwitserloot
2013-12-11added support for CharSequencesReinier Zwitserloot
2013-12-11finished API for setting format prefs via command line.Reinier Zwitserloot
2013-12-11formatpreferences system v1Reinier Zwitserloot
2013-12-11[Pretty] Fix labeled statements and try-with-resourcesRoel Spilker
2013-11-19Merge branch 'master' of github.com:rzwitserloot/lombokRoel Spilker
Conflicts: src/delombok/lombok/delombok/DelombokApp.java
2013-10-27[issue 598] JDK8 update broke assignment-with-operator in delombok.Reinier Zwitserloot
2013-10-10Whoops, Classload errors running lombok on javac with backing JVM 7 or ↵Reinier Zwitserloot
below; fixed.
2013-09-25[jdk8support] ... and javadoc copying support is back for javac8. Also fixed ↵Roel Spilker
some copyright headers.
2013-09-24Fixed netbeans 7.4RC1 issue (JavaCompiler.version() was returning bogus ↵Reinier Zwitserloot
values, so we now work around that javac bug).
2013-09-09[jdk8support] We now handle doc comments internally, alleviating the need to ↵Roel Spilker
try and keep up with the complete rewrites of the doc comment parser from java6 to java7 to java8. Still doesn't actually work in jdk8, but only because of a last-mile issue. (we communicate the doc comment via compilationUnit.docComments but that changed types in jdk8, we just need to make a wrapper to make that work).
2013-09-09[jdk8support] jdk8 support branch now compiles under javac7, and produces ↵Roel Spilker
lombok.jar that works on all javas.
2013-08-06position now set for all code generated by javac handlers;Reinier Zwitserloot
this also solves the AssertionError in the Bits class on javac8-ea.
2013-08-05Suppressed warning about not closing the jar file since we use it for ↵Roel Spilker
loading classes.
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.