Wiki

Changes between Version 1 and Version 2 of ReleaseNotes_0.9.2

Show
Ignore:
Timestamp:
11/25/12 22:02:20 (5 years ago)
Author:
Charles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReleaseNotes_0.9.2

    v1 v2  
    55Below 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]. 
    66 
    7  
    87== Language == 
    98 
    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. 
    1229 
    1330== Library == 
    1431 
    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)`. 
    1737 
    1838== Command Line == 
    1939 
    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. 
     43The -embed-run-time/-ert option now makes a local copy of Cobra.Core which is removed later. 
    2244 
    23 == Learning == 
     45== Installer == 
    2446 
    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)]". 
    2750 
    2851== Other == 
    2952 
    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. 
    3259 
    3360== Credits == 
    3461 
    35 Cobra is a community-driven, open source project under the MIT license. Direct contributions came from, in order of magnitude: 
     62Cobra is a community-driven, open source project under the MIT license. For this release, thanks go to: 
    3663 
    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 
    4369 
    4470Additional people contributed through testing and discussion.