Re: [MacRuby-devel] MacRuby Devel Beginner Question

2010-08-15 Thread Laurent Sansonetti
Hi Jeff, Sorry for the late reply. On Aug 13, 2010, at 11:59 AM, Jeff Hemmelgarn wrote: > Alright! > > Thanks for all the help. I was able to track down the problem and have some > changes for marshal.c that I need to get back to the repository. There were > some assumptions about the sizes

[MacRuby-devel] Fwd: Warnings from print operation

2010-08-15 Thread Robert Rice
Hi Laurent: Thanks for your reply. I'll try to reproduce the problem with a stripped down version of my app - It could be useful as a sample script if it doesn't reproduce the problem. Far as I can tell I'm building for 10.5. I get the warnings by running the PrintOperation modally as follows:

Re: [MacRuby-devel] Warnings from print operation

2010-08-15 Thread Laurent Sansonetti
Hi Robert, (Please mail the list, not me directly.) On Aug 15, 2010, at 8:20 PM, Robert Rice wrote: > Hi Laurent: > > My application has grown to over 200 files, but I could probably create a > small project to create these errors, however, if the problem has to do with > my MacRuby or framew

Re: [MacRuby-devel] Warnings from print operation

2010-08-15 Thread Laurent Sansonetti
Could you show your source code? Just from what you pasted I would assume you're using deprecated APIs. Laurent On Aug 15, 2010, at 3:19 PM, Robert Rice wrote: > Hi Thibault Martin-Lagardette: > > Yes, but the deprecated calls are originating from NSView. Printing had > stopped working for th

Re: [MacRuby-devel] Error on a new project

2010-08-15 Thread Laurent Sansonetti
Did you load the ImageKit framework in your project? If not this could explain the problem here. You can manually drop the ImageKit.framework into the Xcode project, or in the rb_main.rb file, use "framework 'ImageKit'". The later is preferred since it will allow you to use the static C APIs of

Re: [MacRuby-devel] Warnings from print operation

2010-08-15 Thread Robert Rice
Hi Thibault Martin-Lagardette: Yes, but the deprecated calls are originating from NSView. Printing had stopped working for the views in my application so I tried creating my own PrintOperation and ran it modally for my window instead of routing the print command directly to the view. Then the w

Re: [MacRuby-devel] Warnings from print operation

2010-08-15 Thread Thibault Martin-Lagardette
It looks like you are using deprecated APIs from the printing Framework. These are clearly not ruby errors, but deprecated objective-c calls :-) -- Thibault Martin-Lagardette On Aug 15, 2010, at 09:44, Robert Rice wrote: > Hi Developers: > > I get the followings warning from my PrintOperati

Re: [MacRuby-devel] Error on a new project

2010-08-15 Thread Thibault Martin-Lagardette
I think you may have a problem with your project. Can you try to reproduce this with a Cocoa project and see if the issue arises too? -- Thibault Martin-Lagardette On Aug 15, 2010, at 13:58, Manu wrote: > > Hi, > > I am using OSX 10.6.4 and MAcRuby 0.6. I created a new project and just

[MacRuby-devel] Error on a new project

2010-08-15 Thread Manu
Hi, I am using OSX 10.6.4 and MAcRuby 0.6. I created a new project and just simply added to the MainWindow.nib an Image browser an then built When Running the project in Xcode I get a SIGABRT So I ended up looking in a console what happened... AndI get the following error message Any id

[MacRuby-devel] Warnings from print operation

2010-08-15 Thread Robert Rice
Hi Developers: I get the followings warning from my PrintOperation: SimpleX_ViewController.print 2010-08-15 12:25:12.609 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) beginPrologueBBox:creationDate:createdBy:fonts:forWhom:pages:title:] was deprecated before Mac OS 10.0 and overrides of it are

[MacRuby-devel] unrecognized runtime type `{OpaqueExtAudioFile}

2010-08-15 Thread Emil Tin
I'm trying to load audio data using ExtAudioFileOpenURL() in the AudioToolbox, but seem to have a problem with the pointer gymnastics involved. First I created a BridgeSuppport file using: gen_bridge_metadata -f AudioToolbox -o AudioToolbox.bridgesupport I'm then using code like this: