aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-08-13Getting the java8 compiler remember the commentsRoel Spilker
2013-08-13Merge branch 'jdk8support' of github.com:rzwitserloot/lombok into jdk8supportRoel Spilker
2013-08-12replaced double underscore as new standard way of writing the dummy ↵Reinier Zwitserloot
annotation for onX instead of single underscore, which emits warnings on javac8+. Also made dollars and Xes legal in addition to underscores, in case double underscore disappears later too.
2013-08-11Oops: didn't realise the text appeared in multiple places.Jan Ouwens
2013-08-11Fixed two typosJan Ouwens
2013-08-06Merge branch 'jdk8support' of github.com:rzwitserloot/lombok into jdk8supportRoel Spilker
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-06added Flags.PARAMETER to all the parameters we generate in javac.Reinier Zwitserloot
2013-08-05Suppressed warning about not closing the jar file since we use it for ↵Roel Spilker
loading classes.
2013-08-05To quote Reinier paraphrasing the compiler: "If the loading doesn't work, I ↵Roel Spilker
don't want it!"
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-26experiment: Can we wrap TreeMaker and remove a heck of a lot of opportunity ↵Reinier Zwitserloot
to program handlers that are not cross javac6-8 compatible?
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-16post-release version bump to 0.12.1Reinier Zwitserloot
2013-07-16bumped versionReinier Zwitserloot
2013-07-16* Fixed issues with @FieldDefaults and @Value (you can NOT overrideReinier Zwitserloot
@Value's final-by-default and private-by-default with it; now appropriate warnings are emitted) * Builder now errors out on presence of most lombok annotations on an explicit builder class. * Builder now takes @FieldDefaults/@Value into account. * Builder on type now generates the constructor as package private instead of private to avoid synthetic accessor constructors. * added a bunch of test cases. * added a test case feature: If the expected file is omitted entirely but there are expected messages, the differences in the output itself are ignored. * streamlined checking for boolean-ness (removed some duplicate code) * added 'fluent' and 'chain' to @Builder.
2013-07-16Renamed ImmutableList to LombokImmutableList, to reduce our ImmutableList ↵Reinier Zwitserloot
coming up in autocomplete dialogs when guava's was intended.
2013-07-08Fixed value's snippet integration (it hadn't been updated yet now that Value ↵Reinier Zwitserloot
has moved from experimental into core).
2013-07-08gave up on adding support for moving javadoc to getter/setter in eclipse. ↵Reinier Zwitserloot
Eclipse breaks the javadoc out of the raw source and we can't modify that without breaking a billion things. To solve this issue we'd have to write some very complicated patches to intercept this process and somehow propagate the node that the javadoc is attached to AND translate from the ast model to dom or whatever is being used there. Not gonna happen for this low priority feature.
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-08Support for javadoc copying in Getter/Setter generation for javac, as well ↵Reinier Zwitserloot
as updates to all relevant documentation
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-07more work on the tricky Context hack to make 'ant compile' not emit warnings.Reinier Zwitserloot
2013-07-07eclipse support for the new @Getter(lazy=true) desugaring.Reinier Zwitserloot
2013-07-07@Getter(lazy=true) now uses a different, more efficient desugaring. ↵Reinier Zwitserloot
Implementing in javac, ecj still has to be done.
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-07-07FINALLY! Found the cause of a really weird eclipse bug,Reinier Zwitserloot
where _ANY_ mention of com.sun.tools.javac.tree.TreeMaker, anywhere in a source file, would disable pretty much every intelligent part of what makes the 'I' in IDE in eclipse: No auto-complete, no 'go to declaration', etcetera, but only since Eclipse Juno (not fixed in Kepler either). It's the presence of src/stubs/com/sun/tools/javac/util/Context.java. I've moved Context to a special stubs directory that's only used for javac (so that we still get the benefit of getting some warnings and such when making command line builds), and removed the @Override annotations for where the stubbing is relevant (for methods that exist in javac7 but not in javac6 on interfaces we create implementations of). Furthermore, I did some extremely tricky work in making our version actuall compatible with the exact class signatures of both javac6- and javac7+'s versions; generation of synthetic methods for reified type parameters was causing havoc. A big stack of 'here be voodoo' comments unfortunately added to explain it all; necessary evil.
2013-07-07Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2013-06-28allow installer to be started with lombok.installer.fullpath, that creates ↵Martin Goldhahn
proper paths on Windows
2013-06-25deprecating the old Value annotation also added deprecation warnings to ↵Reinier Zwitserloot
where we still support it as an alias. fixed.
2013-06-25and added some more javadoc to point at the new main package variantReinier Zwitserloot
2013-06-25... and now that @Value has been promoted to the main package, the old ↵Reinier Zwitserloot
experimental one is now deprecated.
2013-06-25Value has been promoted to the main package.Reinier Zwitserloot
2013-06-18javac builder implementation. Passes all tests.Reinier Zwitserloot
Added toString() impl for builders in both eclipse and javac. Added all documentation, though it'll need some reviewing.
2013-06-18Added a ClassDef wrapper, because its signature changed between javac1.6 and ↵Reinier Zwitserloot
javac1.7. (The wrapper uses reflection). Need for: javac @Builder impl. Also added some utilities to JavacHandlerUtil.
2013-06-16Most of the javac implementation for HandleBuilder, plusReinier Zwitserloot
some minor updates and refactoring in the eclipse HandleBuilder.
2013-06-16Eclipse Builder implementation finished. Tests need fleshing out though.Reinier Zwitserloot
2013-06-16First steps Builder supportReinier Zwitserloot
2013-06-16Added injectType methods to Eclipse/JavacHandlerUtil, which we'll need to ↵Reinier Zwitserloot
inject the created $Builder type. Inspired by Philipp Eichhorn's work in lombok-pg.
2013-06-16Removed a SuppressWarnings which old eclipse doesn't care about for some ↵Reinier Zwitserloot
reason... now I'm just confused. Do we need it or not?
2013-06-16issue 536: annotationprocessor now always returns false.Reinier Zwitserloot
2013-06-13Added some very limited reporting when OutOfMemorErrors occur duringReinier Zwitserloot
parse tree builder under javac. Let's hope our users reporting these issues can use this to figure out which files are triggering the issue.
2013-05-31Added @NonNull on parameters feature (issue 514),Reinier Zwitserloot
including docs and changelog.
2013-05-30Fixes for issue 470: VerifyErrors when using @SneakyThrows.Reinier Zwitserloot
2013-05-24whoops, didnt update version number to 0.11.9 yetReinier Zwitserloot
2013-05-24Fixed more issues related to java7's try-with-resources,Reinier Zwitserloot
and updated ECJ version detection.
2013-05-23Added methods to obtain JLS support-level version information from ↵Reinier Zwitserloot
AST/LombokNode. Tests updates to honour these with //version X at the top of any test file (now also in eclipse, which until now always said it was v6)
2013-05-23Added a method to obtain latest java language spec supported by hostReinier Zwitserloot
platform and implemented it for javac BUT NOT FOR ECJ!