CopyHandler

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
Updated sqlite to 3.15.0 (CH-280).

    • -3353
    • +4942
    /ext/sqlite3/sqlite3.c
Fixed release version not building properly. Cleaned up unused code. (CH-270)

    • -0
    • +63
    /src/libchcore/OverlappedCallbacks.cpp
    • -27
    • +28
    /src/libchcore/OverlappedCallbacks.h
    • -0
    • +1
    /src/libchcore/TLocalFilesystemFile.cpp
    • -5
    • +0
    /src/libchcore/TOverlappedDataBuffer.h
    • -9
    • +8
    /src/libchcore/TOverlappedReaderWriter.h
    • -2
    • +2
    /src/libchcore/libchcore.vc140.vcxproj
Separated buffer management from overlapped queue management (CH-270)

    • -2
    • +1
    /src/libchcore/TLocalFilesystemFile.cpp
    • -3
    • +0
    /src/libchcore/TOverlappedDataBuffer.cpp
    • -0
    • +1
    /src/libchcore/TOverlappedDataBuffer.h
    • -0
    • +325
    /src/libchcore/TOverlappedReaderWriter.cpp
    • -108
    • +102
    /src/libchcore/TOverlappedReaderWriter.h
    • -31
    • +33
    /src/libchcore/TSubTaskCopyMove.cpp
    • -0
    • +547
    /src/libchcore/Tests/TOverlappedReaderWriterTests.cpp
    • -1
    • +3
    /src/libchcore/libchcore.vc140.vcxproj
Removed unit tests for deleted functionality (CH-270).

Decoupled overlapped data buffer from buffer queue (CH-270).

    • -3
    • +4
    /src/libchcore/TLocalFilesystemFile.cpp
    • -53
    • +4
    /src/libchcore/TOverlappedDataBuffer.cpp
    • -6
    • +3
    /src/libchcore/TOverlappedDataBuffer.h
    • -15
    • +15
    /src/libchcore/TSubTaskCopyMove.cpp
Fixed buffer count behavior in options (CH-279)

Improved timer naming in code (CH-273).

Made RPC_E_CHANGED_MODE error on CoInitializeEx non-fatal, allowing to launch CH (CH-275).

Added thread id to the log output (CH-206)