last updated 3 Mar 2009
Source for latest released version
The source for the latest released version of File Locater can be downloaded from the
SourceForge download page
Alternatively you can access the code directly using subversion.
If you have a subversion client installed,
then you can check out the very latest code with:
svn co https://filelocater.svn.sourceforge.net/svnroot/filelocater/trunk filelocater
To check out a particular version, say 1.0, then this can be checked out with:
svn co https://filelocater.svn.sourceforge.net/svnroot/filelocater/tags/FileLocater-1.0 filelocater
The following tools have been used to build File Locater:
- Visual C# 2005 Express Edition
- HTML Help Workshop 1.3
- NUnit 2.4.6
The following sub-directories exist in the main project directory:
(Note: the directories ScreenShots and Web are only available under svn)
- Contains the C# source for File Locater.
- Contains the C# source for the unit tests.
- Contains the files used to build the .chm help file.
- Contains images/icons used to build File Locater.
- Contains the screen shots used on the SourceForge File Locater project page.
- Contains this web site.
Conditional compilation symbols
The following conditional compilation symbols are available when building File Locater:
- Shows information about the size of the index on the Index form.
- When building the index, this will add any paths that are being excluded due to a match with
the users excluded path list to the Access Problems list box.
- Prevents the Index form from including A: and B: in the list of available drives.
Making these drives available can make the initial display of this form quite slow
while the system probes the drives.
Unit tests are provided for the non-form objects.
Currently some of these tests have hard coded path names,
so will fail to pass the tests on your system.
This will be rectified in the near future.
All significant public methods use XML documentation tags.
You can use your favourite tool e.g. Doxygen
to convert these to HTML viewable documentation.
A one minute tour of the source code
- This is where it all starts.
- This is the main Windows form where you enter search queries and see the results.
- This form allows the indexing options to be set.
- This form allows a path to be added to the excluded path list in the IndexForm.
- This form displays the progress while the index is built.
- This form allows you to specify which application to open the selected file with.
- The about box.
Filename pattern matching support:
- Abstract base class that pattern matching classes must derive from.
- Provides glob filename pattern matching.
- Provides locate style filename pattern matching.
- Provides regular expression filename pattern matching.
- Provides low level glob matching.
- Allows a directory tree to be traversed.
- Internal representation of the indexed files.
- Holds a Most Recently Used list.
- Functions to help with Internationalisation.
- Provides routines to allow the system menu to be updated.
- Other utilities that don't fit anywhere else.