Clearer V 1.10
History is a great new feature of Delphi 2005. There is only a little
drawback: after project completion getting rid of all the history
files is a bit annoying. Clear makes this more easy.

Installation
No installation required, just keep Clearer.exe and Clearer.xml in
the same directory.

Usage
Usage is straightforward. Select o BDS project or a folder
(File / Open BDS Project... or File / Open Directory...) and a list of
candidate to deletion will be presented. Some of them can be excluded
unchecking them. The list can be cleared using File / Reset List.
Actual deletion will be executed after File / Clear... selection and
confirmation.
WARNING: this is a mass deletion program, use with care and under your
responsibility.

Configuration
Clearer configuration is kept in file Clearer.xml that has to be in the
same directory of Clearer.exe The default for it is

<?xml version="1.0"?>
<TOptions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Filters>*.~*|*.dsk|*.bak|*.tmp|*.pdb|*.identcache</Filters>
  <KnownDirectories>__history|Model|ModelSupport</KnownDirectories>
  <AppDataClear>false</AppDataClear>
</TOptions>

Filter
  List of file name filters (separated by '|'). Any file that match
  one of them will be added to the deletion list.
  The list can be modified in the Filter edit box at the bottom of
  the program window (it is automatically saved at program exiting).
KnownDirectories
  List of known work directories (separated by '|'). Any directory named
  like one of them and its content will be added to the deletion list.
  The list can be modified only by editing Clearer.xml
AppDataClear
  Enable application data storage clear (see below). This can be
  modified only by editing Clearer.xml

Application data storage clear.
.NET assign application data storage folder according to complete
version number. During development this can produce a large number
of different folders. When File / Open BDS Project... is selected
Clearer looks for application data storage folders and offer the
option to clear them. This can be controlled using the check box
he bottom of the program window.
WARNING: application data storage folders search is euristical and
based on the assumption that the project name is the same or the
root of the application name. Therefore, the result of the search
is NOT GUARANTEED TO BE CORRECT OR COMPLETE. Always check the paths
before enabling their deletion.

This application was generated and tested using Borland Developer
Studio V9.0.1761.24408 Update 1 (Delhi 2005.1) under Windows 2000 SP4,
.NET 1.1 SP1
This application uses prefix units as generated by PrefixIt! PrefixIt!
can be found at http://cc.borland.com/ccweb.exe/listing?id=22872
This application uses SandBar (SandBar Copyright (c) 2004 by Tim Dawson,
http://www.divil.co.uk/net/)
