Minor Changes
648ce9a9
Aaron Campf
committed
12 changed files
ArchiveProcressScreen.cs
/BExplorer/BetterExplorer/ArchiveView/ArchiveProcressScreen.cs-2+2
/BExplorer/BetterExplorer/ArchiveView/ArchiveProcressScreen.cs
Add comment 91 _sevenZipCompressor.ModifyArchive(_archivePath, fileIndexDictionary);
Add comment 92 Done();
Add comment 93 }
Add comment 94 Minus   catch (Exception ex)
Add comment 94 Plus   catch
Add comment 95 {
Add comment 96 /*
Add comment 97 var dialog = new TaskDialog();
Add comment 284 Dispose(true);
Add comment 285 }
Add comment 286 }
Add comment 287 Minus   catch (Exception ex)
Add comment 287 Plus   catch
Add comment 288 {
Add comment 289 /*
Add comment 290 var dialog = new TaskDialog();
BreadcrumbItem.cs
/BreadcrumbBar/BreadcrumbBar/BreadcrumbItem.cs-1+1
/BreadcrumbBar/BreadcrumbBar/BreadcrumbItem.cs
Add comment 514
Add comment 515 root.SelectedItem = null;
Add comment 516
Add comment 517 Minus   HierarchicalDataTemplate hdt = template as HierarchicalDataTemplate;
Add comment 517 Plus   var hdt = template as HierarchicalDataTemplate;
Add comment 518 if (template != null)
Add comment 519 {
Add comment 520 root.Header = template.LoadContent();
ImDiskAPI.vb
/ImDiskNet/ImDisk/ImDiskAPI.vb-15+2
/ImDiskNet/ImDisk/ImDiskAPI.vb
Add comment 108 ''' </summary>
Add comment 109 ''' <param name="ImageFile">Name of disk image file.</param>
Add comment 110 Public Shared Function GetOffsetByFileExt(ImageFile As String) As Long
Add comment 111 Minus  
Add comment 112 111 Dim Offset As Long
Add comment 113 Minus   If DLL.ImDiskGetOffsetByFileExt(ImageFile, Offset) Then
Add comment 114 Minus   Return Offset
Add comment 115 Minus   Else
Add comment 116 Minus   Return 0
Add comment 117 Minus   End If
Add comment 118 Minus  
Add comment 112 Plus   Return If(DLL.ImDiskGetOffsetByFileExt(ImageFile, Offset), Offset, 0)
Add comment 119 113 End Function
Add comment 120 114
Add comment 121 115 Private Shared Function GetStreamReaderFunction(stream As Stream) As DLL.ImDiskReadFileManagedProc
Add comment 856 850 Flags = CType(CreateDataReader.ReadUInt32(), ImDiskFlags)
Add comment 857 851 DriveLetter = CreateDataReader.ReadChar()
Add comment 858 852 Dim FilenameLength = CreateDataReader.ReadUInt16()
Add comment 859 Minus   If FilenameLength = 0 Then
Add comment 860 Minus   Filename = Nothing
Add comment 861 Minus   Else
Add comment 862 Minus   Filename = Encoding.Unicode.GetString(CreateDataReader.ReadBytes(FilenameLength))
Add comment 863 Minus   End If
Add comment 864 Minus  
Add comment 853 Plus   Filename = If(FilenameLength = 0, DirectCast(Nothing, String), Encoding.Unicode.GetString(CreateDataReader.ReadBytes(FilenameLength)))
Add comment 865 854 End Sub
Add comment 866 855
Add comment 867 856 ''' <summary>
Add comment 869 858 ''' </summary>
Add comment 870 859 ''' <param name="DeviceNumber">Device number of ImDisk virtual disk to retrieve properties for.</param>
Add comment 871 860 Public Shared Function QueryDevice(DeviceNumber As UInt32) As DLL.ImDiskCreateData
Add comment 872 Minus  
Add comment 873 861 Dim CreateDataBuffer As New DLL.ImDiskCreateData
Add comment 874 862 NativeFileIO.Win32Try(DLL.ImDiskQueryDevice(DeviceNumber, CreateDataBuffer, Marshal.SizeOf(CreateDataBuffer.GetType())))
Add comment 875 863 Return CreateDataBuffer
Add comment 876 Minus  
Add comment 877 864 End Function
Add comment 878 865
Add comment 879 866 ''' <summary>
NativeFileIO.vb
/ImDiskNet/NativeFileIO.vb-12+8
/ImDiskNet/NativeFileIO.vb
Add comment 556 ''' </summary>
Add comment 557 ''' <param name="Value">FileAccess values.</param>
Add comment 558 Private Shared Function GetFileStreamLegalAccessValue(Value As FileAccess) As FileAccess
Add comment 559 Minus   If Value = 0 Then
Add comment 560 Minus   Return FileAccess.Read
Add comment 561 Minus   Else
Add comment 562 Minus   Return Value
Add comment 563 Minus   End If
Add comment 559 Plus   Return If(Value = 0, FileAccess.Read, Value)
Add comment 564 560 End Function
Add comment 565 561
Add comment 566 562 ''' <summary>
Add comment 643 639
Add comment 644 640 Dim pinptr = GCHandle.Alloc(State, GCHandleType.Pinned)
Add comment 645 641 Try
Add comment 646 Minus   Win32Try(Win32API.DeviceIoControl(SafeFileHandle, _
Add comment 647 Minus   Win32API.FSCTL_SET_COMPRESSION, _
Add comment 648 Minus   pinptr.AddrOfPinnedObject(), _
Add comment 649 Minus   2UI, _
Add comment 650 Minus   IntPtr.Zero, _
Add comment 651 Minus   0UI, _
Add comment 652 Minus   Nothing, _
Add comment 642 Plus   Win32Try(Win32API.DeviceIoControl(SafeFileHandle,
Add comment 643 Plus   Win32API.FSCTL_SET_COMPRESSION,
Add comment 644 Plus   pinptr.AddrOfPinnedObject(),
Add comment 645 Plus   2UI,
Add comment 646 Plus   IntPtr.Zero,
Add comment 647 Plus   0UI,
Add comment 648 Plus   Nothing,
Add comment 653 649 IntPtr.Zero))
Add comment 654 650
Add comment 655 651 Finally
FileSystemListItem.cs
/Shell/_Plugin Interfaces/FileSystemListItem.cs-1+1
/Shell/_Plugin Interfaces/FileSystemListItem.cs
Add comment 261 try {
Add comment 262 fsi.InitializeWithParent(this._Item, this.ParentHandle, pidl, i++);
Add comment 263 }
Add comment 264 Minus   catch (Exception e) {
Add comment 264 Plus   catch {
Add comment 265 continue;
Add comment 266 }
Add comment 267 fsi.IsParentSearchFolder = this.IsSearchFolder;
AsyncUnbuffCopy.cs
/Shell/FileOperation/AsyncUnbuffCopy.cs
/Shell/FileOperation/AsyncUnbuffCopy.cs
IContextMenu.cs
/Shell/Interop/IContextMenu.cs
/Shell/Interop/IContextMenu.cs
NonFileSystemKnownFolder.cs
/Shell/KnownFolders/NonFileSystemKnownFolder.cs
/Shell/KnownFolders/NonFileSystemKnownFolder.cs
Extensions.cs
/Shell/Extensions.cs
/Shell/Extensions.cs
ShellItem.cs
/Shell/ShellItem.cs
/Shell/ShellItem.cs
TabControl.cs
/TabControl/TabControl.cs
/TabControl/TabControl.cs
UnmanagedBufferPool.cs
/UnbufferedFO/GS.Common.IO/UnmanagedBufferPool.cs
/UnbufferedFO/GS.Common.IO/UnmanagedBufferPool.cs