Menu

SVN Commit Log


Commit Date  
[r2581] by kimuraw

Fix "$0 not initialized" on ruby-2.x

setting new value to $0 is allowed when the script running on ruby(1).

2014-06-30 13:53:22 Tree
[r2580] by kimuraw

Convert Objective-C char* value into ASCII-8BIT string on Ruby

2014-06-26 22:16:28 Tree
[r2579] by kimuraw

Raise NoMethodError when Objective-C method is not found

change exception class to NoMethodError from OSX::OCMessageSendException.

obj = OSX::NSObject.alloc.init
obj.notImplementedMethod() # => NoMethodError

2014-06-24 22:25:16 Tree
[r2578] by kimuraw

Fix missing restore OSX.relaxed_syntax when test_message_syntaxes() fails

2014-06-24 22:25:04 Tree
[r2577] by kimuraw

Remove unused scripts

2014-06-24 13:00:07 Tree
[r2576] by kimuraw

Refactor message passing from ruby to objective-c

- OSX::NSString#method_missing and resnpond_to?: use super
- OSX::OCObjWrapper#ocm_responds?: rename to #ocm_respond_to?

2014-06-22 11:09:50 Tree
[r2575] by kimuraw

Add st_table and functions for encoding conversion

st_table
- rb2ocEncConv: ruby encoding index -> CFStringEncoding
- oc2rbEncConv: CFStringEncoding -> ruby encoding index

function - lookup conversion table
- strenc_rb2oc()
- strenc_oc2rb()

function - register conversion table
- register_strenc_rb2oc()
- register_strenc_oc2rb()
- register_strenc_pair()

2014-06-21 06:54:44 Tree
[r2574] by kimuraw

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.

2014-06-21 06:54:26 Tree
[r2573] by kimuraw

Allow running tests with `minitest`, standard library of ruby-2.0

test-unit minitest
---------------------------------------------
assert_true(cond) assert_equal(true, cond)
assert_false(cond) assert_equal(false, cond)

2014-06-19 21:50:30 Tree
[r2572] by kimuraw

Add argument vaidation to OSX.load_plist()

OSX.load_plist() accepts String, OSX::NSString and OSX::NSData.

OSX.load_plist(nil) # => ArgumentError
OSX.load_plist(broken_input) # => RuntimeError

2014-06-19 21:50:19 Tree
Older >