CopyHandler

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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)

Removing task will now delete all associated log files, including rotated ones (CH-274)

    • -0
    • +43
    /src/liblogger/TLoggerPaths.cpp
    • -0
    • +43
    /src/liblogger/TLoggerPaths.h
    • -0
    • +2
    /src/liblogger/liblogger.vc140.vcxproj
Fixed logger build for x32 platform (CH-206).

Added try-catch section to logger thread to avoid issues with unhandled exceptions that can't be propagated through win32 api (CH-206).

    • -30
    • +36
    /src/liblogger/TAsyncMultiLogger.cpp
Fixed high CPU usage when logging. Replaced boost log with liblogger in shell extension. (CH-206).

    • -0
    • +98
    /src/chext/Logger.cpp
    • -6
    • +6
    /src/chext/chext.vc140.vcxproj.filters
  1. … 4 more files in changeset.
Removed dead code (CH-272).

    • -29
    • +23
    /src/libchcore/ConfigNodeContainer.cpp
Fixed cppcheck warnings (CH-272).

Fxied log file data to not accumulate log entries when no log file was specified (CH-206).

Fixed unit tests for overlapped data buffer (CH-206).

Added lots of logging to filesystem handling functions (CH-206)

    • -0
    • +30
    /src/libchcore/StreamingHelpers.h
    • -34
    • +142
    /src/libchcore/TLocalFilesystem.cpp
    • -8
    • +122
    /src/libchcore/TLocalFilesystemFile.cpp
    • -6
    • +41
    /src/libchcore/TLocalFilesystemFind.cpp
    • -4
    • +0
    /src/libchcore/TOverlappedDataBuffer.cpp
    • -0
    • +1
    /src/libchcore/libchcore.vc140.vcxproj
Various code cleanups (CH-273)

Various code cleanups (CH-273)

    • -3
    • +3
    /src/libchcore/ConfigNodeContainer.cpp
    • -0
    • +1
    /src/libchcore/TFeedbackHandlerBase.cpp
  1. … 21 more files in changeset.
Added liblogger to the script measuring unit tests coverage (CH-206)

Fixed problem reported by cppcheck and suppressed two issues that are not issues in those specific use cases (CH-272).