From: <lr...@us...> - 2007-09-26 14:19:43
|
Revision: 2049 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2049&view=rev Author: lrz Date: 2007-09-26 07:19:38 -0700 (Wed, 26 Sep 2007) Log Message: ----------- 2007-09-26 Laurent Sansonetti <lsa...@ap...> * framework/src/objc/RBObject.m, framework/src/objc/mdl_osxobjc.m, framework/src/objc/RBRuntime.m, framework/src/objc/mdl_objwrapper.m, framework/src/objc/OverrideMixin.h, framework/src/objc/ocdata_conv.m, framework/src/objc/OverrideMixin.m, tests/tc_subclass.rb: - Fixed a bug when an object that was being allocated from a Ruby thread was still in the cache while the thread was killed, resulting in a corrupted cache. - Make sure we do not cache CF-based objects. - Fixed a circular retain cycle from ObjC objects allocated from an NSObject-based Ruby class, resulting in a leak of both the ObjC object and its Ruby proxy. - Added test cases. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/OverrideMixin.h trunk/src/framework/src/objc/OverrideMixin.m trunk/src/framework/src/objc/RBObject.m trunk/src/framework/src/objc/RBRuntime.m trunk/src/framework/src/objc/mdl_objwrapper.m trunk/src/framework/src/objc/mdl_osxobjc.m trunk/src/framework/src/objc/ocdata_conv.m trunk/src/tests/tc_subclass.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-09-26 20:38:14
|
Revision: 2052 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2052&view=rev Author: lrz Date: 2007-09-26 13:38:13 -0700 (Wed, 26 Sep 2007) Log Message: ----------- - Hook [copyWithZone:] and reset the slave object so that every ObjC object has a different slave object. This fixes a crash when releasing a slave object that could be shared by multiple ObjC objects. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/OverrideMixin.h trunk/src/framework/src/objc/OverrideMixin.m trunk/src/framework/src/objc/RBClassUtils.m This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-09-26 22:36:15
|
Revision: 2053 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2053&view=rev Author: lrz Date: 2007-09-26 15:36:13 -0700 (Wed, 26 Sep 2007) Log Message: ----------- 2007-09-27 Laurent Sansonetti <lsa...@ap...> * framework/src/ruby/osx/objc/ruby_addition.rb, framework/src/ruby/osx/objc/oc_wrapper.rb, framework/src/objc/ocdata_conv.m: #objc_send will now pass a frozen selector to the core, where underscore characters won't be transformed as ':'. This is a convenience utility to call ObjC methods that contain underscores as part of their selector, like for example [__rbobj__]. * tests/tc_subclass.rb: Added a test case for the [copyWithZone:] hook fix described just below. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/ocdata_conv.m trunk/src/framework/src/ruby/osx/objc/oc_wrapper.rb trunk/src/framework/src/ruby/osx/objc/ruby_addition.rb trunk/src/tests/tc_subclass.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-27 06:32:13
|
Revision: 2054 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2054&view=rev Author: psychs Date: 2007-09-26 23:32:10 -0700 (Wed, 26 Sep 2007) Log Message: ----------- 2007-09-27 Satoshi Nakagawa <art...@gm...> * framework/src/objc/objc_compat.h: Added #define class_respondsToSelector. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/objc_compat.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-09-27 13:45:31
|
Revision: 2055 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2055&view=rev Author: lrz Date: 2007-09-27 06:45:30 -0700 (Thu, 27 Sep 2007) Log Message: ----------- 2007-09-27 Laurent Sansonetti <lsa...@ap...> * AUTHORS: Fixed a typo in Vincent's last name. Modified Paths: -------------- trunk/src/AUTHORS trunk/src/ChangeLog This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-28 02:52:33
|
Revision: 2056 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2056&view=rev Author: psychs Date: 2007-09-27 19:52:31 -0700 (Thu, 27 Sep 2007) Log Message: ----------- 2007-09-28 Satoshi Nakagawa <art...@gm...> * framework/src/ruby/osx/objc/oc_attachments.rb, tests/tc_nsarray.rb, tests/tc_nsstring_compat.rb: - Added error checks for NSString#* and NSString#+. - Disabled NSString#[regexp]. - NSString#capitalize should be compatible to String#capitalize. - NSString#capitalize!, NSString#downcase! and NSString#upcase! should return nil when not modified. - NSString#[start,len] and NSString#[start..end] should return '' when start == count. - NSArray#[start,len] and NSArray#[start..end] should return [] when start == count. - [-3,2] should be treated as (-3+count)..(-3+count+2) in NSArray#[] and NSArray#[]=. - Updated tests. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb trunk/src/tests/tc_nsarray.rb trunk/src/tests/tc_nsstring_compat.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-28 16:33:55
|
Revision: 2057 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2057&view=rev Author: psychs Date: 2007-09-28 09:33:52 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 2007-09-29 Satoshi Nakagawa <art...@gm...> * framework/src/ruby/osx/objc/oc_attachments.rb, tests/tc_nsstring_compat.rb: - Refactoring NSString#[], NSArray#[] and NSArray#[]=. - Added methods to NSString: chop, chop!, each, each_line, intern, lines, to_sym. - Added NSIndexSet#inspect. - Updated tests. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb trunk/src/tests/tc_nsstring_compat.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-09-28 16:56:16
|
Revision: 2058 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2058&view=rev Author: lrz Date: 2007-09-28 09:56:13 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 2007-09-28 Laurent Sansonetti <lsa...@ap...> * framework/src/objc/RBObject.h, framework/src/objc/RBObject.m, framework/src/objc/mdl_objwrapper.m, framework/src/objc/OverrideMixin.m, framework/src/objc/RBSlaveObject.h: Better OvMix retain cycle: if an OvMix object is created from Ruby, we by default don't retain its Ruby proxy, and start tracking retain/release messages, and appropriately re-retain/re-release the Ruby proxy. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/OverrideMixin.m trunk/src/framework/src/objc/RBObject.h trunk/src/framework/src/objc/RBObject.m trunk/src/framework/src/objc/RBSlaveObject.h trunk/src/framework/src/objc/mdl_objwrapper.m This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-09-28 17:16:27
|
Revision: 2061 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2061&view=rev Author: lrz Date: 2007-09-28 10:16:26 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 2007-09-28 Laurent Sansonetti <lsa...@ap...> * sample/CocoaRepl/ReplController.rb: Keep the text view delegate as an ivar, because otherwise it will be collected by the Ruby GC, because the text view doesn't retain its delegate, and neither its datasource. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/sample/CocoaRepl/ReplController.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-28 20:36:29
|
Revision: 2062 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2062&view=rev Author: psychs Date: 2007-09-28 13:36:26 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 2007-09-29 Satoshi Nakagawa <art...@gm...> * framework/src/ruby/osx/objc/oc_attachments.rb, tests/tc_nsstring_compat.rb, tests/tc_nsarray.rb: - Refactoring [], each and include? of NSString. - Refactoring [] and []= of NSArray. - Added methods to NSString: []=, index. - Updated tests. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb trunk/src/tests/tc_nsarray.rb trunk/src/tests/tc_nsstring_compat.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-28 21:03:23
|
Revision: 2063 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2063&view=rev Author: psychs Date: 2007-09-28 14:03:22 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 2007-09-29 Satoshi Nakagawa <art...@gm...> * framework/src/ruby/osx/objc/oc_attachments.rb, tests/tc_nsstring_compat.rb: - Added methods to NSString: chr, chomp, chomp!. - Updated tests. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb trunk/src/tests/tc_nsstring_compat.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-28 21:08:32
|
Revision: 2064 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2064&view=rev Author: psychs Date: 2007-09-28 14:08:27 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 2007-09-29 Satoshi Nakagawa <art...@gm...> * framework/src/ruby/osx/objc/oc_attachments.rb: length should be counted on NSString. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-29 06:18:00
|
Revision: 2065 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2065&view=rev Author: psychs Date: 2007-09-28 23:17:59 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 2007-09-29 Satoshi Nakagawa <art...@gm...> * framework/src/ruby/osx/objc/oc_attachments.rb: Refactoring operations around Range. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-29 06:47:30
|
Revision: 2066 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2066&view=rev Author: psychs Date: 2007-09-28 23:47:28 -0700 (Fri, 28 Sep 2007) Log Message: ----------- 2007-09-29 Satoshi Nakagawa <art...@gm...> * framework/src/ruby/osx/objc/oc_attachments.rb, tests/tc_nsstring_compat.rb: - Refactoring NSString and NSArray. - Improved tests. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb trunk/src/tests/tc_nsstring_compat.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-29 15:51:46
|
Revision: 2067 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2067&view=rev Author: psychs Date: 2007-09-29 08:51:45 -0700 (Sat, 29 Sep 2007) Log Message: ----------- 2007-09-29 Satoshi Nakagawa <art...@gm...> * framework/src/ruby/osx/objc/oc_attachments.rb, tests/tc_nsstring_compat.rb: - Added methods to NSString: each_byte, insert, hex, oct, ord, replace, reverse, reverse!, rindex. - Changed to_i and to_f of NSString to forward to String. - Refactoring NSString. - Updated tests. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb trunk/src/tests/tc_nsstring_compat.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ps...@us...> - 2007-09-29 16:00:52
|
Revision: 2068 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2068&view=rev Author: psychs Date: 2007-09-29 09:00:49 -0700 (Sat, 29 Sep 2007) Log Message: ----------- 2007-09-29 Satoshi Nakagawa <art...@gm...> * tests/tc_nsstring_compat.rb: Added tests for NSString#[]=(str,value). Modified Paths: -------------- trunk/src/ChangeLog trunk/src/tests/tc_nsstring_compat.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-10-01 14:23:33
|
Revision: 2069 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2069&view=rev Author: lrz Date: 2007-10-01 07:23:29 -0700 (Mon, 01 Oct 2007) Log Message: ----------- 2007-09-02 Laurent Sansonetti <lsa...@ap...> * framework/src/objc/ocdata_conv.m, tests/tc_subclass.rb: Removed the old __slave_nsobj__ ivar hook. Now all pure-Ruby objects will be wrapped in an autoreleased RBObject. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/ocdata_conv.m trunk/src/tests/tc_subclass.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-10-01 14:24:08
|
Revision: 2070 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2070&view=rev Author: lrz Date: 2007-10-01 07:24:05 -0700 (Mon, 01 Oct 2007) Log Message: ----------- 2007-09-02 Laurent Sansonetti <lsa...@ap...> * tool/create-symlinks.rb: Fixed for Leopard. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/tool/create-symlinks.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-10-01 15:48:16
|
Revision: 2071 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2071&view=rev Author: lrz Date: 2007-10-01 08:48:13 -0700 (Mon, 01 Oct 2007) Log Message: ----------- 2007-09-02 Laurent Sansonetti <lsa...@ap...> * framework/src/objc/OverrideMixin.m, tests/tc_ovmix.rb, tests/objc_test.m: Fixed a bug, when ObjC arguments that were passed from an ObjC closure to Ruby were not retained, as they should. Added a test case. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/OverrideMixin.m trunk/src/tests/objc_test.m trunk/src/tests/tc_ovmix.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <el...@us...> - 2007-10-02 19:31:16
|
Revision: 2072 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2072&view=rev Author: el_oy Date: 2007-10-02 12:31:14 -0700 (Tue, 02 Oct 2007) Log Message: ----------- 2007-10-02 Eloy Duran <elo...@gm...> * framework/tool/standaloneify.rb: - Standaloneify now sets the environment variable ENV['RUBYCOCOA_STANDALONEIFYING?'] This is to be able to prevent code from being ran when a application s being standaloneified. - Standaloneify will now skip all the source files at any depth in Resources. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/tool/standaloneify.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-10-09 22:50:48
|
Revision: 2085 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2085&view=rev Author: lrz Date: 2007-10-09 15:50:45 -0700 (Tue, 09 Oct 2007) Log Message: ----------- 2007-09-10 Laurent Sansonetti <lsa...@ap...> * framework/src/objc/RBObject.m, framework/src/objc/libffi.m, framework/src/objc/mdl_osxobjc.m, framework/src/objc/internal_macros.h, framework/src/objc/OverrideMixin.m: Better facility that dispatches messages from threads to the thread where RubyCocoa was initialized. It was previously assuming that RubyCocoa was run in the main thread, which may not be always true (Ruby could be ran in a different thread). Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/OverrideMixin.m trunk/src/framework/src/objc/RBObject.m trunk/src/framework/src/objc/internal_macros.h trunk/src/framework/src/objc/libffi.m trunk/src/framework/src/objc/mdl_osxobjc.m This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-10-12 15:45:22
|
Revision: 2088 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2088&view=rev Author: lrz Date: 2007-10-12 08:45:19 -0700 (Fri, 12 Oct 2007) Log Message: ----------- 2007-09-12 Laurent Sansonetti <lsa...@ap...> * framework/src/ruby/osx/objc/oc_import.rb: Fixed a bug when using test-spec, reported by Eloy Duran. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_import.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <el...@us...> - 2007-10-23 23:44:12
|
Revision: 2090 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2090&view=rev Author: el_oy Date: 2007-10-23 16:44:10 -0700 (Tue, 23 Oct 2007) Log Message: ----------- 2007-10-24 Eloy Duran <e....@su...> * framework/tool/rb_nibtool.rb: - Fixed bug where #each was called on nil if there were either no actions OR outlets in the class. - Fixed bug where a new class from a source file would not show up in the class list in IB because the superclass is unknown to the classes list in IB. If the superclass const is not found it will default to NSObject. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/tool/rb_nibtool.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lr...@us...> - 2007-10-24 01:47:08
|
Revision: 2091 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2091&view=rev Author: lrz Date: 2007-10-23 18:47:06 -0700 (Tue, 23 Oct 2007) Log Message: ----------- 2007-10-24 Laurent Sansonetti <lsa...@ap...> * framework/tool/rb_nibtool.rb: - Skip the use of NSObject if a superclass is unknown IF rubynode is used. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/tool/rb_nibtool.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <el...@us...> - 2007-10-24 17:45:12
|
Revision: 2092 http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2092&view=rev Author: el_oy Date: 2007-10-24 10:44:54 -0700 (Wed, 24 Oct 2007) Log Message: ----------- 2007-10-24 Eloy Duran <e....@su...> * framework/src/ruby/osx/objc/oc_attachments.rb, framework/tool/rb_nibtool.rb: - Added pretty print support to NSString, NSArray, NSDictionary. (require 'pp') - Removed useless const.nil? statement in rb_nibtool.rb. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/oc_attachments.rb trunk/src/framework/tool/rb_nibtool.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |