]> src.bluestatic.org Git - macgdbp.git/commit
Working around an extremely annoying apple bug in NSTreeController and an NSOutlineVi...
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 5 Aug 2007 21:04:34 +0000 (14:04 -0700)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 5 Aug 2007 21:04:34 +0000 (14:04 -0700)
commit802d50d70b29418eaae3c5724fbc73f96f83ee93
tree3bf032cbac43a54f0e16ed937bfeabff372849a9
parent4ae67c260b098e793ddfaebdc198da6c97b3f13f
Working around an extremely annoying apple bug in NSTreeController and an NSOutlineView. When the contentArray is bound on an NSTreeController, the observing can go haywire and just crash randomly.

* English.lproj/Debugger.nib: Unbinding RegisterController's content array
* Source/DebuggerConnection.m:
([DebuggerConnection registerRecieved:]): Sending [_windowController setRegister:] the entire document instead of the rootElement
* Source/DebuggerWindowController.h: Removed _register ivar and changed setRegister: to take an NSXMLDocument
* Source/DebuggerWindowController.m:
([DebuggerWindowController setRegister:]): Instead of changing a property and letting KVO do the work (and subsequently and randomly crash), force the controller to have new content
English.lproj/Debugger.nib/keyedobjects.nib
Source/DebuggerConnection.m
Source/DebuggerWindowController.h
Source/DebuggerWindowController.m