Commit Graph

  • 6b7919166e Added support for checking if an annotation parameter is explicitly mentioned. This functionality is used in quite a few places, so generalized it. Reinier Zwitserloot 2009-09-03 01:44:11 +02:00
  • 780a17e583 Added changelog on previous commit. Reinier Zwitserloot 2009-09-03 01:43:54 +02:00
  • c46bf8576f "Fixed" issue #43" - problems with javax.validation.NotNull, which lombok used to copy over to the method parameter of generated setters and constructors, but NotNull is not valid there. We've fixed it by limiting ourselves to annotations named 'NonNull', popular versions of which are legal in all the places we copy them to. Reinier Zwitserloot 2009-09-03 01:36:36 +02:00
  • 2b51cf84f4 I think this one FINALLY fixes the problems with SneakyThrows! Issue #30 Reinier Zwitserloot 2009-09-03 00:11:00 +02:00
  • 3bffd6b08e Version moved to 0.8.5-HEAD as part of a release process. Reinier Zwitserloot 2009-09-02 01:29:05 +02:00
  • e645067820 Moved version from 0.8.4-HEAD to 0.8.4 as this version has just been released. Reinier Zwitserloot 2009-09-02 01:28:14 +02:00
  • 10a4211346 Explained the correct pom magic incantation to force maven to use a v1.6 compiler. Reinier Zwitserloot 2009-09-02 01:27:58 +02:00
  • c66654505f There was an issue for that last fix (of @SneakyThrows in eclipse), so added an explanation plus a link to the issue to the changelog. Reinier Zwitserloot 2009-09-02 01:12:29 +02:00
  • cb4c8ca4a1 Fixed the problem where the eclipse editor AST just loses track of things when using @SneakyThrows (syntax colouring goes away, first character in the file is italic). Reinier Zwitserloot 2009-09-01 21:09:27 +02:00
  • b069df7484 [TRIVIAL] Reinier Zwitserloot 2009-09-01 21:09:13 +02:00
  • af202da7db Added a simple rewriter to the catch block finder of ASTConverter: If it can't find it, it used to return -1, which is exceedingly useless and causes no end of bugs. Changed it to returning the start point of the search, which is a more useful fallback. Reinier Zwitserloot 2009-09-01 21:08:10 +02:00
  • da367086c5 More work on fully addressing the David Lynch bug (issue #41) - the annotation @NotNull/@NonNull/@Nullable that is copied over by @Getter should no longer be causing the David Lynch bug. Reinier Zwitserloot 2009-09-01 19:17:09 +02:00
  • 25e33d02e3 Added position information _everywhere_ in EqualsAndHashCode and ToString generating. This really does seem to fix the David Lynch bug (#41). Reinier Zwitserloot 2009-09-01 19:05:21 +02:00
  • 5b16055417 Well, bugger me! Adjusting the positions of the actual type identifier for the generated annotations seems to fix the David Lynch bug (issue #41). Reinier Zwitserloot 2009-09-01 18:47:01 +02:00
  • 60a62bced8 Removed the various debug assist code in ClassLoaderWorkaround; the feature works now, no longer needed. Reinier Zwitserloot 2009-09-01 18:39:35 +02:00
  • cb091204f4 Fixed documentation, specifically: added eclipse help system fix to the changelog, and added some documentation on the special handling of @NonNull/@NotNull/@Nullable for Data and Getter/Setter on the website docs. Reinier Zwitserloot 2009-09-01 00:19:28 +02:00
  • 72cc800fd0 Fixed issue #26: Starting eclipse's help feature just shows you a 500 error, ond depending on your eclipse version, a long stack trace. Reinier Zwitserloot 2009-09-01 00:08:40 +02:00
  • 65b9365b54 Pretty showstopping bug in here. Reinier Zwitserloot 2009-09-01 00:07:05 +02:00
  • c7a45b294d WHOOPS - that version number should have been updated much earlier. My fault (reinierz). Reinier Zwitserloot 2009-08-28 00:21:02 +02:00
  • e92fd5abac Fixes issue #35: ToString now defaults to includeFieldNames=true. Reinier Zwitserloot 2009-08-28 00:16:58 +02:00
  • 0236721d8d Updated documentation for @NonNull (and the changelog). Reinier Zwitserloot 2009-08-28 00:12:27 +02:00
  • e1ee1b7d2d null checks are no longer generated if you put @NonNull on primitives. Reinier Zwitserloot 2009-08-28 00:02:15 +02:00
  • d16775032b Set the source positions in eclipse of copied over annotations (used in @NonNull/@Nullable and getter/setter/constructor generation) to 0, as eclipse mysteriously fails for annotations copied WITH source positions, but only on methods (which happens for @Getter). Reinier Zwitserloot 2009-08-27 23:35:05 +02:00
  • 4e152f2f14 Merge branch 'nonnull' Reinier Zwitserloot 2009-08-27 23:16:47 +02:00
  • fe0da3f53f Now @Nullable is also copied over. Reinier Zwitserloot 2009-08-27 23:05:14 +02:00
  • e6bb460e2b Added javadoc and copyright header. Reinier Zwitserloot 2009-08-27 23:05:02 +02:00
  • 0221e460b2 Updated the changelog (WIP 0.8.4) Reinier Zwitserloot 2009-08-27 22:26:24 +02:00
  • 7c786f5af6 Made all parameters of all generated methods 'final'. Reinier Zwitserloot 2009-08-27 22:19:29 +02:00
  • 8aab4e60d6 Whoops, forgot to update the changelog of 0.8.3. Reinier Zwitserloot 2009-08-21 12:10:54 +02:00
  • b92926b6f7 Preparing release of 0.8.3. Reinier Zwitserloot 2009-08-21 12:02:46 +02:00
  • 3f3c0cb749 Added link to sun bug db which contains a feature request that is analogous to @SneakyThrows, except with a keyword. Reinier Zwitserloot 2009-08-19 13:13:54 +02:00
  • 7483dd4345 The fix in previous commit has been verified, so the diagnostic messages have been removed. Reinier Zwitserloot 2009-08-14 23:26:10 +02:00
  • fe945d9198 More attempts to fix NullPointerExceptions reported on the forums. Reinier Zwitserloot 2009-08-12 23:23:07 +02:00
  • 5f4c415017 Added an extra check for non-standard javacs. Reinier Zwitserloot 2009-08-12 22:18:58 +02:00
  • 78223dacd3 Added a note to restart eclipse, after some confusing as reported on the googlegroups. Reinier Zwitserloot 2009-08-05 00:25:05 +02:00
  • 68a69f214e ToString had the wrong title (@Data instead of @ToString) Reinier Zwitserloot 2009-08-04 13:09:36 +02:00
  • 383586c705 There was a bug in the annotation builder for javac, which would trigger exceptions anytime you used a lombok annotation in implicit-value-parameter form (e.g: @Cleanup("release") instead of @Cleanup or @Cleanup(value="release"). Reinier Zwitserloot 2009-08-01 16:22:37 +02:00
  • 8428be5c68 The warning for not enabling callSuper cannot be avoided, but there are legal reasons for using it, so, changed it: explicitly setting 'callSuper=false' removes the warning. You only get the warning if callSuper is false because that's the default. Reinier Zwitserloot 2009-08-01 13:14:59 +02:00
  • 388943a7e3 Introduced a NonNull annotation to generate null-checks Roel Spilker 2009-08-01 02:52:16 +02:00
  • dd593a3af0 The constructors will now also add non-final fields if they have a NonNull annotation Roel Spilker 2009-08-01 02:38:56 +02:00
  • c4d97b008a Moved the check to see if a variable is null to the PKG utility classes Roel Spilker 2009-08-01 02:10:29 +02:00
  • f2c837bb47 @Setter will copy all NotNull and NonNull (case-insensitive) annotations to the parameter @Getter will copy them to the getter method Roel Spilker 2009-08-01 01:42:52 +02:00
  • 0cfa9e99d9 Added support for @NonNull in the @Setter annotation Roel Spilker 2009-07-31 18:44:13 +02:00
  • 2bdc1210d7 Merge branch 'master' of git@github.com:rzwitserloot/lombok Reinier Zwitserloot 2009-07-31 18:15:22 +02:00
  • ad736c43b1 Added a test script for Eclipse on Windows Roel Spilker 2009-07-31 15:50:58 +02:00
  • 5d5775c8f4 Added generating a sources.jar for maven, on a suggestion by (twitter) @bennor Reinier Zwitserloot 2009-07-31 11:33:02 +02:00
  • 57fb36be39 Whoops, we updated the 'header' control on index.html and totally forgot to port the changes over to slideshow.html which has the same header. Fixed now, and uploaded to website. Reinier Zwitserloot 2009-07-30 16:59:30 +02:00
  • 4afccefb07 typo fix. Reinier Zwitserloot 2009-07-29 17:34:22 +02:00
  • 6b940dfc46 Added support for maven. Reinier Zwitserloot 2009-07-29 17:27:23 +02:00
  • 5898d3c96a Removed mention of github hosting the website. It doesn't. We're hosting it ourselves. Reinier Zwitserloot 2009-07-29 14:13:23 +02:00
  • b4b95e3832 Corrected 'licence' to 'license' which is a far more popular spelling. Reinier Zwitserloot 2009-07-29 12:57:00 +02:00
  • 9fbc0a97d7 Version number update as v0.8.2. has been rolled out and frozen. Reinier Zwitserloot 2009-07-29 01:54:12 +02:00
  • de220ed5bb Release of v0.8.2! Reinier Zwitserloot 2009-07-29 01:53:30 +02:00
  • 4243bc2610 Removed small print which was covering gimmies already covered in @ToString, @EqualsAndHashCode, and @Getter / @Setter documentation. Reinier Zwitserloot 2009-07-29 01:52:54 +02:00
  • 86acfadf55 Use single quote instead of double quote in javadoc generation due to wonky behaviour of javadoc tool Roel Spilker 2009-07-29 01:44:16 +02:00
  • 2781b8592b bugfix in the build.xml file - "ant website" would not add the videos to the built .tar.bz2 file. Now it does. (use ant website-novideo to skip adding the videos, which reduces the upload from 18M to 1.4M). Reinier Zwitserloot 2009-07-28 18:32:07 +02:00
  • 7068db574e Updated website target to bzip2 the content, as our deployment these days isn't via git, but via an ssh upload. Reinier Zwitserloot 2009-07-28 18:23:54 +02:00
  • b4a4da1f97 Version is now 'standalone' - it is separately compiled. The version is now reflected in all javadoc pages, and on the website itself. Reinier Zwitserloot 2009-07-28 18:17:15 +02:00
  • 36f01682d0 Address issue #10: If the video won't play, and you don't see the failsafe 'download it instead' message, there's now still a link in the footer if you can't see the video to help folks with a bad mix of plugins along. Reinier Zwitserloot 2009-07-28 17:53:33 +02:00
  • 12d6d2c521 Updated the javadoc of EqualsAndHashCode and ToString (the annotation source files) Reinier Zwitserloot 2009-07-28 17:42:07 +02:00
  • fb6be45d2b Added website feature documentation for @ToString and @EqualsAndHashCode, and modified the docs for @Data to refer to the docs of these new annotations. Reinier Zwitserloot 2009-07-28 17:38:26 +02:00
  • e744f1829a Changed the way toString is generated to reduce the number of superfluous 'plus' nodes (e.g. concatenating the infix ", " and a field name literal such as "width=" into ", width=". Reinier Zwitserloot 2009-07-28 16:47:24 +02:00
  • 817eae66a6 Reflected issues #8 and #11 in the changelog. Reinier Zwitserloot 2009-07-27 11:12:35 +02:00
  • cf2ce698dc on javac: Warnings associated with specific values in annotation parameters now 'point at' the right position, instead of at the entire annotation. (it already did so for errors). Reinier Zwitserloot 2009-07-27 11:07:16 +02:00
  • 8fbcf8ffe4 Split off generation of equals() and hashCode() methods form @Data into a new annotation, @EqualsAndHashCode. Addresses issue #8 Reinier Zwitserloot 2009-07-27 11:04:10 +02:00
  • beb0213b01 [TRIVIAL] Reinier Zwitserloot 2009-07-27 11:00:31 +02:00
  • 902607a6ab [TRIVIAL] Reinier Zwitserloot 2009-07-27 10:34:31 +02:00
  • d906899546 Added support for @ToString annotation. The code for generating toStrings has now moved from HandleData to the new HandleToString. Reinier Zwitserloot 2009-07-27 09:21:22 +02:00
  • 3e03dcfac1 Fixed bugs with annotation handling: An array initializer with more than 1 entry now no longer causes ArrayIndexOutOfBoundsException, the setWarning method on a single item in an array initializer on eclipse now generates the warning on just that node (like with errors), and the API of AnnotationValues has been updated to support setting errors/warning on any node. Reinier Zwitserloot 2009-07-26 17:02:40 +02:00
  • 15d77d4736 [TYPOS] Reinier Zwitserloot 2009-07-26 17:02:07 +02:00
  • 0ecd99a50e Version up to 0.8.2-HEAD as I just published. Reinier Zwitserloot 2009-07-26 10:08:21 +02:00
  • 185f5ea119 Quick and dirty documentation on how to release a new version. Reinier Zwitserloot 2009-07-26 10:04:49 +02:00
  • 099e15aa3e Upped version number, will release 0.8.1 immediately after this. Reinier Zwitserloot 2009-07-26 10:02:32 +02:00
  • a73dd52041 Added changelog tracking. Reinier Zwitserloot 2009-07-26 10:02:09 +02:00
  • f74109fdc8 Addresses issue #5: hitting 'find callers' on a @Data annotation should find callers of the (static) constructor. Reinier Zwitserloot 2009-07-26 09:34:10 +02:00
  • dfbc6a79e7 [TRIVIAL] Reinier Zwitserloot 2009-07-26 09:28:38 +02:00
  • a9d2989688 Addresses issue #4: If boolean fields already start with a typical getter prefix (is, has, or get), lombok's @Getter will no longer generate its own prefix as well, so a field named 'hasFoo' will result in a getter named 'hasFoo()', not 'isHasFoo()'. Reinier Zwitserloot 2009-07-26 09:15:28 +02:00
  • 0d9bde828d Addresses issue #6: Reinier Zwitserloot 2009-07-26 08:55:14 +02:00
  • ae83845e86 Starting the lombok installer on mac os X using soylatte instead of apple's JVM now correctly detects being on a mac, and using mac-specific code for finding and installing eclipses. Reinier Zwitserloot 2009-07-26 08:51:48 +02:00
  • 0e8bda517f Fixed two bugs regarding the installer on Win64 Roel Spilker 2009-07-24 13:18:27 +02:00
  • 437d8965e1 Added WindowsDriveInfo support for 64-bit JVMs on windows. We think. Honestly, we haven't tested it! Also updated instructions on how to build the 64-bit version of the JVM, and generalized some of the loading aspects of the DLL, as we now need to potentially try 2 of them. Roel Spilker 2009-07-24 00:23:08 +02:00
  • 5835344277 Rewrote the "find hard disks on windows" to use a dll instead. The reasons: Roel Spilker 2009-07-23 23:17:59 +02:00
  • f4bcabbe1a Merge branch 'master' of git@github.com:rzwitserloot/lombok Reinier Zwitserloot 2009-07-23 21:31:02 +02:00
  • 8bd4da7fdd Setup for not using fsutil.exe which is probably going to rain a stash of User Action Control dialogs on vista, and has internationalized messages so fails to parse correctly on any non-english windows install. Reinier Zwitserloot 2009-07-23 21:28:43 +02:00
  • d153c40823 Added chrome to the list of alternative browser when the video doesn't play. Roel Spilker 2009-07-23 01:01:08 +02:00
  • 441e371efe Added google analytics tracking. Reinier Zwitserloot 2009-07-22 08:34:01 +02:00
  • d0efaf3143 Added a link to javadoc. Reinier Zwitserloot 2009-07-22 06:28:19 +02:00
  • 08c3435d1b Update to the credits page with photos and a mention of spi.googlecode.com Reinier Zwitserloot 2009-07-22 01:36:51 +02:00
  • 0b18e6d406 Okay, I _think_ the video should now work just about everywhere: Reinier Zwitserloot 2009-07-22 01:35:13 +02:00
  • b0267ddd1e On IE, without explicit sizes for the sldieshow images, they looked borked. Reinier Zwitserloot 2009-07-22 01:23:00 +02:00
  • 6d0bbcf529 Whoops, saved the images as quickdraw pictures. That's not going to work anywhere except on macs! Reinier Zwitserloot 2009-07-21 22:54:39 +02:00
  • a84e1b2afa Added the slideshow Reinier Zwitserloot 2009-07-21 05:59:08 +02:00
  • a466b56687 We don't put 'monospaced' in <code>'s CSS because that somehow affects rendering in safari. I also removed it from <pre>, because why in one but not the other? Reinier Zwitserloot 2009-07-21 05:58:35 +02:00
  • fd4b514df6 If the video tag doesn't work, flash is tried next instead of quicktime. Reinier Zwitserloot 2009-07-21 05:34:03 +02:00
  • fe3343694a Added an extra note in the 'installation successful' dialog to add lombok.jar to your eclipse projects, lets people get confused and think it can work without doing that. Reinier Zwitserloot 2009-07-21 05:28:46 +02:00
  • 3b5ce00dd0 Sized the icon into a square form by adding more transparency at top and bottom. This way, the icon showing up in dialog boxes doesn't look borked. Reinier Zwitserloot 2009-07-21 05:26:20 +02:00
  • c095c5d365 Version bump! Reinier Zwitserloot 2009-07-21 05:26:09 +02:00
  • c8fc7a362e Final versions of the videos Reinier Zwitserloot 2009-07-21 05:25:55 +02:00
  • 14195c5074 Worked on the installer so that it's vertically a lot smaller, and at least according to Roel, it looks better too. Reinier Zwitserloot 2009-07-20 21:55:29 +02:00
  • c0c0f90eb7 Updated credits and build.xml for the video. Reinier Zwitserloot 2009-07-20 05:22:23 +02:00