[MacRuby-devel] Serialport IO and OS X Lion
Hi devotees, I was using an Obj-C wrapper for serial port IO written by Paolo Bosetti but I found that it no longer works in Lion. Does anyone know what might have changed? Does MacRuby have a better solution for serial IO yet than using an Obj-C wrapper? Thanks, Bob Rice ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] Invoking an obj-c method requiring a block
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:
NSNotificationCenter.defaultCenter.addObserver(self, selector:
"handleM
e:", name: "kDocSetSelectionChanged", object: nil)
I found http://www.macruby.org/trac/ticket/760 that hinted MacRuby does impleme
nt blocks, but also had references to BridgeSupport. I installed the preview-3
version; what would be the reason the above didn't work?
Thanks.
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] New warning message
I get this new warning message running my MacRuby app on Lion: MacDriverLog(262,0x104f0e000) malloc: *** auto malloc[262]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug. This doesn't crash my app. Can I safely ignore this warning? Thanks, Bob Rice ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] New warning message
I've also noticed the same problem when using the james gem on Lion. I'm not sure if I logged a bug (this was prior to Lion's official release). It also wouldn't be the only GC warning that MacRuby has on Lion right now. Could you log a bug against MacRuby for this issue? Thanks, Mark On 2011-08-20, at 8:44 PM, Robert Rice wrote: > I get this new warning message running my MacRuby app on Lion: > > MacDriverLog(262,0x104f0e000) malloc: *** auto malloc[262]: error: GC > operation on unregistered thread. Thread registered implicitly. Break on > auto_zone_thread_registration_error() to debug. > > This doesn't crash my app. Can I safely ignore this warning? > > Thanks, > Bob Rice > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
