History File for generic SMI GUI using tcl/Tk --------------------------------------------------------------------------- 21-Mar-2006 (Boda Franek) This is not even the first version. It is just a bunch of usefull code which I 'hacked' during the last Christmas and that will serve as a good start. ============================ tclTkGUI-v00 ==================================== === 31-March-2006:17:27 ========== v30 ================= === 19-May-2006:20:34 ========== v31 ================= === 21-May-2006:21:01 ========== v31r1 ================= 19-Jan-2007 (Boda Franek) This is the first usable version of the GUI ============================ tclTkGUI-v01 ================================== 25-Jan-2007 1) objectParPanel_create.tcl ... a) procedure 'objectParHeadingPanel_create' removed, as it creates just one label and the label creation was put directly into procedure 'objectParInfoPanel' b) procedure 'objectParInfoPanel' now takes an extra argument 'title' c) new procedure 'objectParPanel_display' that displays the panel as a top level window. 2) objectParPanel_create.tcl procedure 'objectParPanel_create' and 'objectParPanel_display' take extra argument 'title' 3) main.tcl procedure paramPanel_display modified in such a way, that it is possible to display parameter panel either as a part of object window, or as a toplevel window.This is achieved by a simple switch. It is left so that panels are displayed as toplevels. ============================== tclTkGUI-v02 =================================== 26-Jan-2007 (Boda Franek) - new file canvasObjects.tcl ... suite of procedures for managing objects on canvas - main.tcl & and actionParPanel_display.tcl ... quick hack to display objects on canvas rather than as independent windows it appears reasonably functional --> tag ============================= tclTkGUI-v03 =================================== 31-Jan-2007 (Boda Franek) Added some baloon help. Files affected : canvasObjects.tcl, main.tcl, mainPanel.tcl ================================================================================ 5-Feb-2007 (Boda Franek) - new files A.gif, P.gif and X.gif containing small letter A,P and X to be used on some object buttons. - topbar.tcl ... taking font from options - parametersGroups.tcl ... a) making sure, that entry widget turns white once it receives input b) lining up parameters on the display on the right - main.tcl ... a) adding some options b) creating images from the new gif files..see above - canvasObjects.tcl ... 'pasting' the new images on 'action', 'parameters' and remove buttons - mainPanel.tcl ... allowing the GUI Logo to adjust itself ============================= tclTkGUI-v04 =================================== ============================= tclTkGUI-v05 =================================== 5-Feb-2007 (Boda Franek) State Colors (file main.tcl & canvasObjects.tcl) ----------- - These are defined in the array stateColor('object name') - some defaults are defined in main.tcl - state DEAD and &DEAD are special cases ============================= tclTkGUI-v06 =================================== 13-Feb-2007 (Boda Franek) New, integrated way to browse for objects which also allows changing their -------------------------------------------------------------------------- order. ----- - new file objectSelectionPanel.tcl containing the necessary software - new file Scrolled_Listbox.tcl containing generic code for scrollable lists picked up from B.B.Welch book - the above uses the 3 new gif files for its buttons : downArrow.gif, upArrow.gif and rightArrow.gif - main.tcl sourcing the new software - mainPanel.tcl new procedure 'browseForObjects' using the new software - canvasObjects.tcl fixed a minor bug ============================= tclTkGUI-v07 =================================== - mainPanel.tcl ... obsolete procedures 'findAndAddObjects' and 'getDomains' removed - main.tcl ... adjusting options - objectSelectionPanel.tcl ... warning messages made childern of the corresponding widget. This preserves correct stacking order ============================= tclTkGUI-v08 =================================== 16-Feb-2007 (Boda Franek) - Allowing to save and retrieve object configuration -------------------------------------------------- necessary changes to mainPanel.tcl, topbar.tcl - objectSelectionPanel.tcl ... objects deleted on click of 3rd mouse button rather than 2nd - parameterGroups.tcl ... no value represented by zero length string ============================= tclTkGUI-v09 =================================== 18-Feb-2007 (Boda Franek) - listBox_create.tcl changed format from DOS to Unix - canvasObjects.tcl ... bug fixed in 'proc updateObjectOnCanvas' before a state of an object is updated, check is made wheather the object is displayed - objectSelectionPanel.tcl ... option '-activestyle' taken out, because older versions of Tcl/Tk do not support it 12-July-2007 (Boda Franek) - convertHEXtoEASCII.tcl allowing to input single and double quote either escaped or un-escaped - canvasObjects.tcl ... Bug fixed. Once state foregroung color was white, it stayed that way. 16-Jul-2007 (Boda Franek) - convertHEXtoEASCII.tcl procedure convertEASCIItoHEX now returns a list consisting of 2 elements. The first is an error message, the second is the result - tcl-smi.tcl ... procedure dispatchAction : when convertEASCIItoHEX returns error, the command is not sent 17-Jul-2007 (Boda Franek) -actionParPanel_display.tcl .. 1) parameter correctness checking extended to integers and floating points 2) the checking is moved to the point before the panel is dismissed thus allowing instant correction. -tcl-smi.tcl integer parameters are converted to decimal form and floating poinbt into scientific notation before sending off the action 18-Jul-2007 (Boda Franek) -actionParPanel_display.tcl .. for floating poin parameters insisting that there is either . or e or E present 19-Jul-2007 (Boda Franek) - textPanel_show.tcl ... new procedures to display 'text Panel'. Details see comments - parameterHelp_show.tcl ... new procedure to display help on inputting parameters into the GUI - main.tcl ... adding sourcing of the new files above -actionParPanel_display.tcl .. when user inputs a incorrect parameter, he is given an option to display parameter help === 25-July-2007:14:58 ========== v32 ================= 2-Aug-2007 (Boda Franek) - parameterGroups.tcl for parameters with a value, value field is made sunken. 3-Aug-2007 (Boda Franek) - tcl-smi.tcl procedure 'processParameters' ... if a parameter does not have a value, no value is assigned. Before, this used to be "". - parameterGroups.tcl absence of a value used to be indicated by value '&noval' which is obviously crap. No value is simply represented by no value. - actionParPanel_display.tcl & objectPar_panel_create ... the changes in tcl-smi.tcl and parameterGroups.tcl were taken into account 7-Aug-2007 (Boda Franek) - parameterGroups.tcl parameter plotted left justified === 07-August-2007:11:55 ========== v32r1 ================= === 25-August-2007:13:31 ========== v32r2 ================= === 28-September-2007:15:29 ========== v32r3 ================= === 07-October-2007:16:50 ========== v32r4 =================