Commit Graph
1462 Commits
Author SHA1 Message Date
Roel Spilker 4372aedbd0 Issue 641: @Delegate is incorrectly allowed on static members in javac. Also added tests, Reinier. 2014-02-20 23:08:37 +01:00
Roel Spilker bef8d3cb41 previous fix also fixes issue 438: Using the surround with try/catch quickfix in methods with SneakyThrows 2014-02-20 21:34:57 +01:00
Roel Spilker c72e2a2732 [suspect:eclipse] Fix for issue 633: refactor script 'extract local variable' did not work inside for example SneakyThrows-protected methods.
This fix is reverting the change in e835daa9.

During conversion of the internal.ast to the dom AST, a flag is introduced
named 'ORIGINAL'. Commit e835daa9 always explicitly cleared it for
all lombok-generated nodes, in an attempt to try and do the appropriate thing,
treating the ORIGINAL flag as a simile for 'generated code'.

Unfortunately, for eclipse code analysis, all our generated code should be
treated as if it's "really" there, and in general this doesn't work because
eclipse's concept of 'generated' applies to explicit super() calls and the like,
not the kind of stuff lombok introduces.
2014-02-20 21:03:13 +01:00
Roel Spilker dccbcd8f5c Use the source for the source :-) 2014-02-20 20:53:50 +01:00
Reinier Zwitserloot b53da87287 changelog updated for issue 632 (topic support for loggers) 2014-02-11 04:28:12 +01:00
Roel Spilker cb8d1d0343 fix to the new eclipseForDebugging target, which didnt work on windows due to backslashes in paths getting eliminated when using a path in a regexp replace string. 2014-02-10 22:29:04 +01:00
Roel Spilker 3355ed89f3 Improved error reporting in Eclipse 2014-02-10 22:15:02 +01:00
Reinier Zwitserloot d78135180c [deps] Updated eclipse deps to 3.9 tree. This also enables testing java7 features on ecj.
[Log] updated naming for @Log (topic= instead of mchmulder's 'value').
2014-02-10 21:56:35 +01:00
Reinier Zwitserloot db24fd42c5 Merge branch 'issue-632' of https://github.com/mthmulders/lombok into i632 2014-02-10 20:47:11 +01:00
Reinier Zwitserloot 893585f526 [i386] documentation update for Data/Value's behaviour in the face of existing constructors. 2014-02-10 20:22:33 +01:00
Maarten Mulders 52bb71582b Explained how to customise the category of the generated Log(ger) 2014-02-08 21:08:39 +01:00
Maarten Mulders c0e00edb7b Handler and testcases for @XSlf4j 2014-02-08 20:35:56 +01:00
Maarten Mulders 1045006fa9 Handler and testcases for @Log4j2 2014-02-08 20:24:23 +01:00
Maarten Mulders ebc9ee5f6d Handler and testcases for @Log4j 2014-02-08 15:38:54 +01:00
Maarten Mulders e1153c1656 Handler and testcases for @Log 2014-02-08 15:18:30 +01:00
Maarten Mulders f13191e02c Handlers and testcases for @CommonsLog 2014-02-08 15:18:30 +01:00
Maarten Mulders c38a64a556 Handlers and testcases for @Slf4j 2014-02-08 15:18:23 +01:00
Maarten Mulders d269cdcaf1 Added my name to the AUTHORS file 2014-02-08 10:55:36 +01:00
Reinier Zwitserloot 6b0acc9a19 [eclipse debugging] a new target, 'eclipseForDebugging', which imports deps from your eclipse so that line numbers etc line up with your eclipse. 2014-02-07 03:16:55 +01:00
Roel Spilker d77bd114a8 Updated changelog 2014-02-06 20:44:04 +01:00
Roel Spilker c128331d4d Merge pull request #43 from jlahoda/471
#471: @SneakyThrows should work in NetBeans
2014-02-06 20:40:19 +01:00
Roel Spilker e1344ec4c9 Updated changelog 2014-02-05 01:07:09 +01:00
Roel Spilker 83efe29466 Fix for issue 631. Martin, thanks for the contribution. 2014-02-05 00:50:32 +01:00
Jan Lahoda d1182bbf45 #471: @SneakyThrows should work in NetBeans 2014-02-04 21:25:29 +01:00
Reinier Zwitserloot 5782b909c5 [#585] Copying of javadoc to getters / setters / withers woudl copy non-relevant sections too. 2014-01-23 22:02:09 +01:00
Reinier Zwitserloot 644e528564 [trivial] [copyright] updating LICENSE to 2014. 2014-01-23 19:35:04 +01:00
Roel Spilker ce8362fad5 Added extra example to the online documentation for @Log 2014-01-21 23:09:54 +01:00
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