You can subscribe to this list here.
2002 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(3) |
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(1) |
Feb
(11) |
Mar
(9) |
Apr
(1) |
May
(5) |
Jun
(5) |
Jul
(4) |
Aug
(3) |
Sep
(15) |
Oct
(8) |
Nov
(9) |
Dec
(11) |
2004 |
Jan
(5) |
Feb
(2) |
Mar
(1) |
Apr
(3) |
May
(6) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
(3) |
2005 |
Jan
(1) |
Feb
(7) |
Mar
(6) |
Apr
(36) |
May
(20) |
Jun
(42) |
Jul
(21) |
Aug
(12) |
Sep
(56) |
Oct
(5) |
Nov
(55) |
Dec
(53) |
2006 |
Jan
(43) |
Feb
(83) |
Mar
(98) |
Apr
(42) |
May
(68) |
Jun
(55) |
Jul
(50) |
Aug
(104) |
Sep
(13) |
Oct
(70) |
Nov
(37) |
Dec
(42) |
2007 |
Jan
(56) |
Feb
(18) |
Mar
(43) |
Apr
(80) |
May
(65) |
Jun
(149) |
Jul
(103) |
Aug
(71) |
Sep
(62) |
Oct
(67) |
Nov
(72) |
Dec
(63) |
2008 |
Jan
(64) |
Feb
(63) |
Mar
(31) |
Apr
(42) |
May
(71) |
Jun
(62) |
Jul
(37) |
Aug
(25) |
Sep
(5) |
Oct
(2) |
Nov
(7) |
Dec
(14) |
2009 |
Jan
(20) |
Feb
(15) |
Mar
(19) |
Apr
(8) |
May
(7) |
Jun
|
Jul
(37) |
Aug
(12) |
Sep
(19) |
Oct
(5) |
Nov
(1) |
Dec
(4) |
2010 |
Jan
(5) |
Feb
(24) |
Mar
(16) |
Apr
(9) |
May
(4) |
Jun
|
Jul
|
Aug
(6) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(7) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(5) |
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Steve C. <st...@sc...> - 2012-09-05 16:13:15
|
Hi, I'm using rubycocoa 1.0.4 with Xcode 4.4.1 and OSX 10.8. I've installed the experimental templates for XCode 4.4 I've created a minimal app and it starts and opens a window. delegate methods in my ruby code are being called successfully. However I can't see any actions or outlets. Any thoughts about why not? I seem to recall from similar problems with MacRuby that the Xcode way of invoking rb_nibtool had changed. Could this be related? Steve |
From: kimura w. <ki...@us...> - 2012-08-28 14:31:51
|
Hi, We released RubyCocoa 1.0.4. http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.4/ A source tarball as well as binary installers for Mac OS X 10.7 and 10.6 are provided. This is mostly a bugs fix release, for Lion or x86_64 architecture. The release notes are following. Enjoy! KIMURA Wataru == Changes 1.0.4 from 1.0.3: 2012-08-27 === Fixes * Fixed leaks at initializing RubyCocoa-1.0.3. * Fixed RubyCocoa does not load bridgesupport files under nested framework, such as "QuartzCore.framework/Frameworks/CoreImage.framework". == Changes 1.0.3 from 1.0.2: 2012-08-26 (Not released) === Improvements * turn on debug printing by environment RUBYCOCOA_DEBUG. * project templates for Xcode 4.x. [Experimental] templates should be installed under ~/Library/Developer/Xcode/Templates. you can try the templates with the following command. $ svn export --force https://rubycocoa.svn.sourceforge.net/svnroot/rubycocoa/trunk/src/template/Xcode4.x/Templates ~/Library/Developer/Xcode/Templates === Fixes * Fixed RubyCocoa apps fail to launch by Xcode-4 "Run" with an error "invalid option -N (-h will show valid options)". Now RubyCocoa apps do not process commandline options such as "-d". If you want to avoid this problem with Lion built-in RubyCocoa, edit main.m and rb_main.rb in your project like this. diff -ur old/main.m new/main.m --- old/main.m 2011-11-19 15:49:58.000000000 +0900 +++ new/main.m 2011-11-19 15:49:16.000000000 +0900 @@ -11,5 +11,6 @@ int main(int argc, const char *argv[]) { - return RBApplicationMain("rb_main.rb", argc, argv); + RBApplicationInit("rb_main.rb", argc, argv, nil); + return NSApplicationMain(argc, argv); } diff -ur old/rb_main.rb new/rb_main.rb --- old/rb_main.rb 2011-11-19 15:49:58.000000000 +0900 +++ new/rb_main.rb 2011-11-19 15:49:16.000000000 +0900 @@ -17,7 +17,4 @@ end end -if $0 == __FILE__ then - rb_main_init - OSX.NSApplicationMain(0, nil) -end +rb_main_init the API RBApplicationInit() is available since version 0.12.0. (version of Leopard built-in RubyCocoa is 0.13.x) * Fixed NSBundle.loadNibNamed_owner(nibname, owner) fails on Lion or Later. |
From: kimura w. <kimuraw@i.nifty.jp> - 2011-09-02 16:38:39
|
Hi, We released RubyCocoa 1.0.2. http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.2/ A source tarball as well as binary installers for Mac OS X 10.7 and 10.6 are provided. This is mostly a bugs fix release, for Lion or x86_64 architecture. The release notes are following. Enjoy! KIMURA Wataru == Changes 1.0.2 from 1.0.1: 2011-09-02 === Improvements * OSX.load_plist() accepts binary format plist data. === Fixes * Lion * Fixed SEGV at working with NSData or Ruby byte string. * Fixed some opaque becomes ABRecordRef. * Fixed build error with install.rb. * x86_64 * Fixed SEGV passing/getting small C struct contains C array, such as NSDecimal. |
From: Gregory C. <gr...@in...> - 2011-08-09 16:17:50
|
My guess is that there'll be a new version of the framework that'll need to be embedded in the application bundle for distribution. Greg On Aug 8, 2011, at 11:50 PM, Duncan McGregor wrote: > Can you tell me - does the fix need any compilation - or is it just a > Ruby change? > > Thanks > > Duncan > > On 8 August 2011 22:16, Duncan McGregor <du...@on...> wrote: >> Cool, thanks very much >> >> Duncan >> >> On 8 August 2011 07:34, kimura wataru <kimuraw@i.nifty.jp> wrote: >>> Hi, >>> >>> Thanks for your reportings. >>> I've fixed this probrem at trunk r2307. >>> >>> http://rubycocoa.svn.sourceforge.net/viewvc/rubycocoa/trunk/src/framework/src/objc/BridgeSupport.m?r1=2307&r2=2305&pathrev=2307 >>> >>> I'm working for fix other problems on Lion, >>> and I'll release the new version of RubyCocoa in this month. >>> >>> >>> On Mon, 1 Aug 2011 12:26:49 -0700, Duncan McGregor wrote: >>>> Lion seems to have fundamentally broken RubyCocoa marshalling of >>>> binary data for me - viz : >>>> >>>> DESCRIPTION OF PROBLEM >>>> >>>> On Lion I cannot create NSData objects from RubyCocoa if any of the >>>> bytes have their top bit set. >>>> >>>> STEPS TO REPRODUCE >>>> >>>> The following code runs fine on 10.5 and 10.6, but segfaults in Lion >>>> (you can just paste it into an irb prompt). >>>> >>>> require 'osx/cocoa' >>>> include OSX >>>> byte = 128 >>>> bytes = [byte].pack('i_1') >>>> NSData.dataWithBytes_length(bytes, bytes.length) >>>> >>> >>> -- >>> kimura wataru >>> >>> ------------------------------------------------------------------------------ >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >>> The must-attend event for mobile developers. Connect with experts. >>> Get tools for creating Super Apps. See the latest technologies. >>> Sessions, hands-on labs, demos & much more. Register early & save! >>> http://p.sf.net/sfu/rim-blackberry-1 >>> _______________________________________________ >>> Rubycocoa-talk mailing list >>> Rub...@li... >>> https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk >>> >> > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Duncan M. <du...@on...> - 2011-08-09 06:51:11
|
Can you tell me - does the fix need any compilation - or is it just a Ruby change? Thanks Duncan On 8 August 2011 22:16, Duncan McGregor <du...@on...> wrote: > Cool, thanks very much > > Duncan > > On 8 August 2011 07:34, kimura wataru <kimuraw@i.nifty.jp> wrote: >> Hi, >> >> Thanks for your reportings. >> I've fixed this probrem at trunk r2307. >> >> http://rubycocoa.svn.sourceforge.net/viewvc/rubycocoa/trunk/src/framework/src/objc/BridgeSupport.m?r1=2307&r2=2305&pathrev=2307 >> >> I'm working for fix other problems on Lion, >> and I'll release the new version of RubyCocoa in this month. >> >> >> On Mon, 1 Aug 2011 12:26:49 -0700, Duncan McGregor wrote: >>> Lion seems to have fundamentally broken RubyCocoa marshalling of >>> binary data for me - viz : >>> >>> DESCRIPTION OF PROBLEM >>> >>> On Lion I cannot create NSData objects from RubyCocoa if any of the >>> bytes have their top bit set. >>> >>> STEPS TO REPRODUCE >>> >>> The following code runs fine on 10.5 and 10.6, but segfaults in Lion >>> (you can just paste it into an irb prompt). >>> >>> require 'osx/cocoa' >>> include OSX >>> byte = 128 >>> bytes = [byte].pack('i_1') >>> NSData.dataWithBytes_length(bytes, bytes.length) >>> >> >> -- >> kimura wataru >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos & much more. Register early & save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> Rubycocoa-talk mailing list >> Rub...@li... >> https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk >> > |
From: Duncan M. <du...@on...> - 2011-08-09 05:25:16
|
Cool, thanks very much Duncan On 8 August 2011 07:34, kimura wataru <kimuraw@i.nifty.jp> wrote: > Hi, > > Thanks for your reportings. > I've fixed this probrem at trunk r2307. > > http://rubycocoa.svn.sourceforge.net/viewvc/rubycocoa/trunk/src/framework/src/objc/BridgeSupport.m?r1=2307&r2=2305&pathrev=2307 > > I'm working for fix other problems on Lion, > and I'll release the new version of RubyCocoa in this month. > > > On Mon, 1 Aug 2011 12:26:49 -0700, Duncan McGregor wrote: >> Lion seems to have fundamentally broken RubyCocoa marshalling of >> binary data for me - viz : >> >> DESCRIPTION OF PROBLEM >> >> On Lion I cannot create NSData objects from RubyCocoa if any of the >> bytes have their top bit set. >> >> STEPS TO REPRODUCE >> >> The following code runs fine on 10.5 and 10.6, but segfaults in Lion >> (you can just paste it into an irb prompt). >> >> require 'osx/cocoa' >> include OSX >> byte = 128 >> bytes = [byte].pack('i_1') >> NSData.dataWithBytes_length(bytes, bytes.length) >> > > -- > kimura wataru > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > |
From: kimura w. <kimuraw@i.nifty.jp> - 2011-08-08 15:00:10
|
Hi, Thanks for your reportings. I've fixed this probrem at trunk r2307. http://rubycocoa.svn.sourceforge.net/viewvc/rubycocoa/trunk/src/framework/src/objc/BridgeSupport.m?r1=2307&r2=2305&pathrev=2307 I'm working for fix other problems on Lion, and I'll release the new version of RubyCocoa in this month. On Mon, 1 Aug 2011 12:26:49 -0700, Duncan McGregor wrote: > Lion seems to have fundamentally broken RubyCocoa marshalling of > binary data for me - viz : > > DESCRIPTION OF PROBLEM > > On Lion I cannot create NSData objects from RubyCocoa if any of the > bytes have their top bit set. > > STEPS TO REPRODUCE > > The following code runs fine on 10.5 and 10.6, but segfaults in Lion > (you can just paste it into an irb prompt). > > require 'osx/cocoa' > include OSX > byte = 128 > bytes = [byte].pack('i_1') > NSData.dataWithBytes_length(bytes, bytes.length) > -- kimura wataru |
From: Gregory C. <gr...@in...> - 2011-08-03 20:53:59
|
I've also seen Core Animation problems with RubyCocoa on Lion that don't exist on Snow Leopard. But it's very easy to translate an app from RubyCocoa to MacRuby. Just be aware that there's no support for Leopard. Greg > Lion seems to have fundamentally broken RubyCocoa marshalling of > binary data for me - viz : > > DESCRIPTION OF PROBLEM > > On Lion I cannot create NSData objects from RubyCocoa if any of the > bytes have their top bit set. > > STEPS TO REPRODUCE > > The following code runs fine on 10.5 and 10.6, but segfaults in Lion > (you can just paste it into an irb prompt). > > require 'osx/cocoa' > include OSX > byte = 128 > bytes = [byte].pack('i_1') > NSData.dataWithBytes_length(bytes, bytes.length) > > 10.6 gives #<OSX::NSConcreteData:0x801bf550 class='NSConcreteData' > id=0x1013df110> > 10.7 gives /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50: > [BUG] Segmentation fault > ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0] > > NOTES AND ATTACHMENTS > > The code runs fine on 10.5 and 10.6 > The code runs fine on 10.7 where byte < 128. > The segfault happens on 10.7 if any of the bytes in the bytes string is > 127 > The segfault also occurs when using CFDataCreate(0, bytes, > bytes.length), NSData.dataWithRubyString, NSData.alloc.init*, > NSMutableData.* - in fact, every way that I've tried to create an > NSData, leading me to believe that the something very fundamental in > the marshalling of strings as binary data is hosed. > > Has anyone else run into this issue, or am I the only person with who > had a live RubyCocoa app? > > Cheers > > Duncan McGregor > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: demallien <dem...@ma...> - 2011-08-03 09:59:11
|
Hi Duncan, I think you might be alone on this one - it may be time to move to MacRuby! As an interim workaround, you could try creating your own Objective-C wrapper class for NSData where you can verify that inputs coming from Ruby are what you expect. Allison On 01 Aug, 2011,at 09:26 PM, Duncan McGregor <du...@on...> wrote: Lion seems to have fundamentally broken RubyCocoa marshalling of binary data for me - viz : DESCRIPTION OF PROBLEM On Lion I cannot create NSData objects from RubyCocoa if any of the bytes have their top bit set. STEPS TO REPRODUCE The following code runs fine on 10.5 and 10.6, but segfaults in Lion (you can just paste it into an irb prompt). require 'osx/cocoa' include OSX byte = 128 bytes = [byte].pack('i_1') NSData.dataWithBytes_length(bytes, bytes.length) 10.6 gives #<OSX::NSConcreteData:0x801bf550 class='NSConcreteData' id=0x1013df110> 10.7 gives /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50: [BUG] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0] NOTES AND ATTACHMENTS The code runs fine on 10.5 and 10.6 The code runs fine on 10.7 where byte < 128. The segfault happens on 10.7 if any of the bytes in the bytes string is > 127 The segfault also occurs when using CFDataCreate(0, bytes, bytes.length), NSData.dataWithRubyString, NSData.alloc.init*, NSMutableData.* - in fact, every way that I've tried to create an NSData, leading me to believe that the something very fundamental in the marshalling of strings as binary data is hosed. Has anyone else run into this issue, or am I the only person with who had a live RubyCocoa app? Cheers Duncan McGregor ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Rubycocoa-talk mailing list Rub...@li... https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Duncan M. <du...@on...> - 2011-08-01 22:27:22
|
Lion seems to have fundamentally broken RubyCocoa marshalling of binary data for me - viz : DESCRIPTION OF PROBLEM On Lion I cannot create NSData objects from RubyCocoa if any of the bytes have their top bit set. STEPS TO REPRODUCE The following code runs fine on 10.5 and 10.6, but segfaults in Lion (you can just paste it into an irb prompt). require 'osx/cocoa' include OSX byte = 128 bytes = [byte].pack('i_1') NSData.dataWithBytes_length(bytes, bytes.length) 10.6 gives #<OSX::NSConcreteData:0x801bf550 class='NSConcreteData' id=0x1013df110> 10.7 gives /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50: [BUG] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0] NOTES AND ATTACHMENTS The code runs fine on 10.5 and 10.6 The code runs fine on 10.7 where byte < 128. The segfault happens on 10.7 if any of the bytes in the bytes string is > 127 The segfault also occurs when using CFDataCreate(0, bytes, bytes.length), NSData.dataWithRubyString, NSData.alloc.init*, NSMutableData.* - in fact, every way that I've tried to create an NSData, leading me to believe that the something very fundamental in the marshalling of strings as binary data is hosed. Has anyone else run into this issue, or am I the only person with who had a live RubyCocoa app? Cheers Duncan McGregor |
From: Laurent S. <lau...@gm...> - 2011-03-24 00:06:38
|
Hi, After just a couple weeks of development since the last release, MacRuby 0.10 is now available. Get it here while it's still hot! MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby. You can learn more about MacRuby, and download a binary installer, from the website: http://macruby.org Or about this release more specifically, on our blog: http://www.macruby.org/blog/2011/03/23/macruby010.html Enjoy, Laurent |
From: Laurent S. <lau...@gm...> - 2011-02-25 22:35:35
|
Hi, After about 2 months of development since the last release, MacRuby 0.9 is now available. Get it here while it's still hot! MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby. You can learn more about MacRuby, and download a binary installer, from the website: http://macruby.org Or about this release more specifically, on our blog: http://www.macruby.org/blog/2011/02/24/macruby09.html Enjoy, Laurent |
From: Laurent S. <lau...@gm...> - 2010-10-04 21:40:59
|
Hi, After 5 months of development since the last release, MacRuby 0.7 is now available. Get it here while it's still hot! MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby. You can learn more about MacRuby, and download a binary installer, from the website: http://macruby.org Or about this release more specifically, on our blog: http://www.macruby.org/blog/2010/10/01/macruby07.html Enjoy, Laurent |
From: Eric C. <ech...@gm...> - 2010-09-06 06:24:08
|
On Sun, Sep 5, 2010 at 11:49 AM, Jason Fleetwood-Boldt <te...@da...> wrote: > is anyone on this list? A few of us :) > Is RubyCocoa still active or is the project dead? It's not very active. Most of the Cocoa Ruby stuff is happening with MacRuby. > > Begin forwarded message: > > From: Jason Fleetwood-Boldt <te...@da...> > Date: August 28, 2010 5:37:28 PM EDT > To: rub...@li... > Subject: [Rubycocoa-talk] RubyCocoa newbie questions > Reply-To: rub...@li... > > Hey RubyCocoa, > > Trying to hit the tires with RubyCocoa this weekend. A few beginner > questions, > I'm trying to get RubyCocoa working with rvm, I installed ruby 1.9.1 using > the --enable-shared (rvm install 1.9.1 --enable-shared) flag but it is still > telling me this won't work: > ~ jason$ rvm use 1.9.1 > info: Using ruby 1.9.1 p378 > > ~ jason$ irb -r osx/cocoa > /Users/jason/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/init.rb:264:in > `require':LoadError: no such file to load -- osx/cocoa RubyCocoa works only with 1.8. MacRuby is based on 1.9; perhaps you'd have luck with it. (The API is a little different from RubyCocoa, unfortunately.) Its mailing list is at http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel . Matt Aimonetti is working on a book (for O'Reilly); what he has so far is at http://macruby.labs.oreilly.com/ . Good luck! > Any advice? Mostly just trying to get off the ground with this so I need > some tips as to how to make sure I've loaded & installed everything > correctly. > Thanks in advance, > Jason > > p.s. If there's a way I can offer to help with the documentation I'd be > happy to (i.e. share what I learn). |
From: Jason Fleetwood-B. <te...@da...> - 2010-09-05 16:49:11
|
is anyone on this list? Is RubyCocoa still active or is the project dead? Begin forwarded message: > From: Jason Fleetwood-Boldt <te...@da...> > Date: August 28, 2010 5:37:28 PM EDT > To: rub...@li... > Subject: [Rubycocoa-talk] RubyCocoa newbie questions > Reply-To: rub...@li... > > Hey RubyCocoa, > > Trying to hit the tires with RubyCocoa this weekend. A few beginner questions, > > I'm trying to get RubyCocoa working with rvm, I installed ruby 1.9.1 using the --enable-shared (rvm install 1.9.1 --enable-shared) flag but it is still telling me this won't work: > > ~ jason$ rvm use 1.9.1 > > info: Using ruby 1.9.1 p378 > > > ~ jason$ irb -r osx/cocoa > /Users/jason/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/init.rb:264:in `require':LoadError: no such file to load -- osx/cocoa > > Any advice? Mostly just trying to get off the ground with this so I need some tips as to how to make sure I've loaded & installed everything correctly. > > Thanks in advance, > > Jason > > > p.s. If there's a way I can offer to help with the documentation I'd be happy to (i.e. share what I learn). > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d_______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Jason Fleetwood-B. <te...@da...> - 2010-08-28 22:04:16
|
Hey RubyCocoa, Trying to hit the tires with RubyCocoa this weekend. A few beginner questions, I'm trying to get RubyCocoa working with rvm, I installed ruby 1.9.1 using the --enable-shared (rvm install 1.9.1 --enable-shared) flag but it is still telling me this won't work: ~ jason$ rvm use 1.9.1 info: Using ruby 1.9.1 p378 ~ jason$ irb -r osx/cocoa /Users/jason/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/init.rb:264:in `require':LoadError: no such file to load -- osx/cocoa Any advice? Mostly just trying to get off the ground with this so I need some tips as to how to make sure I've loaded & installed everything correctly. Thanks in advance, Jason p.s. If there's a way I can offer to help with the documentation I'd be happy to (i.e. share what I learn). |
From: demallien <dem...@me...> - 2010-08-25 14:53:18
|
Hi Stefan, I don't have a Mac in front of me to test, but I noticed that -invokeUndefinedMethodFromWebScript:withArguments: isn't a class method, it's an instance method of the WebScripting protocol, so you should just be able to do declare this: def invokeUndefinedMethodFromWebScript_withArguments_(name, args) OSX::NSLog("Check invokeUndefinedMethodFromWebScript for #{name}!!") puts name puts args.inspect end as a method on the object that you set using setValue:forKey: Your two class methods shouldn't actually need to be defined - they default to returning YES anyway. Anyway, try that, and let us know if it helps.... On 25 Aug, 2010,at 03:49 PM, Stefan Bracke <ste...@gi...> wrote: Hi all, i am still having problems with the WebKit option where i can have Javascript call Cocoa functions. Does anyone have a working RubyCocoa example of how to implement this? In the snippet below for the "isSelectorExcludedFromWebScript"-method, i don't even see the function i called, but generic functions. If i could implement "invokeUndefinedMethodFromWebScriptwithArguments" that would be nice, but no real way of knowing what kind of parameters i have to put in the objc_class_method. Part of class which shows the webpages (that works) ... scriptobject = currentwebkit.windowScriptObject() scriptobject.setValue_forKey(self, "qi3jsobject") homeurl = "somekindofurlwithawebpageandjavascript" currentwebkit.setFrameLoadDelegate(self) ... part of class with the implemented methods required by Webkit (My source is: http://www.thimbleby.net/script ) ... objc_class_method 'isSelectorExcludedFromWebScript', [:BOOL , :sel] def self.isSelectorExcludedFromWebScript(selector) # This does NOT show the functions i called OSX::NSLog("Check if #{selector} is allowed!!") return true; end objc_class_method 'isKeyExcludedFromWebScript', [:BOOL , :char] def selfisKeyExcludedFromWebScript(name) OSX::NSLog("Key excluded is #{name}") return true; end objc_class_method 'webScriptNameForSelector', [:id , :sel] def self.webScriptNameForSelector(selector) OSX::NSLog("Check name for #{selector}!!") return "nicerFunctionName" end # No clue how to implement this method (NSString and NSArray as parameters??) #objc_class_method 'invokeUndefinedMethodFromWebScriptwithArguments', [@@: , @@:] #def invokeUndefinedMethodFromWebScript_withArguments_(name, args) # OSX::NSLog("Check invokeUndefinedMethodFromWebScript for #{name}!!") # puts name # puts args.inspect #end ... and in javascript i did this: qi3jsobject. nicerFunctionName("oh yes!"); I wish i could port this to MacRuby but it's rb-appscript support is missing and it's appleevent support is not ripe for production... Kindly, Stefan ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Rubycocoa-talk mailing list Rub...@li... https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Stefan B. <ste...@gi...> - 2010-08-25 13:49:44
|
Hi all, i am still having problems with the WebKit option where i can have Javascript call Cocoa functions. Does anyone have a working RubyCocoa example of how to implement this? In the snippet below for the "isSelectorExcludedFromWebScript"-method, i don't even see the function i called, but generic functions. If i could implement "invokeUndefinedMethodFromWebScriptwithArguments" that would be nice, but no real way of knowing what kind of parameters i have to put in the objc_class_method. Part of class which shows the webpages (that works) ... scriptobject = currentwebkit.windowScriptObject() scriptobject.setValue_forKey(self, "qi3jsobject") homeurl = "somekindofurlwithawebpageandjavascript" currentwebkit.setFrameLoadDelegate(self) ... part of class with the implemented methods required by Webkit (My source is: http://www.thimbleby.net/script ) ... objc_class_method 'isSelectorExcludedFromWebScript', [:BOOL , :sel] def self.isSelectorExcludedFromWebScript(selector) # This does NOT show the functions i called OSX::NSLog("Check if #{selector} is allowed!!") return true; end objc_class_method 'isKeyExcludedFromWebScript', [:BOOL , :char] def self.isKeyExcludedFromWebScript(name) OSX::NSLog("Key excluded is #{name}") return true; end objc_class_method 'webScriptNameForSelector', [:id , :sel] def self.webScriptNameForSelector(selector) OSX::NSLog("Check name for #{selector}!!") return "nicerFunctionName" end # No clue how to implement this method (NSString and NSArray as parameters??) #objc_class_method 'invokeUndefinedMethodFromWebScriptwithArguments', [@@: , @@:] #def invokeUndefinedMethodFromWebScript_withArguments_(name, args) # OSX::NSLog("Check invokeUndefinedMethodFromWebScript for #{name}!!") # puts name # puts args.inspect #end ... and in javascript i did this: qi3jsobject. nicerFunctionName("oh yes!"); I wish i could port this to MacRuby but it's rb-appscript support is missing and it's appleevent support is not ripe for production... Kindly, Stefan |
From: Eloy D. <elo...@gm...> - 2010-08-10 09:23:42
|
Sorry, been a while since I've done RubyCocoa, my answer was incomplete. You will have to explicitly export the method to the objc runtime. See this example: http://github.com/Fingertips/headless-squirrel/blob/master/lib/headless_squirrel/console.rb#L4 Eloy On Tue, Aug 10, 2010 at 11:12 AM, Eloy Duran <elo...@gm...> wrote: > Hi Stefan, > > The method would be written as: > > class MyClass > def self.isSelectorExcludedFromWebScript(sel) > #... > end > end > > HTH, > Eloy > > On Mon, Aug 9, 2010 at 9:56 PM, Stefan Bracke > <ste...@gi...> wrote: >> Hi all, >> i am not sure how to implement a class method >> like "isSelectorExcludedFromWebScript". >> This method allows me to tell WebKit implementation that a certain function >> can be called from the webpage in the Webkit environment. >> So, to put it in context: I am using WebKit and I would like a javascript to >> execute a RubyCocoa function. >> (My source is: http://www.thimbleby.net/script ) >> Cheers all, >> Stefan >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by >> >> Make an app they can't live without >> Enter the BlackBerry Developer Challenge >> http://p.sf.net/sfu/RIM-dev2dev >> _______________________________________________ >> Rubycocoa-talk mailing list >> Rub...@li... >> https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk >> >> > |
From: Eloy D. <elo...@gm...> - 2010-08-10 09:12:46
|
Hi Stefan, The method would be written as: class MyClass def self.isSelectorExcludedFromWebScript(sel) #... end end HTH, Eloy On Mon, Aug 9, 2010 at 9:56 PM, Stefan Bracke <ste...@gi...> wrote: > Hi all, > i am not sure how to implement a class method > like "isSelectorExcludedFromWebScript". > This method allows me to tell WebKit implementation that a certain function > can be called from the webpage in the Webkit environment. > So, to put it in context: I am using WebKit and I would like a javascript to > execute a RubyCocoa function. > (My source is: http://www.thimbleby.net/script ) > Cheers all, > Stefan > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > |
From: Stefan B. <ste...@gi...> - 2010-08-09 20:19:33
|
Hi all, i am not sure how to implement a class method like "isSelectorExcludedFromWebScript". This method allows me to tell WebKit implementation that a certain function can be called from the webpage in the Webkit environment. So, to put it in context: I am using WebKit and I would like a javascript to execute a RubyCocoa function. (My source is: http://www.thimbleby.net/script ) Cheers all, Stefan |
From: Eloy D. <elo...@gm...> - 2010-05-23 15:32:56
|
Hi, You're posting this to the RubyCocoa mailing-list, which is a different software than MacRuby. Are you sure you downloaded MacRuby and not RubyCocoa too? Because that would explain the problem you're having with ‘framework "Cocoa"’ etc. http://www.macruby.org/ HTH, Eloy On Sun, May 23, 2010 at 12:45 AM, ecin <ec...@co...> wrote: > I'd like to use Dictionary Services > (http://developer.apple.com/mac/library/documentation/UserExperience/Reference/DictionaryServicesRef) > to look up definitions in a MacRuby app, but am having a hard time figuring > out exactly what I need to require in order to access its functions, as > framework 'Cocoa' > framework 'CoreServices' > doesn't do the trick. Is this another example of missing bridge support, or > am I missing something else? > ------------------------------------------------------------------------------ > > > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > |
From: ecin <ec...@co...> - 2010-05-22 23:11:48
|
I'd like to use Dictionary Services (http://developer.apple.com/mac/library/documentation/UserExperience/Reference/DictionaryServicesRef) to look up definitions in a MacRuby app, but am having a hard time figuring out exactly what I need to require in order to access its functions, as framework 'Cocoa' framework 'CoreServices' doesn't do the trick. Is this another example of missing bridge support, or am I missing something else? |
From: Yasu I. <yi...@hu...> - 2010-05-12 14:30:37
|
Hi, I read somewhere that RubyCocoa has a bug related to GC and with 10.6.3, that becomes a problem (crashes apps). My RubyCocoa apps frequently crash when displaying multiple columns with a large data on a TableView and it seems this started happening since I updated to 10.6.3. I'm wondering if there is any plan to fix this bug (or is this fixable?)? I tried MacRuby, but for the processes I do with (some of) my apps, it is ridiculously slow (up to 50 times slower), so MacRuby is not an option at this moment. Thanks for any info. Best, Yasu |
From: Laurent S. <lau...@gm...> - 2010-05-03 21:28:11
|
Hi, After 3 months of development since the last release, MacRuby 0.6 is now available. Get it here while it's still hot! MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby. You can learn more about MacRuby, and download a binary installer, from the website: http://macruby.org Or about this release more specifically, on our blog: http://www.macruby.org/blog/2010/04/30/macruby06.html Enjoy, Laurent |