[MacRuby-devel] Why the MacRuby does not implement cref?

2011-03-22 Thread Takao Kouji
Hi, I'm trying to fix issues below. - #619: Constant scope in a block is determined at run-time? - #828: A NameError, raised from evalling, gets the wrong constant name. - #1095: Segfault on uninitialized constant in Rspec2 test - #1167: NameError: uninitialized constant Hpricot::Container::Trav:

[MacRuby-devel] Is your MacRuby App in the App Store?

2011-03-22 Thread Derek Haynes
>From past discussions, it seems completely possible for a MacRuby app to be accepted into the App Store. However, I've only been able to find one actual example: http://www.quora.com/Ruby/Are-there-any-MacRuby-apps-on-the-Mac-App-Store If your app is in the App Store, would you mind sharing a l

[MacRuby-devel] xcode4 templates - update

2011-03-22 Thread Laurent Sansonetti
Hi guys, I know some of you are waiting for the Xcode4 templates. Some work has been committed to trunk. You should be able to create new MacRuby projects from Xcode4 (basic, document-based, core-data based or preference pane). Each template has a Deployment target builtin that will call macrub

Re: [MacRuby-devel] xcode4 templates - update

2011-03-22 Thread Takao Kouji
Hi, Great!! Thanks Kouji. On 2011/03/23, at 11:48, Laurent Sansonetti wrote: > Hi guys, > > I know some of you are waiting for the Xcode4 templates. Some work has been > committed to trunk. You should be able to create new MacRuby projects from > Xcode4 (basic, document-based, core-data base

Re: [MacRuby-devel] xcode4 templates - update

2011-03-22 Thread Brendan Lim
Great news!! Thanks Laurent. - Brendan Lim On Mar 22, 2011, at 10:48 PM, Laurent Sansonetti wrote: > Hi guys, > > I know some of you are waiting for the Xcode4 templates. Some work has been > committed to trunk. You should be able to create new MacRuby projects from > Xcode4 (basic, document

Re: [MacRuby-devel] xcode4 templates - update

2011-03-22 Thread Matt Aimonetti
I'm going through my book's examples using the new templates. Currently in a a core data app, the core data framework is loaded at the bottom of the app delegate instead of being loaded in rb_main. This is quite minor and shouldn't affect new projects. One thing we need testing is the Spotlight

[MacRuby-devel] CATextLayer.font

2011-03-22 Thread Ben Koski
I'm having trouble trying to set the font property on a CATextLayer using the latest version of macruby. I've noticed that there is already a ticket for an issue when trying to set the font using a NSFont instance (http://www.macruby.org/trac/ticket/1114). I tried using CGFontCreateWithFontName('

Re: [MacRuby-devel] CATextLayer.font

2011-03-22 Thread Matt Aimonetti
The work around would be to create a pointer: irb(main):005:0> font = NSFont.systemFontOfSize(NSFont.systemFontSize) => # irb(main):006:0> layer = CATextLayer.new => # irb(main):007:0> layer.font = font TypeError: expected instance of Pointer, got `#' (NSFont) Instead of setting the font directly

Re: [MacRuby-devel] Is your MacRuby App in the App Store?

2011-03-22 Thread Matt Aimonetti
I'm aware of a few apps such as: http://itunes.apple.com/us/app/zero2nine/id415099265?mt=12 http://itunes.apple.com/us/app/quickalarm/id408570047?mt=12 I believe Hampton Catlin (The HAML/wikipedia guy) released had a biotech app written in MacRuby and if memory serves me right http://integrumtech