|
|
//------------------------------------------------------------------------------
// simple backup tool
// copyright (c) 2004-2009 ari pikivirta [ari.pikivirta(at)kolumbus.fi]
//------------------------------------------------------------------------------
// send email about bugs, features needed and features you would like;
// if you like this very much, feel free to donate and support supporting
// and developing these at www.paypal.com - (ari pikivirta[at]kolumbus.fi).
//------------------------------------------------------------------------------
//
// 1.5.0.63, 20102009, ari pikivirta
// * target folders are always sorted in both source page and it's own page
// * added possibility to move backup items up and down on listing (needs to
// be applied via button to store them in that new order)
//
// 1.5.0.62, 19102009, ari pikivirta
// * in case archiving is interrupted output file is removed
//
// 1.5.0.61, 19102009, ari pikivirta
// * bug fix on backup on defined time of the day function
//
// 1.5.0.60, 18102009, ari pikivirta
// * fixed bug on file filtering achors (edit disappeared on window resize)
// * added default filters (*.bak, *.~*, *.tmp)
// * save source header control widths too on setting window
//
// 1.5.0.59, 18102009, ari pikivirta
// * applied new icon properly to installer too
// * minor color change from gray
// * bug fix on saving autoarchive check
//
// 1.5.0.56, 17102009, ari pikivirta
// * users need to re-define the targets and sources now!
// * internet updater updated
// * rebuild source -> target setting on settings window
// * refreshing progressbars changed much more efficient
// * added check on creating archive
//
// 1.4.1.54, 05082009, ari pikivirta
// * changed back to using personal program data folder from common
// * added datafolder button to access that specific folder contents more easily
//
// 1.4.1.53, 05082009, ari pikivirta
// * changed log file location to application datafolder from installation dir
// * applied common datafolder instead of personalized
// * updated internet update
//
// 1.4.0.52, 03072009, ari pikivirta
// * added function that should be able to retrieve free space on network drives too,
// previously caused fault because disk size was then read as zero
//
// 1.4.0.51, 02072009, ari pikivirta
// * fixed bug that caused file size limit to be 2G
// * saving setting window position
// * enabled runtime themes
//
// 1.3.4.50, 19062009, ari pikivirta
// * added hint when mouse is over log to allow users to find popup more easily
// * added after backup actions tab to settings to enable auto archive feature
//
// 1.3.3.49, 08052009, ari pikivirta
// * copying a bit faster because of updating progressbar not as often as before
// * changed main form name to fSimpleBackupTool
// * added message dialog that is shown on very first startup as wellcome message
//
// 1.3.3.48, 08052009, ari pikivirta
// * added option to drop application priority to below normal
//
// 1.3.2.47, 20032009, ari pikivirta
// * updated because of api_logfile component change
//
// 1.3.2.46, 02032009, ari pikivirta
// * some changes to "continue even on exception" to really skip those
// * resulting FAILED even above does manage to continue whole lists
//
// 1.3.1.45, 01032009, ari pikivirta
// * using finddata's 64bit filesize info on find files
//
// 1.3.0.44, 23022009, ari pikivirta
// * log book combined as one tab on the setting window
// * added daily backup option, set as time
// * layout updated to more modern look with api_checkboxes etc.
//
// 1.2.3.43, 14022009, ari pikivirta
// * added checking updates on program startup, can be disbaled via settings
// * opening source stream on copying using fmShareDenyNone instead of fmShareDenyWrite
//
// 1.2.2.42, 19092008, ari pikivirta
// * fixed setting lower gradient color to same with the upper
//
// 1.2.2.41, 14092008, ari pikivirta
// * fixed bug in time formatting when time period was defined longer than 24h
// * added hours to the interval setting to more easy to setup
// * added possibility to modify source and target list items (instead of just add/delete)
//
// 1.2.1.40, 03092008, ari pikivirta
// * fixed bug on skip exceptions in case backup fails
// * removed glpanel from the about window that might have caused
// some computers to hang
//
// 1.2.0.39, 29062008, ari pikivirta
// * made finding files even more efficient
// * fixed visible time counters more readable
// * harmless memory leak fixed on settings window
//
// 1.1.0.38, 16062008, ari pikivirta
// * updated internet updater
//
// 1.1.0.37, 10062008, ari pikivirta
// * missing files checking added to making of change list
// * copying and deleting of files is no longer done if change list is
// used and no changes were detected
// * made updating of screen smarter while backup is active
//
// 1.1.0.36, 08062008, ari pikivirta
// * will come to foreground on single tray icon click
// * added new setting to show changed files before the actual backup operation
// * fixed bug on clicking source B list, didn't read selected into the edit as
// others did
// * added caption to setting window to just to fill out the empty looking space
// * both log and changes list views remember their last position and size
// * title text hidden while backup is running
// * changed clearing of windows cached memory (SetProcessWorkingSetSize..)
//
// 1.0.7.35, 30052008, ari pikivirta
// * just removed the picture from the top and put in text only, takes less space
//
// 1.0.7.34, 04122007, ari pikivirta
// * updated updater
//
// 1.0.7.33, 10102007, ari pikivirta
// * changed setting text on free disk space checking on target
// * added possibility to mask out files from backup (eq *notthis*.*)
//
// 1.0.6.32, 05082007, ari pikivirta
// * fixed bug with retrieving last directory sub directories
// * minor changes on visual things on main and about window
// * removed empty line from the backup logging after the options
//
// 1.0.6.31, 26052007, ari pikivirta
// * added possibility to skip problematic files (normally system files that
// cannot be accessed even for reading)
// * added freeing of cached memory every second backup is not running
//
// 1.0.6.30, 18022007, ari pikivirta
// * added hints on tray icon (remaining time for backups)
// * target folder selection allows to create directories on browsing
//
// 1.0.6.29, 24012007, ari pikivirta
// * added "no directory creation" check into the settings
// * added "incremental backup target" check into the settings
// * fixed bug in browse backup folder on settings
//
// 1.0.5.28, 29122006, ari pikivirta
// * fixed button position on the about form
// * on settings, directory will not go blank on selecting modify even on cancel
// * small changes to improve the performance on single thread
//
// 1.0.4.27, 20112006, ari pikivirta
// * on file deletion file attributes are cleared to allow deleting files
// from backup (caused error if file or dir was readonly)
//
// 0.9.4.26, 11112006, ari pikivirta
// * replaced logigal drive check with simple directoryexists function
// backup and master locations not available is just skipped (message
// put into the log book)
//
// 0.9.4.25, 12092006, ari pikivirta
// * fixed trayicon (was delphi 7 icon, since component's was updated)
// * added logical drive check to both masters and targets
//
// 0.9.4.22, 17112005, ari pikivirta
// * fixed registry issue with removing start on windows startup
//
// 0.9.4.21, 30042005, ari pikivirta
// * added possibility to have two different master folder lists and timings
// * added possibility to ignore backup on exit (sometimes caused problem
// for shutting down windows)
// * removed unnecessary double file names from log (copy fname to fname)
// * changed some log messaging (also fixed compre =))
//
// 0.9.4.20, 29042005, ari pikivirta
// * fixed problem with folder names with spaces (after re-loading settings)
//
// 0.9.4.19, 25012005, ari pikivirta
// * fixed loading of last backup time on program startup
//
// 0.9.4.18, 29122004, ari pikivirta
// * faster file copy routine
// * re-checked start on windows startup function
//
// 0.9.4.17, 09122004, ari pikivirta
// * fixed problem with backup on windows exit (or application close)
// * fixed log file clearing
//
// 0.9.4.16, 08122004, ari pikivirta
// * added button to easy viewing of log file onto setting window
// * fixed saving of last backup time when exiting
// * added saving of main window position and size
//
// 0.9.4.15, 08122004, ari pikivirta
// * fixed the problem with copying some files (blocked whole application)
// * added another progressbar to show copy process
// * added application title into main form also
// * added uninstaller shortcut in installation package
// * added possibility to abort process (delete and copy)
// * fixed interval time checking
//
// 0.9.3.14, 06122004, ari pikivirta
// * fixed the backup process timer that shows in log when backup ready
//
// 0.9.3.13, 05122004, ari pikivirta
// * added possibility to backup multiple folders
// * added possibility to do the backup to several places at same time
//
// 0.9.2.12, 04122004, ari pikivirta
// * fixed problem of minimize on windows startup
// * separated settings to its own form to add more easily functions later on
// (backing up multiple master dirs and having more than one backup folders)
//
// 0.9.1.11, 30112004, ari pikivirta
// * added internet update function (like in other of home series)
//
// 0.9.1.10, 30112004, ari pikivirta
// * fixed backup when closing windows session
// * removed annoying query message of allow windows to shut down
// * added applicatioin minimiza if starting on windows startup
//
// 0.9.1.9, 26112004, ari pikivirta
// * changed copy process internal because of need to have file attribute
// changes done if hidden or read-only files.
//
// 0.9.0.8, 26112004, ari pikivirta
// * changed file time and size to not to open files anymore (much faster)
// and also prevents compare to fail on read-only files anymore.
//
// 0.9.0.7, 19112004, ari pikivirta
// * added possibility to cancel ending windows session
// * backup when closing windows session (shutting down or restart) if more
// than 5 minutes passed since last backup -> windows will not close until
// backup is done
//
// 0.9.0.6, 19112004, ari pikivirta
// * added restore to topmost function when dialogs or error appear
//
// 0.9.0.5, 18112004, ari pikivirta
// * added scrollbars to log book
// * limited visible log book lines to 1000
// * fixed deletion of normal files
// * added scroll to bottom when showing log
//
// 0.9.0.4, 18112004, ari pikivirta
// * added removing of unnecessary directories if autodelete checked
// * added log book for saving backup log info
// * added viewer for log book
// * added last backup time info
// * added backup (if last > 5 minutes) launch on close
//
// 0.9.0.2, 18112004, ari pikivirta
// * before backup restore the application if minimized to tray
|