Changeset 1719 for branches/eraser6/6.0
- Timestamp:
- 1/29/2010 12:40:49 AM (3 years ago)
- Location:
- branches/eraser6/6.0
- Files:
-
- 7 edited
-
. (modified) (1 prop)
-
Eraser.DefaultPlugins/FileSystems/Windows.cs (modified) (2 diffs)
-
Eraser.Manager/DirectExecutor.cs (modified) (1 diff)
-
Eraser.Manager/RemoteExecutor.cs (modified) (2 diffs)
-
Eraser/Program.cs (modified) (1 diff)
-
Eraser/SchedulerPanel.cs (modified) (2 diffs)
-
ShellExt/CtxMenu.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/6.0
- Property svn:mergeinfo changed
/trunk/eraser6 merged: 1712-1718
- Property svn:mergeinfo changed
-
branches/eraser6/6.0/Eraser.DefaultPlugins/FileSystems/Windows.cs
r1677 r1719 40 40 //Set the date of the file to be invalid to prevent forensic 41 41 //detection 42 info.Attributes = FileAttributes.NotContentIndexed; 42 43 info.CreationTime = info.LastWriteTime = info.LastAccessTime = MinTimestamp; 43 info.Attributes = FileAttributes.Normal;44 info.Attributes = FileAttributes.NotContentIndexed;45 44 46 45 //Rename the file a few times to erase the entry from the file system … … 127 126 throw new InvalidOperationException(S._("The folder {0} cannot be deleted as it is " + 128 127 "not empty.")); 128 129 //If the directory does not already exist, we should just return -- there's 130 //nothing to be done. 131 if (!info.Exists) 132 return; 129 133 130 134 //TODO: check for reparse points -
branches/eraser6/6.0/Eraser.Manager/DirectExecutor.cs
r1699 r1719 278 278 throw; 279 279 } 280 catch (ThreadAbortException) 281 { 282 } 280 283 catch (Exception e) 281 284 { -
branches/eraser6/6.0/Eraser.Manager/RemoteExecutor.cs
r1677 r1719 100 100 thread = new Thread(Main); 101 101 serverLock = new Semaphore(maxServerInstances, maxServerInstances); 102 103 thread.Start();104 Thread.Sleep(0);105 102 } 106 103 … … 125 122 126 123 base.Dispose(disposing); 124 } 125 126 public override void Run() 127 { 128 thread.Start(); 129 Thread.Sleep(0); 130 base.Run(); 127 131 } 128 132 -
branches/eraser6/6.0/Eraser/Program.cs
r1677 r1719 392 392 MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, 393 393 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0); 394 } 395 catch (IOException ex) 396 { 397 MessageBox.Show(S._("Another instance of Eraser is already running but " + 398 "cannot be connected to.\n\nThe error returned was: {0}", ex.Message, 399 S._("Eraser"), MessageBoxButtons.OK, MessageBoxIcon.Error, 400 MessageBoxDefaultButton.Button1, 401 S.IsRightToLeft(null) ? MessageBoxOptions.RtlReading : 0)); 394 402 } 395 403 catch (TimeoutException) -
branches/eraser6/6.0/Eraser/SchedulerPanel.cs
r1693 r1719 186 186 void task_TaskStarted(object sender, TaskEventArgs e) 187 187 { 188 if ( scheduler.InvokeRequired)188 if (InvokeRequired) 189 189 { 190 190 Invoke(new EventHandler<TaskEventArgs>(task_TaskStarted), sender, e); … … 212 212 //Make sure we handle the event in the main thread as this requires 213 213 //GUI calls. 214 if ( scheduler.InvokeRequired)214 if (InvokeRequired) 215 215 { 216 216 Invoke(new EventHandler<TaskProgressEventArgs>(task_ProgressChanged), sender, e); -
branches/eraser6/6.0/ShellExt/CtxMenu.cpp
r1677 r1719 954 954 NULL, NULL, &startupInfo, &processInfo)) 955 955 { 956 //Why did we fail? Is it because we have too many files 956 957 if (GetLastError() == ERROR_FILENAME_EXCED_RANGE) 957 958 throw FormatString(LoadString(IDS_ERROR_TOO_MANY_FILES)); 959 960 //Or if elevation is required for this operation 961 else if (GetLastError() == ERROR_ELEVATION_REQUIRED) 962 return RunEraser(action, parameters, true, parent, show); 963 964 //Or otherwise? 958 965 else 959 966 throw FormatString(LoadString(IDS_ERROR_MISC), FormatError().c_str());
Note: See TracChangeset
for help on using the changeset viewer.
