[MacRuby-devel] Porting Cocoa OpenGL sample code

2009-02-25 Thread Julien Jassaud
Hello, I am trying to port the Cocoa OpenGL sample to MacRuby and encountered a few problems. First, I can't access some constants defined in an enum in GLTypes.h. Do I need to port those constants to ruby by hand ? Is that related to gen_bridge_metadata ? Second, I need to use CGLQue

Re: [MacRuby-devel] Porting Cocoa OpenGL sample code

2009-02-27 Thread Julien Jassaud
it seems to satisfy the CGGetActiveDisplayList function). But how is it possible when everything here is an object and not a series of neatly aligned bytes ? Anyway, you are right. The part of Cocoa OpenGL I am porting now probably doesn't need to and should be wrapped in an Objective-C

[MacRuby-devel] Test, please ignore

2009-02-28 Thread Julien Jassaud
Sorry, this is just a test message. I have had problems with posting to the list lately. Julien Jassaud ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Test, please ignore

2009-02-28 Thread Julien Jassaud
Well, we got it! =D Great, but how come I didn't while my options clearly show that I should receive my own posts ? Disturbing. Julien Jassaud On Sat, Feb 28, 2009 at 10:43 AM, Julien Jassaud wrote: Sorry, this is just a test message. I have had problems with posting to the

[MacRuby-devel] Some OpenGL sample code

2009-12-18 Thread Julien Jassaud
o, Mac OS 10.6.2, MacRuby 0.5b2 Thanks, Julien Jassaud ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Some OpenGL sample code

2009-12-19 Thread Julien Jassaud
e GC_DISABLE environment variable to any value before starting the > application. Indeed, after : macbook-de-julien-jassaud-2:Debug sojastar$ export GC_DISABLE=1 the application doesn't seem to crash anymore. But what should I do now ? > I'm not familiar with OpenGL but

Re: [MacRuby-devel] Some OpenGL sample code

2009-12-24 Thread Julien Jassaud
Laurent, >>> Could you enter "thread apply all bt" into the debugger shell and paste us >>> the result? >> >> Here it is. I don't understand much. The only information I can add is that >> thread 4 do not systematically appear. Besides that, the backtraces are >> consistent. > [...] > > I lo

Re: [MacRuby-devel] OpenGL/GLUT Bridgesupport

2010-01-22 Thread Julien Jassaud
Jonathan, The MacRuby-Cocoa-OpenGL sample code you mention in your first post is not complete. The reason might be a Bridgesupport problem, reported in ticket #520. I recently bought the SuperBible to better understand the OpenGL sample code I was porting to MacRuby. What example are you tryin

Re: [MacRuby-devel] OpenGL/GLUT Bridgesupport

2010-01-23 Thread Julien Jassaud
Jonathan, > I'm trying to teach myself openGL using the superbible and other web > resources. To keep things simple I wanted to build the superbible examples in > MacRuby - this should give me an easy to use platform for just trying to get > my mind around the openGL paradigms. Same here. >

[MacRuby-devel] Creating a pdf : Cocoa to MacRuby translation

2010-11-04 Thread Julien Jassaud
octype__ not initialized Does anybody have an idea what I am doing wrong ? Thanks, Julien Jassaud ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Creating a pdf : Cocoa to MacRuby translation

2010-11-04 Thread Julien Jassaud
ectangle_pointer[0] = page_rectangle > > Laurent > > On Nov 4, 2010, at 3:12 AM, Julien Jassaud wrote: > >> Hello to every one, >> >> I am trying to programmatically create a pdf. I have this quite simple code >> in Cocoa that works perfectly

Re: [MacRuby-devel] Creating a pdf : Cocoa to MacRuby translation

2010-11-07 Thread Julien Jassaud
#x27; > -e:1: warning: instance variable @foo not initialized > > % macruby -w -e '!...@foo' > > On 5 nov 2010, at 18:10, Jordan K. Hubbard wrote: > >> >> On Nov 4, 2010, at 7:19 PM, Julien Jassaud wrote: >> >>>>> This do prod

[MacRuby-devel] XCode 4 and ObjC bundles

2011-04-12 Thread Julien Jassaud
scheme's "Build" step by adding a pre-action script to it but I don't really know what to put in it. I couldn't even run the Makefile from it. Thanks, Julien Jassaud ___ MacRuby-devel mailing list MacRuby-devel@lists.

Re: [MacRuby-devel] XCode 4 and ObjC bundles

2011-04-12 Thread Julien Jassaud
n. Then you can > just add a script build stage to your project. If you want to see an example > of a MacRuby project with an Obj-C extension, take a look at ControlTower. If > you have any other questions, ask! > > Cheers, > > Josh > > On Tue, Apr 12, 2011 at 5:29 P

Re: [MacRuby-devel] XCode 4 and ObjC bundles

2011-04-12 Thread Julien Jassaud
ht try starting with the official library > docs here: http://www.ruby-doc.org/stdlib/libdoc/mkmf/rdoc/index.html > > - Josh > > On Tue, Apr 12, 2011 at 8:04 PM, Julien Jassaud wrote: > Joshua, > > Thanks for your prompt answer. I'll look into both mkmf and ControlT

Re: [MacRuby-devel] XCode 4 and ObjC bundles

2011-04-14 Thread Julien Jassaud
are *extremely* useful. In fact, most of my > Xcode projects end up being at least half script build phases. Hope that > helps! > > On Tue, Apr 12, 2011 at 5:48 PM, Julien Jassaud > wrote: > Joshua, > > Thanks again. The official doc is a bit dry for a first contact. I