Re: [MacRuby-devel] Trac ticket 232

2009-04-01 Thread Matt Aimonetti
Bill, Thanks for taking care of the repo and the ticketing system, that's much appreciated. - Matt On Wed, Apr 1, 2009 at 11:21 PM, William Siegrist wrote: > > On Apr 1, 2009, at 6:03 PM, Jason Morrison wrote: > > >> snip... > > So, I signed up for Trac, went back to the ticket, with the int

Re: [MacRuby-devel] Trac ticket 232

2009-04-01 Thread William Siegrist
On Apr 1, 2009, at 6:03 PM, Jason Morrison wrote: snip... So, I signed up for Trac, went back to the ticket, with the intent of commenting on it. Alas! I saw: Trac detected an internal error: SubversionException: ('unable to open database file', 200030) That error would be my fault.

Re: [MacRuby-devel] HotCocoa table_view and the doubleAction

2009-04-01 Thread John Shea
Thanks Brian! that cleared up all the remaining puzzles ! I must admit i just assumed that the data source and delegate were married together in some way in hotcocoa - now that you have given me a much better background it all now makes sense. And thanks for the link. Cheers, John On Ap

Re: [MacRuby-devel] Trac ticket 232

2009-04-01 Thread Jason Morrison
Attaching patch to chmod 0755 the executables. On Wed, Apr 1, 2009 at 9:03 PM, Jason Morrison wrote: > Hi MacRuby, > > I built MacRuby 0.4 from SVN on OSX 10.5.6 (x86) successfully, but > could not run the example applications.  I found > http://www.macruby.org/trac/ticket/232 and thought that pe

[MacRuby-devel] Trac ticket 232

2009-04-01 Thread Jason Morrison
Hi MacRuby, I built MacRuby 0.4 from SVN on OSX 10.5.6 (x86) successfully, but could not run the example applications.  I found http://www.macruby.org/trac/ticket/232 and thought that perhaps I was having the same issue, though I couldn't find any additional discussion on that issue: $ open ./ABP

Re: [MacRuby-devel] HotCocoa table_view and the doubleAction

2009-04-01 Thread Brian Chapados
You might have already figured this out, but in case it helps... Be careful not to confuse the TableView delegate with the DataSource delegate. Check out the TableView programming guide: http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/TableView.html You can use two different s

Re: [MacRuby-devel] # of developers

2009-04-01 Thread Benjamin Stiglitz
Here is the blurb: http://www.macruby.org/project.html I should say that I’m not a very frequent contributor, so you can subtract one from the #size of that list. -Ben ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.m

Re: [MacRuby-devel] [MacRuby] #241: NSMutableSet#merge fails

2009-04-01 Thread MacRuby
#241: NSMutableSet#merge fails --+- Reporter: kou...@… | Owner: b...@… Type: defect| Status: new Priority: major | Milestone: MacRuby 0.4 Comp

Re: [MacRuby-devel] Accessing Obj-C InstVars from Ruby

2009-04-01 Thread Benjamin Stiglitz
Is there a way to access instance variables defined in an Objective-C class from a Ruby extension? It is currently not implemented, but it's technically possible. A good work-around is to define accessors (properties) as John mentioned. Maybe we need MacRuby::Runtime to bubble up the Obj

Re: [MacRuby-devel] HotCocoa table_view and the doubleAction

2009-04-01 Thread John Shea
Hi Dave, thanks for your answer. On Apr 1, 2009, at 14:39 , Dave Baldwin wrote: I haven't had any problems using delegate methods. For example I do: @tableView.delegate = self and define a delegate method: def tableView (table, shouldEditTableColumn: c, row: r)

Re: [MacRuby-devel] HotCocoa table_view and the doubleAction

2009-04-01 Thread Dave Baldwin
Quoting John Shea : > Hi Dave, > > I am actually wrestling with a similar problem. > > I believe I have solved your problem, maybe you can solve mine ;-) ?? > > in the start method I placed: >@my_table_view.setTarget(self) >@my_table_view.setDoubleAction(:double) > > > and th

Re: [MacRuby-devel] HotCocoa table_view and the doubleAction

2009-04-01 Thread John Shea
Hi Dave, I am actually wrestling with a similar problem. I believe I have solved your problem, maybe you can solve mine ;-) ?? in the start method I placed: @my_table_view.setTarget(self) @my_table_view.setDoubleAction(:double) and then later on a method: def double NSLog

[MacRuby-devel] HotCocoa table_view and the doubleAction

2009-04-01 Thread Dave Baldwin
I am having some difficulty on getting the double click action to work with a table view. I have code along the lines of: @tableView = table_view( :columns => [column(:id => :item, :title => '')],