==============================
Version History for  SiteMatch
==  Dave Edwards 1999-2004 ==
==  Richard Porter 2008-20 ==
==============================

2.47
Formal release

2.46
Development version
Fix bug in 'Script only' in FTP menu (it submitted script).
Fix bug in reset with excluded changed objects (this may not be completely fixed).
Fix bug in include object.
New option to select secure mode in FTPc.

2.45
Formal release

2.44
Add FS client option for File System or File Sharing.
Remove default client settings from Choices (default is FTPc).
Remove 'Use ftp://' option from add/edit site.
'Script only' is only available via the FTP menu.
Fix bug in reset with excluded modified items.
Remove close icon on Add/Edit Site window; change Revert to Cancel.
HelpLib updated to reflect template and menu changes.
Correct leaving hourglass on after 'exclude from here'.
Correct escape handling during compare for upload.

2.43
Formal release

2.42
Move ftp script into Scrap.
Use floating point number for site stats.
New menu option to include objects with a timesatmp after the selected object.
Internal mod to save 8 bytes x max_files.
Show all directories in tabbed display.

2.41
Formal release.

2.40
Adjust reverses auto-update for Upload and Reset.
Site URL icon deselected after double click.
Menu option to open script file in editor.
Sprites added for ODT and DOCX files.
Application directory saved in case it changes.
Directory timestamp change ignored.
Saves last reset date properly.
Sizes window correctly first time with auto-compare on select site.

2.39
Formal release.
Fix bug in add/edit site.
Fix bug in error handling.

2.38
Add support for psftp.
Fix bug in 'script only'.
Fix bug in alternative ftp command.
FTP client and chmod option can be set per site.
FTP window replaced by menu to select script options.
Edit site window now has "Set" button to use alternative data without saving,
and "Revert" button to restore saved site profile.
Validate chmod value.
Date handling sorted out.
Revised text file headers.
Hide excluded objects now treated like other display options.
Count of excluded objects added.

2.37
Formal release. No changes to source.

2.36
New menu option to scan sites for changes.
Count icons widened to allow for up to 99999 objects.
Site name icon in pane replaced by ..
Icon to indicate excluded items may be hidden.
New button to skip to next site or scan sites.
Warning in Configure... if WimpSlot value may be too low.
New error message when running out of memory.
Interactive help added as optional library.
Configuration files saved in Choices:SiteMatch.
Various issues when no sites added or last site removed have been addressed.
"Add site..." instead of "(none)" on sites menu when no sites present.
Menu creation procedures simplified.
Bug fix: window not resized after 'Exclude from here' with excludes hidden.
Clicking Select on Reset will recompare without rescanning local site.
Clicking Select on Upload with no changes shown will do a Compare first.
Simplified FTP window.
Date and time of last update taken off Add/Edit site window.
Case insensitive option deleted (couldn't see any point in it).
Unified error procs. DrWimp error messages now in messages file.

2.35
Formal release. No changes to source.

2.34
Simplified FTPc interface.
New menu option to save new and changed objects to a local device
or directory, and optionally to create a list of deleted objects.
Modified DrWimp routine to cater for USB storage devices.
Also some minor recoding in DrWimp to save space.
New sprite for CSV file type. File type DDC (zip) corrected.

2.33
Formal release. No changes to source.
Note on passive mode added to help file.

2.32
Show site name in main window title.
Add check that the site file is for the currently selected site.
Update date and time when doing a reset.
Clicking Select or Adjust on root pathname works the same as for
objects within the site (Adjust opens parent directory).
New icon for changes found but don't match display criteria.
Correct loss of initial character on indented display.
Attempt to fix infinite loop on second compare.

2.31
Formal release. No additional changes.

2.30
New choice so that toggling the 'Exclude' status of a directory
applies the resulting state to all new, modified and deleted objects
inside it. Similarly 'Include' for a directory includes unchanged
objects within it.
Bug fix for sites menu overflow if max_sites% > 20.
Check for setting max_sites to fewer than the number of sites
actually configured.
Compare array split into one-dimensional arrays; cflags is now a
byte array instead of integer.
Path arrays cleared when selecting a new site.

2.29
Bug fix for directories not being removed.

2.28
The FTP window has been simplified.
If the site is not compared then clicking on 'Upload' will do a
comparison first. If there are no changes the upload will not occur.
The 'Compare' button is only disabled if the site is compared and
there are no changes.

2.27
Formal release - no further changes.
NB from now on even numbered versions will be development versions.

2.26
New menu option and keyboard shortcut (Delete) to hide excluded
items. The default state can be set per site.
Pathname contraction modified to avoid /// in Unix style.

NOTE: from now on odd numbers will be full releases and even numbers
will be beta (development) releases. There may be intermediate beta
versions e.g. 2.26a, 2.26b, etc.

2.25
Bug fix in chmod for perl scripts.

2.24
Addition to error handling to trap 'Flash Class Error'.
Bug fix in delete site.
Site profile array rationalised.

2.23
Unix style pathname option for save text file.
Bug fix - optimisation error in shutdown.

2.22
Remove leading dot from site files and internal arrays.
Choices option to select Unix style display as default.
Slash toggles between RISC OS and Unix style pathnames.
Pane dimensions obtained from template and not hard coded.

2.21
Add keyboard shortcuts (only Tab to toggle indented display at present).

2.20
Rebuilt with latest DrWimp library.
Separate WimpSlot file called by !Run file.

2.19
Bug fix in Choices - setting radio buttons on other windows.

2.18
Add icon bar menu option to update configuration.

2.17
If no config file generate a default one.

2.16
Site data moved to left of pane to reduce mouse movement.
Clicking Adjust on Upload or Reset invokes a new Compare.

2.15
Improved error handling to trap 'Bad Hex' error when reading an old format site file.

2.14
Step change in the processing of datestamps - now saved as hex digits.
Runs 30% to 40% faster than 1.13 in about 30% of the WimpSlot size.
Clicking Select on the display flags refreshes the main window.
File type in text file can be shown in hex or text, selectable in choices or save text window.

2.13
New version of ArmSort included to fix "Flash Class Error" when used with SuperFPem.
Minor coding error fixed (would only affect alternative FTP use).
Bug fix - include file size array in sort.

2.12
Bug fix in save text file. Error messages in separate file.

2.11
Auto reset selectable after selecting site, before upload and after reset.

2.10
Coding error fixed. Check for path length exceeding 250 characters.

2.09
Case insensitive match option, settable per site.

2.08
Increased buffer size for long filenames. File types not converted to text and sprites renamed as hex codes.
Some new sprites provided. NB until first reset, deleted objects will show up as unknown [?].

2.07
Site statistics window and menu option added. ICO sprite added.

2.06
Compare status now shown by icon, which is overwritten by exclude icon.
Bug fix in double-click on object in main window.
New button in FTP window to run previously created script.

2.05
File size shown for existing files. Compare status shown by single character.
Problem scrolling Choices window on Iyonix: Choices window redesigned.

2.04
Bug fixed in escape handling during compare.

2.02, 2.03
Bugs fixed in get_choices.

2.01
New 'Force' menu option to force an unchanged file to be uploaded.
Some tidying up of source.

2.00
Select site, Compare, Upload and Reset functions separated out (only Compare does a compare).
Data areas redesigned to reduce memory use and improve performance. WimpSlot reduced by 50%.
Temporary file '_temp_' no longer produced.
Site file renamed as backup (e.g. '1' to '1bu') before new file is created.
Maximum file and site limits now set in 'config' file inside application, not in !RunImage.
Choices file and site list now held in Choices:SiteMatch.
'Exclude from here' menu option to facilitate a partial reset following a connection failure during upload.
'Local sites' window is now 'Edit site' window. 'Add new site' and 'Remove site' buttons and site menu removed.
'Local sites...' menu option replaced by 'Add new site...', 'Edit this site...' and 'Remove this site' options.
Some other template changes to simplify programming. Display choices will need to be reset.
Buttons and menu options disabled when not available.
'Toggle display' becomes 'Indented list' and is ticked when enabled.
All changes shown for version 1.14 except the last.
DrWimp library consolidated (but separate library version is available).

1.14
Some changes which have been developed for version 2 and cascaded to version 1.
New sprites added for file types PDF, PHP, AMPEG, MPEGURL, MSWord, Zip, Archive and &102 (Perl).
New sprites for up-to-date and empty directory instead of sadface.
Reset button on main panel vice menu option.
Reset warning can be suppressed.
Unix/RISC OS sort option not available.
Error messages on selecting a new site or clicking "Remove site" whilst adding a new site.


==================================  Dave Edwards 1999/2004 =============================================

1.13
Finally a fix to the BST problem, (provided by Harriet Bazley) where a change in the system clock caused by British
Summer Time would affect the time/date stamps of the saved files giving the impression that they had been changed.

1.12
A warning will now come up if you try and examine sites with more than the default
number of allowed, as set by max_files%

1.11
A few minor alterations to the Templates file.
Hardwired file limit removed for those wanting to alter max_files% in line 15.
New button added to auto upload the site after comparision with the click of one button.

1.10
Certainly the largest number of changes in any version.
New version 2.56 of Dr Wimp, which fixed a couple of minor problems itself.
The problem with the pane not being redraw in the correct place has finally been fixed.
SiteMatch will now hopefully interact with Win95FS and LanMan98 as well as other filing systems such as WebFS correctly.
You can now use a mixture of upper and lower case within file/pathnames.
Option to display the directory structure as per RISC OS or Unix i.e. case sensitive/insensitive.
New feature to exclude selected files from upload/deletion either individually or by string.
A secondary FTP path/host can be tailored, mainly for use with Proxies, Gateways and Firewalls.
As usual some new bugs are to be expected ;-)

1.09
A couple of small bug fixes.
Allow multiple extensions in Unix filenames eg pix/cars/html which will translate to pix.cars.html.
New script for FTPc which has also had a minor modification thus allowing the deletion of empty
directories deeper than one level.

1.08
Made various changes in order to use new version 2.54 of Dr Wimp.
Changed template layout, which now shows number of files in each category.
You can now use SiteMatch without having to select any of the display categories.
Also re-written the comparison routine so that 'Deleted' files now appear in the correct place of the directory tree.
New help file.

1.07
Small fix to stop the program not recognising a variable and then quitting.

1.06
Small fix to stop the FTPc script leaving open the SiteMatch file if people try to upload their site whilst not being
connected.

1.05
Now uses a newer version of the wimp library. Users shouldn't notice any difference.
sFTP upload window now closes after sFTP has been called. A choices window has been added.
You now have a choice of ftp clients, sFTP or now FTPc.
A number of minor bug fixes.

1.04
Added loop to test if sFTP was fully loaded before calling it, as SiteMatch was calling sFTP before it was fully
loaded causing an error.
Replaced 'Display' text with icon, which should be a little more self explanatory -
I'm not too sure that I like the icon though!

1.03
Using the latest version of sFTP I found that using switches did not turn off server prompts for overwrites, so I've
included it specifically now in the script. Added the ability to double click on an item in the list.
Select double_click will *Filer_Run the file, and Adjust double_click will *Filer_OpenDir the parent directory of the file.

1.02
Fixed a bug which was introduced when allowing the changing of profiles, which would prevent any sites being added.

1.01
After finally dropping the Beta status, I have now decided to totally re-write the compare and redraw routines
(D'oh !!), which is a good third of the program - hopefully without introducing a whole new load of bugs ;).
This was in an attempt to get the screen to refresh faster on slower machines.
Whilst there is some increase, I am being limited by the Wimp Library that I am using.

Also added the option to run sFTP before uploading, or just save the file out to sFTP for uploading later.
Altered the order of the script written to sFTP as some later versions require the local directory to be set
after logging on. A few minor bugs fixes and alterations as well.

1.00
A few minor alterations to the code.

1.00-10
Increased the size of the fields for several icons, in particular for uploading via sFTP.
Sitematch should now recognise ArcFSArc files, and display them accordingly.

1.00-09
Fixed incorrect sprite name which meant that the tree type display would not render properly

1.00-08
Fixed problem with display starting at the top each time you choose the different type of directory listing.

1.00-07
Added filetype for text files. Moved the deleted files to the top of the display.
Given a new display option, either full pathnames or a directory tree type display. Fixed a few minor bugs.

1.00-06
Fixed small problem where I forgot to alter a variable back after testing purposes.

1.00-05
Added the ability to automatically update the site by using sFTP.
Included an option to change the permissions on perl scripts.
Moved 'Reset site' to a menu option instead of a button on the Main window.
Changed the way in which the various options for display are chosen.
Added Java filetype, and re-written other internal parts of the program,
which won't be obvious to the user (without introducing new bugs hopefully ;).

1.00-04
Corrected redraw problem that could cause the main window to take a while to update
if a large site is being scanned, or a slower machine is being used.

1.00-03
Forgot to add a sprite for PNG which would cause the program to quit - Fixed.
Added various options for saving a text file.

1.00-02
Fixed buffer overflow problem with long filenames. Will now accept filenames with up to 177 characters in length.
(This is the maximum that raFS will accept - this will need to be tested with Risc OS4).

1.00-01
Increased speed of comparison (on test site of 888 files it used to take 39 seconds, now reduced to 9).
Fixed problem with 'Web' button on info window so that it works with several browsers.
Added save window for text file.

1.00-00
Basic Program Works, albeit a little slow.
