Another patch fron Scott
1 lines of code changed in:
Apply Scott Hickey's patches for GROOVY-1284. Thanks Scott!
30 lines of code changed in:
warning comment for adding ClassNodes without SourceUnit added and test for SourceUnit in ClassCompletionVerifyer added to avoid NPEs in cases without faliures
5 lines of code changed in:
A more groovy version (sleep 1000) ... thanks to MrG
1 lines of code changed in:
Add delay time before modifying the file so that the last Modified timestamps
are different.
3 lines of code changed in:
disable reloading for scripts with dates in the future
1 lines of code changed in:
test added to ensure an inner closure can call the builder even if the closure is part of an operation on a different object
12 lines of code changed in:
the additional owner field is removed, the first parameter of the closure constructor has now the type Objec. This parameter is also the owner, which is the surrounding class instance. This means if the closure is in a closure, then the owner is set to that closure instead of the class you see when looking at the groovy file
16 lines of code changed in:
changed resolving for the implements and extends parts, an alias or direct import is now prefered
47 lines of code changed in:
added test to ensure boxing in combination with super works
22 lines of code changed in:
box super call return values
6 lines of code changed in:
test for formal parameters
29 lines of code changed in:
extending the error message as the check also covers this case "[[a:b] [c:d]]" where a comma is missing
1 lines of code changed in:
check to avoid a verify error for "println [a:b]"
13 lines of code changed in:
allow assignment to primitive parameters again but avoids to unbox to early and remove some Strings from BytecodeHelper
19 lines of code changed in:
correted boxing for primitive booleans
5 lines of code changed in:
small fix to allow assignments to parameters of primitve type using unboxing
4 lines of code changed in:
Updated and new examples for the SWT Builder
15 lines of code changed in:
Highlight the #! shebang line as a comment
2 lines of code changed in:
Highlight @Property as a keyword
4 lines of code changed in:
Make keywords bold
Added the triple single quote multiline string
7 lines of code changed in:
Update the Groovy Eclipse plugin (plugin.xml updated)
1 lines of code changed in:
Update the Groovy Eclipse plugin (classpath updated)
1 lines of code changed in:
Update the Groovy Eclipse plugin (added groovy-all-RC-1-SNAPSHOT and removed asm, antlr and the old groovy RC3)
0 lines of code changed in:
Update the Groovy Eclipse plugin
10 lines of code changed in:
corrects os check to windows only
3 lines of code changed in:
prevent MetaClassHelper from swallowing (or transformation in a GroovyRuntimeException) an IllegalThreadStateException and others which are subclass of IllegalArgumentException
40 lines of code changed in:
give an error message if there is are multiple listeners for a bean with the same method and the resulting property is set
21 lines of code changed in:
include BigInteger as compatible class to Integer
2 lines of code changed in:
Housekeeping: Updated groovy.psi.g to reflect the recent changes made to groovy.g in groovy-core
2 lines of code changed in:
Removed snippets of source from the AST, however you can still
get hold of the source by using the start/end line/col from
the source buffer
4 lines of code changed in:
Adapt to commons-cli 1.0
7 lines of code changed in:
correct Ant task too chatty (JIRA-1266)
1 lines of code changed in:
avoids duplication of the package name - found and debugged by Graeme Rocher
7 lines of code changed in:
marks the testGroovyMethodsTest as not implemented
2 lines of code changed in:
ensure process is not blocking
3 lines of code changed in:
small corrections and a new DGM method to consume the output of a process to avoid that the process halts because the output buffer is full and is then not killable
38 lines of code changed in:
removed the "notImplemented" parts, as the tests works for OsX, Linux and Windows
0 lines of code changed in:
fix for NPE and abstract class test
27 lines of code changed in:
add BigInteger and BigDecimal as default imports
9 lines of code changed in:
added test to recognize cyclic inheritance
32 lines of code changed in:
fix for GROOVY-1243
9 lines of code changed in:
avoids having something diferent than tuple expressione as argument for ConstructorCallExpressions
14 lines of code changed in:
typo corrected
1 lines of code changed in:
changes calls for this(...) and super(...) to ConstructorCallExpression and fixes GROOVY-1224
151 lines of code changed in:
adds a mechanism to ensure all enqued classes are compiled and throws an exception telling the user if not and where it expected the class to find
26 lines of code changed in:
avoid NPE when setting redirect
4 lines of code changed in:
tries now to resolve PropertyExpressions as inner classes
7 lines of code changed in:
added a missing pop to while statements and added some error checking inside the compile stack to prevent this from happening again
11 lines of code changed in:
some adjustments to the file finding and a more strict way to enforce the correct returning of the generated class if the file contained more than one class
19 lines of code changed in:
avoids having spaces in field names
17 lines of code changed in:
Fix typo
1 lines of code changed in:
ensure that a null argument used for a primitive type doesn't break the parameter distance calculation fix for 1254
6 lines of code changed in:
fix for 1251, ensures a register used during the evaluation of a boolean expression is not used later as the expression may not be evaluted completly and then the register may not be initialized. Additionally this patch avoids to create a refernece for fields that are references in the cases of nested closures
13 lines of code changed in:
the test should now no longer fail
1 lines of code changed in:
fix for Groovy-1250
Changed the classlaoders to throw ClassNotFoundException when when a class is found which is the same only when comparing caseinsensitive. Also the creation of the URLs is now part of a PriviledgedAction, so the SecurityTest will not complain. I removed some duplicate code from the MetaClassImpl and changed the coercion mechanism in MetaClassHelper completly so it can work without the IllegalArgumentExceptions. ResolveVisitor will now not test classes without packages two times.
214 lines of code changed in:
test for 1250
7 lines of code changed in:
fixes a bug in the RootLoader which prevented him from finding resources on the given classpath.
Resolvevisitor now no longer marks a precompiled class with missing parent class as "not found" which results in the open bug GROOVY-1257, but allows us to see a correct error message.
GCL will now create a File and use it's toURI().toURL() mechanism to ensure possible missing trailing slashes are there where they should be.
16 lines of code changed in:
this patch turns GCL into a URLClassLoader and removes all manual file handling code. The file handling is now done via getResource. Additionally a changeable extension is added to the compiler configuration which can be changed. Example: configuration.defaultScriptExtension = ".gv". Additionally this patch changes the naming of class helper fields to the form the java compiler does use them (note: only <1.4)
81 lines of code changed in:
corrected vargs test
4 lines of code changed in: