Commit Graph
1435 Commits
Author SHA1 Message Date
Roel Spilker d5c366e93e Issue 630: Several small documentation fixed for Log 2014-01-21 23:00:09 +01:00
Roel Spilker cdb4920d52 Typo in changelog 2014-01-19 23:03:54 +01:00
Roel Spilker 14cc545276 Issue 625: use (even) better primes for hashcodes 2014-01-19 21:49:35 +01:00
Roel Spilker 2ab6cc809d Issue 629: have delombok respect the emptyLines derecotry inside enum bodies as well 2014-01-19 21:15:16 +01:00
Reinier Zwitserloot 560552ddb3 post-release version bump 2014-01-15 22:31:59 +01:00
Reinier Zwitserloot 6363cac07d pre-release version bump 2014-01-15 22:11:13 +01:00
Reinier Zwitserloot 68e7a11f50 [website] If video playback is not working, the site offers a direct download of the video, but that link was broken (pointed to .mov instead of the actual .mp4). 2014-01-15 22:06:03 +01:00
Reinier Zwitserloot 09ea02e4f5 added package-infos to lots of packages, updated the javadoc in these, and made lots of private/package private methods 'public' in packages that aren't actually public API. Tumi asked for this, and I can imagine this is useful for others who are hacking add-ons to lombok. The package-info files clarify that we aren't committing to long-term stability of anything except the stuff directly in the lombok package, lombok.experimental, and lombok.extern. 2014-01-15 21:43:54 +01:00
Reinier Zwitserloot 69d82faa74 Merge pull request #41 from serverperformance/master
#591, #627: Fix for refactoring when @Getter(lazy=true)
2014-01-14 19:24:59 -08:00
Tumi 71a22340ae #627: Fix for refactoring when @Getter(lazy=true)
When if in NB Editor, just make the getter available (lazy stuff will be created when compiling).

The inNetbeansEditor test is made after all the validations are made to the annotated field, and generates a regular getter for validations, Naviagator and autocompletion.
2014-01-15 00:12:35 +01:00
Reinier Zwitserloot ed82259e52 [trivial] fixed typos in test files. 2014-01-14 22:52:44 +01:00
Reinier Zwitserloot ae4864ebc3 [#626] introduction of formatting options triggered a longer standing bug about wonky timing on replacing Options with LombokOptions, causing javac to complain about not recognizing i.e. a Getter annotation when using it more than once in a file. 2014-01-14 22:52:29 +01:00
Reinier Zwitserloot 20ac40f201 [#625] Changelog entry for this issue 2014-01-09 21:26:48 +01:00
Reinier Zwitserloot a40a86ad53 [#625] Instead of '31' as a prime number for hashCode(), use something else. 31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609. 2014-01-09 21:24:04 +01:00
Reinier Zwitserloot 685ddfd52e Added code to NOT add @SuppressWarnings to things if a @SuppressWarnings is already there. Lombok itself can't ever do that anyway (we don't add @SW except to things we just generated fresh), but some lombok extension builders do, and this helps them. 2014-01-09 04:46:59 +01:00
Reinier Zwitserloot 7bbe19f1b8 Merge pull request #40 from jlahoda/591
Lombok issue 591: Lombok 1.12.2 has some regressions with NetBeans
2014-01-08 14:43:28 -08:00
Jan Lahoda 9760b35197 591: setting positions for parameters even when running in NB editor, to avoid problems in javac's Flow. 2014-01-02 23:43:52 +01:00
Roel Spilker fa1d765445 Added flag PARAMETER to the generated parameters. 2013-12-19 23:21:48 +01:00
Reinier Zwitserloot 7d51842ca3 semi-fix for issue 602, but not complete as adding annotations to generated fields leads to crazy issues (see issue 217): generated LOG field now has @SuppressWarnings on it. 2013-12-11 22:40:49 +01:00
Reinier Zwitserloot 5f92913a52 Updated web docs and added format options support to delombok ant task. 2013-12-11 22:40:48 +01:00
Reinier Zwitserloot a19b99cba2 Added complete support for delombok's 'pretty' format options; covering all of the issue #608. 2013-12-11 22:40:48 +01:00
Reinier Zwitserloot 9ac86c8a23 fixed a bug where called LombokOptionsFactory.getLombokOptions() would 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-11 22:40:48 +01:00
Reinier Zwitserloot 7e21683515 Added format preferences: Suppress @SuppressWarnings, suppress needless application of 'final'. 2013-12-11 22:40:48 +01:00
Roel Spilker 9639bc2ff4 [pretty] Make the tests work with the new delombok formatting options. 2013-12-11 22:40:48 +01:00
Roel Spilker 54c30d98c0 [Pretty] Delombok prettyprinter now adheres to whitspace formatting rules 2013-12-11 22:40:48 +01:00
Roel Spilker 749baeaaed [Pretty] Suppress final en last semicolon in try-with-resources. Do not indent empty lines. 2013-12-11 22:40:48 +01:00
Reinier Zwitserloot f865fe5fa2 added contingency case in format pref scanning if there is no input 2013-12-11 22:40:48 +01:00
Reinier Zwitserloot 21415af7b1 added support for CharSequences 2013-12-11 22:40:48 +01:00
Reinier Zwitserloot 91c84ed67b finished API for setting format prefs via command line. 2013-12-11 22:40:47 +01:00
Reinier Zwitserloot 1723e21b5e formatpreferences system v1 2013-12-11 22:40:47 +01:00
Roel Spilker 1025ffb8ba [Pretty] Fix labeled statements and try-with-resources 2013-12-11 22:40:47 +01:00
Roel Spilker 0838177322 Fix for Issue #591: v1.12.2 doesn't well with netbeans. 2013-12-03 21:27:04 +01:00
Roel Spilker 78b2d6919e Merge branch 'master' of github.com:rzwitserloot/lombok
Conflicts:
	src/delombok/lombok/delombok/DelombokApp.java
2013-11-19 21:02:59 +01:00
Reinier Zwitserloot 83b7e77b0c changelog for bugfix for 598 from previous commit 2013-10-27 22:34:49 +01:00
Reinier Zwitserloot 5cdb0757d3 [issue 598] JDK8 update broke assignment-with-operator in delombok. 2013-10-27 22:32:44 +01:00
Reinier Zwitserloot 601cd66bab Post release version bump 2013-10-10 23:53:56 +02:00
Reinier Zwitserloot e68c8d4fd4 pre-release version bump 2013-10-10 23:25:52 +02:00
Reinier Zwitserloot ab3ee68c38 No functional change, but runPostCompiler in eclipse patching is no longer transplanted. It shouldn't matter (runPostCompiler will call lombok.jar code, so if there is a classloader issue, transplanting won't help), and roel thinks it might help debug an issue with Springsource gradle plugin for eclipse. 2013-10-10 23:25:15 +02:00
Reinier Zwitserloot a9b4fb0c68 Fix for issues when mixing @NonNull on params with @SneakyThrows or @Synchronized [Issue #588] 2013-10-10 23:25:09 +02:00
Reinier Zwitserloot 08961edcfe Whoops, Classload errors running lombok on javac with backing JVM 7 or below; fixed. 2013-10-10 23:24:04 +02:00
Roel Spilker 728dddbc81 [jdk8support] ... and javadoc copying support is back for javac8. Also fixed some copyright headers. 2013-09-25 23:04:04 +02:00
Roel Spilker 00a8b08226 [jdk8support] there was a bunch of duplicate code in both JavacAST and JavacResolution. We've unified this (and fixed the fact that the JavacAST variant didn't work with javac8). 2013-09-25 22:12:05 +02:00
Roel Spilker 7fc6e70b36 Pre-emptive fix for the anticipated removal of ListBuffer.lb() in javac8 2013-09-25 21:38:37 +02:00
Reinier Zwitserloot f0cdc27a3f tiny tiny fix for some incredibly unlikely mix of intellij, ibm stuff, and who knows what. At any rate, Roel is absolutely sure this will fix it, so, hey, who am I to argue? NB: Unicum 2013-09-24 01:55:31 +02:00
Reinier Zwitserloot 7b8a85e1f9 Fixed slight typo issues with the tests due to merging and icelandic on the fly bug fixing. 2013-09-24 01:33:22 +02:00
Reinier Zwitserloot 86a635876d Merge branch 'master' into jdk8check
Conflicts:
	src/core/lombok/core/Version.java
	src/core/lombok/javac/handlers/HandleConstructor.java
	test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages
	test/transform/resource/messages-ecj/EqualsAndHashCodeWithSomeExistingMethods.java.messages
2013-09-24 01:18:32 +02:00
Reinier Zwitserloot 7ee868659f Fixed netbeans 7.4RC1 issue (JavaCompiler.version() was returning bogus values, so we now work around that javac bug). 2013-09-24 01:11:13 +02:00
Sander Koning 72b55dccb1 Issue 559: NullPointerException when @NonNull is used in abstract method
- Prevent NPE in javac and give a proper warning in both eclipse and javac
- Add test cases
2013-09-20 17:13:39 +02:00
Reinier Zwitserloot b81d5ef65c updated SPI, it did not work in JDK8 properly 2013-09-10 14:01:10 +02:00
Reinier Zwitserloot 0ac3aedbca version naming and changelog update for edge release 2013-09-10 00:09:55 +02:00