Re: [MacRuby-devel] [MacRuby] #513: MacRuby gets confused about inheritance under certain conditions

2010-01-24 Thread MacRuby
#513: MacRuby gets confused about inheritance under certain conditions ---+ Reporter: matt...@… | Owner: lsansone...@… Type: defect | Status: new Prio

Re: [MacRuby-devel] NSOpenPanel error

2010-01-24 Thread Laurent Sansonetti
Hi Darrin, I believe this error happens because you do not run within a properly initialized Cocoa session. In general, it is not possible to use Cocoa directly from macirb without calling at least NSApplication.sharedApplication and starting a run loop at the end. HTH, Laurent On Jan 24

[MacRuby-devel] NSOpenPanel error

2010-01-24 Thread Darrin Eden
Hi, The following is using a macruby build as of today. I'm not sure, but I seem to be experiencing a debugger error while attempting to work with a NSOpenPanel. The second time I create a NSOpenPanel no error is reported. Thoughts? Thanks, -- Darrin irb(main):001:0> framework 'Coco

Re: [MacRuby-devel] MR Examples was: OpenGL/GLUT Bridgesupport

2010-01-24 Thread Jonathan Waddilove
OK, I've had a go at writing a very simple description of Pointer. Once the group has decided where it would like these sort of items I will move it. Meanwhile, any comment on the contents? http://jonathan.waddilove.net/macruby_pointers.html Many thanks, Jonathan regards, Jonathan Jonathan

Re: [MacRuby-devel] MR Examples was: OpenGL/GLUT Bridgesupport

2010-01-24 Thread Jonathan Waddilove
I agree. I understand the issues you highlight. If we can agree where to post these code snippets and notes then I'm happy to try and pull something together. I guess if we annotate each entry with the code level we were using it should be possible to understand if the entry has become stale and

Re: [MacRuby-devel] OpenGL/GLUT Bridgesupport

2010-01-24 Thread Jonathan Waddilove
John, Thanks very much for the help. The "data = CGBitmapContextGetData(context)" had me confused, I was wondering if the Pointer type need a change, so you view that it's a bug is very helpful. Yes, I now have IcePhage working. I'll start trying to collate what has been written about Pointer a

Re: [MacRuby-devel] [MacRuby] #575: Bug in Cocoa bindings for NSTableViewColumn + NSArrayController

2010-01-24 Thread MacRuby
#575: Bug in Cocoa bindings for NSTableViewColumn + NSArrayController -+-- Reporter: n...@… |Owner: lsansone...@… Type: defect | Status: closed Priority: bloc

[MacRuby-devel] MR Examples was: OpenGL/GLUT Bridgesupport

2010-01-24 Thread John Shea
yes, agreed as far as tutorials are concerned. Regarding example/sample code i think we have a few issues. i) Laurent and the core team are too busy to do the mundane task of checking example code, ii) because the oficial MacRuby example code is an apple distribution it needs to be always worki

Re: [MacRuby-devel] OpenGL/GLUT Bridgesupport

2010-01-24 Thread John Shea
Hi Jonathan, yes i discovered that yesterday too. Changing all of the "i" s to "I"s was not too hard - i do not know if this is a change in Pointer types or whatever. The bigger issue is that this call: data = CGBitmapContextGetData(context) no longer seems to return the correct data type (typ