Commit Graph

  • 83e2fb5e00 Now either all or none of equals/hashCode/canEqual is generated. Fixes issue 240. Roel Spilker 2011-07-18 20:59:52 +02:00
  • aa1a0e7ac8 The site's lombok v. vanilla java examples included lombok annotations on the vanilla java side. Fabrizio Guidici found this one. Reinier Zwitserloot 2011-07-14 14:44:25 +02:00
  • 68b079d312 fixed Issue 233: Javac parser handles ";" (empty statements) as empty blocks with an invalid position. Thats why delomok replaces ";" with "{}". This gets an issue when you use this in an interface, since interfaces are not allowed to have initializer blocks. peichhorn 2011-07-14 10:38:16 +02:00
  • 4b9a8142d0 Another trivial website typo. Reinier Zwitserloot 2011-07-04 15:49:47 +02:00
  • 789f358c09 Updated documentation of SneakyThrows to remove remark about needing lombok.jar at runtime. Reinier Zwitserloot 2011-06-30 18:21:30 +02:00
  • c985950989 Added a note about serialVersionUID and @Synchronized to the feature docs. Reinier Zwitserloot 2011-06-30 16:34:42 +02:00
  • d5d7922801 A 'final' was missing in the vanilla version of the 'val' usecase. Reinier Zwitserloot 2011-06-29 01:33:26 +02:00
  • eec0b6ff34 Whoops, the titles on 3 feature pages were '@Data' instead of something more appropriate. Reinier Zwitserloot 2011-06-29 01:32:09 +02:00
  • 917518bbea fixed type mismatch in lazy getter example (issue 223) peichhorn 2011-06-22 09:52:00 +02:00
  • 865b7dbc6a changelog fix number 3 of the day. Reinier Zwitserloot 2011-06-21 16:08:26 +02:00
  • b427ca92fa And another typo in the changelog fixed. Reinier Zwitserloot 2011-06-21 16:06:13 +02:00
  • 3478ba2bfb Typoed it's. git blame says I did it. I conclude I'm an idiot. Reinier Zwitserloot 2011-06-21 16:03:04 +02:00
  • 620125c266 whoops, a very minor nit in synchronized which also caused a test to fail fixed. Reinier Zwitserloot 2011-06-20 22:02:07 +02:00
  • 3798d94263 Minor tweaks to documentation updates (javadocs, website). Reinier Zwitserloot 2011-06-20 21:36:40 +02:00
  • f5303a32dc forgot a few things in the changelog. Reinier Zwitserloot 2011-06-20 21:35:54 +02:00
  • 1bafafa6d8 Version bump to 0.10.0RC1 Reinier Zwitserloot 2011-06-20 21:18:43 +02:00
  • 3303e4c94a Updated changelog Reinier Zwitserloot 2011-06-20 21:16:53 +02:00
  • 1816ffdebc fixed @Synchronized. Reinier Zwitserloot 2011-06-20 21:04:37 +02:00
  • f923671763 Added ability for annotation handlers to be invoked in the diet parse phase even if its a post-diet handler. Reinier Zwitserloot 2011-06-20 21:04:30 +02:00
  • 0fb0c59d5a Javac/EclipseAnnotationHandler are now abstract classes instead of interfaces; there were too many 'option' methods (methods where you return either true or false), so we really needed the ability to pick a default. Reinier Zwitserloot 2011-06-20 21:03:13 +02:00
  • bdcbd1bac4 SpiLoadUtil's findAnnotationClass didn't work with extends Foo<T>, only with implements Foo<T>. Fixed this. Reinier Zwitserloot 2011-06-20 20:59:40 +02:00
  • 1c883cb13f as lombok never runs as AP anymore in ecj, the 'show some more info for bug 164' escape to not do that in ecj was no longer relevant. Reinier Zwitserloot 2011-06-20 21:03:45 +02:00
  • 47f58c922c mentioned Anthony Whitford's delombok maven plugin on delombok feature page. Reinier Zwitserloot 2011-06-13 23:50:39 +02:00
  • ac8aae9b42 Updated to ivyplusplus 1.7 and used ivy:cachedunjar to shave a second off build times. Reinier Zwitserloot 2011-06-10 16:50:33 +02:00
  • 6e9205a570 Updated the download page for the website, which now includes a list with instructions for many platforms. Reinier Zwitserloot 2011-05-30 23:50:32 +02:00
  • cea08d7799 Fixed PrintAST, and separately SneakyThrows/Synchronized which failed because the 'isFullParse' boolean was erronously set on a full rebuild, forced by HandleDelegate. Reinier Zwitserloot 2011-06-13 22:07:30 +02:00
  • 274d5de571 Decided to improve the windows regexp detector from 'windows' to win|win32|win64|windows, on a word break. Reinier Zwitserloot 2011-06-07 22:12:29 -07:00
  • deb6b061ce Detector regexp for windows had a pointless grouping in it. Reinier Zwitserloot 2011-06-07 22:09:59 -07:00
  • 612431bbbb Updated to ASM 4.0RC1 so that we can deal with java7, especially class files built with java7. Reinier Zwitserloot 2011-06-07 00:56:43 +02:00
  • ef220339b6 Issue 188: add class file pool constants for methodhandles and invokedynamic (java7) Roel Spilker 2011-06-06 23:22:47 +02:00
  • 3171afd5bc ecj is now downloaded into lib/ecj. We don't currently use it for anything anymore, but could be handy for automated testing and definitely handy for manual experimenting / testing. Reinier Zwitserloot 2011-06-06 22:15:31 +02:00
  • eac3971390 -javaagent:lombok.jar=ECJ should now work to enable lombok in any ecj-based tool including ecj itself. Reinier Zwitserloot 2011-06-06 22:14:22 +02:00
  • 05465b66a8 Minor update to include a timestamp on the edge release download page. Reinier Zwitserloot 2011-06-06 22:06:02 +02:00
  • 476b198f16 Allow "before" to be used as a source-package for eclipse tests (see LoggerSlf4jWithPackage). Philipp Eichhorn 2011-06-05 22:14:50 +02:00
  • 964b82124d Eclipse handlers can now opt out of being run in diet-parse mode. Fixes Synchronized and SneakyThrows Reinier Zwitserloot 2011-06-02 06:37:01 +02:00
  • cd6eee36cf the new eclipse dietparse test suite written by philipp requires junit to be fired up with lombok as agent. Fixed that in the build script. Reinier Zwitserloot 2011-06-02 06:43:30 +02:00
  • 3c92d18927 ecj and jdt.core contain mostly the same classes. Its possible to get these mixed up and that would be bad (SecurityExceptions as signatures don't match, and in general mixing and matching classes from different releases). Just ditching ecj should do the job. Reinier Zwitserloot 2011-06-02 06:35:38 +02:00
  • ee40c8542d Trivial fixes. Reinier Zwitserloot 2011-06-02 05:59:34 +02:00
  • 850c3eaf07 Added a test infrastructure that simulates eclipse with diet-parse, type-binding and so forth. Similar to eclipse, the test needs to be executed with lombok as vm-agent. @Delegate runs with this setup, sadly val does not, at least for now. And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj. peichhorn 2011-06-01 02:44:53 +02:00
  • aa96fcbc77 Whoops, ecj was broken due to half work on a previous commit to take ecj annotation processing offline. Reinier Zwitserloot 2011-05-30 23:49:44 +02:00
  • b512546508 The EclipseAST was incomplete when it came to ConstructorCalls. This lead to a severe error in PatchDelegate(issue #211) where classes that didn't use lombok at all could not be build due to a NullPointerException. peichhorn 2011-05-30 23:44:30 +02:00
  • 88f4e2d2e3 Some small typofixes for the website feature docs. Reinier Zwitserloot 2011-05-30 22:36:05 +02:00
  • 339b4a6ab1 Whoops, we broke @Delegate with the last update. Now the CAS check on handled is only done if we are -actually- going to call a handler. Reinier Zwitserloot 2011-05-30 22:30:16 +02:00
  • aa8a627349 tracking if an annotation has been handled or not is now no longer done via the LombokAST object. Instead its tracked more directly in an attempt to avoid having to write all handlers as idempotent, and just in case issue #164 is a race condition (the handled-or-not is a synchronized CAS check). Reinier Zwitserloot 2011-05-30 22:04:46 +02:00
  • daf84dd00e HandleDelegate did not remove the annotation @Delegate from javac's AST, so HandleDelegate was called multiple times for the same field resulting in an error saying the delegate method was already defined. peichhorn 2011-05-30 21:17:46 +02:00
  • 1e7c6b98ca Updating website with a shiny new download page listing all the various frameworks and tools lombok now works under. Reinier Zwitserloot 2011-05-16 21:16:23 +02:00
  • 2d9195a229 Removed the ability of lombok to run as ecj annotation processor, because it won't actually work right; method-level generics would break. Reinier Zwitserloot 2011-05-28 19:30:34 +02:00
  • 21cfb45696 delombok would put copyright headers in between the 'package' keyword and the actual package. See discussion at https://groups.google.com/d/topic/project-lombok/64zuUlLnVMc/discussion Philipp Eichhorn 2011-05-28 19:34:34 +02:00
  • 489f506ba1 Added a layer of indirection between the patched calls for delegate to guard against situations in which lombok can't possibly work, since there is not enough of eclipse on the classpath. Major example of this is when we are called through jsps in the eclipse help. grootjans 2011-05-17 01:42:02 +02:00
  • 85f7122ab5 Whoops - previous commit has a grievous error in it. My bad. Fixed now. Reinier Zwitserloot 2011-05-16 22:54:01 +02:00
  • 9360936435 Robbert Jan excluded com/sun from the pack a while ago, but this by accident also excluded jna which broke ecj apt support. Reinier Zwitserloot 2011-05-16 22:32:58 +02:00
  • 75e81604f3 Split up PatchVal into the ecj and eclipse bits; in ecj you'd just get NoSuchClassErrors. Reinier Zwitserloot 2011-05-16 22:32:27 +02:00
  • 8b2ee73cc4 EclipseLocationProvider now checks the current directory if it matches the eclipse-like executable patterns. Probably fixes issue #196 grootjans 2011-05-16 21:09:41 +02:00
  • 12b0753336 Fixes issue 205: NullPointerException in javac's Check$Validator with val Philipp Eichhorn 2011-05-16 20:34:17 +02:00
  • 52e7100060 updated changelog for issue #210 grootjans 2011-05-16 20:17:06 +02:00
  • 05d3e9c984 Generalized fix for Issue #210, now the installer looks recursively for all platforms grootjans 2011-05-16 20:12:19 +02:00
  • c2fe4f169f Updated copyright on javac HandleDelegate Reinier Zwitserloot 2011-05-13 20:22:54 +02:00
  • 8830e883fc @Delegate in javac on the new types/excludes model without autoexclusion now works. Reinier Zwitserloot 2011-05-13 20:18:29 +02:00
  • 045bc9a60d Updated Delegate docs now that we've changed how it works (it no longer detects that you've implemented a few to-be delegated methods yourself). Reinier Zwitserloot 2011-05-09 22:05:43 +02:00
  • 66f8ec612f Added Issue 210 the the changelog. Roel Spilker 2011-05-09 21:25:35 +02:00
  • 99b4fac271 Recurse directories while eclipse or sts is part of the directory name. Solves issue 210. Roel Spilker 2011-05-09 21:21:33 +02:00
  • 201d921692 Updated buildscript to new server Reinier Zwitserloot 2011-05-03 03:15:32 +02:00
  • 8c61bb0990 Changed how @Delegate works in ecj - methods already present do NOT preclude them from being generated, which means you get duplicate method errors. excludes=Types has been added to counteract this. Once we figure out how to resolve method sigs out of order we can go back to the original plan. Reinier Zwitserloot 2011-05-03 02:54:08 +02:00
  • b93a582985 Merge branch 'master' of git@github.com:rzwitserloot/lombok Roel Spilker 2011-05-03 02:26:15 +02:00
  • e5e3521378 Eclipse 3.7 updated some internal AST classes, causing: NoSuchMethodError: CastExpression.<init> Roel Spilker 2011-05-03 02:25:14 +02:00
  • 12e4f36a2f Yet another eclipse mirror went down or deleted an older version. We're now hosting this dependency ourselves; it was the last one we weren't already hosting. Also upped version from 3.6.0 to 3.6.2. Reinier Zwitserloot 2011-04-01 19:55:50 +02:00
  • 1a589ca221 Now logging a warning with diagnostic info so that the next time a user runs into issue #164, we can get a more useful stracktrace from them. Reinier Zwitserloot 2011-04-01 18:07:46 +02:00
  • 7ebf05aaec Added ability to log warnings in eclipse error log. Reinier Zwitserloot 2011-04-01 18:07:17 +02:00
  • ab1d938ca8 Now delegating classes defined in the same project works. Reinier Zwitserloot 2011-03-28 21:36:08 +02:00
  • 816c0b99e7 Updated documentation of XArgsConstructor to highlight that we won't/can't remove suppressConstructorProperties until GWT and Android get the CP annotation. Reinier Zwitserloot 2011-03-23 07:39:13 +01:00
  • ead7ff428c jarjar now used to make sure asm is no longer on the bootclasspath when using lombok. Reinier Zwitserloot 2011-03-22 21:02:04 +01:00
  • 04e9397971 Rewritten @Cleanup's new null analysis prevention to not use Lombok.preventNullAnalysis but go with Collections.singletonList(expr).get(0) instead; while this does create a pointless object, it doesn't cause a clash when eclipse has lombok 0.10 installed but the project uses 0.9, which doesn't have preventNullAnalysis. Eventually, once 0.9 is long forgotten, this can be reverted. Reinier Zwitserloot 2011-03-18 19:30:02 +01:00
  • 38b4128f89 previous attempt to use more maven central repos failed, so reverted most of it. Reinier Zwitserloot 2011-03-18 18:25:59 +01:00
  • d0131d9c9b Updated instructions for publishing a new version Reinier Zwitserloot 2011-03-16 07:56:29 +01:00
  • 4afc7e5c23 Added printing oss.sonatype.org usernamepass to build script when publishing maven Reinier Zwitserloot 2011-03-16 07:43:55 +01:00
  • 6ab599d01c Updated maven pom and deploy process; now lombok is linked in mavencentral so we no longer need our own repository. Also updated publish process to new server (escudo is in, libertad is out). Reinier Zwitserloot 2011-03-13 17:57:46 +01:00
  • 8d433449f8 Maven insists on having javadoc jars, so buh, I guess we'll comply with that. Reinier Zwitserloot 2011-03-06 03:08:37 +01:00
  • 2f60ceabc6 Added our issue tracker to our pom Reinier Zwitserloot 2011-03-06 03:07:56 +01:00
  • 1a28ccb347 Replaced a bunch of deps to entries in maven central instead of self-written URLs. Reinier Zwitserloot 2011-03-06 02:27:58 +01:00
  • 1c3ed9ac5d added developers and contributors to maven pom. Reinier Zwitserloot 2011-03-06 01:21:54 +01:00
  • 0fa03d3132 Updates examples to use Guice and hibernate validators. grootjans 2011-02-28 12:32:27 +01:00
  • e0cfacd3b3 Issue 192: Add documentation for onMethod=, onParam, onConstructor still have to make a minor edit in the pre/post files grootjans 2011-02-21 22:03:05 +01:00
  • 35e18b9332 Issue 194: Javac gives and error when lombok.jar is on the classpath Roel Spilker 2011-02-21 21:53:47 +01:00
  • a79ca059e9 Delomboking multiple files still wasn't working right and would result in an IllegalStateException. Fixed. Reinier Zwitserloot 2011-02-15 03:50:21 +01:00
  • 2c3b34704a Updated changelog to represent fix for issue #177. Roel Spilker 2011-02-15 00:13:06 +01:00
  • a56e7d7db8 Added .markdown.html to gitignore. I wrote a tool that produces these from .markdown files. Roel Spilker 2011-02-15 00:06:49 +01:00
  • 2bacfa62a3 Should be a fix for issue #177: NoClassDefFoundErrors for JavacProcessingEnvironment would occur when using the m2eclipse plugin, for example when removing an entry from the build path. Roel Spilker 2011-02-15 00:03:50 +01:00
  • ed4068d842 Added a number of test for AllArgsConstuctor, RequiredArgsConstructor, NoArgsConstructor annotations and added a test for issue: 172 grootjans 2011-02-14 22:35:20 +01:00
  • 3a6615234d Added annotation for handleconstructor: issue 172 grootjans 2011-02-14 20:25:44 +01:00
  • b15bcb09e9 Added test to confirm behaviour of @RequiredArgsConstructor, @ToString, and @Getter on enums. Reinier Zwitserloot 2011-02-07 23:20:19 +01:00
  • 492c6f3da8 Updated changelog for @Delegate and 'val' grootjans 2011-02-07 22:53:23 +01:00
  • 7b3968fe40 Added documentation for @Delegate. This fixes issue 189 grootjans 2011-02-07 22:44:55 +01:00
  • 2741ac3c4b trivial change: Removed bug 181 from the changelog. It's too trivial to put on there. Reinier Zwitserloot 2011-02-07 22:39:19 +01:00
  • 7cf86025a4 Removed a debug print. Reinier Zwitserloot 2011-02-07 22:28:04 +01:00
  • dcbe3b9b8d Updated changelog to reflect fix of issue #148 (getter/setter with booleans wasn't up to spec) Reinier Zwitserloot 2011-02-07 21:39:52 +01:00
  • 30b63deaff Testcases updated with new behaviour of @Getter/@Setter on booleans. Reinier Zwitserloot 2011-02-07 21:33:29 +01:00
  • c98cec7d2d Presence of isFoo(), hasFoo(), and getFoo(), as well as properties named 'isFoo', 'hasFoo', or 'getFoo' would trigger specialized handling for @Getter/@Setter. However, this special handling broke the bean spec, and has been simplified: Only fields named 'isFoo', and only if that field's type is 'boolean', results in both 'isFoo' and 'foo' being considered as possible property names for this property, with 'foo' preferred, so that @Getter boolean isFoo will generate setFoo and isFoo methods, not setIsFoo and isIsFoo. Reinier Zwitserloot 2011-01-29 16:54:14 +01:00
  • aab3faa3cb Removed planned extension 'make @SneakyThrows not runtime dependent on lombok.jar' as we've fixed that by now. Also documented the preferred git workflow for working on lombok. Reinier Zwitserloot 2011-01-29 16:47:22 +01:00
  • 95f73048ce Issue 182: Cleanup documentation should include null-check Roel Spilker 2011-01-31 23:55:06 +01:00
  • cfbfa17876 Calling setCharset with null will use the system default charset (issue 181) Roel Spilker 2011-01-31 23:31:59 +01:00