Menu

Commit [r2574]  Maximize  Restore  History

Improve launch process of RubyCocoa applications on ruby-2.x

- use ruby_run_node(node) on ruby-2.x.
- NSString#fileSystemRepresentation returns regular string.

on ruby-2.x, a return value type (char *) from Objective-C becomes Ruby
String with dummy encoding "RUBYCOCOA_UNKNOWN".

NSString#fileSystemRepresentation is used in most of rb_main.rb.
If the method returns regular string, we need not to modify rb_main.rb
of out RubyCocoa apps.

kimuraw 2014-06-21

changed /trunk/src/ChangeLog
changed /trunk/src/framework/src/objc/RBRuntime.m
changed /trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb