Skip to content

Commit

Permalink
final build (1.3.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
little-apps committed Jun 8, 2009
1 parent 2e38ce3 commit 4ac3590
Show file tree
Hide file tree
Showing 24 changed files with 161 additions and 194 deletions.
7 changes: 6 additions & 1 deletion ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
- Application Info scanner and uninstall manager use program info to get slow info cache
- Added more checks for null or empty strings before checking for files/directories
- No longer throws an exception when the path is null/empty in FileExists and DirExists()
- Checks for value name + others before being added to bad registry key array
- Checks for value name + others before being added to bad registry key array
- Did some minor fixes to the ActiveX/COM scanner
- Changes to wait cursor when scanning
- Fixed bug causing duplicates in uninstall manager

+ Version 1.3.1 Released
Binary file removed Common Tools/bin/Release/Common Tools.dll
Binary file not shown.
Binary file removed Common Tools/bin/Release/Common Tools.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,3 @@ C:\Users\Welcome\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\L
C:\Users\Welcome\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\Common Tools.csproj.GenerateResource.Cache
C:\Users\Welcome\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\Common Tools.dll
C:\Users\Welcome\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\Common Tools.pdb
C:\Users\Nick\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\bin\Release\Common Tools.dll
C:\Users\Nick\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\bin\Release\Common Tools.pdb
C:\Users\Nick\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\ResolveAssemblyReference.cache
C:\Users\Nick\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\Common_Tools.Properties.Resources.resources
C:\Users\Nick\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\Common Tools.csproj.GenerateResource.Cache
C:\Users\Nick\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\Common Tools.dll
C:\Users\Nick\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\Common Tools.pdb
C:\Users\Nick\Documents\Visual Studio 2008\Projects\Little Registry Cleaner\Little Registry Cleaner\Common Tools\obj\Release\Common_Tools.DetailsRegView.resources
Binary file not shown.
Binary file removed Common Tools/obj/Release/Common Tools.dll
Binary file not shown.
Binary file removed Common Tools/obj/Release/Common Tools.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Common Tools/obj/Release/Refactor/Common Tools.dll
Binary file not shown.
Binary file modified Little Registry Cleaner.chm
Binary file not shown.
11 changes: 7 additions & 4 deletions Misc/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,11 @@ private static VDTReturn ValidDriveType(string path)
/// <summary>
/// Sees if the file exists
/// </summary>
/// <param name="FilePath">The filename (including path)</param>
/// <returns>True if it exists. Otherwise, false if the file path is empty or doesnt exist.</returns>
/// <remarks>Always use this to check for files in the scanners!</remarks>
/// <param name="filePath">The filename (including path)</param>
/// <returns>
/// True if it exists or if the path should be skipped. Otherwise, false if the file path is empty or doesnt exist
/// </returns>
public static bool FileExists(string filePath)
{
if (string.IsNullOrEmpty(filePath))
Expand Down Expand Up @@ -849,8 +852,9 @@ public static bool FileExists(string filePath)
/// <summary>
/// Sees if the directory exists
/// </summary>
/// <remarks>Always use this to check for directories in the scanners!</remarks>
/// <param name="dirPath">The directory</param>
/// <returns>True if it exists. Otherwise, false if the directory path is empty or doesnt exist.</returns>
/// <returns>True if it exists or if the path should be skipped. Otherwise, false if the file path is empty or doesnt exist</returns>
public static bool DirExists(string dirPath)
{
if (string.IsNullOrEmpty(dirPath))
Expand Down Expand Up @@ -923,7 +927,6 @@ private static bool FindAnyIllegalChars(string path)
return false;
}


/// <summary>
/// Uses the FindExecutable API to search for the file that opens the specified document
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void Main()
Properties.Settings.Default.strOptionsLogDir = string.Format("{0}\\Logs", Properties.Settings.Default.strProgramSettingsDir);
if (!Directory.Exists(Properties.Settings.Default.strOptionsLogDir))
Directory.CreateDirectory(Properties.Settings.Default.strOptionsLogDir);
}
}

//#if (!DEBUG)
// Add event handler for thread exceptions
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.*")]
[assembly: AssemblyFileVersion("1.3")]
[assembly: AssemblyFileVersion("1.3.1")]
1 change: 1 addition & 0 deletions ScanDlg.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Scanners/AppInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ public static void Scan()
// Check display icon
if (!string.IsNullOrEmpty(progInfo.DisplayIcon))
if (!Utils.IconExists(progInfo.DisplayIcon))
ScanDlg.StoreInvalidKey("Invalid file or folder", regKey2.ToString(), "DisplayIcon");
ScanDlg.StoreInvalidKey("Invalid file or folder", regKey2.ToString(), "DisplayIcon");

// Check install location
if (!string.IsNullOrEmpty(progInfo.InstallLocation))
if ((!Utils.DirExists(progInfo.InstallLocation)) && (!Utils.FileExists(progInfo.InstallLocation)))
ScanDlg.StoreInvalidKey("Invalid file or folder", regKey2.ToString(), "InstallLocation");
ScanDlg.StoreInvalidKey("Invalid file or folder", regKey2.ToString(), "InstallLocation");

// Check install source
if (!string.IsNullOrEmpty(progInfo.InstallSource))
if ((!Utils.DirExists(progInfo.InstallSource)) && (!Utils.FileExists(progInfo.InstallSource)))
ScanDlg.StoreInvalidKey("Invalid file or folder", regKey2.ToString(), "InstallSource");
ScanDlg.StoreInvalidKey("Invalid file or folder", regKey2.ToString(), "InstallSource");

// Check ARP Cache
if (progInfo.SlowCache)
Expand Down
6 changes: 0 additions & 6 deletions Scanners/AppPaths.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,8 @@ private static void ScanAppPaths()
continue;
}

if (ScanDlg.IsOnIgnoreList(strAppPath))
continue;

if (!string.IsNullOrEmpty(strAppDir))
{
if (ScanDlg.IsOnIgnoreList(strAppDir))
continue;

if (Utils.SearchPath(strAppPath, strAppDir))
continue;
else if (Utils.SearchPath(strSubKey, strAppDir))
Expand Down
Loading

0 comments on commit 4ac3590

Please sign in to comment.