|
|
//#########################################################
//
// Home Revision Management System
//
// Copyright (c) 2005-2009 Ari Pikivirta
//
//#########################################################
//
// 13112009, 1.8.2.93, ari pikivirta
// * updating of main window forced after creating new project
//
// 30102009, 1.8.2.92, ari pikivirta
// * added coloring to tab sheets on main view
//
// 29102009, 1.8.2.91, ari pikivirta
// * removed ctrl-v keyboard shortcut that prevented use it for pasting
// * added filter for location to browse for project window
// * added font size setting for grids and memos on main view
//
// 19102009, 1.8.1.90, ari pikivirta
// * when creating revision aborting making of archive will delete output file
//
// 18102009, 1.8.1.89, ari pikivirta
// * added todo memo to the main view as new tab
// * both notes and todo list is available to modify by anybody that can access project
// * removed todo from project information
//
// 18102009, 1.8.1.88, ari pikivirta
// * bug fix on copy to clipboard on revision
// * copy to clipboard available on all main view tabs
//
// 08102009, 1.8.1.87, ari pikivirta
// * creates directory on ftp in case it doesn't exist (one level max)
// * creates sub folders also to destination local/network folders
// * added possibility to change distribute destination order via popup menu
// * saves checks on the distribute view
//
// 07102009, 1.8.0.86, ari pikivirta
// * another fix for showing amount of distribute destinations
//
// 06102009, 1.7.2.85, ari pikivirta
// * fixed showing of destinations on distribute result
//
// 06102009, 1.7.2.84, ari pikivirta
// * internet updater updated to latest (03102009)
// * distribution done via application data folder instead of temporary folder
// * when viewing file it's done via application data folder too
// * added explore application data folder to settings menu
// * added "minimize to tray" into file menu
// * application icon changed from tray icon to more clear
// * distribution showing also file sending progress
// * fixed bug that caused releases not be possible to delete
//
// 02102009, 1.7.2.83, ari pikivirta
// * internet updater updated, auto start installer after download
// * bug fix for not showing select directory correctly under some windows versions
// * tray icon not hidden even when showing the main window
//
// 27092009, 1.7.2.82, ari pikivirta
// * confirmation needed to store alternative location on extract differnt place
// * files released after extract to allow re-extract again to same folder
//
// 18092009, 1.7.2.81, ari pikivirta
// * changes to compile under d2010, zip unit rewritten
// * copying release information to clipboard changed more simple
// * internet updater module updated
// * view as text showing file as plaing text without formatting
// * fixed bug on popup menu assignment on main view
//
// 04092009, 1.7.1.80, ari pikivirta
// * added setting option to export change description as file
// * added checkbox to distribute to send exported change notes over too (.txt)
//
// 12082009, 1.7.1.79, ari pikivirta
// * added showing of last distribution time and info who
// * added button to extract only one file from vieweing archive contents
// * added some more details into the distribute view for easier use
//
// 11082009, 1.7.0.78, ari pikivirta
// * some fixes because of api_files was updated
//
// 05082009, 1.7.0.77, ari pikivirta
// * implemented use of common application data folder for vista and windows 7 compatibility
// * internet updater updated
// * re-checked code of opening last project on next startup
//
// 02072009, 1.6.1.76, ari pikivirta
// * added locked field into browse projects view
//
// 28062009, 1.6.0.75, ari pikivirta
// * log book location is checked for universal too as all others
// * saving last open project also via open project function
//
// 14062009, 1.6.0.74, ari pikivirta
// * fixed bug on distribute counter value shown as message after distribute
//
// 14062009, 1.6.0.73, ari pikivirta
// * showing person project is locked to as hint on the lock/unlock picture
// * settings (last project for example) is saved when project is saved also
// * window positions checked on load to be on screen
// * separated connection failure from exception on distributing via ftp
//
// 15052009, 1.5.8.72, ari pikivirta
// * added possibility to delete releases (release or project creator only)
// * minor changes in texts on the menus for easier understanding
//
// 07042009, 1.5.7.71, ari pikivirta
// * added possibility to distribute to only one of the destinations defined
// * added progressbar to the distributing to show that something is going on
//
// 20032009, 1.5.7.70, ari pikivirta
// * added import and export function to distibute destinations
//
// 13032009, 1.5.6.69, ari pikivirta
// * fixed bug on setting focus on modifying revision or release
//
// 11032009, 1.5.6.68, ari pikivirta
// * locked lock/unlock picture aspect ratio
// * fixed bug on permission to change allow distribute also revisions state
//
// 04032009, 1.5.5.67, ari pikivirta
// * fixed bug on clearing revisions from new project -> new revision
//
// 03032009, 1.5.4.66, ari pikivirta
// * showing "project saved" in the logging (as confirmation for user)
//
// 28022009, 1.5.4.65, ari pikivirta
// * enabled use of runtime themes
// * backup location view top-right buttons locked to top
// * on opening projects, sorting according to modified time fixed
// * on file contents, sorting according to datetime column fixed
// * browse projects view remember last sorting method on open
//
// 20022009, 1.5.3.64, ari pikivirta
// * added showing of project description on the header bar (at right)
// * removed additional successfully distributed over ftp message
// * word wrapping project description on the project information view
//
// 18022009, 1.5.3.63, ari pikivirta
// * fixed bug on creating new revision after new project was created
// * removed messagedlg from distribute view (not needed to close that before anymore)
//
// 13022009, 1.5.3.60, ari pikivirta
// * distribution message dialog should update now
// * file counters added to inform distribute result better
//
// 11022009, 1.5.3.58, ari pikivirta
// * checking updates on program startup
// * files selected to distribute put on separate list
// * distribution history stored separately
//
// 03112008, 1.5.2.57, ari pikivirta
// * fixed bug on showing new revision name on log on creating new
// * fixed bug on browse another folder for the projects, didn't repaint (removed)
// * added support for multiple backup locations
//
// 03112008, 1.5.1.56, ari pikivirta
// * showing progress on deleting folder on extract revision
// * zip file name is freed after every use immediately
//
// 03112008, 1.5.0.55, ari pikivirta
// * project owner is prompted on project's location change (location is
// not directly customized anymore)
// * fixed bug on file listing compare with customized location(s)
// * added possibility to distribute already from revision instead of release only
// * fixed distribute file(s) count updating near the button
// * fixed bug on updating file(s) to revision from customized locations
//
// 01112008, 1.4.6.54, ari pikivirta
// * added option to clear destination folder on extract version
// * added distribute possibility to the release using ftp(s) or folder(s)
// * stores active page to restore on next startup
// * fixed bug on modifying release text content
//
// 30102008, 1.4.5.53, ari pikivirta
// * added include hidden files on adding/modifying to zip file
//
// 21102008, 1.4.4.52, ari pikivirta
// * moved "revision management" caption to top right from the center
// * fixed bug on clearing releases list on opening new project
//
// 20102008, 1.4.3.51, ari pikivirta
// * does not reset backup folder setting even it doesn't exist
// * fixed bug on view/modify release opening wrong release on view
//
// 10102008, 1.4.2.50, ari pikivirta
// * fixed bug on moving back to old row after view/modify
//
// 09102008, 1.4.1.49, ari pikivirta
// * readded support for custom locations on project (u_projectdata)
// * internal texttostring function updated to not to create list as result
// * added allow customize project location setting
// * showing customized location on the main with different color
// * showing last release also in main view at top of the page
// * fixed bug on pointing to selected rows (goto revision)
//
// 09102008, 1.4.0.48, ari pikivirta
// * modified stuff positions on views (for some reason they were off again)
// * not logging succesfull saving of file anymore
//
// 08102008, 1.4.0.47, ari pikivirta
// * modified file(s) listing notes field time difference checking to 5sec
// * added release tab to main view to list released revisions separately
// * added notes tab to main view to allow having addon notes on project
// * added start with windows (minimized) option
//
// 06102008, 1.3.1.46, ari pikivirta
// * fixed bug on checking old location of files for moving them to folders named according to project
// * added option to disable creating backups of zipped files
// * opening last project at startup will also move files to subfolder (new structure)
//
// 03102008, 1.3.1.45, ari pikivirta
// * updated showing of changed files on the backup (fixed)
// * saving file from file preview initial directory changed to project location
// * save & load viewfile window position added
// * all backups stored into sub folder named according to the project on backup location
// (ones done with old version of home rms will be converted automatically)
//
// 28092008, 1.3.0.44, ari pikivirta
// * show file(s) also shows changed files compared to the current
// files available on project location
//
// 27092008, 1.2.2.43, ari pikivirta
// * find revisions changed to start looking
// * updater also checks for newer installation files
// * home rms is possible to minimize to tray and when somebody updates
// revisions in the backup location, home rms is restored automatically
// * doesn't allow create revisions in case location is not defined
// (as happened in download tupe's video clip)
//
// 23092008, 1.2.2.42, ari pikivirta
// * fixed bug on creating new revisions (was trying to multilocation which
// is not yet implemented totally)
// * added "New revision" also into popup on the grid
// * changed --> in the last updated marking title to by
// * added copy to clipboard to the grid popup (and ctrl+c too)
//
// 19092008, 1.2.2.41, ari pikivirta
// * testing write file into application's installation folder on startup
// * added possibility to view files from the view files list (and save as)
// * project location only possible to change if user = creator
// * allows to create folders on browsing project location
// * project "problems" memo field removed as unnecessary
// * implement find from revision (at last)
//
// 03022008, 1.2.1.40, ari pikivirta
// * fixed setting.ini file location to under the installation folder
// * font change on most of the editable fields from tahoma to verdana
//
// 05122007, 1.2.0.39, ari pikivirta
// * updated home page to point /products.html
// * fixed bug on automatic exporting of history
//
// 10112007, 1.1.6.38, ari pikivirta
// * added automatic history export setting
// * last export location stored into the project file
// * internet update base updated, working, but not yet as finished
// as it will be
//
// 11102007, 1.1.5.37, ari pikivirta
// * fixed bug in recent files list
// * made editor font bigger (8 to 10)
// * changed some of the default layouts and made login and log setting
// windows to appear in the center of owner window
// * fixed spelling mistake on about vindow's copyright notice..
//
// 11072007, 1.1.4.36, ari pikivirta
// * added setting to disable (enable) project file monitoring
//
// 07072007, 1.1.4.35, ari pikivirta
// * added checking of another instance into the program startup
// * on the very first run after install if no backup folder was selected
// dialog for selecting it will be brought up
// * login dialog edit accepts enter also (no need to click on button)
// * using api_dirmonitor for project file monitoring instead of timer
// * added possibility to view logbook within the home rms application
// * changed custom location(s) structure
// * removed "no project open" message from closing if no project were opened
//
// 16042007, 1.1.3.34, ari pikivirta
// * added possibility to reset customized project location by clicking
// on the "location" on the main view
//
// 12042007, 1.1.3.32, ari pikivirta
// * added custom project locations for users that would like to have
// project in some other folder than the original (project creator)
// * fixed bug on double clicking to open first project in project browser view
//
// 27032007, 1.1.3.31, ari pikivirta
// * added separated notes field for each revision done just to include
// more information that cannot be necessarily put into the system as
// actual revision change (even the name have to be different still)
// * always creates backup of old project file before saving any changes;
// if original is file is destroyed for some reason, the backup file
// is used instead on project open
//
// 23032007, 1.1.2.30, ari pikivirta
// * on browse for project window, project is also opened by double clicking on it
// * if no backup location is yet defined, opening project will define it
// * if no user name specified, on program startup login dialog is shown immediately
// * wellcome message added on the very first startup of application
//
// 22032007, 1.1.1.29, ari pikivirta
// * changed all fonts to tahoma
// * changed list even color to lighter to make reading easier
// * fixed bug in api_pack's listbox to sort columns correctly
//
// 21032007, 1.1.1.28, ari pikivirta
// * created separated browse for project window if project folder exists
// to easy seeing all projects available (and also changes)
// * moved close button on fileview window to bottom-right
//
// 20032007, 1.1.0.27, ari pikivirta
// * added possibility to create folders when on extracting revision
// * background color changed to white as in other home serie products
// * improved checking of if another user has changed project file
// * added possibility to sort file(s) view items according to column clicked
//
// 18022007, 1.0.4.26, ari pikivirta
// * added quick launch pictures to indicate if selected revision contains
// files and also to notify if there is notes written for the project
// * browse backup location window allows to create directories
// * added possibility to view revision backup file contents
//
// 28122006, 1.0.4.25, ari pikivirta
// * project info view "todo" width memory fixed
//
// 15122006, 1.0.4.24, ari pikivirta
// * implemented find text function
// * replaced all relevant paths from both project settings and project
// with universal folder names
// * fixed bug in selecting backup location and project location, cancelling
// directory select cleared the folder name
//
// 09122006, 1.0.3.23, ari pikivirta
// * replaced api_listbox with api_stringgrid for the revision list
//
// 27112006, 1.0.2.22, ari pikivirta
// * project views splitters now not possible to swap positions anymore
// * fixed bug in forcedirectories when extracting revision if the
// destination folder doesn't exist
//
// 27112006, 1.0.2.21, ari pikivirta
// * fixed anchor of checkboxes on the project information view
// * if saving of project fails, there is possibility to retry saving
// operation
// * when creating new revision above check is done, if revision cannot
// be saved new revision creation is aborted
//
// 25112006, 1.0.2.20, ari pikivirta
// * fixed filename bug on the save dialog on downloading update
// * now showing progresss when updating also as downloaded / filesize
// * fixed allow delete and allow update checkboxes on the project view
// * not possible to update existing revisions if allow update is disabled
//
// 20112006, 1.0.2.19, ari pikivirta
// * if local directory doesn't exist on extract revision rms asks if
// user wants to create one.
// * minor changes to other user change monitoring if same project is open
//
// 10112006, 1.0.2.18, ari pikivirta
// * bug fixed with other user files monitoring; if backup drive is slow
// enough it caused the just saved project to reload.
// * added check for backup location on startup (if defined), application
// rise message dialog informing that the backup location should be checked.
//
// 02112006, 1.0.2.17, ari pikivirta
// * new revision layout change for easier editing of todo and problems lists
// * added "allow delete" as checkbox onto the project creation,
// after creation this is allowed to change only by creator
// * added "allow update" checkbox to the project view similar to ^^
// * project view now remembers the positions on next startup
// * added checking for the backup location if another user updates
// currently opened project's main file (locking for example)
//
// 27102006, 1.0.2.16, ari pikivirta
// * added confirmation on creating revision with same name - old one
// will be overwritten (backed up though)
// * three recent files was missing! fixed now, shows 4 latest projects
// * fixed backup file name(s) in create new revision - last open project
// view filename was used on earlier fix (place changed)
//
// 26102006, 1.0.2.15, ari pikivirta
// * added four of the recent projects as a quick select into the main menu
// * fixed problem with backing up existing file if same name with new
// revision already exists
//
// 23102006, 1.0.2.14, ari pikivirta
// * still troubles with extracting and replacing all the files,
// fixed the zip component finally!
//
// 19102006, 1.0.2.13, ari pikivirta
// * changed extract to parameters to freshen instead of update
// * added lock symbol into the bottom-right of the form
// * disabled project name and revision number change after created
//
// 09102006, 1.0.2.12, ari pikivirta
// * added check, project modification must be saved before creating
// new revision
// * added possibility to lock projects (all users can using same
// backup location/project path can see which projects are "in use")
//
// 25082006, 1.0.1.11, ari pikivirta
// * changed save project on new revision to save project automatically
// * fixed issue with new projects (forgot to clear previous revisions list)
// * changed tab order on the new/edit project window (also enter goes to
// next edit)
//
// 14082006, 1.0.1.10, ari pikivirta
// * added file updating possibility on revision modify
// * backing up existing revision files if exists on create/modify revision
//
// 03092005, 1.0.1.6, ari pikivirta
// * added setting to automatically save project also on revision changes
//
// 24052005, 0.0.1.5, ari pikivirta
// * added saving of also revision window position and size
// * added possibility to export project history into text file
//
// 23052005, 0.0.1.4, ari pikivirta
// * added popupmenu to revision list
// * added username property and possibly to autamically login as username
// * if logging to file username must be specified
// * added confirmation to reivison delete
// * remembers now headercontrol section widths
// * added shortcut keys for the main window
// * added cancellation checking for archiving operations
// * fixed project modificated state when opening or closing project with ignore
//
// 23052005, 0.0.1.3, ari pikivirta
// * fixed wrong filename when deleting revision
//
// 22052005, 0.0.1.2, ari pikivirta
// * added link to home
// * added internet update possibility
// * fized problem when creating new project revisions remained from last
// open project if was not closed separately
// * added checking of if project was modified before opening or closing
// existing project
//
// 21052005, 0.0.1.1, ari pikivirta
// * first release of this simple aid for programmers
// * all basic items are now working correctly
|