Merged two SVN branches into a single branch (DfRefactor). The version number was bumped to 3.1 to reflect the consolidation.
New features
cUnusedSourceFiles.pkg received a major update with significant performance improvements. The way source files are read into memory was optimized; the impact on large workspaces is substantial.
UnusedSourceFiles.dg dialog (new). Lists source files that the Unused source files routine flagged as un-referenced. Files can be moved to the backup area directly from the dialog.
LogFileDialog.dg dialog (new). Displays the log file produced by a refactoring run.
cRDCSlideButton.pkg class (new). Replaces checkboxes on the Refactor view. In the Studio designer it appears as a checkbox; at runtime it renders as a "slide" toggle similar to those used in web applications.
Configurable selected-row color. A new combo box in ProgramSetup.dg configures the selected-row background color used by cRDCCJSelectionGrid (cCJGrid piSelectedRowBackColor). The default — clBlueGreyLight — can be hard to read, so the color is now user-adjustable.
Select Folders improvements
Full subfolder paths. The Select Folders grid now displays the full path for every folder and subfolder under the selected workspace, allowing subfolders to be individually included or excluded. This required changes throughout the file/folder collection routines.
Horizontal splitter. A horizontal splitter was added between the Function List and the Select Folders grid so the grid can be resized to show more rows on larger displays. The original compact layout — to support low-resolution screens used by some testers — remains the default.
Vertical splitter added for the lower part of the Refactor view.
Right-click context menu on cRDCCJSelectionGrid with four standard actions (Toggle Current Item, Select All, Select None, Invert Selection) plus two optional actions (Add Folder, Remove Item From Grid) controlled by the properties pbShowAddFolderMenuItem and pbShowRemoveFolderMenuItem. The standalone Add Folder button was removed.
Cursor wait while the Select Folders grid is being populated.
Bug fixes
Fixed DfAbout.pkg: a commented-out line had broken the compile-date logic on DataFlex versions below 19.1.
Fixed a folder/path-matching bug that manifested when a workspace path contained a . (for example MyWorkspace2.0\AppSrc). Replaced fragile contains checks with more robust path-comparison logic.
UI refinements
Reindented RefactorView.vw by running DFRefactor on itself.
Adjusted cRDCSlideButton.pkg width so it no longer clips text on the right.
Removed all cRDCHeaderGroup frames after the splitter introduction left the screen too dense. The flatter look gives better visual hierarchy.
Fixed color values for clBlueGrey and clBlueGreyLight (a purple value had been pasted in by mistake), which also corrected a handful of icon colors.
cRDCComboForm.pkg drop-down list is now auto-sized to the widest text entry.
Added keyboard shortcuts to the cRDCCJSelectionGrid right-click menu.
DFAbout library set to "minimal" mode.
Moved several .ico files to their respective library folders.
A new toolbar button surfaces the Unused Source Files dialog.