Plug-in conversion of the Dialog 2 testing framework. This should compile and 
accept commands, e.g.

echo '{ menuItems = ({title = 'foo';});}' | "$DIALOG" menu

Note: currently I’ve set it up to hijack the $DIALOG environment variable, this 
has been working fine for me but I’m not sure if it’s a long-term solution (is 
the plug-in load order consistent?).
When tm_dialog2 is called it checks the first character of the argument list, 
and if it’s a ‘-’ then it replaces itself with the corresponding call to 
tm_dialog

Changed:
A   branches/WIP/Tools/Dialog2/Commands/
A   branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/
A   branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/IncrementalPopUpMenu.nib/
A   
branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/IncrementalPopUpMenu.nib/classes.nib
A   
branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/IncrementalPopUpMenu.nib/info.nib
A   
branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/IncrementalPopUpMenu.nib/keyedobjects.nib
A   branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/TMDBorderLessWindow.h
A   branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/TMDBorderLessWindow.m
A   branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/TMDIncrementalPopUpMenu.h
A   branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/TMDIncrementalPopUpMenu.mm
A   branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/extendedmenu.mm
A   branches/WIP/Tools/Dialog2/Commands/HTMLTips/
A   branches/WIP/Tools/Dialog2/Commands/HTMLTips/HTMLTip.nib/
A   branches/WIP/Tools/Dialog2/Commands/HTMLTips/HTMLTip.nib/classes.nib
A   branches/WIP/Tools/Dialog2/Commands/HTMLTips/HTMLTip.nib/info.nib
A   branches/WIP/Tools/Dialog2/Commands/HTMLTips/HTMLTip.nib/keyedobjects.nib
A   branches/WIP/Tools/Dialog2/Commands/HTMLTips/TMDHTMLTips.h
A   branches/WIP/Tools/Dialog2/Commands/HTMLTips/TMDHTMLTips.mm
A   branches/WIP/Tools/Dialog2/Commands/HTMLTips/htmltips.mm
A   branches/WIP/Tools/Dialog2/Commands/alert.mm
A   branches/WIP/Tools/Dialog2/Commands/help.mm
A   branches/WIP/Tools/Dialog2/Commands/menu.mm
A   branches/WIP/Tools/Dialog2/Commands/quit.mm
A   branches/WIP/Tools/Dialog2/Commands/window/
A   branches/WIP/Tools/Dialog2/Commands/window/TMDChameleon.h
A   branches/WIP/Tools/Dialog2/Commands/window/TMDChameleon.mm
A   branches/WIP/Tools/Dialog2/Commands/window/ValueTransformers.h
A   branches/WIP/Tools/Dialog2/Commands/window/ValueTransformers.mm
A   branches/WIP/Tools/Dialog2/Commands/window/window.mm
A   branches/WIP/Tools/Dialog2/Dialog2.h
A   branches/WIP/Tools/Dialog2/Dialog2.mm
A   branches/WIP/Tools/Dialog2/Dialog2.tmproj
A   branches/WIP/Tools/Dialog2/Dialog2.xcodeproj/
A   branches/WIP/Tools/Dialog2/Dialog2.xcodeproj/project.pbxproj
A   branches/WIP/Tools/Dialog2/Dialog2_Prefix.pch
A   branches/WIP/Tools/Dialog2/English.lproj/
A   branches/WIP/Tools/Dialog2/English.lproj/InfoPlist.strings
A   branches/WIP/Tools/Dialog2/Info.plist
A   branches/WIP/Tools/Dialog2/OptionParser.h
A   branches/WIP/Tools/Dialog2/OptionParser.mm
A   branches/WIP/Tools/Dialog2/TMDCommand.h
A   branches/WIP/Tools/Dialog2/TMDCommand.mm
A   branches/WIP/Tools/Dialog2/tm_dialog2.mm

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

Reply via email to