Re: [MacRuby-devel] Problem with a window controller

2012-12-02 Thread Andy Park
gt; def windowDidLoad > puts "window loaded" > end > def windowTitleForDocumentDisplayName(displayName) > "Hello World" > end > > > def showWindow > puts "in showWindow" >super(self) >

Re: [MacRuby-devel] Problem with a window controller

2012-11-30 Thread Andy Park
Without being able to verify anything for accuracy at the moment, it looks like your window's delegate is not set to the controller at the time the events are occurring. Check if you need to set this - try tracing the window's delegate at different points of the controller's lifecycle. On 30

Re: [MacRuby-devel] The future of MacRuby

2012-04-08 Thread Andy Park
On 6 Apr 2012, at 00:06, Matt Aimonetti wrote: > Many of you have been wondering what is going on with the MacRuby project > given the lack of up-to-date releases and overall communication. > I feel we owe you some explanation. > Matt, as someone trying to ship a product based on MacRuby, I'd

[MacRuby-devel] Getting addresses for function arguments in GDB

2012-02-29 Thread Andy Park
t? Can anyone help me out with understanding its current status so I can see what there is for me to chip in? Regards, Andy Park ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] 'rake spec:ci' causing crash (built from HEAD)

2012-02-21 Thread Andy Park
> > On 2012-02-17, at 9:59 PM, Andy Park wrote: > >> Hi, >> >> I've only recently started compiling the HEAD version, mainly to see if I >> can get more informative crashes when I e.g. misuse functions with variadic >> arguments, such as NSLog. READM

Re: [MacRuby-devel] MacRuby Working Properly?

2012-02-21 Thread Andy Park
The Ruby String class is a subclass of NSString: MacRuby-0.12 irb(main):001:0> "foo".class.ancestors => [String, NSMutableString, NSString, Comparable, NSObject, PP::ObjectMixin, Kernel, RbConfig] In order to get the list of all methods that an object responds to, including those defined

[MacRuby-devel] 'rake spec:ci' causing crash (built from HEAD)

2012-02-17 Thread Andy Park
Hi, I've only recently started compiling the HEAD version, mainly to see if I can get more informative crashes when I e.g. misuse functions with variadic arguments, such as NSLog. README.rdoc suggested I could run rake spec:ci - I guess it's from Rubinius? - to get some sort of progress on comp

Re: [MacRuby-devel] MacRuby promise delivered

2011-11-25 Thread Andy Park
I've been hacking on a fork of Interactive-MacRuby since a month or so ago, and as I now think I won't be able to find the time to distill my experience to a more presentable form any time soon, I'll just share my not-so-tidy work in progress and my current repl-based workflow in case others may

Re: [MacRuby-devel] thread-safety and collections in macruby

2011-10-20 Thread Andy Park
On 19 Oct 2011, at 22:43, Jordan K. Hubbard wrote: > If the mail archives were easier to search, I'd pull it up, but it isn't and > I'm too lazy. :) > I set up an entry in gmane for the mailing list a while ago in order to search the list a bit better: http://news.gmane.org/gmane.comp.lang

Re: [MacRuby-devel] Invoking an obj-c method requiring a block

2011-09-29 Thread Andy Park
Laurent Sansonetti writes: > > Hi Andy, > > Blocks should work. Perhaps there is a problem with this very specific > API. Could you file a ticket? We will investigate. > > Thanks > Laurent > Hi Laurent, Thanks for your feedback. I am now seeing the issue only intermittently; I repo rted it

[MacRuby-devel] Invoking an obj-c method requiring a block

2011-08-20 Thread Andy Park
I tried using blocks today, to no avail. This didn't work: NSNotificationCenter.defaultCenter.addObserverForName "kDocSetSelection Changed", object:nil, queue:nil, usingBlock:Proc.new{ |notification| NSLog("notified") } But this did:

[MacRuby-devel] macgem and previously installed gems

2010-11-07 Thread Andy Park
I'm trying to get macirb that came with my new MacRuby installation to play nice ly with the existing .irbrc, where I'm using a lot of gems previously installed with gem. It looks like my gems aren't found by macirb because they were install ed with gem, so are not found / used by macgem. Would I