From: <hi...@us...> - 2007-02-07 06:08:45
|
Revision: 1524 http://svn.sourceforge.net/rubycocoa/?rev=1524&view=rev Author: hisa Date: 2007-02-06 22:08:43 -0800 (Tue, 06 Feb 2007) Log Message: ----------- 2007-02-07 Fujimoto Hisa <hi...@fo...> * bundle-support branch - temporary branch (from apple-unstable) for *EXPERIMENT* of bundle/plugin support. Maybe these API/SPEC is dynamically changed for a while. * framework/RubyCocoa.xcodeproj/project.pbxproj, framework/src/ruby/osx/objc/oc_bundle_support.rb, framework/src/ruby/osx/objc/oc_all.rb framework/src/ruby/osx/objc/oc_import.rb: temporary implementation for bundle/plugin support by ruby program. * sample/RubyAnywhere: SIMBL plugin example. * sample/VPRubyPluginEnabler: VoodooPad plugin example (not complete) Modified Paths: -------------- branches/bundle-support/src/ChangeLog branches/bundle-support/src/VERSION branches/bundle-support/src/framework/RubyCocoa.xcodeproj/project.pbxproj branches/bundle-support/src/framework/src/ruby/osx/objc/oc_all.rb branches/bundle-support/src/framework/src/ruby/osx/objc/oc_import.rb Added Paths: ----------- branches/bundle-support/src/framework/src/ruby/osx/objc/oc_bundle_support.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hi...@us...> - 2007-02-07 23:54:20
|
Revision: 1527 http://svn.sourceforge.net/rubycocoa/?rev=1527&view=rev Author: hisa Date: 2007-02-07 15:54:16 -0800 (Wed, 07 Feb 2007) Log Message: ----------- * framework/src/ruby/osx/objc/oc_bundle_support.rb: checked existence of module variables in BundleSupport before I define it. Modified Paths: -------------- branches/bundle-support/src/ChangeLog branches/bundle-support/src/framework/src/ruby/osx/objc/oc_bundle_support.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hi...@us...> - 2007-02-08 02:30:29
|
Revision: 1529 http://svn.sourceforge.net/rubycocoa/?rev=1529&view=rev Author: hisa Date: 2007-02-07 18:30:15 -0800 (Wed, 07 Feb 2007) Log Message: ----------- * framework/src/ruby/osx/objc/oc_bundle_support.rb, sample/VPRubyPluginEnabler/vpr_init.rb, sample/RubyAnywhere/ruby_anywhere_init.rb: implement the init_bundle_for_class. usage example: OSX.init_bundle_for_class(A_PRINCIPLE_CLASS) do # running ruby program in the bundle context require 'MyController' obj = MyController.alloc.init OSX::NSBundle.loadNibNamed_owner('MyUI.nib', obj) end Modified Paths: -------------- branches/bundle-support/src/ChangeLog branches/bundle-support/src/framework/src/ruby/osx/objc/oc_bundle_support.rb branches/bundle-support/src/sample/RubyAnywhere/README branches/bundle-support/src/sample/RubyAnywhere/ruby_anywhere_init.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/vpr_init.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
From: <hi...@us...> - 2007-02-09 08:24:33
|
Revision: 1535 http://svn.sourceforge.net/rubycocoa/?rev=1535&view=rev Author: hisa Date: 2007-02-09 00:24:30 -0800 (Fri, 09 Feb 2007) Log Message: ----------- * framework/src/ruby/osx/objc/oc_bundle_support.rb, framework/src/ruby/osx/objc/oc_import.rb: fixed to avoid a bus error by the adhoc way, inserted NSClassFromString without mean. Modified Paths: -------------- branches/bundle-support/src/ChangeLog branches/bundle-support/src/framework/src/ruby/osx/objc/oc_bundle_support.rb branches/bundle-support/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: <hi...@us...> - 2007-02-09 11:31:25
|
Revision: 1536 http://svn.sourceforge.net/rubycocoa/?rev=1536&view=rev Author: hisa Date: 2007-02-09 03:31:22 -0800 (Fri, 09 Feb 2007) Log Message: ----------- * framework/src/ruby/osx/objc/oc_bundle_support.rb, framework/src/ruby/osx/objc/oc_import.rb, framework/src/objc/mdl_bundle_support.m: moved the implementation of method swizzling for NSBundle.bundleForClass into Objective-C from Ruby side. Modified Paths: -------------- branches/bundle-support/src/ChangeLog branches/bundle-support/src/framework/src/objc/mdl_bundle_support.m branches/bundle-support/src/framework/src/ruby/osx/objc/oc_bundle_support.rb branches/bundle-support/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: <hi...@us...> - 2007-02-09 16:25:28
|
Revision: 1537 http://svn.sourceforge.net/rubycocoa/?rev=1537&view=rev Author: hisa Date: 2007-02-09 08:25:22 -0800 (Fri, 09 Feb 2007) Log Message: ----------- * sample/VPRubyPluginEnabler: VoodooPad plugin example works good. Modified Paths: -------------- branches/bundle-support/src/ChangeLog branches/bundle-support/src/sample/VPRubyPluginEnabler/RubyPluginEnabler.xcodeproj/project.pbxproj branches/bundle-support/src/sample/VPRubyPluginEnabler/VPRubyPlugin.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/vpr_init.rb Added Paths: ----------- branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/ branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/count of words in document.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/count of words in page.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/new page with date.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/select line.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/select paragraph.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/VPPlugin.xml branches/bundle-support/src/sample/VPRubyPluginEnabler/VPRubyScript.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hi...@us...> - 2007-02-10 02:28:28
|
Revision: 1542 http://svn.sourceforge.net/rubycocoa/?rev=1542&view=rev Author: hisa Date: 2007-02-09 18:28:26 -0800 (Fri, 09 Feb 2007) Log Message: ----------- 2007-02-10 Fujimoto Hisa <hi...@fo...> * sample/VPRubyPluginEnabler: added VoodooPad plugin convetions. the VPRubyScript#vp_spec is configuration for menu item. the VPRubyScript#vp_action is a definition of a script procedure. the action is evaluated when an user selects the menu item. so the script is able to modify without re-launch the app. * framework/src/objc/RBRuntime.m: fixed to check the result of bundle_support_load by rb_obj_is_kind_of instead of rb_obj_is_instance_of. Modified Paths: -------------- branches/bundle-support/src/ChangeLog branches/bundle-support/src/framework/src/objc/RBRuntime.m branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/count of words in document.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/count of words in page.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/new page with date.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/select line.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/Script PlugIns/select paragraph.rb branches/bundle-support/src/sample/VPRubyPluginEnabler/VPRubyScript.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |