CopyHandler

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rewritten statistics handling for sub tasks, tasks and task manager (this commit introduces some issues that needs to be further fixed). Only basic tests performed (!)

    • -14
    • +58
    /src/libchcore/TSubTaskArray.cpp
    • -51
    • +13
    /src/libchcore/TSubTaskCopyMove.cpp
    • -17
    • +13
    /src/libchcore/TSubTaskDelete.cpp
    • -17
    • +13
    /src/libchcore/TSubTaskFastMove.cpp
    • -17
    • +13
    /src/libchcore/TSubTaskScanDirectory.cpp
  1. … 18 more files in changeset.
Added partial support for SubTask stats - for now calculated in parallel to the task stats inside SubTasks.

    • -4
    • +84
    /src/libchcore/TSubTaskCopyMove.cpp
    • -2
    • +22
    /src/libchcore/TSubTaskFastMove.cpp
    • -0
    • +23
    /src/libchcore/TSubTaskScanDirectory.cpp
    • -0
    • +224
    /src/libchcore/TSubTaskStatsInfo.cpp
    • -0
    • +119
    /src/libchcore/TSubTaskStatsInfo.h
Split progress information, so that each subtask manages its own progress state along with its serialization.

    • -134
    • +0
    /src/libchcore/TBasicProgressInfo.cpp
    • -73
    • +0
    /src/libchcore/TBasicProgressInfo.h
    • -13
    • +126
    /src/libchcore/TSubTaskArray.cpp
    • -32
    • +131
    /src/libchcore/TSubTaskCopyMove.cpp
    • -5
    • +70
    /src/libchcore/TSubTaskFastMove.cpp
    • -4
    • +73
    /src/libchcore/TSubTaskScanDirectory.cpp
  1. … 6 more files in changeset.
Bugfix: deleting files while moving was not working.

    • -26
    • +36
    /src/libchcore/TSubTaskFastMove.cpp
Added new subtask class handling fast move operation before scanning directories for files.

    • -89
    • +32
    /src/libchcore/TSubTaskCopyMove.cpp
    • -0
    • +208
    /src/libchcore/TSubTaskFastMove.cpp
    • -0
    • +52
    /src/libchcore/TSubTaskFastMove.h
    • -32
    • +15
    /src/libchcore/TSubTaskScanDirectory.cpp
Removed unnecessary part of scanning directory subtask.

    • -13
    • +0
    /src/libchcore/TSubTaskScanDirectory.cpp
Introduced subtask container and moved subtasks handling there.

    • -0
    • +97
    /src/libchcore/TSubTaskArray.cpp
    • -0
    • +57
    /src/libchcore/TSubTaskArray.h
    • -0
    • +2
    /src/libchcore/TSubTaskScanDirectory.cpp
    • -0
    • +1
    /src/libchcore/TSubTaskScanDirectory.h
    • -14
    • +5
    /src/libchcore/TTaskOperationPlan.h
    • -0
    • +12
    /src/libchcore/libchcore.vc90.vcproj
Bugfix: incorrect handling of string deletion.

Fixed symbol server handling scripts.

Refactoring: split file filtering functionality to two separate files (TFileFilter and TFileFiltersArray).

    • -0
    • +144
    /src/libchcore/TFileFiltersArray.cpp
    • -0
    • +67
    /src/libchcore/TFileFiltersArray.h
    • -2
    • +2
    /src/libchcore/TSubTaskScanDirectory.cpp
    • -2
    • +3
    /src/libchcore/TSubTaskScanDirectory.h
    • -7
    • +15
    /src/libchcore/libchcore.vc90.vcproj
Refactoring:

    • -0
    • +163
    /src/libchcore/TFileInfo.cpp
    • -0
    • +167
    /src/libchcore/TFileInfoArray.cpp
    • -0
    • +81
    /src/libchcore/TFileInfoArray.h
  1. … 8 more files in changeset.
Refactoring:

    • -0
    • +860
    /src/libchcore/TTask.cpp
  1. … 3 more files in changeset.
Moved CTask and CTaskArray classes to the libchcore library.

    • -0
    • +1274
    /src/libchcore/task.cpp
    • -0
    • +340
    /src/libchcore/task.h
Additional cleanups.

    • -3
    • +13
    /src/libchcore/FeedbackHandlerBase.h
Moved subtask handling to chcore library.

    • -0
    • +48
    /src/libchcore/FeedbackHandlerBase.h
    • -0
    • +113
    /src/libchcore/TSubTaskBase.cpp
    • -0
    • +121
    /src/libchcore/TSubTaskContext.h
  1. … 10 more files in changeset.
Bugfix: Replace operation didn't update string length.

Bugfix: Find/Replace did not work correctly.

Added Find and Replace functionality to the TString class (buggy).

Moved to chcore: task's configuration management, filesystem management, stats management and progress management.

    • -11
    • +11
    /src/ch/TSubTaskScanDirectory.cpp
  1. … 24 more files in changeset.
Disabled assertion in exception constructor to avoid hangups when assert dialog shows up.

Bugfix: invalid priority was set for the thread in custom copy dialog.

Cleaned up chcore namespace prefix in chcore library.

    • -13
    • +13
    /src/libchcore/TBasePathData.cpp
Improved naming convention inside chcore library.

  1. … 9 more files in changeset.
Added TDateTime wrapper to chcore as a replacement for not exportable ATL::CTime.

    • -125
    • +118
    /src/libchcore/FileFilter.h
    • -33
    • +0
    /src/libchcore/SerializationHelpers.h
    • -0
    • +229
    /src/libchcore/TDateTime.cpp
    • -0
    • +74
    /src/libchcore/TDateTime.h
Moved file filtering and file info classes to chcore library (possibly needs some more work on ATL::CTime export problem).

  1. … 19 more files in changeset.
File filter refactoring/preparation to move to chcore library.

Migrated part of file filtering class to chcore mechanisms.

Fixed problem with operator+ which required non-const input.

Moved buffer management to chcore library + some basic refactoring.

  1. … 3 more files in changeset.
Moved TBasePathData.h/cpp files to chcore library.

    • -82
    • +94
    /src/libchcore/libchcore.vc90.vcproj