Reinier Zwitserloot
8aab4e60d6
Whoops, forgot to update the changelog of 0.8.3.
2009-08-21 12:10:54 +02:00
Reinier Zwitserloot
b92926b6f7
Preparing release of 0.8.3.
2009-08-21 12:02:46 +02:00
Reinier Zwitserloot
3f3c0cb749
Added link to sun bug db which contains a feature request that is analogous to @SneakyThrows, except with a keyword.
2009-08-19 13:13:54 +02:00
Reinier Zwitserloot
7483dd4345
The fix in previous commit has been verified, so the diagnostic messages have been removed.
2009-08-14 23:26:10 +02:00
Reinier Zwitserloot
fe945d9198
More attempts to fix NullPointerExceptions reported on the forums.
...
http://groups.google.com/group/project-lombok/browse_thread/thread/a8d59daaf7c1ae09
2009-08-12 23:23:07 +02:00
Reinier Zwitserloot
5f4c415017
Added an extra check for non-standard javacs.
2009-08-12 22:18:58 +02:00
Reinier Zwitserloot
78223dacd3
Added a note to restart eclipse, after some confusing as reported on the googlegroups.
2009-08-05 00:25:05 +02:00
Reinier Zwitserloot
68a69f214e
ToString had the wrong title (@Data instead of @ToString)
2009-08-04 13:09:36 +02:00
Reinier Zwitserloot
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").
...
Fixes issue #14
2009-08-01 16:22:37 +02:00
Reinier Zwitserloot
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.
Fixes issue #13
2009-08-01 13:18:34 +02:00
Reinier Zwitserloot
2bdc1210d7
Merge branch 'master' of git@github.com:rzwitserloot/lombok
2009-07-31 18:15:22 +02:00
Roel Spilker
ad736c43b1
Added a test script for Eclipse on Windows
2009-07-31 15:50:58 +02:00
Reinier Zwitserloot
5d5775c8f4
Added generating a sources.jar for maven, on a suggestion by (twitter) @bennor
2009-07-31 11:33:02 +02:00
Reinier Zwitserloot
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.
2009-07-30 16:59:30 +02:00
Reinier Zwitserloot
4afccefb07
typo fix.
2009-07-29 17:34:22 +02:00
Reinier Zwitserloot
6b940dfc46
Added support for maven.
2009-07-29 17:27:23 +02:00
Reinier Zwitserloot
5898d3c96a
Removed mention of github hosting the website. It doesn't. We're hosting it ourselves.
2009-07-29 14:13:23 +02:00
Reinier Zwitserloot
b4b95e3832
Corrected 'licence' to 'license' which is a far more popular spelling.
2009-07-29 12:57:00 +02:00
Reinier Zwitserloot
9fbc0a97d7
Version number update as v0.8.2. has been rolled out and frozen.
2009-07-29 01:54:12 +02:00
Reinier Zwitserloot
de220ed5bb
Release of v0.8.2!
2009-07-29 01:53:30 +02:00
Reinier Zwitserloot
4243bc2610
Removed small print which was covering gimmies already covered in @ToString, @EqualsAndHashCode, and @Getter / @Setter documentation.
2009-07-29 01:52:54 +02:00
Roel Spilker
86acfadf55
Use single quote instead of double quote in javadoc generation due to wonky
...
behaviour of javadoc tool
Worked on feature documentation
Renamed all "link to issue" to "Issue #n"
2009-07-29 01:44:16 +02:00
Reinier Zwitserloot
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).
2009-07-28 18:32:07 +02:00
Reinier Zwitserloot
7068db574e
Updated website target to bzip2 the content, as our deployment these days isn't via git, but via an ssh upload.
2009-07-28 18:23:54 +02:00
Reinier Zwitserloot
b4a4da1f97
Version is now 'standalone' - it is separately compiled. The version is now reflected in all javadoc pages, and on the website itself.
...
The website design has been updated to have a link to the changelog and to mention the current version.
Addresses issue #9 .
2009-07-28 18:17:15 +02:00
Reinier Zwitserloot
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.
2009-07-28 17:53:33 +02:00
Reinier Zwitserloot
12d6d2c521
Updated the javadoc of EqualsAndHashCode and ToString (the annotation source files)
2009-07-28 17:42:07 +02:00
Reinier Zwitserloot
fb6be45d2b
Added website feature documentation for @ToString and @EqualsAndHashCode, and modified the docs for @Data to refer to the docs of these new annotations.
...
The build script for the website has been updated to clean out the website build dir first, so files that used to exist but have now been tossed are no longer there.
There's also a special website-no-videos target which builds a website deployable without the videos. This makes the upload a lot faster if the videos haven't changed.
2009-07-28 17:41:56 +02:00
Reinier Zwitserloot
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=".
...
Also removed the [] brackets from the supercall, as, if you're chaining to another lombok-generated toString, those are superfluous - lombok's toString includes parentheses already.
2009-07-28 16:47:24 +02:00
Reinier Zwitserloot
817eae66a6
Reflected issues #8 and #11 in the changelog.
2009-07-27 11:13:21 +02:00
Reinier Zwitserloot
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).
...
Fixes issue #11
2009-07-27 11:07:16 +02:00
Reinier Zwitserloot
8fbcf8ffe4
Split off generation of equals() and hashCode() methods form @Data into a new annotation, @EqualsAndHashCode.
...
Addresses issue #8
2009-07-27 11:04:10 +02:00
Reinier Zwitserloot
beb0213b01
[TRIVIAL]
2009-07-27 11:00:31 +02:00
Reinier Zwitserloot
902607a6ab
[TRIVIAL]
2009-07-27 10:34:31 +02:00
Reinier Zwitserloot
d906899546
Added support for @ToString annotation. The code for generating toStrings has now moved from HandleData to the new HandleToString.
2009-07-27 09:21:22 +02:00
Reinier Zwitserloot
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.
2009-07-26 17:02:40 +02:00
Reinier Zwitserloot
15d77d4736
[TYPOS]
2009-07-26 17:02:07 +02:00
Reinier Zwitserloot
0ecd99a50e
Version up to 0.8.2-HEAD as I just published.
2009-07-26 10:08:21 +02:00
Reinier Zwitserloot
185f5ea119
Quick and dirty documentation on how to release a new version.
2009-07-26 10:04:49 +02:00
Reinier Zwitserloot
099e15aa3e
Upped version number, will release 0.8.1 immediately after this.
2009-07-26 10:02:44 +02:00
Reinier Zwitserloot
a73dd52041
Added changelog tracking.
2009-07-26 10:02:09 +02:00
Reinier Zwitserloot
f74109fdc8
Addresses issue #5 :
...
hitting 'find callers' on a @Data annotation should find callers of the (static) constructor.
Right now it'll find callers to the *static* constructor ONLY. Letting it find callers of the public constructor if there is no static constructor just doesn't work.
2009-07-26 09:34:10 +02:00
Reinier Zwitserloot
dfbc6a79e7
[TRIVIAL]
2009-07-26 09:28:38 +02:00
Reinier Zwitserloot
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()'.
Also, if any likely getter name already exists for a boolean, a getter will not be generated. Thus, if your field is called 'hasFoo', and you already have a method named 'isFoo', then @Getter will not generate anything (and warn, unless the getter is being generated due to @Data).
This last mechanism works by taking the field name *AND* any other likely base names (defined by the field name being named as prefix+baseName, with prefix being is/has/get), and then prefixing all the likely fieldnames with is/has/get, and checking if any method with that name exists.
Of course, this means weird things are going to happen if you have 2 fields named 'isFoo' and 'hasFoo', but then, you'd be a real idiot if you did that.
2009-07-26 09:15:28 +02:00
Reinier Zwitserloot
0d9bde828d
Addresses issue #6 :
...
For whatever reason, the path to the javaagent in eclipse.ini on linux needs to be absolute.
2009-07-26 08:55:14 +02:00
Reinier Zwitserloot
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.
2009-07-26 08:51:48 +02:00
Roel Spilker
0e8bda517f
Fixed two bugs regarding the installer on Win64
2009-07-24 13:18:27 +02:00
Roel Spilker
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.
2009-07-24 00:23:08 +02:00
Roel Spilker
5835344277
Rewrote the "find hard disks on windows" to use a dll instead. The reasons:
...
A) FSUTIL is internationalized, so on non-english installs, we can't figure out if a disk is fixed.
B) I trust this better than fsutil for user control access (a.k.a. popups from hell) on vista.
C) fsutil.exe is in C:\windows\system32 so pretty sure it would be there, but there's always a chance it's not in the PATH, or otherwise not accessible.
2009-07-23 23:17:59 +02:00
Reinier Zwitserloot
f4bcabbe1a
Merge branch 'master' of git@github.com:rzwitserloot/lombok
2009-07-23 21:31:02 +02:00