Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Laurent Sansonetti
Hi Tom, Could you try to reduce the problem into a new Xcode project? (adding MRGraphics to it if necessary.) Once you have a reduction, please attach it to a new ticket: http://www.macruby.org/trac/newticket Thanks :) Laurent On Nov 26, 2010, at 2:30 PM, Tom Jordan wrote: > > The problem

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Tom Jordan
> The problem is in my code that uses the MRGraphics library.. > I removed that, but kept in all of the MRGraphics files, and required it, > and windowControllerDidLoadNib is still working. > So the MPGraphics files are compiling alright, but the code that uses it is > somehow triggering an error.

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Tom Jordan
i jumped the gun... The problem is in my code that uses the MRGraphics library.. since I removed that, but kept in all of the MRGraphics files, and required it. So they are compiling alright, but the def drawRect(rect) @theSteps ? @theSteps : @theSteps = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Tom Jordan
I'm having some trouble bringing in the old nib to the newly working project, so I went back to the old project and removed the MRGraphics code.. windowControllerDidLoadNib is now working right in the original project.. I hope there is a way to still use the MRGraphics library.. I'm going to submit

Re: [MacRuby-devel] NSEvent MacRuby (updated)

2010-11-26 Thread Laurent Sansonetti
Hi Andras, I think the problem is fixed in trunk, as r4952. Please give it a try or tonight's nightly build and let me know if it works for you. We don't test MacRuby very well for i386, this explains that the issue has not been found before. Laurent On Nov 25, 2010, at 3:57 AM, András Zalavá

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Tom Jordan
Thanks Guys ! I just created a new project and it worked.. Now I'm going to bring in my files from the other project and see if I can find where it breaks.. I'm also using the MRGraphics library at: https://github.com/mattetti/macruby_graphics It works great to quickly get a custom graphics view

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Laurent Sansonetti
Hi Tom, I just created a sample NSDocument-based project, and added a windowControllerDidLoadNib: method to the NSDocument class, calling super as you do, and everything worked as expected. Could you try that and see if you still see the problem? Also, do you run a 32-bit machine? Laurent O

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Thibault Martin-Lagardette
Hi Tom, I can't seem to understand what is wrong, I guess, since you said everything else works, that you did call the necessary `framework "Foundation"`? Could you maybe provide us some test project, so that we can reproduce and maybe trace the error better? :-) Thank you! -- Thibault Martin-