From: <lr...@us...> - 2007-06-29 14:07:41
|
Revision: 1874 http://svn.sourceforge.net/rubycocoa/?rev=1874&view=rev Author: lrz Date: 2007-06-29 07:07:37 -0700 (Fri, 29 Jun 2007) Log Message: ----------- 2007-06-29 Laurent Sansonetti <lsa...@ap...> * framework/src/objc/RBObject.m, framework/src/objc/ocdata_conv.m, tests/tc_bool.rb: - Fixed a PPC regression when converting small integers (less than 4 bytes) from a metadata-driven Ruby method (ex: an informal protocol method). - Better generic Ruby -> ObjC boolean conversion, now trying to respect the Ruby semantics. Ruby's true and false are converted as true and false, all integers (including 0) are converted as true and nil as false ; - Added a test case (original code written by Kimura Wataru). Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/objc/RBObject.m trunk/src/framework/src/objc/ocdata_conv.m Added Paths: ----------- trunk/src/tests/tc_bool.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |