CopyHandler

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Various cleanups and improvements in the multithreaded copying code (CH-307).

    • -26
    • +35
    /src/libchcore/TOverlappedReaderFB.cpp
    • -30
    • +35
    /src/libchcore/TOverlappedWriterFB.cpp
    • -1
    • +1
    /src/libchcore/TReadBufferQueueWrapper.h
  1. … 5 more files in changeset.
Made reader and writer threads responsible for waiting for on-the-fly buffers (CH-307).

    • -1
    • +1
    /src/libchcore/TOrderedBufferQueue.cpp
    • -64
    • +37
    /src/libchcore/TOverlappedReader.cpp
    • -17
    • +34
    /src/libchcore/TOverlappedReaderFB.cpp
    • -16
    • +35
    /src/libchcore/TOverlappedWriterFB.cpp
  1. … 6 more files in changeset.
Normalized line ending as specified in .gitattributes (CH-312).

    • -533
    • +533
    /src/common/TShellExtMenuConfig.cpp
    • -272
    • +272
    /src/common/TShellExtMenuConfig.h
    • -253
    • +253
    /src/ictranslate/ictranslate.rc
    • -51
    • +51
    /src/ictranslate/res/ictranslate.rc2
    • -28
    • +28
    /src/libchcore/CommonDataTypes.h
    • -603
    • +603
    /src/libchcore/ConfigNodeContainer.cpp
    • -269
    • +269
    /src/libchcore/ConfigNodeContainer.h
    • -37
    • +37
    /src/libchcore/EFeedbackResult.h
    • -40
    • +40
    /src/libchcore/EOperationTypes.h
  1. … 251 more files in changeset.
Reduced count of rules in gitattributes file (CH-312).

First version of gitattributes file (CH-312)

Partial support for on-the-fly buffer usage (CH-307).

    • -11
    • +6
    /src/libchcore/OverlappedCallbacks.cpp
    • -0
    • +73
    /src/libchcore/TEventCounter.h
    • -4
    • +21
    /src/libchcore/TOverlappedReaderFB.cpp
    • -0
    • +14
    /src/libchcore/TOverlappedWriterFB.cpp
    • -0
    • +1
    /src/libchcore/libchcore.vc140.vcxproj
Moved writer to a separate thread (CH-307).

    • -0
    • +34
    /src/libchcore/TEventGuard.cpp
    • -0
    • +38
    /src/libchcore/TEventGuard.h
    • -4
    • +13
    /src/libchcore/TOverlappedReaderFB.cpp
    • -0
    • +5
    /src/libchcore/TOverlappedThreadPool.cpp
    • -0
    • +2
    /src/libchcore/TOverlappedThreadPool.h
    • -1
    • +75
    /src/libchcore/TOverlappedWriterFB.cpp
    • -0
    • +12
    /src/libchcore/TOverlappedWriterFB.h
    • -0
    • +2
    /src/libchcore/libchcore.vc140.vcxproj
Made all reader execute in pre-existing reader thread (to avoid creating thread for each file) (CH-307).

    • -39
    • +40
    /src/libchcore/TOverlappedReaderFB.cpp
    • -5
    • +13
    /src/libchcore/TOverlappedReaderFB.h
    • -0
    • +44
    /src/libchcore/TOverlappedThreadPool.cpp
    • -0
    • +47
    /src/libchcore/TOverlappedThreadPool.h
    • -4
    • +22
    /src/libchcore/TSubTaskCopyMove.cpp
    • -0
    • +113
    /src/libchcore/TThreadedQueueRunner.h
    • -0
    • +69
    /src/libchcore/WaitableQueue.h
    • -0
    • +4
    /src/libchcore/libchcore.vc140.vcxproj
Buggy prototype of reader parallelization (CH-307).

    • -5
    • +58
    /src/libchcore/TOrderedBufferQueue.cpp
    • -2
    • +14
    /src/libchcore/TOrderedBufferQueue.h
    • -1
    • +72
    /src/libchcore/TOverlappedReaderFB.cpp
    • -1
    • +2
    /src/libchcore/TWriteBufferQueueWrapper.h
Optimized deleting of entries from CH database - in some cases the speedup is around 180x (CH-311).

Integrated file object creation into the reader and writer objects (CH-307)

    • -0
    • +8
    /src/libchcore/TOrderedBufferQueue.cpp
    • -0
    • +51
    /src/libchcore/TOverlappedProcessorRange.cpp
    • -0
    • +45
    /src/libchcore/TOverlappedProcessorRange.h
    • -3
    • +15
    /src/libchcore/TOverlappedReader.cpp
    • -7
    • +31
    /src/libchcore/TOverlappedReaderFB.cpp
    • -4
    • +17
    /src/libchcore/TOverlappedReaderFB.h
    • -2
    • +10
    /src/libchcore/TOverlappedWriter.cpp
    • -46
    • +44
    /src/libchcore/TOverlappedWriterFB.cpp
    • -9
    • +19
    /src/libchcore/TOverlappedWriterFB.h
  1. … 7 more files in changeset.
Moved parts of the file processing to the reader and writer objects (CH-307).

    • -0
    • +24
    /src/libchcore/TOverlappedReaderFB.cpp
    • -0
    • +83
    /src/libchcore/TOverlappedWriterFB.cpp
    • -111
    • +1
    /src/libchcore/TSubTaskCopyMove.cpp
Reader/writer cleanups (CH-307)

    • -3
    • +3
    /src/libchcore/TOrderedBufferQueue.cpp
    • -8
    • +45
    /src/libchcore/TOverlappedReader.cpp
    • -4
    • +3
    /src/libchcore/TOverlappedReaderFB.cpp
    • -63
    • +48
    /src/libchcore/TOverlappedWriter.cpp
    • -11
    • +10
    /src/libchcore/TOverlappedWriterFB.cpp
    • -5
    • +6
    /src/libchcore/TReadBufferQueueWrapper.h
  1. … 5 more files in changeset.
Fixed issue reported by cppcheck (CH-197)

Updated Turkish translation file with the new version from Onur (CH-294).

Fixed problem with IsFreshlyCreated causing task to go into error state when destination file is not accessible (CH-197)

Fixed problem with stats not being updated when skipping file (CH-302) Simplified error management for feedback wrappers.

    • -30
    • +5
    /src/libchcore/TOverlappedReaderFB.cpp
    • -76
    • +17
    /src/libchcore/TOverlappedWriterFB.cpp
    • -38
    • +17
    /src/libchcore/TSubTaskCopyMove.cpp
    • -5
    • +4
    /src/libchcore/TSubTaskScanDirectory.cpp
Fixed showing file error dialog when getting file size fails (e.g. when implicit file opening fails) (CH-197).

    • -1
    • +1
    /src/libchcore/TLocalFilesystemFile.cpp
    • -7
    • +53
    /src/libchcore/TOverlappedWriterFB.cpp
    • -6
    • +25
    /src/libchcore/TSubTaskCopyMove.cpp
Fixed crash in shell extension when other shell extension features menu item icons and text including copy/paste/cut or polish equivalent (CH-296)

Added missing break in code (CH-301).

Improved shell extension integration to allow cooperating with Q-Dir and Everything (and possibly with a whole lot of different software) (CH-266).

Bugfix: adding new favorite paths in the directory chooser dialog did not update the shell extensions' explorer menu (CH-299).

Fixed shell extension to properly detect the operation to be performed when using drag&drop and keyboard integration (CH-300).

Added updated translation file for Turkish translation (CH-294).

Corrected positioning of CH entries in explorer context menu for Polish and English languages. Improved error management in shell extension (CH-296).

    • -67
    • +135
    /src/chext/ShellExtControl.cpp
Fixed write retries not working properly (CH-297). Added file re-opening on read and write failures (CH-197).

    • -0
    • +3
    /src/libchcore/TOverlappedReaderFB.cpp
    • -3
    • +21
    /src/libchcore/TOverlappedWriter.cpp
    • -1
    • +4
    /src/libchcore/TOverlappedWriterFB.cpp
Fixed silent resume (CH-197).

Fixed subtask/task/global stats to show correct current speeds (CH-293).

    • -0
    • +27
    /src/libchcore/EngineConstants.h
    • -5
    • +21
    /src/libchcore/TSubTaskStatsSnapshot.cpp
    • -2
    • +2
    /src/libchcore/TSubTaskStatsSnapshot.h
    • -0
    • +1
    /src/libchcore/libchcore.vc140.vcxproj
Partial integration of opening files for write in the background (without explicit Open call) (CH-197).

    • -202
    • +30
    /src/libchcore/TFilesystemFileFeedbackWrapper.cpp
    • -22
    • +59
    /src/libchcore/TLocalFilesystemFile.cpp
    • -10
    • +15
    /src/libchcore/TLocalFilesystemFile.h
    • -48
    • +23
    /src/libchcore/TSubTaskCopyMove.cpp
Unit tests fix (CH-197)