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. |