Changelog
The following is a list of revisions made to the program during its development phase.
- 11th September 2005
Changed behaviour of "Preview output" menu item.
Changed tdg.file_format:1 to octal-encoded.
Final beta release.
- 2nd May 2005
Fixed bug introduced in 2005-04-14, not possible to add new branches.
Added Caption/Probability "border" option, which will draw circles around probabilities and squares around captions.
Added "Preview output" option to temporarily view diagram as it will be exported.
Re-organised menubar.
Updated helpfile.
- 23rd April 2005
Changed 'Copy to Clipboard' keyboard shortcut from Ctrl+C to F4, to avoid conflicts with textbox keyboard shortcuts.
Updated help file.
Miscellaneous MRU bug fixes.
- 17th April 2005
Added 'Probability' indicator to node submenu; this will likely be moved at some point.
New View menu item: "View as output" renders a Print version of the diagram. Click or refresh to return.
- 14th April 2005
MRU item captions are abbreviated with periods (".") to maintain a maximum width of 300px for the "Open File" submenu.
"Project Website..." Help menu item opens this site in the client's default internet browser.
Created alternative algorithm for parsing commandline parameters which doesn't require the hefty 500KB VBscript library for regexes.
- 11th April 2005
Fixed 'View Guidelines' menu item taking on inversed check state when value changed.
New 'Getting Started' screen on program launch. User can toggle on/off but on by default.
View menu rearranged, and Function Key shortcuts for Menubar (F6), Toolbar (F7) & Statusbar (F8) added, in case user turns off Menubar and subsequently can never turn it back on.
- 10th April 2005
Fixed probability colours only rendering in design mode.
Fixed switching to decimal probabilities placing cursor at beginning of field.
Fixed Help file appearing always-on-top.
Rebuilt MRU filelist system to fix several bugs.
- 7th April 2005 (build b)
Statusbar message whilst printing.
Redistributed code into more independant modules and misc efficiency improvement.
Altered resize display throttling mechanism for a smoother effect that doesn't appear to be a lot more intensive than it actually is.
Fixed cascading node removal not researching state of node children thouroughly enough.
Fixed display bug in helpfile.
- 7th April 2005 (build a)
Added Undo point when probability/caption is altered after that control loses focus.
Fixed conflict between status bar messages "SEL" (resize) and "DRW" (render) when drag-resizing diagram.
Fixed remaining major bug: GPF when exiting via Diagram->Exit caused by premature 'End' statement in Form_QueryUnload event.
- 6th April 2005
Fixed captions in re-opened files inheriting all possible style options.
Altered RemoveNode routine slightly to fix a bug; appears stable.
Eliminated more recursion, when changing a probability value.
Fixed probability textboxes with value '0' not being rendered.
Added statusbar notifications for canvas clears and diagram renders.
Fixed insufficient whitespace behind probabilities in 'Copy'/'Export' output version of diagrams.
- 28th May 2004
Removed two unused control library references.
Changed "Display" captions menu option to "Hide".
Fixed Probability positioning bug when copying/exporting.
Fixed very small white box being drawn over a line when copying/exporting, as if for a caption background, when caption = "".
Compacted font properties.
Implemented new caption textboxes with on-hover menus.
Removed Diagram -> Properties.
Returned old "Associate .tdg" option to Diagram menu.
Reduced time to draw diagram by eliminating some unneccesary recursion when changing a caption value.
Typing in caption box no longer redraws entire diagram. (Fixed display bug which made this neccesary in the past.)
Changed Start Menu item names.
- 25th May 2004
Changed node menu captions to "Add Node" and "Remove Node".
Removed time delay protection.
Blank diagram begins with two branches already in place.
Fixed crash on Open Diagram... file not found.
Line colour option removed.
Allowing any character in probability textboxes, could be useful for eg. 1/x.
Default contents of probability textboxes "" not "0".
Made some user-friendly substitutions with statusbar text.
Slightly edited splash screen.
Undo, Redo, Copy buttons on toolbar.
Todo:
- Phase out static menu-driven Caption system in favour of textbox system (already accessible via Diagram -> Properties, albeit a little hidden.
- A suitable way to activate the node menu when using Caption textboxes.
- Check in "Add Line" for any dummy lines that need removing. Purely failsafe.
- Update helpfile.
- Check a bug with "Export" that doesn't always save properly to initial dir (eg. Desktop).
- 8th April 2004
Small performance fix within resize code.
Disabled meaningless "line color" option for initial node.
Slightly decreased setup package filesize.
- 18th January 2004
Added space in statusbar between "Diagram Size:" and current dimensions when resizing.
Changed hover-over selection box from square to rounded square.
Fixed flickering on hover-over selection box by combining .Left = L, .Top = T statements into single .Move L, T statement.
Fixed line colour setting malfunction from node context menu.
Added icon to View->Refresh.
Added preferences dialog for default diagram settings.
Added option to use textboxes for Caption input (preferences dialog) - this is problematic as you cannot use the node control point with the textbox above it!
Moved file association settings to preferences dialog.
- 15th January 2004
Rewrote Remove Node subroutine to fix several problems.
Fixed save routine aborting: bad conditional logic.
Added optional guidelines.
Added View menu for toggling statusbar/menubar/toolbar/guidelines.
Mouseover sizing handle shows current size.
- 14th January 2004
Added Set File Associations to installation procedure.
Fixed: Lines weren't being added as 'dummy' lines under all the conditions when they should have been.
Fixed some Add Node problems with no failsafe if the insertPosition checker didn't locate a valid nearest node.. sets insertPosition to value of last node + 1, as should be.
Made Remove Node maintain the minimum of 3 (visible or not) lineLevels for sizing.
Renamed project in installer so that the .msi shows the build release date.
- 11th January 2004
Made font and color variable types in TBB.ocx more consistent with standards (OLE_COLOR and FONT types, instead of LONG and STRING).
Fixed typo in helpfile (described initial node as a square, not a circle).
Added non-scrolling logo region to all topic pages in helpfile.
Set AutoRedraw to true for TBB, border was vanishing.
Error handling mechanism (inc. fixed save abort on error leaving diagram drawn but DS object empty).
Added versioning system to file format.
Save toolbar button doesn't ask for new filename/path if curDiag isn't empty.
Updated example files with file versioning tag and default to all captions on.
Fixed Help->Contents not being enabled even though help file was enabled.. assuming path problem.
Clicking on splash screen closes it.
Set line probType default to Decimal.
Allowed probType to be controlled more by input.. eg. Type / or . in the box and the type changes automatically; focus also more dynamic.
Added "none" option for probType to context menu.
Switched to Visual Studio Installer for setup program.
Not yet changed Caption labels to textboxes.
- 30th December 2003
Added more subclassing cleanup code, hoping to remove quit-time crash problem. So far, signs are good.
Created TextBoxBordered ActiveX control.
Implemented TextBoxBordered control for probability display & input.
Made canvas resizing smoother.
Updated helpfile.
TDG Logo added to helpfile.
New DS5 Productions logo.
- 24th December 2003
Drop in filesize is due solely to removing components and references that weren't in use. I had no idea it'd make such a difference but knew I should do it anyway.
Fix icons for context menu.
Moved second context menu to Diagram main menu.
Dummy lines used instead of adding new lines. If only child of Index node is a dummy line, just remove dummy property.
Implemented new XP-style toolbar/menubar. Stability unknown but seems ok locally.
Some fixes with pressing Cancel in Save dialog boxes after New/Exit/etc not fully cancelling procedure.
Created resource-based manifest file, so controls are now styled when program is run under XP.
I am aware of the program giving MS errors sometimes on quit.. not sure why. If this occurs anytime else please do let me know.
- 23rd December 2003
Graphical diagram resizing on canvas.
Diagram padding now included in diagram size, and both are in proportion to one another.
Resized canvas size and fixed routines.
Wrote Export to JPEG support.
Fixed moving mouse erasing statusbar ERR notices as it always assumed last message was SEL, and therefore destined to be overwritten.
Removed extraneous code and moved types/functions to independent module.
Removed Properties dialog.
Fixed selecting cancel on Save dialog after New Diagram confirmation only aborting Save procedure, program still overwrote with blank diagram.
Added functional options to Diagram Settings context menu.
Splash Screen created and implemented (doubles up as new About dialog).
Attempted to add icons to context menu, but with little success. Icons have remained in program for time being, please ignore them.
- 22nd December 2003
The main flaws in the addition subroutine from yesterday have been fixed, with the aid of a totally seperate program I ended up having to write to visualise a diagram's structure without actually drawing it. I took components from the Diagram Properties dialog and compiled a new exectuable, and fed it information at varying points of the Node Addition procedure, and figured out where the problem was. The system is yet not perfect but getting ever closer, and certainly one major bug has been eradicated.
Also, right clicking on a non-hotspot area of the diagram brings up a second context menu, from where you can define some diagram-related settings. I'm still not sure about this one, might keep it on the menubar.
Fixed some things not being true by default when they should have been (such as visibility of labels).
Considering writing an on-error online feedback procedure, but this can wait until after the majority of development.
- 20th December 2003
Beginning of christmas holiday season - more time to work on this project.
You can see the implementation of a more interactive graphical interface has begun, with point-and-click manipulation of nodes, but the original properties dialog is still available for the time being, for debugging purposes if nothing else. The project size should decrease once I finally remove the properties dialog.
Two example diagram files included - note that the file structure has again changed.
- 21st December 2003
This build features recursive Undo/Redo support, and a greatly enhanced node addition subroutine to get around some major ordering bugs which were presenting themselves. The subroutine is still not perfect, but now works in a far greater proportion of cases. Additionally, support has been added to prevent multiple instances of the program. If another instance of TDG is detected, of any version, it brings focus to that instance's window and closes itself before initialisation.
- 18th October 2003
Major structure changes, from branch/stem system to child/parent line object system.
Help file from 2003-10-12 included but now out of date. This build was used to develop the first stages of the ActiveX .ocx TDG control which will eventually be part of the product, and can be inserted as an object into eg. Word, Excel.
Includes one example diagram file - please note that the old .tdg file format is now invalid.
- 12th October 2003
First public beta.
Now includes help file and example diagram files.