File Substring Replacement Utility Revision History Version 12.0 (2/20/2008) · Numerous user interface improvements. Please press Ctrl+Alt+Shift+F5 to reset System­G, then reload your preferred skin. · The "Normalize Line Breaks" tool is now called "Normalize Text Files". Added the ability to trim the whitespace from the end of all lines. · Added the "Import CSV Strings" tool. · Improved icons and icon rendering. · Added the "Metal" skin. · The "File Logging Mode" setting is now obeyed by file-renaming operations. · The "Preview File List" tool is now much faster. · When starting an operation, warnings are now displayed in a scrollable editbox. · When a DOS batch runs, the current working directory is now set to the project's Default Directory setting. · The pre-operation DOS branch now runs before the Source File list is enumerated, not after. · Empty files are no longer reported as errors. · When there is a duplicate pair of search and replace strings, instead of silently deleting the duplicate, the duplicate is now ignored without modifying the project fields. · Numerous improvements to the help file. · If the user allows FSRU to automatically delete a duplicate search string, the changes can now be undone by using the editbox's "Undo" feature. · Noticable performance improvement when using the asterisk wildcard in the log filepath when there are many log files. · Fixed: no error message was reported if the search and replace strings are identical and the "Case Sensitive" box is unchecked. Version 11.2 (4/6/2007) · Fixed a possible crash after completing an operation when using the "Allow ? Wildcard" option. To occur, the "Allow * Wildcard" option must be unchecked and the replacement string must be at least 33 characters longer than the search string. · When aborting the "Search/Replace Strings Are Same" window, the caret is now positioned on the line where the duplicate occurred. · Numerous user interface/skin improvements. The "Default" skin has been redesigned to match the appearance of Windows XP. · All interface fonts are now antialiased by default. The setting to control this is located at: System-G Menu > Configuration Editor > Controls > Font > Antialias. Version 11.1 (10/11/2006) · Fixed the disabled "Proceed" button in the Normalize Line Breaks tool. Version 11.0 (9/20/2006) · Added the "Prompt On Replace" setting to the Options folder. This allows the user to confirm each replacement. · Added the "Preview File List: Count Lines" setting to the Options branch. · Improved and added skins (please reload your current skin). Version 10.1 (3/6/2006) · Added the ability to perform offline product activation. · Fixed a possible inability to connect to the Product Activation Server (when using a proxy server). Version 10.0 (2/24/2006) · Added support for the new Gammadyne Product Activation System. · Added the "Exclude Files Dated Before" and "Exclude Files Dated After" settings to the Files folder. · Added the "Warn if Trailing Whitespace" setting to the Options folder. · Added the "Whole Word Observes Extended ASCII" setting to the Options folder. · Added support for the semi-colon in the file specification (i.e. "c:\foo\*.h;*.cpp"). · Added a report of potential problems to the "Preview Search & Replace Strings" tool. · Added the project name to the operation log. · If the user clicks the "Abort" button during a Search operation, they will now be prompted if they wish to abort the operation. · The "Prefix Error" is no longer produced for Search operations, or when the "Whole-Word" feature eliminates the prefix problem. · If the Default Directory is simply a drive letter (i.e. "c:"), it will now be treated as having a trailing backslash (i.e. "c:\"). This avoids the unexpected result of using the current working directory on the drive. · When an exact duplicate pair of search and replace strings are encountered, the duplicate is now removed automatically instead of prompting the user. Version 9.1 (7/27/2005) · Added the "Edit Files" button to the bottom of the file specification editbox. · Added the "Run batch" option to the context menu for the batches. · Added to the operation log a list of all operation parameters. · The "Preview File List" tool will now report the size of each file. · Eliminated the need for GHELP.EXE. The main application executable will now handle displaying the help file. This reduces the size of the installer by about 500 KB. · Fixed a problem that could prevent the "Normalize CR's" tool from performing the operation. Also, this tool has been renamed "Normalize Line-Breaks" and the log file has been improved. Version 9.0 (4/7/2005) · Added the "Allow * Wildcard" setting to the Options folder. · Added the "/log" switch, which allows the log filename to be overriden. · Added the ability to override each individual controls' font size. · Button icons now have a transparent background. · The "Common Tasks" are now centered better. · The "Insert Environment Variable" tool now accepts double-clicks. · The log file now contains more information. · Numerous minor improvements, especially with the user interface. · Removed the test for Circular Replacements (implemented in version 7.2). The worst that could happen in this situation is that no changes are made. · Removed the automatic reordering of Sequential Replacements (implemented in version 7.2). Some users find Sequential Replacements useful. · The "Prefix Error" is no longer produced when the "Whole-Word" feature eliminates the prefix problem. · Fixed the Self-Diagnostics window's abort button. Fixed a problem with the Abort window reappearing after "No" was clicked. · Fixed a problem that could cause a search string to go undetected if it spans before and after the 16,384th character on a single line. Version 8.0 (4/29/2004) · Added the "Common Tasks" toolbar. · Added the "Swap search/replace strings" tool. · Added support for null characters. Use "%00" to represent a null character (requires the "URL" Canonicalization Mode). · Added the "Insert Environment Variable" option to the context menu for the batches. · Added the "Log Spaces as Bullets" option to the Logging folder. · Instead of manipulating files completely in memory, now changes are written to a temporary file, which later replaces the old file. This improves speed for large files that have many changes. · Updated to System-G version 2.3. Added support for the Gammadyne Spell Checking Module. · Numerous minor improvements. Version 7.2 (7/30/2003) · Added the "Help" option to the bottom of the Tools menu. · The order of the search/replace list is now automatically rearranged to ensure that the operation behaves as expected. For example, this substring list: S2 -> S1 S1 -> S3 has a problem: S2 will ultimately be replaced with S3. FSRU will now reorder the list to: S1 -> S3 S2 -> S1 · An error is now reported if there is a circular replacement, such as this: S1 -> S2 S2 -> S1 Previously, it would perform both replacements, effectively doing nothing. · Numerous minor improvements. Version 7.1 (1/28/2003) · Added support to System-G for interface "skins". We strongly recommend that you try some of the new skins on the "Skins" submenu of the "System-G" menu. · Added the "Copy Files" button to the bottom of the File Specification editbox. This is convenient for backing up the files before you perform an operation. · When performing a Search and Replace using the Single String Mode, the last-chance prompt will now report the number of bytes and lines in the search string and replace string. · Numerous minor improvements. Version 7.0 (10/23/2002) · Added a new Help file system. This system has the following advantages over the old Windows Help System: - The entire help file can be printed at once, instead of by topic only. - When printed, the page number that a hyperlink is pointing to will be printed. - Unprecedented control over how the document is printed, including base font size and margins. - Hyperlinks to web pages and email addresses are now supported. - The keyword search supports full search expressions, such as: "mail server" and (smtp or pop3) and -dns · Added the "Starting Line Number" and "Ending Line Number" settings to the Options folder. · Added the "/i" command line switch, which will suppress the reporting of errors. · Added icons to certain menu options. · Numerous System-G improvements. · Numerous improvements to the Help file. · The registration status is now kept in the file "fsru-reg.ini" instead of in the registry. Version 6.0 (2/6/2002) · Added the "Batch" folder and all its functionality. · Added the "Options" folder, moving options there from the Strings folder. · Added the "Limit Replacements" setting to the Options folder. · Added the "Preview Search & Replace Strings" tool. · Added the "Record Log" option to the Logging folder. You can now choose whether or not the log is created, and the location where the log file is written. · Added the "File Logging Mode" setting to the Logging folder. · Added to the "Check For Update" feature the ability to automatically download and install the new version. · Added the "/rp" command line switch, which will randomize the order of paragraphs in a text file. · Improved the performance of writing the operation log. · Removed the "Self-Diagnostics" button. This feature is still available on the Tools menu. · The "Log Occurrences" and "Log Lines" options are now disabled when the "Single String Mode" option is checked. · Previously, to add a System-G setting, source code had to be written in about 25 different locations. New settings can now be added by writing just 2 lines of code. The bad news is that old .SGC and .GCS files are no longer compatible with the new scheme. The good news is that the new .SGS files that replace .SGC and .GCS files are plain text, not a proprietary binary format. This means that .SGS files can be easily edited using Notepad. To prove that these changes are worthwhile, the following settings have been added: - Enhanced 3D borders - Borderless checkboxes - Borderless radio buttonss - Show balloon help on captions - Minimize on double click - Sizable window border thickness - Static window border thickness - Black window edge Version 5.0 (4/10/2001) · Added the ability to perform the search/replace operation on filenames, not just file contents. · Added the Tools menu with the following new features: Rename files to lower case, Rename files to upper case, Rename files to title case. · Added the /f command line switch which allows you to override the project's file specification. · Added the /d command line switch which allows you to override the project's default directory for the file specification. · Added the /min command line switch which allows you to minimize FSRU's window. · Added the /replace command line switch which allows you to force the operation to be a Search and Replace. · Added the /search command line switch which allows you to force the operation to be a Search. · If the "/?" switch is specified, a help screen will be displayed. · An error is now reported if an earlier search string is a prefix of a later search string, as this can lead to unexpected results. · An error is no longer reported if the search and replace strings are the same unless the "Case sensitive" option is checked. · When a project filepath is specified on the command line and the /r switch is not being used, the filepath will use the FSRU directory and .FSR extension by default if they are not present. This was already being done when the /r switch was present. · When a project is specified on the command line, it will now be properly located if it is in the current working directory. · Numerous improvements to the help file. · Numerous System-G improvements. Version 4.0 (7/16/2000) · The interface has been divided into the "Files", "Strings", and "Logging" folders. All the settings in the "Logging" folder are new. They allow you to control the appearance of the log. · Added the "Browse for files" and "Preview file list" buttons to the bottom of the file specification editbox. · Added the "Single string mode" option. This allows you to perform an operation on a single string that contains multiple lines. · A new method of saving a changed file ensures data integrity. First, the old file is moved to a temporary file. Then, the new file is written. If errors occur, the old file is restored from the temporary file. Otherwise, the temporary file is deleted. Although this takes slightly longer, it is worth the added protection. This method is already used for saving projects. · The "Preview File List" tool will now display the total size of the files. · Numerous System-G improvements. Version 3.0 (2/4/2000) · Major update to the System-G interface. · Added the "Preview file list" option. · Added the "Use wildcard" option. · Added the "Canonicalization Mode" setting. · The "/s" switch can now be used to specify all files in all subdirectories matching a file filter. · Added command line support. You may now use the "/r" switch to run a project from the command line. The "/c" switch will make FSRU close itself if no errors occur. · The number of lines on which occurrences are found is now reported in the log. · Added the "View last log" option to the new "Go" menu. · The self-diagnostics are now even more thorough. · FSRU will now detect and warn about the same file appearing more than once in the file specification. This condition is only a warning because the duplicates will be removed and the operation can proceed normally. · ".FSR" files are now associated with FSRU. You can double click on an .FSR file in Windows Explorer, and FSRU will execute with the project open. Version 2.0 (9/29/1999) · Added the "Whole Word" option. · Added project support. · Numerous improvements to System-G and the installation program. · FSRU is now a shareware program. Previously, only a commercial version was available for purchase. Version 1.1 (6/10/1999) · Numerous improvements to System-G. Version 1.0 · Original Release, 9/18/1998. This was the first program released by Gammadyne Software, nine days after the company was founded.