[SVN] r6331

Chris Thomas chris at cjack.com
Mon Dec 11 18:58:16 UTC 2006


• cleanupAndRelease is no longer implicit as part of a showNib for non-async windows. tm_dialog must always call closeNib: to release the dialog. This ensures tm_dialog can retrieve results before the nib is fully closed. Non-modal, non-async dialogs now work again. (The connectionDidDie: notification still ensures cleanupAndRelease if the tm_dialog process dies prematurely.)

• As a result of the above change, the dialog protocol has changed, although the method declarations have not. You need update both Support (tm_dialog) and PlugIns (Dialog.tmplugin).

• Add a workaround for event stalls in wakeClient. You could previously have a situation where you pressed a button to dismiss a dialog, but the dialog didn't actually dismiss until you moved the mouse.

Changed:
U   trunk/PlugIns/Dialog.tmplugin/Contents/MacOS/Dialog
U   trunk/Support/bin/tm_dialog
U   trunk/Tools/Dialog PlugIn/Dialog.h
U   trunk/Tools/Dialog PlugIn/Dialog.mm
U   trunk/Tools/Dialog PlugIn/tm_dialog.mm



More information about the textmate-dev mailing list