Commit Graph
831 Commits
Author SHA1 Message Date
Reinier Zwitserloot 4afc7e5c23 Added printing oss.sonatype.org usernamepass to build script when publishing maven 2011-03-16 07:43:55 +01:00
Reinier Zwitserloot 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). 2011-03-13 17:57:46 +01:00
Reinier Zwitserloot 8d433449f8 Maven insists on having javadoc jars, so buh, I guess we'll comply with that. 2011-03-06 03:08:37 +01:00
Reinier Zwitserloot 2f60ceabc6 Added our issue tracker to our pom 2011-03-06 03:07:56 +01:00
Reinier Zwitserloot 1a28ccb347 Replaced a bunch of deps to entries in maven central instead of self-written URLs. 2011-03-06 02:27:58 +01:00
Reinier Zwitserloot 1c3ed9ac5d added developers and contributors to maven pom. 2011-03-06 01:21:54 +01:00
grootjans 0fa03d3132 Updates examples to use Guice and hibernate validators. 2011-02-28 16:44:06 +01:00
grootjans e0cfacd3b3 Issue 192: Add documentation for onMethod=, onParam, onConstructor
still have to make a minor edit in the pre/post files
2011-02-28 16:44:06 +01:00
Roel Spilker 35e18b9332 Issue 194: Javac gives and error when lombok.jar is on the classpath 2011-02-21 21:53:47 +01:00
Reinier Zwitserloot a79ca059e9 Delomboking multiple files still wasn't working right and would result in an IllegalStateException. Fixed. 2011-02-15 03:50:55 +01:00
Roel Spilker 2c3b34704a Updated changelog to represent fix for issue #177. 2011-02-15 00:13:06 +01:00
Roel Spilker a56e7d7db8 Added .markdown.html to gitignore. I wrote a tool that produces these from .markdown files. 2011-02-15 00:07:36 +01:00
Roel Spilker 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.
The actual change is small but this took quite some searching. m2eclipse uses plexus, and plexus uses a custom classloader, which means lombok can't find the JavacProcessingEnvironment loaded by that classloader.

We fix it here by adding lombok to that custom classloader. Perhaps more die-hard m2eclipse users find a problem with this approach, but assuming these plexus compile runs are stand-alone, this should work great.

fixed by Roel and Reinier.
2011-02-15 00:07:34 +01:00
grootjans ed4068d842 Added a number of test for AllArgsConstuctor, RequiredArgsConstructor, NoArgsConstructor annotations and added a test for issue: 172 2011-02-14 22:53:08 +01:00
grootjans 3a6615234d Added annotation for handleconstructor: issue 172 2011-02-14 22:51:53 +01:00
Reinier Zwitserloot b15bcb09e9 Added test to confirm behaviour of @RequiredArgsConstructor, @ToString, and @Getter on enums. 2011-02-07 23:21:15 +01:00
grootjans 492c6f3da8 Updated changelog for @Delegate and 'val' 2011-02-07 22:53:23 +01:00
grootjans 7b3968fe40 Added documentation for @Delegate. This fixes issue 189 2011-02-07 22:46:07 +01:00
Reinier Zwitserloot 2741ac3c4b trivial change: Removed bug 181 from the changelog. It's too trivial to put on there. 2011-02-07 22:39:19 +01:00
Reinier Zwitserloot 7cf86025a4 Removed a debug print. 2011-02-07 22:28:04 +01:00
Reinier Zwitserloot dcbe3b9b8d Updated changelog to reflect fix of issue #148 (getter/setter with booleans wasn't up to spec) 2011-02-07 21:39:52 +01:00
Reinier Zwitserloot 30b63deaff Testcases updated with new behaviour of @Getter/@Setter on booleans. 2011-02-07 21:35:34 +01:00
Reinier Zwitserloot 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.
Fixes issue #148
2011-02-07 21:35:34 +01:00
Reinier Zwitserloot 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. 2011-02-07 21:35:33 +01:00
Roel Spilker 95f73048ce Issue 182: Cleanup documentation should include null-check 2011-01-31 23:55:06 +01:00
Roel Spilker cfbfa17876 Calling setCharset with null will use the system default charset (issue 181) 2011-01-31 23:31:59 +01:00
grootjans 38f0e7a49e Changed internal call for resolution to method support in javac7 2011-01-31 21:44:30 +01:00
Reinier Zwitserloot f3fcdcf65c NPE fix 2011-01-24 19:45:25 +01:00
Philipp Eichhorn 1bfe6ee1a5 In javac, @XArgsConstructor on enums was not forcing the generated constructor to be private (as all enum constructors have to be).
Fixes issue #186
2011-01-24 08:37:51 +01:00
Reinier Zwitserloot c305e2c86f trivial update to the build script to get rid of a warning while building tests 2011-01-17 23:57:59 +01:00
Reinier Zwitserloot 41a85d2814 Some of the tests weren't succeeding (and haven't for a while now) since fixing the bug where lombok will call equals(SomeSpecificType) instead of equals(Object) from data. This commit rectifies this by updating the tests. 2011-01-17 23:57:11 +01:00
grootjans 47037e2830 updated the eclipse ecj mirrors as the belgium mirror was discontinued 2011-01-16 15:39:17 +01:00
Roel Spilker 5af37e2134 Merge branch 'master' of git@github.com:rzwitserloot/lombok 2011-01-10 22:16:05 +01:00
Roel Spilker 9e0da7aa87 In javac7 the BaseFileObject and JavacFileManager have been moved from
com/sun/tools/javac/util to com/sun/tools/javac/file
2011-01-10 22:15:07 +01:00
Reinier Zwitserloot 6d8cee3757 Making delombok compatible with post-resolution transformers meant delombok would fail with a 'duplicate context value' error.
Fixes issue #178

Thanks to Neildo for using the 0.10.0 beta and spotting the problem - the tests don't run 1 delombok with multiple files. Maybe we should change that.
2011-01-08 16:35:07 -03:00
Reinier Zwitserloot 1d83020a0c Should fix issue #175, where annotations mysteriously appear to be copied to the methods generated by them. 2011-01-02 11:57:54 -03:00
Reinier Zwitserloot 6da38688de Added debug feature (disabled in this commit) to print types of nodes printed by EclipseASTVisitor.Printer 2011-01-02 08:55:40 -03:00
Reinier Zwitserloot b9b13f8fcc Using annotation processors with lombok sometimes results in a 'Not Supported: DummyRound0' error. This fixes it.
Fixes issue #176
2010-12-31 18:19:20 -03:00
Reinier Zwitserloot 983d487b59 Starting eclipse with an open file containing an enum with @Getter on it would cause 1 error log entry to show up. No other effects other than that, but thats ugly and so thats been fixed. 2010-12-31 11:00:49 +01:00
Reinier Zwitserloot fb1d6c0f0d Resolve-phase transformers in eclipse need to force a rebuild of the EclipseAST object.
Fixes issue #171
2010-12-31 10:41:53 +01:00
Reinier Zwitserloot 59e2a0ff1d Presence of i.e. getABC() stops lombok from generating getAbc, but lombok will still attempt to call this nonexistent getAbc instead of getABC. Fixed.
Fixes issue #173.
2010-12-31 10:24:47 +01:00
Reinier Zwitserloot 49100b43c0 calls to canEqual and equals are now fored to go to the version that has 1 Object as parameter (creating new equals methods by giving them non-object parameterized is a _really_ bad idea, but if someone did do that, obviously lombok shouldn't call those!)
Fixes #165.
2010-12-31 10:12:24 +01:00
Reinier Zwitserloot 52582dc10e @ToString, @Getter, and @XArgsConstructor now work on, and are legal on, enums. Docs have been updated.
Behaviour of @XArgsConstructor when its placement makes no sense (i.e. when annotating an interface with them) is no longer 'throw weird errors', but has been brought in line with the others: A nice error message is generated.

Fixes issue #175
2010-12-28 16:51:02 +01:00
Reinier Zwitserloot d80139fa8f Second time's the charm - fix for generating LombokizedEclipse.launch in windows. 2010-12-28 10:20:20 +01:00
Reinier Zwitserloot b56924dcd7 Using @Delegate to add a varargs method now works in eclipse (the varargs nature of the method is preserved). 2010-12-28 10:17:19 +01:00
Reinier Zwitserloot 2f99cb62a1 Added detection of type var naming conflicts to eclipse's @Delegate support. 2010-12-24 18:03:10 +01:00
Reinier Zwitserloot cbaaedf32c val x = foo; is now desugared into "@val type x = foo;" (the @val is added), for javac. Of course, this is NOT done in delombok mode. 2010-12-22 09:28:29 +01:00
Reinier Zwitserloot b260648065 Generating LombokizedEclipse.launch was broken on non-macs.
It was also essentially broken on macs, as in, the generated launch only worked on 32-bit eclipses, but the default download these days is a 64-bit cocoa version. Fixed this too.
2010-12-22 09:28:29 +01:00
Reinier Zwitserloot 161bcbaf88 After 2 weeks of debugging, finally figured out val in eclipse using lombok.val without breaking 'fix imports'. Eesh. Using "lombok.val" only half-works; auto-complete on the variable doesn't work, but it compiles fine and no errors are reported. 2010-12-22 09:28:28 +01:00
Reinier Zwitserloot e15de71fd4 @Delegate in eclipse works when delegating parameterized types now, and will use the parameter names if the delegated element is a source (vs. class) dependency. 2010-12-22 09:27:55 +01:00