• name the connection port “com.macromates.dialog[_1].%pid” where %pid is the 
process ID of TextMate. The port name is exported as the DIALOG_[1_]PORT_NAME 
environment variable and read by the tm_dialog shell command.

This design avoids name clashes if other programs want to use the plug-in.

Changed:
U   branches/WIP/Tools/Dialog2/Dialog2.mm
U   branches/WIP/Tools/Dialog2/tm_dialog2.mm
U   trunk/PlugIns/Dialog.tmplugin/Contents/Info.plist
U   trunk/PlugIns/Dialog.tmplugin/Contents/MacOS/Dialog
U   trunk/PlugIns/Dialog.tmplugin/Contents/Resources/tm_dialog
U   trunk/Tools/Dialog PlugIn/Dialog.mm
U   trunk/Tools/Dialog PlugIn/tm_dialog.mm

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to