Changes between Version 1 and Version 2 of ReleaseNotes_0.9.2
- Timestamp:
- 11/25/12 22:02:20 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReleaseNotes_0.9.2
v1 v2 5 5 Below are highlights for this release. For even more details including every bug fix, browse the [http://cobra-language.com/trac/cobra/log/ revision log]. To get Cobra 0.9.2, visit [http://cobra-language.com/downloads/ Downloads]. 6 6 7 8 7 == Language == 9 8 10 * Foo. 11 * Bar. 9 * Mixins 10 * Mixins can now declare protected and private members. 11 * Mixins can now be used as proper types, such as the type of a parameter. 12 * Fixed: Cannot declare a mix-in inside a namespace. 13 * Fixed: Mixins cannot use the from declaration from of properties. 14 * The `power-to` operator as in `base ** exponent` is now supported. 15 * All numeric types work. 16 * Augmented assignment (`**=`) works. 17 * For `b ** e` where both are ints, a negative int value for `e` will throw an InvalidOperationException. You can address this by casting either to a fractional type (`number`, `decimal`, `float`). 18 * Division 19 * Added `//=` for augmented assignment of integers with "integer division". This corresponds to the binary arithmetic operator `//`. 20 * Added error check for using "augmented fractional division" to '''modify''' integers: 21 * Cannot use fractional division (/=) to modify an integer. Use integer division (//=) instead. 22 * Fixed: The operator `//=` for fractional types does not floor the result like `//` does, making the two operators inconsistent. 23 * Added support for `int` literals outside a 32-bit range. 24 * Inferred types are now int, uint, int64 and uint32. 25 * Works for decimal and hexadecimal bases. 26 * Added new error check: Cannot raise events for other objects. 27 * Don't run the tests of referenced libraries by default. 28 * Fixed: Test blocks in generic classes ignored. 12 29 13 30 == Library == 14 31 15 * Foo. 16 * Bar. 32 * In CobraCore, added `.isRunningOnWindows` and `.isRunningOnMac`. 33 * In CobraCore, changed `.isRunningOnMono` and `.isRunningOnUnix` from properties to methods. 34 * Moved `IList<of>.numbered` up to `IEnumerable<of>`. 35 * Added `.first`, `.take` and `.skip` extension methods to `IEnumerable<of T>`. 36 * Added the overload `IEnumerable<of>.numbered(start as int)`. 17 37 18 38 == Command Line == 19 39 20 * Foo. 21 * Bar. 40 * Enhanced `-native-compiler` to search the system `PATH` if the specified compiler could not be found by the Process class. 41 * In `cobra -about`, print a warning if `Cobra.Core.dll` is not found next to `cobra.exe`. 42 * Fixed: `cobra -embed-run-time` requires write perms to the install directory. 43 The -embed-run-time/-ert option now makes a local copy of Cobra.Core which is removed later. 22 44 23 == Learning==45 == Installer == 24 46 25 * Foo. 26 * Bar. 47 * Support .NET 4.5 (actually released in Cobra 0.9.1) 48 * Make the Windows-based install-from-workspace.bat robust against the user's starting directory. 49 * Use the environment variables "PROGRAMFILES" and "ProgramW6432" instead of hard coding "\Program Files [(x86)]". 27 50 28 51 == Other == 29 52 30 * Foo. 31 * Bar. 53 * Advanced the JVM back-end (could still use open source volunteers). 54 * Better reporting of column number in error messages. 55 * Updated Notepad.cobra sample to .NET 4.0. 56 * Added dump-assembly.cobra command line util in Supplements/. 57 * Improvements to the online wiki. 58 * There have been concurrent improvements to the MonoDevelop add-in for Cobra, by Ramon Rocha. 32 59 33 60 == Credits == 34 61 35 Cobra is a community-driven, open source project under the MIT license. Direct contributions came from, in order of magnitude:62 Cobra is a community-driven, open source project under the MIT license. For this release, thanks go to: 36 63 37 * Foo. 38 * Bar. 39 40 Suggestions and bug reports came from, in alphabetical order): 41 42 foo, bar 64 * nerdzero 65 * hopscc 66 * kobi7 67 * vazub 68 * jaegs 43 69 44 70 Additional people contributed through testing and discussion.