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: Eloy D. <e....@su...> - 2008-04-10 15:14:23
|
Hey Scott, I'm sorry if I somehow gave you the idea that it felt as if you're being "critical". Probably has to do with the fact that English isn't my native language. But even then it would be very hard for me to feel that way ;) Anyways, if you would by any chance take the effort to check out the code and write some documentation I'd be more than happy to commit it. Cheers, Eloy On Apr 10, 2008, at 4:31 PM, Scott Thompson wrote: > > On Apr 10, 2008, at 3:16 AM, Eloy Duran wrote: > >> Hi Scott, >> >> Unfortunately the sources are the docs... >> I believe this was because there's no final API yet, >> although Laurent might be able to say more about that. >> >> http://rubycocoa.svn.sourceforge.net/viewvc/rubycocoa/trunk/src/framework/src/ruby/osx/objc/oc_import.rb?view=markup >> Starting from line 62. > > OK. > > Please understand wasn't trying to be critical. I was just trying to > find out if I had missed out on some documentation that might have > made my life easier. > > I appreciate the help! > > Scott > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Scott T. <ea...@ma...> - 2008-04-10 14:32:12
|
On Apr 10, 2008, at 3:16 AM, Eloy Duran wrote: > Hi Scott, > > Unfortunately the sources are the docs... > I believe this was because there's no final API yet, > although Laurent might be able to say more about that. > > http://rubycocoa.svn.sourceforge.net/viewvc/rubycocoa/trunk/src/framework/src/ruby/osx/objc/oc_import.rb?view=markup > Starting from line 62. OK. Please understand wasn't trying to be critical. I was just trying to find out if I had missed out on some documentation that might have made my life easier. I appreciate the help! Scott |
From: Eloy D. <e....@su...> - 2008-04-10 08:16:13
|
Hi Scott, Unfortunately the sources are the docs... I believe this was because there's no final API yet, although Laurent might be able to say more about that. http://rubycocoa.svn.sourceforge.net/viewvc/rubycocoa/trunk/src/framework/src/ruby/osx/objc/oc_import.rb?view=markup Starting from line 62. Cheers, Eloy On Apr 10, 2008, at 5:55 AM, Scott Thompson wrote: > I was wondering where I might look to find documentation for > OSX.require_framework. I tried "ri" and "nothing was known" about > require_framework. > > The reason I ask is because I was trying to write some code that uses > rubycocoa and ImageIO. It took me quite some time to figure out how > to make ruby aware of the ImageIO framework. I was originally trying > to include the ApplicationServices umbrella framework: > > OSX.require_framework 'ApplicationServices' > > But that didn't pull in the component frameworks. After searching > around I found that I could use: > > OSX.require_framework '/System/Library/Frameworks/ > ApplicationServices.framework/Versions/Current/Frameworks/ > ImageIO.framework' > > I prefer the "cleaner" way that the ApplicationServices framework came > in above. > > I wanted to know if there was a "cleaner" way to import the > constituent frameworks of an umbrella framework, but couldn't really > find any documentation on "require_framework" and what it does, or > does not accept as a parameter. > > Is there a source for documentation of methods like require_framework > or init_for_bundle? These are both methods that I found out about > after quite a lot of fruitless searching. If there's a better > resource available to learn about this kind of "hidden" rubycocoa > method, I'd love to look at it. > > Scott > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Scott T. <ea...@ma...> - 2008-04-10 03:55:41
|
I was wondering where I might look to find documentation for OSX.require_framework. I tried "ri" and "nothing was known" about require_framework. The reason I ask is because I was trying to write some code that uses rubycocoa and ImageIO. It took me quite some time to figure out how to make ruby aware of the ImageIO framework. I was originally trying to include the ApplicationServices umbrella framework: OSX.require_framework 'ApplicationServices' But that didn't pull in the component frameworks. After searching around I found that I could use: OSX.require_framework '/System/Library/Frameworks/ ApplicationServices.framework/Versions/Current/Frameworks/ ImageIO.framework' I prefer the "cleaner" way that the ApplicationServices framework came in above. I wanted to know if there was a "cleaner" way to import the constituent frameworks of an umbrella framework, but couldn't really find any documentation on "require_framework" and what it does, or does not accept as a parameter. Is there a source for documentation of methods like require_framework or init_for_bundle? These are both methods that I found out about after quite a lot of fruitless searching. If there's a better resource available to learn about this kind of "hidden" rubycocoa method, I'd love to look at it. Scott |
From: Bodaniel J. <me...@bj...> - 2008-04-10 03:17:45
|
> Hi > > There was a discussion about using the Mac keychain but no example. Looking at the API docs, I see > that I need to use KeychainAddGenericPassword and KeychainFindGenericPassword. However, I don't know > how to call these from RubyCocoa. An example would be appreciated. > > Thanks > > Praful I have been struggling with this myself recently. I've never written a RubyCocoa application (am only just getting started now) but I think I've figured it out. I wrote a summary about it here: http://freudian.tumblr.com/post/31305332 |
From: Brian M. <ma...@ex...> - 2008-04-08 14:00:56
|
I'm writing some text about how to debug RubyCocoa programs. In particular, I'm trying to help people who've done something wrong that leads to a blowup down in some NSClass. For example, suppose I use textfield.intValue to set text in some NSTextView, rather than textfield.stringValue. That leads to this error: 2008-04-08 08:46:46.314 Flat Fenestration[27099:10b] *** -[NSCFNumber length]: unrecognized selector sent to instance 0x730db0 2008-04-08 08:46:46.330 Flat Fenestration[27099:10b] FenestrationController#chooseWebapp: OSX::OCException: NSInvalidArgumentException - *** -[NSCFNumber length]: unrecognized selector sent to instance 0x730db0 The problem is that somewhere something is trying to take the length of an integer object. GDB 'backtrace' produces a trace of ObjC message sends that could be, in theory, useful. In this case, it isn't. But it might be if I could get descriptions of the args. I can't do that with the standard libraries: (gdb) frame 20 #20 0x946d81a8 in -[NSView interpretKeyEvents:] () (gdb) info args No symbol table info available. I was hoping I would get more information if I used the _debug versions of the frameworks (as set in the executable's General Info pane under "Use ______ suffix when loading frameworks" but all that produces is a flood of these messages: warning: Could not find object file "/var/tmp/Libm/Libm-287.1~6/ Libm.build/Libm_debug.a.build/Objects-normal/i386/xmm_arcsincostan.o" - no debug information available for "/SourceCache/Libm/Libm-287.1/ Source/Intel/xmm_arcsincostan.c". ... and the same lack of symbol table information. I am wondering if it's worth continuing to try to dig for useful things you can do with GDB. Are there any? ----- Brian Marick, independent consultant Mostly on agile methods with a testing slant www.exampler.com, www.exampler.com/blog, www.twitter.com/marick |
From: Scott T. <ea...@ma...> - 2008-04-06 22:16:43
|
I have a ruby class which defines a class method: def MyClass def MyClass.doSomethingInteresting ... blah blah blah ... return someObject; end end I'd like to call this method from Objective-C so I tried something like this: Class myClass = NSStringClassFromString(@"MyClass"); id myObject = [myClass performSelector: @selector(doSomethingInteresting)] But this gives me an unrecognized selector warning on the console and fails. Is it possible to call a ruby class method from Objective-C? Scott |
From: Pierce T. W. I. <pi...@tw...> - 2008-04-04 16:17:47
|
On Apr 4, 2008, at 12:30 AM, Rupert BARROW wrote: > Hi, > > I have been doing SyncServices for some time in RubyCocoa : in Tiger, > I used to use Harmonize's syncservices.rb, now replaced by > OSX.require_framework 'SyncServices' in Leopard's RC. > > Up to now, I have been syncing data into Apple's Schema : Contacts, > Phone Numbers, Addresses, Events, Calendars, etc. > > I have just started testing syncing data into my own SyncSchema : my > SyncSchema is registered, and gets updated properly when I add/modify > attributes (I see it in Syncrospector); however, on my first > SLOW_SYNC, my RubyCocoa app crashes with an "illegal instruction" when > trying to write this new data into the sync engine. RC debugging gives > no more details. > > Has anyone done this before ? Yes. The new version of Frictionless: http://www.twinforces.com/frictionless/ does this. I don't do iCal Event/Calendar syncing though, because I would need to hugely extend iCals Event model, which I've been avoiding. > Any issues ? Yes. Do you have any kind of backtrace exception to start with? Meanwhile, add this to all your objects: def objectEnumerator print "Object Enumerator called\n" end I don't know why, but Sync Services likes to call this. Are you using CoreData as well? In Leopard, syncing when you start from a Core Data model is much simpler. Pierce |
From: Rupert B. <rup...@fr...> - 2008-04-04 07:31:12
|
Hi, I have been doing SyncServices for some time in RubyCocoa : in Tiger, I used to use Harmonize's syncservices.rb, now replaced by OSX.require_framework 'SyncServices' in Leopard's RC. Up to now, I have been syncing data into Apple's Schema : Contacts, Phone Numbers, Addresses, Events, Calendars, etc. I have just started testing syncing data into my own SyncSchema : my SyncSchema is registered, and gets updated properly when I add/modify attributes (I see it in Syncrospector); however, on my first SLOW_SYNC, my RubyCocoa app crashes with an "illegal instruction" when trying to write this new data into the sync engine. RC debugging gives no more details. Has anyone done this before ? Any issues ? Any other idea, anyone ? TIA, Rup |
From: Pierce T. W. I. <pi...@tw...> - 2008-04-02 15:04:34
|
On Apr 1, 2008, at 10:56 PM, Godfrey van der Linden wrote: > On a more general point---now that multiCPUs machines are getting to > be very common, does apple even ship a single CPU machine anymore---I > think we will need true multi-threaded runtimes. Is that work > happening? Do you need any help? Where would I go to help? > There's this new "MacRuby" thing that Apple's working on that's pretty slick. Since Leopard has garbage collection, the new MacRuby takes Ruby 1.9 (which also has a JIT compiler) and makes all Ruby objects full fledged ObjC objects. End result, it will work even better then RubyCocoa does now, full threading will be supported, etc. Its on www.macosforge.com Pierce |
From: Godfrey v. d. L. <gv...@ma...> - 2008-04-02 06:27:50
|
On a more general point---now that multiCPUs machines are getting to be very common, does apple even ship a single CPU machine anymore---I think we will need true multi-threaded runtimes. Is that work happening? Do you need any help? Where would I go to help? Godfrey van der Linden On 2008-03-13, at 17:25 , Laurent Sansonetti wrote: > Hi Matias, > > On Thu, Mar 13, 2008 at 4:31 PM, Matias Pablo Brutti > <mat...@gm...> wrote: >> Hi , >> >> I've read that rubycocoa has some issues with threads , NSThreads, >> which >> will be the best approach to take to actually use threads?, which >> type of >> threads should I use and finally is there an example or doc on >> rubycocoa >> threads that you recommend ?, >> >> I'm implementing an application that makes lots of requests which >> takes some >> time. My idea is to thread that process and while I receiving he >> info update >> the TableView, all this while not frezzing my main application but >> without >> threads I do not see how to do that. any ideas ? >> > > The current version of Ruby (1.8) not being thread-safe, it is > currently impossible to use NSThreads. Well you can, but RubyCocoa > will route calls into the main thread for you (to avoid crashing), and > it might cause a deadlock sometimes. > > The preferable way is to use Ruby threads instead. In Leopard, both > the interpreter and RubyCocoa were modified to support calling > Objective-C from Ruby threads. But this support is not ideal (you can > see that as a hack), and sometimes it doesn't work. > > You can also use NSTimers or any other mechanism driven by the Cocoa > runloop. > > HTH, > Laurent > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Eloy D. <e....@su...> - 2008-04-01 20:06:26
|
Hey Avram, This could mean a lot. And as you've noticed there's isn't any one answer to it... It could for instance be that you're referencing an object which doesn't exist anymore, or something to do with threading etc etc. The best way I can think of to solve it is by taking parts of your application down and see when it stops happening. Then when you know roughly in which code it happens you turn on debugging by doing: $RUBYCOCOA_DEBUG = true which will start to print lots of info. Good luck! Eloy On 1 apr 2008, at 21:30, Avram Lyon wrote: > Hello all! > > I've been working on a small application using RubyCocoa for some > time, and I keep getting unexpected and seemingly inexplicable > crashes, with the message: > "/Development/Mac_Plans/build/Debug/Mac_Plans.app/Contents/Resources/ > rb_main.rb:23: > [BUG] Bus Error" > > Digging around on the web, it doesn't look like there's a clear > explanation anywhere of what I should even look at to address this. > > Is there any way to get more meaningful debugging information for this > kind of thing? > > Avram Lyon > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Avram L. <aj...@gm...> - 2008-04-01 19:30:46
|
Hello all! I've been working on a small application using RubyCocoa for some time, and I keep getting unexpected and seemingly inexplicable crashes, with the message: "/Development/Mac_Plans/build/Debug/Mac_Plans.app/Contents/Resources/rb_main.rb:23: [BUG] Bus Error" Digging around on the web, it doesn't look like there's a clear explanation anywhere of what I should even look at to address this. Is there any way to get more meaningful debugging information for this kind of thing? Avram Lyon |
From: Scott T. <ea...@ma...> - 2008-03-25 16:46:53
|
> Thank you. I will try it. > > However. I don't want to pass "nil" as the additional_param, I want > to pass an object. Inside of my Ruby program, how do I find the object > that I pass into the additional_param parameter? To answer my own question, after looking at samples on the web that use RBBundleInit, it appears that the invocation I was missing is this: require 'osx/cocoa' OSX.init_for_bundle do |bundle, additional_param, consoleLog| # bundle - The bundle being initialized. Presumably an NSBundle? Passed as second param to RBBundleInit # additional_param - Whatever you passed to RBBundleInit in the third parameter # consoleLog - Used to pass NSLog messages to the console # ...do something here... end Experimentally, I was able to determine that I can use a similar block with RBApplicationInit. However, since I have no real need to get at command line arguments, and given that this mechanism was recommended here, I'll stick with this. Scott |
From: Scott T. <ea...@ma...> - 2008-03-25 14:07:54
|
On Mar 25, 2008, at 8:52 AM, kimura wataru wrote: > Hi, > > I think RBBundleInit() is suited for your purpose. > The interface of RBBundleInit is like this. > > // <RubyCocoa/RBRuntime.h> > int RBBundleInit (const char* path_to_ruby_program, > Class objc_class, > id additional_param); > > - path_to_ruby_program: > path of ruby script in the bundle. e.g. "main.rb". > RubyCocoa expects the path as related path from Resources/. > > - objc_class: > an ObjC class to specify your bundle. e.g. AppDelegate. > > - additional_param: > you can pass nil. Thank you. I will try it. However. I don't want to pass "nil" as the additional_param, I want to pass an object. Inside of my Ruby program, how do I find the object that I pass into the additional_param parameter? Scott |
From: kimura w. <ki...@us...> - 2008-03-25 13:52:42
|
Hi, I think RBBundleInit() is suited for your purpose. The interface of RBBundleInit is like this. // <RubyCocoa/RBRuntime.h> int RBBundleInit (const char* path_to_ruby_program, Class objc_class, id additional_param); - path_to_ruby_program: path of ruby script in the bundle. e.g. "main.rb". RubyCocoa expects the path as related path from Resources/. - objc_class: an ObjC class to specify your bundle. e.g. AppDelegate. - additional_param: you can pass nil. On Sat, 22 Mar 2008 22:32:19 -0700, Scott Thompson wrote: > On Mac OS X (Leopard), I'm trying to embed Ruby into an Objective-C > application (as opposed to writing a Cocoa application in Ruby). > I've got it working, but I was curious about one aspect. > > To initialize Ruby, I'm calling RBApplicationInit to initialize > Ruby. I know how to get at the argc and argv parameters, but the > last parameter, the "id" valued parameter... how is that passed to > the Ruby script named in the first parameter of RBApplicationInit? > > Scott |
From: Rod S. <rsc...@xm...> - 2008-03-23 19:09:22
|
Domo arigato Kimaru-san. That works! Thank you so much. That makes life much easier for me. Rod On Mar 15, 2008, at 12:08 AM, kimura wataru wrote: > Hi, > > It is same as Objective-C projects. > > 1.Xcode project info > (1) General > Cross-Development Using Targe SDK > -> Mac OS X 10.4 (Universal) > (2) Build > Architecture > -> i386 ppc > 2.copy RubyCocoa.framework(for 10.4) into YourApp.app/Contents/ > Frameworks > > You can get RubyCocoa.framework for 10.4 from the 10.4 binary > installer > with the following command. > > % pax -r -z -f /Volumes/RubyCocoa-0.13.2.1-OSX10.4universal/\ > RubyCocoa-0.13.2.1-OSX10.4universal.pkg/Contents/Archive.pax.gz \ > ./Library/Frameworks > % ls Library/Frameworks > RubyCocoa.framework/ > > > > BUT, it seems the setting 1-(1) does not work correctly for Xcode 2.4 > format projects with Xcode 3.0. The command "xcodebuild" works > correctly > with ARCHS option. > > % cd YourProject > % pax -r -z -f /Volumes/RubyCocoa-0.13.2.1-OSX10.4universal/\ > RubyCocoa-0.13.2.1-OSX10.4universal.pkg/Contents/Archive.pax.gz \ > ./Library/Frameworks > % xcodebuild -configuration Release ARCHS='i386 ppc' \ > SDKROOT='$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdK' \ > FRAMEWORK_SEARCH_PATHS=./Library/Frameworks > % mkdir build/Release/YourApp.app/Contents/Frameworks > % cp ./Library/Frameworks/RubyCocoa.framework > > > > On Sat, 1 Mar 2008 15:30:38 -0700, Rod Schmidt wrote: >> Has anybody figured out how to build a 10.4 targeted universal app on >> a Leopard machine? I'd really like to be able to do this. >> >> Thanks, >> >> Rod >> > -- > kimura wataru > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Scott T. <ea...@ma...> - 2008-03-23 05:32:23
|
On Mac OS X (Leopard), I'm trying to embed Ruby into an Objective-C application (as opposed to writing a Cocoa application in Ruby). I've got it working, but I was curious about one aspect. To initialize Ruby, I'm calling RBApplicationInit to initialize Ruby. I know how to get at the argc and argv parameters, but the last parameter, the "id" valued parameter... how is that passed to the Ruby script named in the first parameter of RBApplicationInit? Scott |
From: Laurent S. <lsa...@ap...> - 2008-03-22 22:47:31
|
Hi Shane, AFAIK there hasn't been any progress to make RubyCocoa work under the ObjC GC mode, simply because supporting that in an efficient way would require too much work, like modifying the internals of the Ruby interpreter. Laurent On Mar 22, 2008, at 1:17 PM, Shane Liesegang wrote: > I was wondering if anyone knew the progress of making the RubyCocoa > framework able to link with garbage collected ObjC apps. I found some > references on the mailing list to this work being done about a year > ago, but it looks like the trail goes cold. Is that still in the > pipeline, or have efforts been moved onto MacRuby? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |
From: Shane L. <lie...@gm...> - 2008-03-22 20:17:33
|
I was wondering if anyone knew the progress of making the RubyCocoa framework able to link with garbage collected ObjC apps. I found some references on the mailing list to this work being done about a year ago, but it looks like the trail goes cold. Is that still in the pipeline, or have efforts been moved onto MacRuby? |
From: Benjamin J. <bhj...@gm...> - 2008-03-22 19:06:32
|
Turns out the problem was bad memory management. On Sat, Mar 22, 2008 at 3:19 PM, Benjamin Jackson <bhj...@gm...> wrote: > Every now and then I get the following error: > 2008-03-22 15:12:41.817 Blogo[20434] *** -[MGTwitterClient > requestSucceeded:]: selector not recognized [self = 0x17b93bf0] > /Users/bjackson/working/blogo/trunk/Blogo.app/Contents/Resources/rb_main.rb:35:in > `NSApplicationMain': NSInvalidArgumentException - *** -[MGTwitterClient > requestSucceeded:]: selector not recognized [self = 0x17b93bf0] > (OSX::OCException) > > The behavior seems random, and the function for the selector exists and > works most of the time. Any idea what might be up? > > Thanks, > > Ben > |
From: Benjamin J. <bhj...@gm...> - 2008-03-22 18:19:11
|
Every now and then I get the following error: 2008-03-22 15:12:41.817 Blogo[20434] *** -[MGTwitterClient requestSucceeded:]: selector not recognized [self = 0x17b93bf0] /Users/bjackson/working/blogo/trunk/Blogo.app/Contents/Resources/rb_main.rb:35:in `NSApplicationMain': NSInvalidArgumentException - *** -[MGTwitterClient requestSucceeded:]: selector not recognized [self = 0x17b93bf0] (OSX::OCException) The behavior seems random, and the function for the selector exists and works most of the time. Any idea what might be up? Thanks, Ben |
From: Praful K. <pra...@gm...> - 2008-03-16 19:08:25
|
Hi There was a discussion about using the Mac keychain but no example. Looking at the API docs, I see that I need to use KeychainAddGenericPassword and KeychainFindGenericPassword. However, I don't know how to call these from RubyCocoa. An example would be appreciated. Thanks Praful |
From: Matias P. B. <mat...@gm...> - 2008-03-16 01:05:53
|
Thanks ... On Fri, Mar 14, 2008 at 2:01 AM, Eloy Duran <e....@su...> wrote: > Hi Matias, > > I would suggest first looking at classes in cocoa which most of the > times do things like firing notifications > which are much easier to work with that threads. For instance > NSURLRequest. > > Eloy > > > On Mar 14, 2008, at 1:25 AM, Laurent Sansonetti wrote: > > > Hi Matias, > > > > On Thu, Mar 13, 2008 at 4:31 PM, Matias Pablo Brutti > > <mat...@gm...> wrote: > >> Hi , > >> > >> I've read that rubycocoa has some issues with threads , NSThreads, > >> which > >> will be the best approach to take to actually use threads?, which > >> type of > >> threads should I use and finally is there an example or doc on > >> rubycocoa > >> threads that you recommend ?, > >> > >> I'm implementing an application that makes lots of requests which > >> takes some > >> time. My idea is to thread that process and while I receiving he > >> info update > >> the TableView, all this while not frezzing my main application but > >> without > >> threads I do not see how to do that. any ideas ? > >> > > > > The current version of Ruby (1.8) not being thread-safe, it is > > currently impossible to use NSThreads. Well you can, but RubyCocoa > > will route calls into the main thread for you (to avoid crashing), and > > it might cause a deadlock sometimes. > > > > The preferable way is to use Ruby threads instead. In Leopard, both > > the interpreter and RubyCocoa were modified to support calling > > Objective-C from Ruby threads. But this support is not ideal (you can > > see that as a hack), and sometimes it doesn't work. > > > > You can also use NSTimers or any other mechanism driven by the Cocoa > > runloop. > > > > HTH, > > Laurent > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Rubycocoa-talk mailing list > > Rub...@li... > > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk > -- -- --<自由編碼人>-- Ing. Matias Pablo Brutti Security Consultant Email : mat...@gm... Site: http://www.freedomcoder.com.ar |
From: kimura w. <ki...@us...> - 2008-03-15 07:25:09
|
Hi, config.h refered from osx_ruby.h is located into /usr/lib/ruby/1.8/universal-darwin9.0. Add the directory as "Header Search Paths" to your project. On Sat, 08 Mar 2008 22:30:33 -0800, Yon Ru wrote: > Hi all, > > Can anyone tell me how to build a xcode project using RBObject.h > without an error? > > I'm trying to build a obj-c cocoa application which links to RubyCocoa, > but whenever I import RBObject.h the project file does not build. > Just importing the header file in an empty file causes massive build errors. > It looks like osx_ruby.h file, which is imported by RBObject.h file, > looks for bunch of ruby header files, > but I don't want to modify system framework files. > > Is the stock version of RubyCocoa on leopard (10.5.2) is broken? or > am I missing something? > > > Any advice is appreciated. > -- kimura wataru |