Re: Key presses in NSView

2012-10-04 Thread Gordon Apple
Ah! Exactly what I needed. Works. Thank you. It turns out that I had another borderless window where I had done just that. How quickly we forget. That screen overlay business is a real nasty. I found out real fast that you don¹t put a break point in its result handler unless you like cold reb

Re: Key presses in NSView

2012-10-04 Thread Jens Alfke
On Oct 4, 2012, at 3:17 PM, Gordon Apple wrote: > This is essentially the DragMouseBoxView (simple subclass of NSView) from > the AVScreenShack sample. It is set to acceptFirstResponder and > acceptFirstMouseClick. You may need to override -canBecomeKeyWindow in your window to return YES — if

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 4 Oct 2012, at 20:18, Marshall Houskeeper wrote: > Hi Mike, > > Our products are a video/audio editor application and video effect plugins. > In both cases, our file formats (data block for plugin data) can store many > file references. Our files keep references to file types such as

Key presses in NSView

2012-10-04 Thread Gordon Apple
I have a screen overlay window/view (one for each available screen) which accepts mouse events (up, down, dragged). I want the user to be able to cancel and dismiss the overlay window(s) by hitting the ³any² key (old MS joke). Unfortunately, overriding keyDown/keyUp does not work. I just get a s

Re: backtrace() symbolizes wrong, to an inline function

2012-10-04 Thread Greg Parker
On Oct 4, 2012, at 10:12 AM, Jerry Krinock wrote: > If I create such an error on my Mac, where backtrace() has the benefit of > either an unstripped Debug build or a matching dSYM file, the backtrace is > symbolized correctly. If you have the matching dSYM file for your users' bug reports, you

Re: backtrace() symbolizes wrong, to an inline function

2012-10-04 Thread Jerry Krinock
On 2012 Oct 04, at 11:07, Fritz Anderson wrote: > If symbols are not present in the executable, the trace will search backwards > in memory to the closest symbol that happens to be defined. Thank you, Fritz. It seems like the backtracer should have a way to avoid presenting incorrect informa

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Marshall Houskeeper
Hi Mike, Our products are a video/audio editor application and video effect plugins. In both cases, our file formats (data block for plugin data) can store many file references. Our files keep references to file types such as quicktime movies, audio files and text files as well as links to

Re: NSURLConnection working OK on iOS 6?

2012-10-04 Thread Alex Kac
I seem to have gotten an uptick of HTTP Too many Redirects. I don't know if its yet iOS 6 or just so many people upgrading that the servers are wonky (Google API servers we use mostly). On Oct 3, 2012, at 6:23 PM, Laurent Daudelin wrote: > Anybody extensively using NSURLConnection seeing more

CIFilter on CALayer on Mac OS 10.7+

2012-10-04 Thread Thibault Martin-Lagardette
Hi, I would like to make sure I understand what has been happening in some part of our application. The code is really easy. The idea is to "flash" an NSButton. The NSButton subclass sets its properties to selected, draws itself into a NSBitmapImageRep, resets its selected property, and create

Re: backtrace() symbolizes wrong, to an inline function

2012-10-04 Thread Fritz Anderson
On 4 Oct 2012, at 12:12 PM, Jerry Krinock wrote: > 1 MyFramework 0x00105066 MyInlineFunction + 188607 ... > If I create such an error on my Mac, where backtrace() has the benefit of > either an unstripped Debug build or a matching dSYM file, the backtrace is > symbolized correctly. ... > Wha

backtrace() symbolizes wrong, to an inline function

2012-10-04 Thread Jerry Krinock
A 32-bit Cocoa Mac app is a thin wrapper around a 32-bit framework. I've received a dozen or so crash reports from users during the last year which start something like this… 1 MyFramework 0x00105066 MyInlineFunction + 188607 2 MyFramework 0x0001d8be MyFramework + 96446 3 MyFramework

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 22:02, Marshall Houskeeper wrote: > > Hi Quincey, > > I have no problem with the use of the open panel ( security-scoped bookmark > )for creating new documents. The problem is for pre sandboxed documents or > documents that come from Windows. Having the user re-authorize

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 21:34, Quincey Morris wrote: > On Oct 3, 2012, at 12:44 , Marshall Houskeeper > wrote: > >> Our plan is to use Security-Scoped Bookmarks for all new documents to store >> external file references when we go to the sandbox environment. In our use >> case, I would guess

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 19:48, Sean McBride wrote: > On Wed, 3 Oct 2012 11:38:10 -0700, Quincey Morris said: > >> If an item is in your sandbox, you don't need the bookmark at all (for >> security reasons, anyway). If the item is *not* in your sandbox, then >> you're going to have to ask the user for

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 18:18, Sean McBride wrote: > On Wed, 3 Oct 2012 11:15:48 -0400, Marshall Houskeeper said: > >> Our document file format currently stores file paths and file alias to >> external files. We can potentially have several thousand references to >> external files stored in a documen

Re: build compatibility for iOS

2012-10-04 Thread Matt Neuburg
On Sun, 30 Sep 2012 10:03:33 -0500, Fritz Anderson said: >On 30 Sep 2012, at 3:28 AM, "Kiran K . Koduri" >wrote: > >> I am new to iOS, my qusetion is if i compile my application on iOS 4.2, thus >> this application works on iphone or ipad with iOS 6. > >The short answer is yes But the long an

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 16:15, Marshall Houskeeper wrote: > > Our document file format currently stores file paths and file alias to > external files. We can potentially have several thousand references to > external files stored in a document. When we move to a sandbox environment, > we will stor

Re: Constraints Question

2012-10-04 Thread Matt Neuburg
On Sat, 29 Sep 2012 17:52:23 -0400, Eric Gorr said: >I am trying to wrap my head around the auto-layout functionality. There are at least three (count them three) WWDC 2012 videos about this, and I strongly recommend that you touch *nothing* until you have watched all of them. m. -- matt neubu

Re: APN and various apps determining each other present on a device?

2012-10-04 Thread Fritz Anderson
On 4 Oct 2012, at 12:33 AM, Rick Mann wrote: > On Oct 3, 2012, at 19:46 , Jeff Kelley wrote: > >> It’s relatively simple: App A registers for a URL scheme, let’s say AppA://. >> App B asks the system if it knows how to handle AppA:// links. > > I was looking for how this is done. How does an

Re: Compiling GC apps under OS X 10.8

2012-10-04 Thread Shane Stanley
On 01/10/2012, at 10:52 AM, Shane Stanley wrote: > I have a GC app with a deployment version of 10.6. If I compile it in 4.5 > under OS X 10.8, using either 10.8 or 10.7 SDK, and run the resulting app in > OS X 10.6, I gets lots of this sort of error: > > objc[201]: GC: 0x10029cf20 + 24 isn't