CopyHandler

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improvements in shell extension registration process (CH-286). Updated Polish translation.

    • -94
    • +149
    /src/ch/TShellExtensionClient.cpp
    • -0
    • +31
    /src/common/ERegistrationResult.h
    • -5
    • +24
    /src/regchext/TExtensionDetector.cpp
    • -0
    • +3
    /src/regchext/regchext.vcxproj.filters
Updated Version info in CH binaries (CH-287).

    • -0
    • +38
    /src/ictranslate/res/ictranslate.rc2
    • binary
    /src/libchcore/libchcore.rc
    • -0
    • +4
    /src/libchcore/libchcore.vc140.vcxproj
    • -55
    • +52
    /src/libchcore/res/libchcore.rc2
    • binary
    /src/libchcore/resource.h
    • -23
    • +25
    /src/libictranslate/res/libictranslate.rc2
    • binary
    /src/liblogger/liblogger.rc
    • -0
    • +4
    /src/liblogger/liblogger.vc140.vcxproj
    • -55
    • +52
    /src/liblogger/res/liblogger.rc2
    • binary
    /src/liblogger/resource.h
Fixed unit tests build for regchext. Disabled privilege elevation requirement for testing configurations. (CH-286)

Modified setup and portable scripts to include 32bit shell extension in 64bit builds (CH-286).

Added simple shell extension registration executable than can handle registration of two shell extensions with a single UAC user confirmation(CH-286)

    • -0
    • +116
    /src/regchext/TComRegistrar.cpp
    • -0
    • +48
    /src/regchext/TComRegistrar.h
    • -0
    • +70
    /src/regchext/TExtensionDetector.cpp
    • -0
    • +48
    /src/regchext/TExtensionDetector.h
    • -0
    • +66
    /src/regchext/regchext.cpp
    • -0
    • +91
    /src/regchext/regchext.rc
    • -0
    • +570
    /src/regchext/regchext.vcxproj
    • -0
    • +63
    /src/regchext/regchext.vcxproj.filters
    • binary
    /src/regchext/res/regchext.ico
    • -0
    • +55
    /src/regchext/res/regchext.rc2
    • -0
    • +6
    /src/regchext/resource.h
    • -0
    • +19
    /src/regchext/stdafx.cpp
    • -0
    • +29
    /src/regchext/stdafx.h
Enabled communication from non-elevated explorer to elevated Copy Handler (CH-285).

    • -0
    • +46
    /src/ch/TWindowMessageFilterHelper.cpp
    • -0
    • +28
    /src/ch/TWindowMessageFilterHelper.h
Changed shell extension to receive its configuration from CH using shared memory instead of relying on WM_GETCONFIG window message (CH-284).

    • -0
    • +229
    /src/ch/TShellExtensionConfig.cpp
    • -0
    • +45
    /src/ch/TShellExtensionConfig.h
    • -23
    • +3
    /src/chext/ShellExtensionVerifier.cpp
    • -0
    • +6
    /src/chext/chext.vc140.vcxproj.filters
  1. … 14 more files in changeset.
Simplified shell extension menu management as a preparation to move its configuration to shared memory (CH-284)

    • -9
    • +28
    /src/ch/FeedbackNotEnoughSpaceDlg.cpp
  1. … 14 more files in changeset.
Reduced CppCheck warnings (CH-270).

    • -1
    • +1
    /src/libchcore/TOverlappedWriterFB.cpp
    • -1
    • +1
    /src/libchcore/TWriteBufferQueueWrapper.h
Enabled Multi Process compilation for all CH projects (CH-283).

    • -4
    • +12
    /ext/googletest/gmock.vc140.vcxproj
    • -4
    • +12
    /src/libchcore/libchcore.vc140.vcxproj
    • -4
    • +12
    /src/liblogger/liblogger.vc140.vcxproj
Fixed unit tests for the reader/writer functionality (CH-270).

    • -1
    • +1
    /src/libchcore/OverlappedCallbacks.cpp
    • -1
    • +13
    /src/libchcore/TOverlappedReader.cpp
    • -3
    • +206
    /src/libchcore/Tests/TOverlappedReaderTests.cpp
    • -2
    • +28
    /src/libchcore/Tests/TOverlappedWriterTests.cpp
Moved file copy main processing loop to ReaderWriter object (CH-270).

    • -1
    • +2
    /src/libchcore/OverlappedCallbacks.cpp
    • -0
    • +101
    /src/libchcore/TOverlappedReaderFB.cpp
    • -0
    • +53
    /src/libchcore/TOverlappedReaderFB.h
    • -0
    • +153
    /src/libchcore/TOverlappedReaderWriterFB.cpp
    • -0
    • +61
    /src/libchcore/TOverlappedReaderWriterFB.h
    • -0
    • +191
    /src/libchcore/TOverlappedWriterFB.cpp
    • -0
    • +59
    /src/libchcore/TOverlappedWriterFB.h
    • -348
    • +41
    /src/libchcore/TSubTaskCopyMove.cpp
    • -2
    • +6
    /src/libchcore/libchcore.vc140.vcxproj
Added better error-checking. Fixed several hang/crash scenarios. (CH-270)

    • -10
    • +13
    /src/libchcore/TOrderedBufferQueue.cpp
    • -3
    • +13
    /src/libchcore/TOrderedBufferQueue.h
    • -10
    • +10
    /src/libchcore/TOverlappedDataBuffer.cpp
    • -1
    • +0
    /src/libchcore/TWriteBufferQueueWrapper.h
    • -0
    • +1
    /src/libchcore/libchcore.vc140.vcxproj
Decoupled overlapped completion functions from ReaderWriter object. Added notifications to ordered buffer to support correct linking between reader and writer. Various other cleanups. (CH-270)

    • -4
    • +4
    /src/libchcore/OverlappedCallbacks.cpp
    • -0
    • +16
    /src/libchcore/TOrderedBufferQueue.cpp
    • -4
    • +4
    /src/libchcore/TOverlappedDataBuffer.h
    • -3
    • +3
    /src/libchcore/TOverlappedMemoryPool.cpp
    • -1
    • +0
    /src/libchcore/TOverlappedMemoryPool.h
    • -5
    • +26
    /src/libchcore/TOverlappedReader.cpp
    • -39
    • +5
    /src/libchcore/TOverlappedReaderWriter.h
    • -8
    • +29
    /src/libchcore/TOverlappedWriter.cpp
    • -29
    • +26
    /src/libchcore/TSubTaskCopyMove.cpp
  1. … 4 more files in changeset.
Bugfix: taske enters error state when error is encountered for the second time with the same position (CH-270)

Rewritten all-buffers-accounted-for handling (simplified; removed dependency on ReaderWriter object) (CH-270).

    • -0
    • +4
    /src/libchcore/TOverlappedMemoryPool.cpp
    • -28
    • +48
    /src/libchcore/TOverlappedReader.cpp
    • -3
    • +0
    /src/libchcore/TOverlappedReaderWriter.h
    • -33
    • +58
    /src/libchcore/TOverlappedWriter.cpp
    • -1
    • +2
    /src/libchcore/Tests/TOverlappedWriterTests.cpp
Several code cleanups. Added notifier to buffer list. (CH-270)

    • -2
    • +1
    /src/libchcore/TOverlappedMemoryPool.cpp
    • -2
    • +0
    /src/libchcore/TOverlappedMemoryPool.h
    • -4
    • +0
    /src/libchcore/TOverlappedReaderWriter.h
    • -0
    • +4
    /src/libchcore/TReadBufferQueueWrapper.h
Replaced failed queue with simpler mechanism embedded in ordered queue (CH-270).

    • -99
    • +0
    /src/libchcore/TFailedBufferQueue.cpp
    • -105
    • +0
    /src/libchcore/TFailedBufferQueue.h
    • -1
    • +45
    /src/libchcore/TOrderedBufferQueue.cpp
    • -2
    • +46
    /src/libchcore/TOrderedBufferQueue.h
    • -8
    • +0
    /src/libchcore/libchcore.vc140.vcxproj
Corrected strange Visual Studio induced mess (CH-270).

Split ordered queue with position locking from simple version of ordered queue (CH-270).

    • -28
    • +0
    /src/libchcore/TOrderedBufferQueue.cpp
    • -2
    • +2
    /src/libchcore/TReadBufferQueueWrapper.h
    • -0
    • +68
    /src/libchcore/TSimpleOrderedBufferQueue.h
    • -6
    • +2
    /src/libchcore/TWriteBufferQueueWrapper.h
    • -1
    • +1
    /src/libchcore/Tests/TOverlappedWriterTests.cpp
    • -0
    • +6
    /src/libchcore/libchcore.vc140.vcxproj
Added unit tests for remaining queues. Fixed writer to use failed queue instead of ordered queue. (CH-270)

    • -1
    • +1
    /src/libchcore/TOrderedBufferQueue.cpp
    • -2
    • +0
    /src/libchcore/TReadBufferQueueWrapper.h
    • -17
    • +18
    /src/libchcore/TSubTaskCopyMove.cpp
    • -2
    • +2
    /src/libchcore/TWriteBufferQueueWrapper.h
Added partial unit tests for TReadBufferQueueWrapper (CH-270).

    • -0
    • +16
    /src/libchcore/TOrderedBufferQueue.cpp
    • -3
    • +0
    /src/libchcore/TReadBufferQueueWrapper.h
Added unit tests to part of the overlapped buffer handling code (CH-270).

    • -0
    • +16
    /src/libchcore/GTestMacros.h
    • -2
    • +8
    /src/libchcore/OverlappedCallbacks.cpp
    • -31
    • +24
    /src/libchcore/TFailedBufferQueue.h
    • -0
    • +4
    /src/libchcore/TOverlappedDataBuffer.cpp
    • -2
    • +1
    /src/libchcore/TReadBufferQueueWrapper.h
    • -2
    • +1
    /src/libchcore/TWriteBufferQueueWrapper.h
    • -1
    • +41
    /src/libchcore/Tests/TBufferListTests.cpp
    • -0
    • +1
    /src/libchcore/libchcore.vc140.vcxproj
Various fixes in reader/writer handling (CH-270).

    • -2
    • +12
    /src/libchcore/TFailedBufferQueue.h
    • -2
    • +15
    /src/libchcore/TOrderedBufferQueue.cpp
    • -6
    • +11
    /src/libchcore/TOverlappedReader.cpp
    • -1
    • +2
    /src/libchcore/TOverlappedReaderWriter.h
    • -2
    • +35
    /src/libchcore/TOverlappedWriter.cpp
    • -0
    • +1
    /src/libchcore/TReadBufferQueueWrapper.h
    • -31
    • +34
    /src/libchcore/TSubTaskCopyMove.cpp
    • -0
    • +2
    /src/libchcore/TWriteBufferQueueWrapper.h
  1. … 3 more files in changeset.
Rough version of overlapped reader/writer split (CH-270).

    • -2
    • +2
    /src/libchcore/OverlappedCallbacks.cpp
    • -0
    • +62
    /src/libchcore/TBufferList.cpp
    • -0
    • +46
    /src/libchcore/TBufferList.h
    • -0
    • +97
    /src/libchcore/TFailedBufferQueue.cpp
    • -0
    • +104
    /src/libchcore/TFailedBufferQueue.h
    • -7
    • +71
    /src/libchcore/TOrderedBufferQueue.cpp
    • -17
    • +31
    /src/libchcore/TOrderedBufferQueue.h
    • -0
    • +10
    /src/libchcore/TOverlappedDataBuffer.cpp
    • -0
    • +7
    /src/libchcore/TOverlappedDataBuffer.h
    • -82
    • +9
    /src/libchcore/TOverlappedMemoryPool.cpp
    • -19
    • +3
    /src/libchcore/TOverlappedMemoryPool.h
    • -0
    • +104
    /src/libchcore/TOverlappedReader.cpp
    • -0
    • +75
    /src/libchcore/TOverlappedReader.h
    • -38
    • +28
    /src/libchcore/TOverlappedReaderWriter.h
  1. … 20 more files in changeset.
Extended event wrapper for easier usage (CH-270)

Fixed problem with asking multiple times for retries of the same batch of failed buffers (only for reading data at this point). Fixed issue with pausing and resuming task after refactoring of buffer ordering. (CH-270)

    • -0
    • +1
    /src/libchcore/TOverlappedDataBuffer.h
    • -0
    • +5
    /src/libchcore/TOverlappedReaderWriter.h
Moved overlapped file position management to reader/writer object. Simplified buffer ordering by using file position as the ordering key (instead of artificial order id). Isolated overlapped memory management to a separate class. Simplified code responsible for retrying reads and writes. (CH-270)

    • -4
    • +4
    /src/libchcore/OverlappedCallbacks.cpp
    • -16
    • +16
    /src/libchcore/TLocalFilesystemFile.cpp
    • -0
    • +35
    /src/libchcore/TOrderedBufferQueue.cpp
    • -0
    • +49
    /src/libchcore/TOrderedBufferQueue.h
    • -4
    • +0
    /src/libchcore/TOverlappedDataBuffer.h
    • -183
    • +183
    /src/libchcore/TOverlappedMemoryPool.cpp
    • -72
    • +73
    /src/libchcore/TOverlappedMemoryPool.h
    • -20
    • +20
    /src/libchcore/TOverlappedReaderWriter.h
    • -52
    • +16
    /src/libchcore/TSubTaskCopyMove.cpp
    • -2
    • +4
    /src/libchcore/libchcore.vc140.vcxproj
Fixed problem with shell extension not being able to retrieve configuration from CH (CH-281).

    • -3
    • +56
    /src/chext/ShellExtensionVerifier.cpp