Change a member information.
10 lines of code changed in:
enabled the JSR parser by default in groovy-jsr-01 onwards
1 lines of code changed in:
updated the version number ready for jsr-01 release...
1 lines of code changed in:
execute rights fix
5 lines of code changed in:
getting ready for beta-10
2 lines of code changed in:
build patches getting ready for beta-10
14 lines of code changed in:
For both of New and Classic Groovy, add a test method: void testAmbiguityOfBitwiseOr(). How to avoid the ambiguity of the bitOr operation(|) : closure = { x | y }
153 lines of code changed in:
Support the power operators ** and ** for New Groovy. For example, x = 3; x **= 2; assert x == 9; assert -x**2 == -81; assert -x**2 == -(x**2); assert x**-1 == 1/x
21 lines of code changed in:
Support the power operator(**) and the power assign operator(**=) for Classic/New Groovy. Foror example, x = 3**2; assert -x**2 == -81; assert -x**2 == -(x**2); assert x**-1 == 1/x
108 lines of code changed in:
Support the math power operator ** for New Groovy (for example, assert -3**2 **= -9 ). But the power assignment operator **= is not supported yet.
22 lines of code changed in:
more working tests - yay!
2 lines of code changed in:
* added optional nls to if/while/try/catch/etc before opening curly brace
o these are logged as warnings, available if you call GroovyRecognizer.getWarningList()
48 lines of code changed in:
fixes for expressions like new <type>[1234]
9 lines of code changed in:
* Added ability to declare new Arrays with no initializer
i.e.
def foo = new String[10]
3 lines of code changed in:
fixed a bunch more tests now that groovy arrays are just about working
123 lines of code changed in:
enabled more testing now that Antlr seems to handle arrays nicely
0 lines of code changed in:
* reintroduced ARRAY_DECLARATOR for built in types (along Studman's original design)
3 lines of code changed in:
avoid unwraping
3 lines of code changed in:
* Added LexerFrame from Santhosh Kumar T
http://www.antlr.org/share/1073493403186/index.html
usage:
java -cp groovyc-0.0.2.jar org.codehaus.groovy.antlr.LexerFrame
then select the groovy source file of your choice.
0 lines of code changed in:
added more test cases for array coercion
35 lines of code changed in:
handled an issue in the AST generation (due to Antlr changes) better and have most of the array coerce tests working now
20 lines of code changed in:
documented the array failures more
66 lines of code changed in:
fixed a little class loading bug caused by the fix of GROOVY-375
15 lines of code changed in:
Patch to AST generation after Antlr grammar changes
7 lines of code changed in:
* Added Mike Spille's suggestion of an AST class for antlr that tracks the line/column information of the original source code
Thanks Mike :-)
* Started amendments to attempt to fix Array Declarators
7 lines of code changed in:
corrected a little bug when setting fields and added an exception if someone wants to set a private field
6 lines of code changed in:
Added most of the guts for auto-list and array coercions. Got a few parser glitches when parsing array types; but other than that its looking good
408 lines of code changed in:
better error message when accessing private fields
82 lines of code changed in:
put back classic-tests I'd accidentally modified (whoops!)
22 lines of code changed in:
Fixed a bunch more test cases; it'll be much easier to see the wood for the trees once New Groovy is integrated into groovy-core after beta-10
101 lines of code changed in:
Tightened up the constructor parsing some more to catch more typos in the parser
26 lines of code changed in:
Applied patch for GROOVY-375, many thanks Scott Ferguson!
63 lines of code changed in:
Applied patch for GROOVY-325, many thanks Peter Brant!
3 lines of code changed in:
Applied patch for GROOVY-746, from Dave Brosius - many thanks!
4 lines of code changed in:
more readable error message for users
2 lines of code changed in:
GROOVY-730: added firstRow() and rows() methods to Sql, thanks to Jean-Louis Berliet
301 lines of code changed in:
* New Feature for http://jira.codehaus.org/browse/GROOVY-744
rather than typing (the repetitive):
jez$ groovy Foo.groovy
It would be nice to follow the convention of the 'java' executable, allowing a command line more like:
jez$ groovy Foo
This assumes that groovy can "hunt" for the correct script file, given a list of known filename extensions
[more info in issue]
31 lines of code changed in:
Change the operator precedence of the power opertor **. For example, assert -x**2 == -(x**2)
16 lines of code changed in:
support for BigDecimal and BigInteger in power
16 lines of code changed in:
Support power operations ** and **= (for example, x = 2**3; x **= 2 )
94 lines of code changed in:
removed the ACC_SUPER flag because of verifyer problems and added line numbers
6 lines of code changed in:
fixed test case to use less verbose syntax for default parameters on closures
2 lines of code changed in:
* reverted statement back to previous as it seems to exclude more tests than it fixes.
1 lines of code changed in:
* revert break/continue/return with no expression, as assignmentExpression doesn't resolve to EMPTY
2 lines of code changed in:
added support for classic literals
26 lines of code changed in:
* reverted arrayTypeOrArgs change for now, as it causes some form of infinite loop
4 lines of code changed in:
* removed some of the non-determinism
o singleDeclarationNoInit now follows the same pattern as declaration
o arrayOrTypeArgs is now implicitly optional
o clarified closureParameter alternations with syntactic predicates
o removed phk's addition of conditionalExpression to statement, due to conflict
o assignmentExpression is implicitly optional
* moved =~ closer to == in precedence
41 lines of code changed in:
Added an example of Brian's ambiguous statement along with the 3 different interpretations and testing that each generates the necessary errors or results
29 lines of code changed in:
added Chris's ambiguity example, allowing the leading | to be omitted to save a little on the verbosity
1 lines of code changed in:
add link widget
11 lines of code changed in:
*** empty log message ***
177 lines of code changed in:
upgrade to groovy-b9 and eclipse-3.1m5, set version 0.3
15 lines of code changed in:
One comment line has been changed.
1 lines of code changed in:
added test case for bitwise operators and allowed support for the ~ operator on any string/gstring expression in New Groovy
179 lines of code changed in:
Add NegateLists.groovy for negating lists in Classic Groovy
78 lines of code changed in:
Add BitwiseOperationsTest.groovy to test Bitwise Operations in Classic Groovy
188 lines of code changed in:
added support for &= |= ^ ^= ~ though we need test cases for their use to ensure they work correctly
16 lines of code changed in:
Changed again to support bitwise operations &, |, ^, ~, =&, =|, =^, <<=, >>=. and >>>=.
1 lines of code changed in:
* Added dependent classes for TCK test-new tests
0 lines of code changed in:
Support bitwise operations &, |, ^, ~, =&, =|, =^, <<=, >>=. and >>>=.
0 lines of code changed in:
Support bitwise operations &, |, ^, ~, =&, =|, =^, <<=, >>=. and >>>=.
0 lines of code changed in:
Support bitwise operations &, |, ^, ~, =&, =|, =^, <<=, >>=. and >>>=.
3 lines of code changed in:
Added for bitwise operations
134 lines of code changed in:
Support bitwise operations &, |, ^, ~, =&, =|, =^, <<=, >>=. and >>>=.
297 lines of code changed in:
fixed a bunch of number operation tests and added support for bitwise or and bitwise and
76 lines of code changed in:
Restores some accidently deleted tests
5 lines of code changed in:
Tests that exception is properly propagatged through a closure
78 lines of code changed in:
When expects one exception but gets another, now reports both.
8 lines of code changed in:
Arguments of a single object now throw exceptions when inappropriate, e.g. vstrut(10) (should be vstrut(height:10))
6 lines of code changed in:
added ability to update a range of a list, using a sublist expression
list[1, 2] = [4, 5, 6]
etc
39 lines of code changed in:
more tests working in NG
9 lines of code changed in:
rolled back previous patch :). Lets force double || on any non-trivial closure parameter list
so
{a, b| ... }
{a| ... }
{|int a| ...}
27 lines of code changed in:
allow types to be specified for simple closures without the double bar
foo.each { int x | ... }
etc
3 lines of code changed in:
another test bites the dust
9 lines of code changed in:
added back the code Jez removed, as we need it to parse constructors using the 'def' keyword, which look like method calls but are really constructors
20 lines of code changed in:
Updated year in copyright statement
21 lines of code changed in:
GROOVY-618: Made the icon's green background look a bit more pale
0 lines of code changed in:
* removed old constructor alternation
2 lines of code changed in:
added more constructor call tests just for MrG :)
15 lines of code changed in:
better constructor fixes which now handles def, modifiers and just a bare constructor
14 lines of code changed in:
Changed Antlr to handle constructors for New Groovy
131 lines of code changed in:
added operator support for <<= and >>=
needs wiring into runtime though
9 lines of code changed in:
A bunch more tests are now working. Apart from the 3 main outstanding issues; it'd make life much easier to integrate the new parser into the core & use the regular test harness - as soon as beta-10 is out we can do that
36 lines of code changed in:
Added Russell's test
0 lines of code changed in:
Fixed bug in AST generation where an identifier was incorrectly coerced into a method call
8 lines of code changed in: