Hardy change log
----------------

1.86 May 28th 1996
------------------

- Added frame-is-iconized, menu-bar-create-from-resource, list-box-is-selected.
- Added wxCOOL functions wxWindow::find-window-by-name, wxWindow::find-window-by-name.
- Can create wxMenuBar from resource now; see resource example.

1.85 May 6th 1996
-----------------

- Cured various grid bugs.

1.84 April 10th 1996
-------------------

- Added get-window-by-name, get-window-by-label wxCLIPS functions.
- Cured dc-get-text-extent-width, dc-get-text-extent-height bug.
- Added missing grid-get-cell-value function.

1.83 April 4th 1996
-------------------

- Cured wxCLIPS popup menu bug.
- Added ContainerAddPre/Post, ContainerRemovePre/Post event handlers.

1.82 March 26th 1996
--------------------

- Cured Windows-resource-eating bug, showed especially when
  opening/closing dialogs or panels with listboxes or choice items.
- Cured bug when saving index file: filename sometimes got trashed.
- Cured bug where opening a card minimized saves strange card position.
- Added mkdir, rmdir, copy-file CLIPS functions.
- File selectors for save operations now display Save button instead of
  Open.
- Added dc-set-background-mode, documented dc-set-background.

1.81 March 10th 1996
--------------------

- Added argument to card-quit to allow suppression of prompts.

1.80 March 10th 1996
--------------------

- Increased the available stack size for Windows 3.1 version, since
  CLIPS applications were running out of stack space.
- Fixed problem with type system that broke the Grid and HTML windows.

1.79 March 4th 1996
-------------------

- Added wxCOOL/wxCLIPS functionality to allow panels and dialogs to be
  created from resources. See resources example in SDK.

1.78 February 28th 1996
-----------------------

- Fixed wxWindows type system problem.
- Fixed print-preview problem.
- Removed some bugs from wxCOOL.

1.77 February 26th 1996
-----------------------

- Win95 version of wxButtonBar fixed so getting toggle state works.
- Win95 printing bug fixed (wouldn't start printing).

1.76 February 21st 1996
-----------------------

- -mdi and -sdi arguments widthdrawn.
- Media card definition now prompts for saving (would lose changes
  previously).
- Windows 95-style toolbars supported for Windows 95 version (see changes
  in toolbar usage, wxCLIPS manual).
- Metafile writing in WIN32 fixed.
- Added hardy-get-version.

1.75 February 8th 1996
----------------------

- Added diagram-card-popup-menu
- Added argument to card-find-by-title, to allow exact matching.

1.74 February 2nd 1996
----------------------

- Added card-get-toolbar.
- Fixed GPF when deleting diagram with junction.
- Added CanvasLeftClick, CanvasRightClick callbacks.

1.73 January 22nd 1996
----------------------

- Fixed memory bugs which sometimes caused crashing when deleting
  multi-way arcs and composite symbols.
- Hypertext cards can have a custom toolbar.
- Added grid example to SDK.
- Added a window argument to card-create, diagram-card-create,
  diagram-card-create-expansion, card-show to allow reuse of
  an existing window instead of creating a new one.
- Fixed bug whereby diagram-palette-get-node-selection, following
  a diagram-palette-set-node-selection, returned "".
- wxCLIPS: buttonbar toggle bug in WIN32 NOT fixed, please
  use normal toolbar instead (see docs).
- wxCLIPS: added get-active-window.

1.72 January 18th 1996
----------------------

- Added grid window functionality to wxCLIPS.

1.70 January 17th 1996
----------------------

- Added canvas scrolling functions to wxCLIPS.
- Added custom toolbar facility for Media Card.
- Cured bug in media-card-string-search (always returned -1).
- Default panel/dialog fonts reduced in size.
- Extended the number of colours allowed in Media Definition
  block editor.
- Removed unnecessary "[Do] CLIPS >" from developer window,
  and focus is now set to the command line when the developer window is
  activated.

1.69 January 11th 1996
----------------------

- Added function media-block-create, registered function
  media-card-save.
- Colour option on diagram options dialog now affects PostScript
  printing.
- File selector now displayed each time 'Export PostScript' is chosen,
  not just the first time.

1.68 January 9th 1996
---------------------

- Added events SelectNodeImage, SelectArcImage, CreateNodeImagePre,
  CreateArcImagePre handles.
- Fixed bug whereby functions for Media Card were not being
  registered.

1.67 December 19th 1995
-----------------------

- Added wxCLIPS functions for loading .wxr resource files
  and creating panels/dialog boxes from them.
- Some wxWindows bug fixes, incl. nested modal dialog behaviour.

1.66 November 28th 1995
-----------------------

- Added initial Media card functionality (internal distribution
  only). This builds on Matthew Flatt's wxMedia classes, and is
  intended to eventually replace the Hypertext card.
- Text is now always inserted at the end of the Developer window.
- New two-disk installation procedure.

1.65 November 21st 1995
-----------------------

- Cured a bug introduced with the 2nd fix below! Multiway
  arc deletion was messed up by the fix, causing objects to
  hang around, and crashes.
- Added more functions to text window and multitext in wxCLIPS.
- Added hwnd-send-message for message passing in Windows: for
  example you can use this for printing a text file from
  notepad automatically.

1.63-1.64 September 28th 1995
-----------------------------

- Cured problem with popup-menu positioning under Windows, if card was
  scrolled or scaled.
- Cured bug which deleted all arc images for a node object, so
  duplicate node images lost their arc images.
- Debugged some of wxCLIPS text-window-on-char functionality.
- Toolbars can now have panel items placed on them.

1.62 September 7th 1995
-----------------------

- Cured a problem when searching for files, which
  caused long delays in e.g. showing the startup screen,
  because an extra backslash was introduced into some paths.
- Cured a problem with hypertext cards where invalid integers
  were passed to the mouse click callbacks.

1.61 September 6th 1995
-----------------------

- Added Windows 95 support by fixing text window and item bug.
  Now auto-detects for Win32s and Windows 95.
- Added wxCLIPS OnCharHook events (Windows only).

1.59  August 1995
-----------------

- Added bitmap node symbols (Windows only).
- Added ability to customize main/diagram menubars and toolbars.
- Added functions diagram-image-show, diagram-image-is-shown, card-send-command,
  hardy-send-command, hardy-command-string-to-int, hardy-command-int-to-string.
- Added events OnCreateMenuBar (diagram card/main window), OnCreateToolBar
  (diagram card/main window), OnMenuCommand (diagram card/main window).
- Altered order of Hardy initialisation to allow custom code to create
  menu or toolbar for main window.
- Under Windows, the development window is no longer a child of the main
  window, to allow independent iconisation.
- Fixed bug where CLIPS would refuse to execute after an error.


1.57  August 1995
-----------------

- Fixed bug whereby buttons would stop working after a lot
  of Hardy usage (to do with identifier allocation, shared between
  wxWindows and Hardy).
- For Windows version, added resource-reclaiming scheme in wxWindows
  to help cut down excessive use of Windows GDI resources.
- Resolved how to link CTL3D and ODBC with WIN32s version.

1.56  August 1995
-----------------

- First WIN32s version compiled with Watcom C++ 10a.
  The binary is much smaller; some memory bugs have been tracked down
  in the process; and CLIPS has been modified for Watcom WIN32s mode.
  Have not yet resolved how to link to CTL3D (3D-style controls)
  and ODBC, so these are missing for the time being.
  BLOAD and BSAVE _should_ now work for large files in
  this version. Be cautious when using the WIN32s binary though;
  it has not been rigorously tested.

1.55  July 1995
---------------

- Altered functionality of diagram-card-get-first-node/arc-image
  functions, so can now optionally get the selected images.
- Added diagram-card-set/get-scale, diagram-card-set/get-grid-spacing.
- Added node-image-order-arcs for specifying the ordering of arc images
  on a node side.
- Removed the cause of some rare hash table clash messages (after a card
  was created, the new special item id could clash with an id in the
  file that was then read in).
- Various wxCLIPS additions.

1.53 7th July 1995
------------------

- 'Ghost' node image problem removed (happened for some custom code).
- Solved subtle problem to do with deselecting an arc image from within a callback
  called on a control point drag (the control point was blown away
  by the custom code deselecting the arc, but Hardy was still
  using it).
- CLIPS chdir should now change drive as well as directory in MS Windows.

1.52 5th July 1995
------------------

- Added Hardy application association editor and .hpk package file
  format/editor. The combination of these allows Hardy to be
  used as a Web viewer via the runhardy.exe program (Windows).
  Please see Running Hardy section in manual.

1.51 27th June 1995
-------------------

- Debugged print/print preview: now fully reformats text before
  printing or previewing.
- Corrected bug where Arc Type Editor came up with no text regions
  if creating a new arc type.

1.50 23rd June 1995
-------------------

- Added wxCLIPS functions chdir, file-exists, dir-exists.
- Added Hardy function diagram-palette-show.
- Debugged diagram-create when used with position and
  size arguments.
- Debugged (I hope) the printing bug that caused strange
  headers and footers. Still need to limit over-scaling and
  cure label size problems.

1.48 20th June 1995
-------------------

- Reorganized the function reference slightly.
- Added -dir and -nobanner command line arguments.
- Various changes in wxCLIPS, including adding ODBC functions
  and: start-timer, get-elapsed-time, now, mci-send-string,
  bell, show-ide-window, dc-get-text-extent-width, dc-get-text-extent-height,
  group-box-create, radio-box-create, command-event-get-event-type,
  panel-item-get-command-event. For ODBC examples, please
  download wxCLIPS.
- Added wxCLIPS hwnd-... commands; removed bug where deleting a parent card
  programmatically might not remove a child window -> GPF.
- Discovered that CLIPS must be compiled in non-optimizing mode
  for some complex rule-based CLIPS code to run without GPF.

1.47 8th June 1995
------------------

- Expanded buffer used in attribute value daemon.
- Added DeleteNodeImagePost, DeleteArcImagePost handlers.
- Added position and size arguments to card-create and
  diagram-card-create.

1.45 17th May 1995
------------------

- Ok, so the NodeMove event handler broke palettes and caused
  a GPF when diagrams were loaded. Sorry, fixed now...
- Obscure CLIPS bug fixed (patch from NASA) to do with
  RETE net matching (in objrtmch.c).

1.44 8th May 1995
-----------------

- Added event handler for NodeMove, fixed bug in ArcMoveControlPoint
  where endpoints didn't receive events.
- Added Windows printing and previewing facilities, with
  ability to tailor the printout from CLIPS.

1.43 May 1995
-------------

- Cured crash when an untyped hypertext card was created, but
  hypertext types existed in diagrams.def.
- Start of printing/print previewing facilities under Windows.
- Cured hardy-diagram-definition-get-first-arc-type (got
  first node type).
- Corrected documentation for hardy-diagram-definition... functions
  (names were wrong).
- Substantial changes for DDE server implementation and documentation.
- Added arc-image-change-attachment.
- Added ArcMoveControlPoint event handler.

1.42 April 1995
---------------

- Cured bug where dragging an arc to a selection handle
  caused a crash.
- Cured bug where selecting a node, then creating a multiway
  arc caused a rogue line to be created.

1.40 March 1995
---------------

- Added diagram-image-pending-delete, to test whether a node image deletion
  has triggered this arc image deletion handler, or whether it is safe to
  delete the node image programmatically. Obscure but necessary.
- Added node-image-get-parent, node-image-get-container-parent
 
1.39 March 1995
---------------

- Changed CLIPS integration DDE service name and topic to
  HARDY to avoid confusion with wxCLIPS.
- Created small program called tellhrdy.exe,
  which can be called to invoke development window
  commands from an editor using DDE (Windows only).
  See the FAQ for details.
- Changed the DDE function syntax (see wxCLIPS manual section).
- AttributeModifiedPost, AttributeModifiedPre event handlers
  should now cope with attribute values with embedded double quotes.

1.37 February 1995
------------------

- Added WXCLIPS DDE service name and topic, for editor integration
  with the development window. See the wxCLIPS manual for further
  details, and /pub/packages/wxclips/wxclipsx.zip for a program
  to allow an editor to communicate with Hardy.
- Added CLIPS functions for toolbar creation, and cursor creation.
- Cured bug with text window entry (under Windows); some characters
  were not being recognised properly.
- Composite node images did not show their shadows: cured.

1.36 February 1995
------------------

- Added small toolbar to development window (Windows only).
- Can now press return to execute CLIPS command under Windows.
- New functions:
     diagram-image-set-shadow-mode      diagram-image-put-to-front
     hardy-get-top-level-frame          hardy-get-browser-frame
     card-set-modified
- New event: SaveDiagram
- New events: AttributeModifiedPre, AttributeModifiedPost
- LoadDiagram event bug corrected (was only called when file was loaded
  in the context of a highlight message).
- Bug list started in FAQ.

1.35 February 1995
------------------

- Added hardy-clear-index.
- Diagram card tree can now be drawn (programmatically) from
  top to bottom as well as left to right.
- Added functions to position arc control points.

1.32 January 1995
-----------------

- Arc labels weren't getting drawn: cured.
- Junction symbol size now saved properly.
- Under Windows, diagram card toolbar enhanced and main window
  toolbar added.
- Cured diagram palette non-appearance in Windows.
- Tree and graph algorithms should now work for composites
  (and vertical tree spacing bug fixed).
- Bug with applying diagram definition to current diagram
  fixed (composites were messed up).
- Various additions to wxCLIPS (GUI programming) functionality
  including Windows and metafile device contexts.
- Added 'New expansion' to node/arc image popup menu
  (right mouse button menu).

1.31 December 1994
------------------

- First release under academic/personal license.

