Changelog for Groovy 1.0.0-beta-5
Bug
- [GROOVY-66] - remove the x.print() or y.println() from all web pages
- [GROOVY-67] - Null property causes OutOfMemoryError in groovyc
- [GROOVY-82] - GroovySwing examples fail to execute
- [GROOVY-83] - Syntax error in quickStart.html page
- [GROOVY-102] - Install Problem, I have added the Path and Groovy_Home Variable
- [GROOVY-151] - Sometimes calling a closure with () doen't work
- [GROOVY-152] - Parser doesn't like a closure called with no parameters
- [GROOVY-175] - super-constructor calling bug
- [GROOVY-199] - overriding an inherited method that has basic types in the signature is problematic
- [GROOVY-203] - Missing plugin dependencies
- [GROOVY-204] - org.osgi.framework.BundleException when running Eclipse plugin
- [GROOVY-220] - Object[] or String[] not allowd for type of a variable
- [GROOVY-233] - super call in invokeMethod causes a VerifyError
- [GROOVY-251] - Lexer does not recognize .1 as a numeric literal
- [GROOVY-252] - Verify Error on member function in class
- [GROOVY-253] - Odd string crashes the parser
- [GROOVY-264] - Parser doesn't like literal closures in stings
- [GROOVY-268] - Lexer doesn't understand hex constants
- [GROOVY-269] - parameters of boolean type to methods were not generated correctly in bytecode
- [GROOVY-271] - Groovy does not support floating point constants with exponents
- [GROOVY-273] - ClassGenration for numeric literal types other than Double and Integer
- [GROOVY-274] - Negate (-) does not work for types other than Integer, Double
- [GROOVY-278] - Subclassing a java object in Groovy still has problame
- [GROOVY-280] - ClassFormatError with JDK 1.5
- [GROOVY-285] - parsing 'int x = 123' fails
- [GROOVY-286] - modulo operator doesn't work
- [GROOVY-288] - User Guide bugs
- [GROOVY-293] - Exception thrown when assigning value to variable outside closure
- [GROOVY-294] - Syntax highlighting for comments not working correctly
- [GROOVY-295] - Compilation error information not displayd correctly
- [GROOVY-296] - default package handling in content outline broken
- [GROOVY-299] - Content outline exception
- [GROOVY-302] - plugin fails if workspace has any closed projects
- [GROOVY-303] - import using package.* doesn't seem to work properly for implements/extends class
- [GROOVY-306] - Printing the result of the ternery operator ? : is broken
- [GROOVY-308] - system.out << a << b not working
- [GROOVY-309] - GString is not always converted to String when calling a Java method
- [GROOVY-311] - Groovy 1.0 beta4 BSF implementation does not work
- [GROOVY-320] - Support remainder (%) operator
- [GROOVY-321] - Verify error in a Closure
- [GROOVY-324] - Inconsistent stack height on assignment within closure
- [GROOVY-327] - refresh project kills eclipse
- [GROOVY-330] - broken classpath in builder while using jars from workspace
- [GROOVY-336] - Empty try skips finally
- [GROOVY-337] - closure not using its parameter
- [GROOVY-339] - Problem coercing 7/3 to double
- [GROOVY-343] - VerifyError (InconsistentStackHeight) on assignment to external variable from a scope nested inside a closure
- [GROOVY-355] - VerbatimGStringTest failures - Windows vs. Unix EOL problem
- [GROOVY-356] - super used in method causes Verify error
- [GROOVY-358] - Lexer/parser problem with tertiary operator
- [GROOVY-359] - Problems with numeric types (for example, 2.0D)
- [GROOVY-366] - 65 << 2 gets No such method: leftShift for class: java.lang.Integer with arguments: [2]
- [GROOVY-372] - VerifyError on += of instance variable
- [GROOVY-373] - VerifyError on assignment to boolean variable inside method
- [GROOVY-377] - insert ${..} in string fails when singlequoted
- [GROOVY-381] - simple primitive casting not parsed
- [GROOVY-387] - can't return from void method
- [GROOVY-389] - cant use closures inside case statement
- [GROOVY-395] - GroovyClassLoader fails to resolve .groovy files in classpath on win32
- [GROOVY-404] - MissingMethodException for rightShift on Integer
- [GROOVY-405] - Can't generate bytecode for void return
- [GROOVY-410] - GroovyShell.evaluate
- [GROOVY-412] - Inconsistent stack height with "if" in closure
- [GROOVY-441] - Expression in string is expanded at the begin of the string, not where it is defined
- [GROOVY-451] - num.times fails in specific situation
- [GROOVY-452] - NPE in GroovyClassLoader
- [GROOVY-453] - Use of "int" causes method signature crash
- [GROOVY-458] - should be able to invoke a method called property
- [GROOVY-462] - ClassGenerator patches for a few VerifyErrors, primitive uses as parameters and local vars
- [GROOVY-508] - Node.depthFirst() and Node.breadthFirst ommit the root element
Improvement
- [GROOVY-55] - notes
- [GROOVY-56] - notes
- [GROOVY-119] - support the creation of arrays of primitive types in groovy
- [GROOVY-256] - Numeric literals: default BigDecimal for decimals, support suffixes
- [GROOVY-270] - should Groovy allow constants of the form 1L?
- [GROOVY-281] - Improve error message when a matching constructor cannot be found at runtime
- [GROOVY-297] - Get the builder to only build changed groovy files
- [GROOVY-312] - Improve Groovy markup to support all XML constructs.
- [GROOVY-323] - Compilation speedup
- [GROOVY-398] - add Map.synchronized(), List.synchronized() methods
- [GROOVY-403] - allow easier recursive file processing with File.eachFileRecurse { ... }
- [GROOVY-438] - String objects could use left-pad and right-pad methods
- [GROOVY-448] - Improved Groovy Console
New Feature
- [GROOVY-57] - expression x = 5 should return 5 to outer expressions so we can do x = y = 5
- [GROOVY-149] - Add new Groovy methods
- [GROOVY-258] - Provide support for running groovy based unit tests
- [GROOVY-260] - Thread.start { } to execute a closure in a new thread
- [GROOVY-315] - Ability to create static groovy methods
- [GROOVY-317] - Support bitwise OR in groovy.util.Bitwise
- [GROOVY-332] - Support events using SwingBuilder
- [GROOVY-360] - dynamic evaluation of expressionin Groovy scripts
- [GROOVY-428] - Socket and ServerSocket groovy methods
- [GROOVY-443] - Add base64 methods to String and byte[]
Task
Wish
- [GROOVY-49] - Support method invocation with closure syntax sugar for constructor calls
- [GROOVY-78] - create a single uber-jar with all the stuff you need to run groovy
- [GROOVY-173] - provide security sandbox for executing scripts
- [GROOVY-186] - Runtime addition or overriding of methods
- [GROOVY-205] - Fix warnings