Re: Removing the Filename flag in Doc. based Application

2008-05-27 Thread Mark Piccirelli
There's some advice about this in the "Advice for Overriders of - [NSDocument displayName]" section of the AppKit release notes at http://developer.apple.com/releasenotes/Cocoa/AppKit.html. (Searching for "advice" on that page turns up a couple of other tidbits too.)

Re: AppleScript - occasional crashes on Leopard

2008-04-22 Thread Mark Piccirelli
w? -- m-s On 22 Apr, 2008, at 15:53, Mark Piccirelli wrote: Is this a garbage-collected app? If so the crash is a known bug. -- Mark On Apr 22, 2008, at 10:47 AM, Steve Cronin wrote: Folks; I've seen some inconsistent behavior on AppleScript running under

Re: AppleScript - occasional crashes on Leopard

2008-04-22 Thread Mark Piccirelli
Is this a garbage-collected app? If so the crash is a known bug. -- Mark On Apr 22, 2008, at 10:47 AM, Steve Cronin wrote: Folks; I've seen some inconsistent behavior on AppleScript running under Leopard. Here's an example: ... NSString *theScript =@

Re: Cannot Remove Observer Error

2008-04-15 Thread Mark Piccirelli
How are KVO notifications for the Wine class' wineType property being done? KVO is complaining that not enough of them are being sent out. The rule for KVO-compliance in this case is that something must do [wine willChangeValueForKey:@"wineType"] before the value returned by [wine valueForK

Re: KVO strangeness under 10.5

2008-04-13 Thread Mark Piccirelli
ta via info args when this breakpoint was hit. I am sure that this is due to changes in the KVO system in 10.5 but not sure if this is revealing a bug in that system or uncovering a problem with my use of KVO (perhaps some workaround code to a problem with KVO and bindings pre-10.5). On

Re: KVO strangeness under 10.5

2008-04-12 Thread Mark Piccirelli
hile in a function called from GDB. GDB has restored the context to what it was before the call. To change this behavior use "set unwindonsignal off" Evaluation of the expression containing the function (_NSPrintForDebugger) will be abandoned. On Apr 12, 2008, at 5:18 PM, Mark Pi

Re: KVO strangeness under 10.5

2008-04-12 Thread Mark Piccirelli
You can copy-and-paste to find out what the surprising observers are, as in: (gdb) po 0x19e5a0 -- Mark On Apr 12, 2008, at 2:59 PM, Sean Todd wrote: I have a Cocoa document app that uses bindings. After installing 10.5 and Xcode 3.0, I started seeing console

Re: Observing with GC

2008-02-26 Thread Mark Piccirelli
On Feb 26, 2008, at 2:36 PM, Graham wrote: I hesitate to weigh in on an established thread, but I ran into this myself a while back. Isn't part of the purpose of the observer mechanism to allow observees to proceed with their normal activities blissfully unaware of any observers that migh