From: <hi...@us...> - 2007-02-09 05:16:10
|
Revision: 1532 http://svn.sourceforge.net/rubycocoa/?rev=1532&view=rev Author: hisa Date: 2007-02-08 21:16:09 -0800 (Thu, 08 Feb 2007) Log Message: ----------- 2007-02-09 Fujimoto Hisa <hi...@fo...> * framework/src/ruby/osx/objc/oc_bundle_support.rb, framework/src/objc/mdl_bundle_support.h, framework/src/objc/mdl_bundle_support.m, framework/src/objc/RBRuntime.m, framework/RubyCocoa.xcodeproj/project.pbxproj: primitive/core part of Bundle Support implementation move to Objecive-C from Ruby. Addtional part is still in Ruby. * framework/src/objc/RBRuntime.h, framework/src/objc/RBRuntime.m: changed some RBBundleInit API. Objecive-C class defiend by ruby program (1st argument) bound with the bundle related with 2nd argument class. New 3rd argument can use for passing some data from objective-c world to ruby world. and then, the result means success when YES and failed when NO. * framework/src/ruby/osx/objc/oc_bundle_support.rb: removed init_bundle_for_class, and added init_for_bundle ... OSX.init_for_bundle do |bdl, param, log| # bdl - the bundle related with the 2nd argument of RBBundleInit # param - the 3rd argument of RBBundleInit as optional data # log - logger for this block log.info("param=%p", param.to_s) require 'YourObjcClass' # the class bound with the bdl instead # of the mainbundle ... end * sample/RubyAnywhere, sample/VPRubyPluginEnabler: modified for current bundle support spec. Modified Paths: -------------- branches/bundle-support/src/ChangeLog branches/bundle-support/src/framework/RubyCocoa.xcodeproj/project.pbxproj branches/bundle-support/src/framework/src/objc/RBRuntime.h branches/bundle-support/src/framework/src/objc/RBRuntime.m branches/bundle-support/src/framework/src/objc/internal_macros.h branches/bundle-support/src/framework/src/ruby/osx/objc/oc_bundle_support.rb branches/bundle-support/src/sample/RubyAnywhere/RubyAnywhere.xcodeproj/project.pbxproj branches/bundle-support/src/sample/RubyAnywhere/RubyAnywhereLoader.m branches/bundle-support/src/sample/RubyAnywhere/ruby_anywhere_init.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/VPRubyPlugin.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/VPRubyPluginEnabler.m branches/bundle-support/src/sample/VPRubyPluginEnabler/vpr_init.rb Added Paths: ----------- branches/bundle-support/src/framework/src/objc/mdl_bundle_support.h branches/bundle-support/src/framework/src/objc/mdl_bundle_support.m branches/bundle-support/src/sample/Rakefile branches/bundle-support/src/sample/VPRubyPluginEnabler/README Removed Paths: ------------- branches/bundle-support/src/sample/RubyAnywhere/ruby_anywhere.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |