Commit Graph

  • c72e2a2732 [suspect:eclipse] Fix for issue 633: refactor script 'extract local variable' did not work inside for example SneakyThrows-protected methods. Roel Spilker 2014-02-20 21:03:13 +01:00
  • dccbcd8f5c Use the source for the source :-) Roel Spilker 2014-02-20 20:53:50 +01:00
  • b53da87287 changelog updated for issue 632 (topic support for loggers) Reinier Zwitserloot 2014-02-11 04:28:12 +01:00
  • 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. Roel Spilker 2014-02-10 22:29:04 +01:00
  • 3355ed89f3 Improved error reporting in Eclipse Roel Spilker 2014-02-10 22:15:02 +01:00
  • 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'). Reinier Zwitserloot 2014-02-10 21:56:35 +01:00
  • db24fd42c5 Merge branch 'issue-632' of https://github.com/mthmulders/lombok into i632 Reinier Zwitserloot 2014-02-10 20:47:11 +01:00
  • 893585f526 [i386] documentation update for Data/Value's behaviour in the face of existing constructors. Reinier Zwitserloot 2014-02-10 20:22:33 +01:00
  • 52bb71582b Explained how to customise the category of the generated Log(ger) Maarten Mulders 2014-02-08 21:03:17 +01:00
  • c0e00edb7b Handler and testcases for @XSlf4j Maarten Mulders 2014-02-08 20:35:56 +01:00
  • 1045006fa9 Handler and testcases for @Log4j2 Maarten Mulders 2014-02-08 20:24:23 +01:00
  • ebc9ee5f6d Handler and testcases for @Log4j Maarten Mulders 2014-02-08 15:38:54 +01:00
  • e1153c1656 Handler and testcases for @Log Maarten Mulders 2014-02-08 15:16:39 +01:00
  • f13191e02c Handlers and testcases for @CommonsLog Maarten Mulders 2014-02-08 14:43:48 +01:00
  • c38a64a556 Handlers and testcases for @Slf4j Maarten Mulders 2014-02-07 16:14:01 +01:00
  • d269cdcaf1 Added my name to the AUTHORS file Maarten Mulders 2014-02-06 14:51:09 +01:00
  • 6b0acc9a19 [eclipse debugging] a new target, 'eclipseForDebugging', which imports deps from your eclipse so that line numbers etc line up with your eclipse. Reinier Zwitserloot 2014-02-07 03:16:55 +01:00
  • e557413336 [configuration] Added the configuration keys lombok.ToString.doNotUseGetters and lombok.ToString.includeFieldNames Roel Spilker 2014-02-06 23:30:32 +01:00
  • 143143276d [configuration] Have the ConfigurationApp print platform-specific newLine characters, and print clear for empty lists. Roel Spilker 2014-02-06 21:24:02 +01:00
  • d77bd114a8 Updated changelog Roel Spilker 2014-02-06 20:44:04 +01:00
  • c128331d4d Merge pull request #43 from jlahoda/471 Roel Spilker 2014-02-06 20:40:19 +01:00
  • e1344ec4c9 Updated changelog Roel Spilker 2014-02-05 01:07:09 +01:00
  • 83efe29466 Fix for issue 631. Martin, thanks for the contribution. Roel Spilker 2014-02-05 00:50:32 +01:00
  • d1182bbf45 #471: @SneakyThrows should work in NetBeans Jan Lahoda 2014-02-04 21:25:29 +01:00
  • 2934228033 [configuration] Added first automated test for the configuration framework. For now, it fails. Roel Spilker 2014-01-31 00:32:25 +01:00
  • 0293e13fed [configuration] Small improvements to the command line app Roel Spilker 2014-01-23 23:07:59 +01:00
  • 5782b909c5 [#585] Copying of javadoc to getters / setters / withers woudl copy non-relevant sections too. Reinier Zwitserloot 2014-01-23 22:02:09 +01:00
  • 644e528564 [trivial] [copyright] updating LICENSE to 2014. Reinier Zwitserloot 2014-01-23 19:35:04 +01:00
  • ce8362fad5 Added extra example to the online documentation for @Log Roel Spilker 2014-01-21 23:09:54 +01:00
  • d5c366e93e Issue 630: Several small documentation fixed for Log Roel Spilker 2014-01-21 23:00:09 +01:00
  • ed061712f5 [configuration] Extended the configuration app to display the resulting configuration for a path and have 'blame'. Removed the PrintConfiguration annotation and handlers. Separated the parsing and the interpreting. Roel Spilker 2014-01-21 22:21:58 +01:00
  • ff01574864 [configuration] Copy less lists during resolving Roel Spilker 2014-01-20 05:39:52 +01:00
  • e8059d4e9e [configuration] Code cleanup Roel Spilker 2014-01-20 03:18:22 +01:00
  • 01cee6f22d [configuration] Improved descriptions of configuration keys Roel Spilker 2014-01-20 02:47:07 +01:00
  • d1899a81e9 [test] Missing after-X files used to be an implicit 'just ignore the content' signal; now you need an explicit directive to allow this behaviour. [configuration] added tests for @Accessors configuration key implementations. Reinier Zwitserloot 2014-01-20 01:45:48 +01:00
  • e5dc6203c8 [configuration] ConfigurationKeysLoader now caches. Reinier Zwitserloot 2014-01-20 01:44:53 +01:00
  • 8a1e0d03ae [configuration] Added all the @Accessors stuff as a configuration key. [refactor] Merged TransformationsUtil and HandlerUtil Reinier Zwitserloot 2014-01-20 01:44:40 +01:00
  • 5be1c574d6 [configuration] ConfigurationKey now has a description Roel Spilker 2014-01-20 00:44:57 +01:00
  • cdb4920d52 Typo in changelog Roel Spilker 2014-01-19 23:03:54 +01:00
  • 14cc545276 Issue 625: use (even) better primes for hashcodes Roel Spilker 2014-01-19 21:49:35 +01:00
  • 2ab6cc809d Issue 629: have delombok respect the emptyLines derecotry inside enum bodies as well Roel Spilker 2014-01-19 21:15:16 +01:00
  • a016e623de [configuration] added a service-loader based way to load ConfigurationKeys, so that third party additions can add their own. Reinier Zwitserloot 2014-01-19 07:38:49 +01:00
  • bc1f91af3a [trivial] added test for logger config keys. Reinier Zwitserloot 2014-01-19 07:01:10 +01:00
  • d6ca8d5e81 [configuration] added facilities to override conf file resolution for test cases, and added first tests to test implementations of configuration-based stuff (FlagUsages, specifically). Error reporter has been refactored. Reinier Zwitserloot 2014-01-19 03:54:46 +01:00
  • deb694033a [configuration] Initial setup for configuration app Roel Spilker 2014-01-19 02:59:59 +01:00
  • 2f0d7614d4 [configuration] Move the responsibility to stop bubbling to the iterator Roel Spilker 2014-01-19 02:25:23 +01:00
  • 3415221322 [configuration] only allow a keyname to be registered once Roel Spilker 2014-01-19 02:24:33 +01:00
  • 513a27f746 [configuration] Make sure the ConfigurationKeys class is initialized Roel Spilker 2014-01-19 02:23:14 +01:00
  • 5767628efe [configuration] Moved ALL ConfigurationKey constants into 'ConfigurationKeys'; that bug where fields in annotation defs causes issues is too endemic to try and work around these. Reinier Zwitserloot 2014-01-18 20:26:08 +01:00
  • 08868a2076 [configuration] The 'getAbsoluteFileLocation()' addition to EclipseAST did not work in ECJ; now it does. Reinier Zwitserloot 2014-01-18 20:23:34 +01:00
  • 3a7c19f786 [configuration] [snippet] Removed the 'getProject' method; this doesn't even exist on ECJ. Reinier Zwitserloot 2014-01-18 20:22:56 +01:00
  • c65ec96943 [test-directives] another update to the 'test directives' system; test files now can start with directives (configuration keys, 'ignore', and java language version limits), and the test directory runner now has a framework to handle these. All existing tests pass at this point. Reinier Zwitserloot 2014-01-12 00:10:24 +01:00
  • f6da35e4c4 Moved NonNull's FLAG_USAGE ConfigurationKey definition to ConfigurationKeys to work around bugs with putting fields in annotation declarations in many versions of JDK7 and all of JDK6's versions. Reinier Zwitserloot 2014-01-12 00:09:21 +01:00
  • 7eccc3b4af [configuration] updates to the tests to streamline parsing 'directives', which have become more important as input files now may need to set up some lombok configuration stuff. Reinier Zwitserloot 2014-01-10 07:18:12 +01:00
  • 51805b4e0c [configuration] implementations for log's log.any.fieldIsStatic config. Reinier Zwitserloot 2014-01-09 22:41:13 +01:00
  • e24ebbbf59 [configuration] implementation of flagUsage for all handlers. Reinier Zwitserloot 2013-12-22 06:03:51 +01:00
  • 3797c8320a [configuration] Reduced the range around which all already flagged errors/warnings are removed (javac/delombok only) when using onMethod / onConstructor / onParam. Useful for adding warnings such as lombok configuration 'flag usages'. Reinier Zwitserloot 2013-12-22 04:41:56 +01:00
  • d680f8c7f4 [configuration] initial batch of configuration keys, primarily for flag usages. Reinier Zwitserloot 2013-12-22 04:40:54 +01:00
  • f6eef8e50a compiling lombok with javac gives 1 warning. fixed this. Reinier Zwitserloot 2013-12-21 19:59:24 +01:00
  • 3cca3e018b [configuration] Removed type parameter from ConfigurationSource.Result Roel Spilker 2014-01-17 21:50:55 +01:00
  • 493cf82313 [configuration] More strict naming rules for keyNames: - may contain letters, digits, minus signs, underscores and periods - must start with a letter, minus sign or underscore - may not end with a period or minus sign Roel Spilker 2014-01-17 21:50:10 +01:00
  • 477a5341c1 Close the outputstream if it is a file after printing the AST Roel Spilker 2014-01-17 21:14:24 +01:00
  • fee535eae9 [configuration] Added @PrintConfiguration to print the combined interpreted configuration for a certain java file, improved problem reporting Roel Spilker 2014-01-17 21:13:37 +01:00
  • 560552ddb3 post-release version bump Reinier Zwitserloot 2014-01-15 22:31:59 +01:00
  • 6363cac07d pre-release version bump Reinier Zwitserloot 2014-01-15 22:11:13 +01:00
  • 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). Reinier Zwitserloot 2013-12-19 21:11:33 +01:00
  • 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. Reinier Zwitserloot 2014-01-15 21:43:39 +01:00
  • 610f250c1d [configuration] Implement LombokConfiguration (using the CONSOLE error reporter) Roel Spilker 2014-01-15 21:36:52 +01:00
  • 923a366003 [configuration] Pass the ConfigurationErrorReporterFactory as a parameter instead of a field. Roel Spilker 2014-01-15 21:35:52 +01:00
  • b6afe56dc2 [configuration] Use URI in the API instead of files. Null results in an empty Iterable. Some improvements on the time-out code Roel Spilker 2014-01-15 21:28:31 +01:00
  • bb56c53547 [configuration] Use the file system to look for 'lombok.config' files and parse those and cache the results Roel Spilker 2014-01-15 21:02:45 +01:00
  • 033356b6c6 [configuration] Add option 'stop-bubbling=true' to a lombok.config file to prevent the system from going up the directory tree to find more config files Roel Spilker 2014-01-15 20:56:37 +01:00
  • 69d82faa74 Merge pull request #41 from serverperformance/master Reinier Zwitserloot 2014-01-14 19:24:59 -08:00
  • 71a22340ae #627: Fix for refactoring when @Getter(lazy=true) Tumi 2014-01-15 00:12:35 +01:00
  • ed82259e52 [trivial] fixed typos in test files. Reinier Zwitserloot 2014-01-14 22:52:44 +01:00
  • 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. Reinier Zwitserloot 2014-01-14 22:52:29 +01:00
  • 96e1c9e02e [configuration] Bubbling now works Roel Spilker 2014-01-09 23:16:18 +01:00
  • 20ac40f201 [#625] Changelog entry for this issue Reinier Zwitserloot 2014-01-09 21:26:48 +01:00
  • 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. Reinier Zwitserloot 2014-01-09 21:00:44 +01:00
  • 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. Reinier Zwitserloot 2014-01-09 04:46:59 +01:00
  • 7bbe19f1b8 Merge pull request #40 from jlahoda/591 Reinier Zwitserloot 2014-01-08 14:43:28 -08:00
  • 9760b35197 591: setting positions for parameters even when running in NB editor, to avoid problems in javac's Flow. Jan Lahoda 2014-01-02 23:43:52 +01:00
  • a23f56c21b [configuration] Implemented the StringResolver Roel Spilker 2013-12-21 21:50:12 +01:00
  • fa1d765445 Added flag PARAMETER to the generated parameters. Roel Spilker 2013-12-19 23:21:48 +01:00
  • 43ead7d65f [configuration] ongoing work on the typing and resolving Roel Spilker 2013-12-18 22:44:13 +01:00
  • 404956374e [configuration] Initial API for declaring ans reading single settings. Roel Spilker 2013-12-15 22:27:43 +01:00
  • 930b17b85b [configuration] Added the .getAbsoluteFileLocation() method to AST; this now works properly (even with eclipse Linked Resources) in both eclipse and javac. We will now use this feature to search for and apply config files, which will apply hierarchically based on the directory of the source file. Roel Spilker 2013-12-15 21:02:09 +01:00
  • 324022b719 work in progress on ProjectSearcher. Reinier Zwitserloot 2013-03-11 21:01:28 +01:00
  • 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. Reinier Zwitserloot 2013-12-11 22:38:59 +01:00
  • 5f92913a52 Updated web docs and added format options support to delombok ant task. Reinier Zwitserloot 2013-12-11 22:27:01 +01:00
  • a19b99cba2 Added complete support for delombok's 'pretty' format options; covering all of the issue #608. Reinier Zwitserloot 2013-12-11 22:00:12 +01:00
  • 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. Reinier Zwitserloot 2013-12-04 07:14:56 +01:00
  • 7e21683515 Added format preferences: Suppress @SuppressWarnings, suppress needless application of 'final'. Reinier Zwitserloot 2013-12-04 07:14:05 +01:00
  • 9639bc2ff4 [pretty] Make the tests work with the new delombok formatting options. Roel Spilker 2013-12-03 21:17:05 +01:00
  • 54c30d98c0 [Pretty] Delombok prettyprinter now adheres to whitspace formatting rules Roel Spilker 2013-11-20 00:55:44 +01:00
  • 749baeaaed [Pretty] Suppress final en last semicolon in try-with-resources. Do not indent empty lines. Roel Spilker 2013-11-20 00:29:34 +01:00
  • f865fe5fa2 added contingency case in format pref scanning if there is no input Reinier Zwitserloot 2013-11-20 00:34:21 +01:00
  • 21415af7b1 added support for CharSequences Reinier Zwitserloot 2013-11-20 00:17:51 +01:00
  • 91c84ed67b finished API for setting format prefs via command line. Reinier Zwitserloot 2013-11-19 23:59:23 +01:00
  • 1723e21b5e formatpreferences system v1 Reinier Zwitserloot 2013-11-19 23:12:16 +01:00