Re: WebView and cookies

2015-07-17 Thread Mirko Viviani
On Jul 16, 2015, at 18:19, Jens Alfke wrote: >> On Jul 16, 2015, at 3:37 AM, Mirko Viviani > <mailto:mi...@objectlab.org>> wrote: >> >> I’m using the following code for FaceBook authentication with custom cookie >> management (-setHTTPShouldHandleCookies

WebView and cookies

2015-07-16 Thread Mirko Viviani
Hi, I’m using the following code for FaceBook authentication with custom cookie management (-setHTTPShouldHandleCookies:NO), but recently it has stopped working with a web message ‘Cookies are not enabled’. It does work if I set -setHTTPShouldHandleCookies:YES, but I don’t want to share cookie

LSOpenFromURLSpec() returns -10825 on Tiger

2009-11-13 Thread Mirko Viviani
Hi, I have a problem building an application targeted to 10.4.10 and up. Launching the app with open I get: $ open /Applications/myapp.app ... LSOpenFromURLSpec() returned -10825 for application (null) urls file://localhost/Applications/myapp.app/. while launching the exe inside the applicatio

Printing panel issue

2009-11-13 Thread Mirko Viviani
Hi, in my application I have implemented a printing view like the one in the ImageApp example and it works like a charm apart a small thing in the Layout panel printing sheet. In 10.6.2 the "Flip horizontally" does not work, but "Reverse page orientation" does. In 10.5.7 "Reverse page orientat

Re: CGImageRef printing issue

2009-11-13 Thread Mirko Viviani
On 12/nov/2009, at 23.46, David Duncan wrote: > Just like with all CGContexts you can apply a transform matrix to change the > coordinate system. However in general this isn't necessary. If you want an > image to display in a 1" x 1" area on screen, draw it into a 72x72 box. The > pixel size of

Re: CGImageRef printing issue

2009-11-12 Thread Mirko Viviani
On 12/ago/2009, at 21.30, David Duncan wrote: >> From my experience on Windows, DPIHeight and DPIWidth are properties of the >> display device the image is drawn on, and not properties of the image >> itself. > > They are properties of both. In the case of printing, you are using a fixed > grid

Re: Color with pattern image

2009-08-11 Thread Mirko Viviani
On 11/ago/09, at 09:03, Uli Kusterer wrote: You probably want to do the pattern phase thing Rob suggested, but just for completeness' sake, there's a flipped property on NSImage that you could use to fix the upside-down part of this new problem. Yes I know but I need to use the pattern pha

Color with pattern image

2009-08-09 Thread Mirko Viviani
Hi, I'm using -[NSColor colorWithPatternImage:] to draw a background pattern image and I want to set a constraint for the drawing starting rectangle. The docs says that "The image is tiled starting at the bottom of the window" I've tried to vertically flip the drawing context but the patt

Exit fullscreen with fade

2009-06-28 Thread Mirko Viviani
Hi, I use an empty window for fullscreen mode using SetSystemUIMode to hide all system widgets and screen fade. This code used for entering fullscreen mode causes no problems at all, but using to exit fullscreen produce a strange behaviour. When I close the window and set the system UI mode

Re: ImageIO key properties

2008-04-07 Thread Mirko Viviani
On 07/apr/08, at 19:43, David Duncan wrote: for an application targeted for 10.4 I need to access the value of some key properties defined for 10.5 in CGImageProperties.h, like kCGImagePropertyExifAuxDictionary. Assuming you have your project set properly, standard weak-linking policies s

ImageIO key properties

2008-04-06 Thread Mirko Viviani
Hi, for an application targeted for 10.4 I need to access the value of some key properties defined for 10.5 in CGImageProperties.h, like kCGImagePropertyExifAuxDictionary. Is there a legal way to do this? Thank you. Mirko ___ Cocoa-dev mailing li