[MacRuby-devel] HotCocoa LayoutView Patch

2009-05-22 Thread dan sinclair
Hello, Attached is a simple patch to make the ability to enable a border around a layout_view available without being in debug mode. It also allows different colours to be set on each layout_view. Makes it easier, for me at least, to figure out where all the bounding boxes are sitting.

Re: [MacRuby-devel] A MacRuby-users group?

2009-05-22 Thread Jeremy Voorhis
Personally, I'm in favor of a single mailing list, especially with a small group like this. If there is some perception that a name ending in -devel is intimidating, maybe we should just be pitched as "the MacRuby mailing list" :) Best, Jeremy On Fri, May 22, 2009 at 10:35 AM, Laurent Sansonetti

Re: [MacRuby-devel] REXML

2009-05-22 Thread Matt Aimonetti
Hi Bob, Unfortunately, the gem you are trying to use is based on a C extensions which doesn't seem to be well written. That's why it doesn't run on Ruby 1.8.7. (and probably not 1.9) Unfortunately, even if the gem was working fine, it wouldn't currently work in MacRuby due to a lack of support f

Re: [MacRuby-devel] REXML

2009-05-22 Thread Robert Rice
Matt: Thanks for your quick reply. The hot patch seems to work. You may find serialport named as 'ruby-serialport'. At one time I had serialport working in ruby 1.8.7 but then after attempting to install some other Gems I now get the error: irb 0.9.5(05/04/13) new-host:~ robertrice$ ruby -

Re: [MacRuby-devel] A MacRuby-users group?

2009-05-22 Thread Laurent Sansonetti
Hi Łukasz, This mailing-list was usually created for all people developing with MacRuby, not necessarily people developing MacRuby itself. But I can understand that the group name is ambiguous. Just to let everyone know, there is absolutely no problem posting anything related to MacRuby o

Re: [MacRuby-devel] Crash with NSUInteger in delegate method

2009-05-22 Thread Laurent Sansonetti
Hi Łukasz, On May 22, 2009, at 1:58 AM, Łukasz Adamczak wrote: an NSNumber object should do it. Laurent, thanks for the answer. I believed that was the case. What about the delegate method case, though? I mean, the framework I'm playing with expects a certain delegate method and passes C uns

[MacRuby-devel] A MacRuby-users group?

2009-05-22 Thread Łukasz Adamczak
I'd like to propose the creation of macruby-users mailing list or an appropriate discussion board (the latter maybe even preferred). I'm thinking of a place for people using MacRuby for their apps, but not necessarily hacking on MacRuby itself. It feels a little intimidating to post to a "-devel"

Re: [MacRuby-devel] REXML

2009-05-22 Thread Matt Aimonetti
For XML, you can use Cocoa API or if you want to ue REXML, you need to use the hot patch I mentioned there: http://www.macruby.org/trac/ticket/134 Regarding the serialport library, I can't seem to see it on rubyforge, so I'm not sure what you are referring to. - Matt On Fri, May 22, 2009 at 9:4

[MacRuby-devel] REXML

2009-05-22 Thread Robert Rice
Dear MacRuby development team: I am new to Ruby and I have an application that I would like to port to MacRuby. The two extensions I will need are XML and serial port I/O. So far I have not been able to get them to work: Last login: Fri May 22 12:31:48 on ttys000 new-host:~ robertrice$ macirb

Re: [MacRuby-devel] Crash with NSUInteger in delegate method

2009-05-22 Thread Łukasz Adamczak
> an NSNumber object should do it. Laurent, thanks for the answer. I believed that was the case. What about the delegate method case, though? I mean, the framework I'm playing with expects a certain delegate method and passes C unsigned ints to it: http://github.com/lukhnos/objectiveflickr/blob/