[MacRuby-devel] handling void pointers in callbacks

2010-01-09 Thread Michael Johnston
I'm working through the PragProg Core Data book, and have encountered an issue passing contextInfo to NSOpenPanel.beginSheetForDirectory This issue was discussed on the list previously by Dr. Nic: http://www.mail-archive.com/macruby-devel@lists.macosforge.org/msg00330.html The problem is that t

Re: [MacRuby-devel] [MacRuby] #542: Attempt to unlock a mutex which is not locked (ThreadError)

2010-01-09 Thread MacRuby
#542: Attempt to unlock a mutex which is not locked (ThreadError) -+-- Reporter: valerii.hi...@… | Owner: lsansone...@… Type: defect | Status: new Prior

Re: [MacRuby-devel] handling void pointers in callbacks

2010-01-09 Thread Laurent Sansonetti
Hi Michael, I recommend not to use this argument in MacRuby at this point. it is safer to pass a value by assigning it as an instance variable of the observer/delegate/whatever receiver object instead, using #instance_variable_set. Laurent On Jan 9, 2010, at 12:01 AM, Michael Johnston wr

[MacRuby-devel] BridgeSupport question

2010-01-09 Thread Carlo Zottmann
Hi list, my name's Carlo Zottmann, I'm from Germany, and currently diving into MacRuby. I've ran into some BridgeSupport troubles which are driving me nuts when trying to access the Keychain, couldn't get it to work, and now here I am. :) I'm running MacRuby 0.5b2 on Snopard. Here's what's happen

[MacRuby-devel] [MacRuby] #544: NSBigMutableString#tr crashes

2010-01-09 Thread MacRuby
#544: NSBigMutableString#tr crashes +--- Reporter: vincent.isamb...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker

[MacRuby-devel] [MacRuby] #545: MacRuby.framework fails to work with Xcode

2010-01-09 Thread MacRuby
#545: MacRuby.framework fails to work with Xcode -+-- Reporter: dognot...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major

[MacRuby-devel] postgres-pr, anyone?

2010-01-09 Thread Tiago Ribeiro
I've been playing with macirb and trying to port a Ruby script of mine that uses a database connection to PostgreSQL. I'm currently using the pure-ruby postgres-pr gem (installed successfully with macgem) but apparently I'm getting stuck while connecting to the database. Running the same script

Re: [MacRuby-devel] [MacRuby] #415: Crash with "Call result #2 has unhandled type" trying to display a window

2010-01-09 Thread MacRuby
#415: Crash with "Call result #2 has unhandled type" trying to display a window ---+ Reporter: trej...@… |Owner: martinlagarde...@… Type: defect | Status: reopened