Re: [MacRuby-devel] regex error with negative look-ahead and look-behind

2010-12-21 Thread Laurent Sansonetti
Hi Alan, Thanks for the report. Please file a ticket: http://www.macruby.org/trac/newticket Do you happen to know if a ruby library makes use of this? It can help us screen the priority of this bug. Thanks :) Laurent On Dec 21, 2010, at 2:01 PM, Alan Skipp wrote: > When combining negative lo

[MacRuby-devel] regex error with negative look-ahead and look-behind

2010-12-21 Thread Alan Skipp
When combining negative look-ahead with look-behind in a regexp, macruby doesn't match correctly. Here's an example. ruby 1.9.2 >> m = "abc123abc".match /(?<=\w) (\d{3}) (?!\d)/x => # >> m.to_s => "123" macruby (0.9) >> m = "abc123abc".match /(?<=\w) (\d{3}) (?!\d)/x => # >> m.to_s => ""

Re: [MacRuby-devel] Using compiled MacRuby objects from an Objective-C application

2010-12-21 Thread Laurent Sansonetti
Hi Justin, Linking MacRuby object files into a pure Objective-C program is still tricky to do, and it has not been tested very well. I will look at writing some use case tests for macrubyc and see if we can get everything in good shape for the next release. I recommend to stick to .rbo compila

[MacRuby-devel] Vertex buffer objects in OpenGL

2010-12-21 Thread Dave Baldwin
I have an openGL program that works if I use vertex arrays to store the geometry data, but if I convert it to use an openGL vertex buffer object then nothing is drawn. Has anyone got vertex buffer objects to work with MacRuby? I am using 0.8 on 10.6.4 (In OpenGL a vertex buffer object just ho

Re: [MacRuby-devel] Getting a corrupt value reading an NSNumber unsignedLongLongValue

2010-12-21 Thread Caio Chassot
On 2010-12-20, at 19:22 , Laurent Sansonetti wrote: > > Excellent! In this snippet, n is a 64-bit bignum, so I suspect something is > going wrong in the converter I couldn't help but prod around in bignum.c but I'm in way over my head. How do you go about debugging this? I suppose I'd try to ru

Re: [MacRuby-devel] Getting a corrupt value reading an NSNumber unsignedLongLongValue

2010-12-21 Thread Caio Chassot
On 2010-12-20, at 19:22 , Laurent Sansonetti wrote: > > Excellent! In this snippet, n is a 64-bit bignum, so I suspect something is > going wrong in the converter. Could you file a ticket? We will get that fixed > for 1.0. https://www.macruby.org/trac/ticket/1068 I wonder if MRI ruby 1.9 is no