[Rubycocoa-devel 1442] [Rubycocoa-talk] [ANN]RubyCocoa 1.0.4

Zurück zum Archiv-Index

kimura wataru kimur****@i*****
Tue Aug 28 23:30:44 JST 2012


Hi,

We released RubyCocoa 1.0.4.

http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.4/

A source tarball as well as binary installers for Mac OS X 10.7 and 
10.6 are provided. This is mostly a bugs fix release, for Lion
or x86_64 architecture.

The release notes are following. Enjoy! 

KIMURA Wataru

== Changes 1.0.4 from 1.0.3: 2012-08-27

=== Fixes

  * Fixed leaks at initializing RubyCocoa-1.0.3.
  * Fixed RubyCocoa does not load bridgesupport files under nested framework,
    such as "QuartzCore.framework/Frameworks/CoreImage.framework".


== Changes 1.0.3 from 1.0.2: 2012-08-26 (Not released)

=== Improvements

  * turn on debug printing by environment RUBYCOCOA_DEBUG.
  * project templates for Xcode 4.x. [Experimental]
    templates should be installed under ~/Library/Developer/Xcode/Templates.
    you can try the templates with the following command.

        $ svn export --force https://rubycocoa.svn.sourceforge.net/svnroot/rubycocoa/trunk/src/template/Xcode4.x/Templates ~/Library/Developer/Xcode/Templates


=== Fixes

  * Fixed RubyCocoa apps fail to launch by Xcode-4 "Run" with an error
    "invalid option -N (-h will show valid options)".
    Now RubyCocoa apps do not process commandline options such as "-d".

    If you want to avoid this problem with Lion built-in RubyCocoa,
    edit main.m and rb_main.rb in your project like this.

        diff -ur old/main.m new/main.m
        --- old/main.m  2011-11-19 15:49:58.000000000 +0900
        +++ new/main.m  2011-11-19 15:49:16.000000000 +0900
        @@ -11,5 +11,6 @@
         
         int main(int argc, const char *argv[])
         {
        -    return RBApplicationMain("rb_main.rb", argc, argv);
        +    RBApplicationInit("rb_main.rb", argc, argv, nil);
        +    return NSApplicationMain(argc, argv);
         }
        diff -ur old/rb_main.rb new/rb_main.rb
        --- old/rb_main.rb      2011-11-19 15:49:58.000000000 +0900
        +++ new/rb_main.rb      2011-11-19 15:49:16.000000000 +0900
        @@ -17,7 +17,4 @@
           end
         end
         
        -if $0 == __FILE__ then
        -  rb_main_init
        -  OSX.NSApplicationMain(0, nil)
        -end
        +rb_main_init

    the API RBApplicationInit() is available since version 0.12.0.
    (version of Leopard built-in RubyCocoa is 0.13.x)

  * Fixed NSBundle.loadNibNamed_owner(nibname, owner) fails on Lion or Later.




More information about the Rubycocoa-devel mailing list
Zurück zum Archiv-Index