Re: [MacRuby-devel] Warnings from print operation

2010-08-19 Thread Laurent Sansonetti
Hi Robert, Well, I have no idea. I can't debug your project without seeing the code :) I suspect there is an application error somewhere, since the Cocoa layer of MacRuby has been pretty stable since we released 0.6. So I would double-check the drawing code with the documentation and see if the

Re: [MacRuby-devel] Warnings from print operation

2010-08-19 Thread Robert Rice
Hi Laurent: Any ideas on how I should proceed to track down my printing problem? After fixing a couple of (seemingly unrelated) bugs, I'm not still getting the deprecated API messages, but I am still getting an invalid graphics context for the print operation. I think Apple probably needs to "t

Re: [MacRuby-devel] Warnings from print operation

2010-08-16 Thread Laurent Sansonetti
Hi Robert, Is the project itself (without the product files) 1.7MB? That's quite big for a sample project, but maybe we can reduce its length. In any case, feel free to post it somewhere or e-mail it to me directly :) As for your bug, did you try building your main project for something higher

Re: [MacRuby-devel] Warnings from print operation

2010-08-16 Thread Robert Rice
Hi Laurent: I created an abbreviated version of my project. Unfortunately it didn't reproduce my printing problem but you may want to consider using it for sample code. How would I send it to you? ( 1.7 MB ) Thanks, Bob Rice On Aug 15, 2010, at 10:51 PM, Laurent Sansonetti wrote: > Could you

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] 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

[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