Commit Graph
962 Commits
Author SHA1 Message Date
Stephen Haberman f8bdfb10fc Fix GWT instructions. 2011-08-31 23:37:44 +02:00
Robbert Jan Grootjans 8334916db8 Added my name to the contributors list 2011-08-31 15:05:23 +02:00
Reinier Zwitserloot e6b6626ded trivial 2011-08-29 20:40:14 +02:00
Reinier Zwitserloot a4519b6629 Added my name to the contributors file. 2011-08-29 19:34:10 +02:00
peichhorn 809cb8d84d whoops javac.jar got renamed to javac6.jar 2011-08-24 11:02:19 +02:00
peichhorn c22e5902e5 To run the tests, having javac in the bootclasspath is required on all platforms. 2011-08-24 10:53:15 +02:00
Reinier Zwitserloot 006a0e7089 Fixed buildscript (onX is gone, that had to be reflected in the buildscript). 2011-08-19 04:10:32 +02:00
Reinier Zwitserloot c3fa3565d5 Preparing for release of 0.10.0-final; updated version and cleaned up changelog. 2011-08-19 04:08:01 +02:00
Roel Spilker b94911431f Make Extract Method work without affecting the rendering of the java file. 2011-08-17 00:26:56 +02:00
Roel Spilker 14efdb09ad Improve Extract method refactoring: you can extract method for code that also contains @SneakyThrows 2011-08-16 02:46:22 +02:00
Roel Spilker 85c90ca606 Removed some leftovers from #164 debugging sessions 2011-08-16 02:04:59 +02:00
Roel Spilker 19e6b00885 Trivial 2011-08-16 01:38:37 +02:00
Reinier Zwitserloot e89f1bd33b Merge branch 'master' of github.com:rzwitserloot/lombok 2011-08-16 01:24:27 +02:00
Reinier Zwitserloot 39d447d6ff This fixes 'val' not working in javac7. The LogDisabler used to simply suppress writes to standard out, but javac7 has a redesigned error system where errors are cached. Now the LogDisabler also wipes out any cached errors added in between a 'disable' and 'enable' session. Ironically we actually whined to Joe Darcy about javac6 emitting errors 'too early' and this caching system is the result. Heh.
This was already the case, but a disableLoggers() call HAS to be paired with an enableLoggers() call, so use try/finally.

Fixes issue #259.
2011-08-16 01:24:11 +02:00
Roel Spilker 844b36b47c Renamed Javac.getCTCint to getCtcInt
Made delombok work with multiple JavaCompiler's on the classpath
Made @Getter(lazy=true) work on javac7 (fixes issue#223)
2011-08-16 00:18:32 +02:00
Roel Spilker b64016cd90 Fixed typo 2011-08-15 22:53:32 +02:00
Reinier Zwitserloot af9ac60c6f Merge branch 'delombok_java7' 2011-08-15 22:47:10 +02:00
Reinier Zwitserloot 82b14a3089 The only new JCTree node in java7, JCTypeUnion, is now supported by delombok. 2011-08-15 22:43:16 +02:00
Roel Spilker 41e58cde0f Added NetBeans installation instructions 2011-08-15 22:37:25 +02:00
Reinier Zwitserloot a85023b919 Optimized the 'val' search; previously a fairly lengthy import list check was done for _every_ local declaration _anywhere_ in _any_ eclipse source file to see if it needed 'val' treatment. Now as a shortcut there's a check if the typeRef's last part is equal to 'val', and if not, no check is performed. 2011-08-15 22:16:54 +02:00
Reinier Zwitserloot f4cce85965 fixed a warning during the ant compile process 2011-08-15 22:16:03 +02:00
Reinier Zwitserloot d8d47c687d Integrated Philipp's proof-of-concept delombok in javac7 fix, and used some
creative stubbing to ensure both the javac7 and the javac6 source file can be loaded in the same project in eclipse without dependency warnings.
2011-08-15 22:11:25 +02:00
Roel Spilker a284600987 Removed support for onMethod, onParam and onConstructor due to javac7 type incapabilities. Issue #251 2011-08-15 21:21:51 +02:00
Reinier Zwitserloot 7773bd4e60 Changed dep name of 'javac' into 'javac6' and added 'javac7', mostly for contrib purposes (we still compile against javac6, but having javac7 around for testing and such is nice). 2011-08-15 20:33:45 +02:00
Roel Spilker 55cb9f8dac Make extract method work with @Cleanup and @Synchronized 2011-08-12 01:15:34 +02:00
peichhorn f7ec1e33ed Got delombok to work with JDK 1.7.
For now PrettyCommentsPrinter is not able to print new features like JCTypeUnion,
but first tests indicate that besides this it works just fine.
2011-08-11 00:16:30 +02:00
peichhorn c996e8749d Made delomboks processor 'work' on java6 and java7 without any warnings 2011-08-10 11:42:15 +02:00
Roel Spilker 5bf3b5b5ec Made the annotation processor 'work' on java6 and java7 without any warnings 2011-08-08 23:48:13 +02:00
Roel Spilker c8697f96af changelog update for issue #249 2011-08-08 22:05:23 +02:00
Anthony Whitford d00576e307 Delombok with -d used wrong output folder on Posix. Solves issue #249 2011-08-08 22:01:15 +02:00
Roel Spilker 7ccdf0b75f trivial 2011-08-08 21:33:48 +02:00
peichhorn 6e23117126 fixed Issue 248:
To support the new numeric literal syntax of Java 7, the constructor of IntLiteral got replaced by a factory-method. So we updated the affected handlers to work in both worlds.
2011-08-06 23:36:16 +02:00
Reinier Zwitserloot 87fd168073 Fixed a typo in the ivy <dependency> example. 2011-08-03 04:01:58 +02:00
Reinier Zwitserloot 4ff39e5770 Added some forgotten copyright headers 2011-08-02 03:57:53 +02:00
Reinier Zwitserloot 87c93c6e34 About to release 0.10.0-RC3 2011-08-02 00:04:53 +02:00
Reinier Zwitserloot 9663401a5e Updated changelog to reflect fixing 164. 2011-08-02 00:01:25 +02:00
Reinier Zwitserloot a648f60a25 Updated download page with a link to the old versions. 2011-08-01 23:59:57 +02:00
Reinier Zwitserloot deece27734 Fixed issue 164. Oh yes. Party time!
skipPrintAst was a singleton global, so, yes, thread race issues all over the place.
2011-08-01 22:32:28 +02:00
Reinier Zwitserloot 3be2152a0e Updates to the DebugSnapshot system (stack-free logs, global disable switch, print once only) 2011-08-01 22:26:51 +02:00
Reinier Zwitserloot ced7a8d554 Added the state of the HasAllMethodBodies flag in the issue 164 analyser. Looks like eclipse sometimes sets this flag even though
all method bodies are not in fact parsed yet, as a shortcut to try and force future eclipse parse runs to simply skip doing it
as a timesaver. D'oh.
2011-08-01 11:21:24 +02:00
peichhorn 6f8e8adf4c fixed Issue 243:
"canEqual(java.lang.Object)" was not in the blacklist of HandleDelegate
(only javac, for eclipse it was already present)
2011-07-30 14:54:17 +02:00
peichhorn 72cb022231 fixed Issue 244:
Between javac 1.6 and 1.7 the type of the field JCClassDecl.extending has changed from JCTree to JCExpression, but the method getExtendsClause() still returns a JCTree. So we use this for now.
2011-07-30 14:02:04 +02:00
Reinier Zwitserloot 3b504cf4d0 Preparing to release 0.10.0-RC2 2011-07-25 20:52:40 +02:00
Reinier Zwitserloot dfca0e4cbd Works around issue 217. it's not a proper fix but better than 0.10.0-RC1. 2011-07-25 20:22:56 +02:00
Reinier Zwitserloot 403f515aa2 Delombok with a relative path and in 'output to directory' mode would NPE. Fixes issue #241. 2011-07-25 20:06:20 +02:00
peichhorn b325214e82 The previous commit to fix Issue 233 accidentally broke delombok for emtpy method bodies. This is now fixed. 2011-07-25 07:24:44 +02:00
Reinier Zwitserloot 05d4168e3a Fixes issue 176 more thoroughly; even if both javac6 and javac7 are on the classpath, the 'right' BaseFileObject wrapper is now used. 2011-07-24 08:04:18 +02:00
Reinier Zwitserloot 92eb7033fa Merge branch 'i164diag' 2011-07-24 04:38:31 +02:00
Roel Spilker a24daba66c Upgraded the issue 164 reporter to replace what we had. I think we'll roll this out in 0.10.0-RC2. 2011-07-18 23:49:26 +02:00
Jan Lahoda d4b4a92302 Changes to the lombok annotations processor, forcing the java processing environment into doing multiple rounds and disabling certain reparses in netbeans. Thanks to Jan Lahoda for researching this issue and supplying us with a patch. 2011-07-18 23:35:02 +02:00