CopyHandler

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleaned up and normalized projects settings.

Cleaned up and normalized project settings.

    • -11
    • +1
    /ext/libicpf/src/libicpf/libicpf.vc90.vcproj
Cleaned up and normalized settings in projects.

    • -1
    • +5
    /src/ictranslate/ictranslate.vc90.vcproj
Cleaned up and normalized settings in projects.

Cleaned up and normalized settings in projects.

Bugfix: task stopping (pause/cancel/kill) did not work properly when in copy files phase.

Some fixes reported by prefast.

Bugfix: importing paths from file didn't work properly (untested).

Cosmetic changes - improved const correctness in various places.

Moved some task configuration options from deprecated class TTaskBasicConfiguration to the task definition object, removed TTaskBasicConfiguration class.

Removed 'advanced' button from status dialog (along with rename input paths functionality which was rather useless).

  1. … 4 more files in changeset.
Renamed two of the almost-obsolete classes so their naming does not collide with the names of classes partially introduced into the project (and to allow for project to be build correctly).

Added new files to project.

Added some boost elements to stdafx.h.

Added second batch of new classes related to separating subtasks - many only partially implemented or having only a file holder created.

    • -0
    • +37
    /src/ch/TSubTaskBase.cpp
    • -0
    • +45
    /src/ch/TSubTaskBase.h
    • -0
    • +36
    /src/ch/TSubTaskContext.cpp
    • -0
    • +54
    /src/ch/TSubTaskContext.h
    • -0
    • +24
    /src/ch/TSubTaskCopyMove.cpp
    • -0
    • +26
    /src/ch/TSubTaskCopyMove.h
    • -0
    • +25
    /src/ch/TSubTaskDelete.cpp
    • -0
    • +27
    /src/ch/TSubTaskDelete.h
    • -0
    • +25
    /src/ch/TSubTaskScanDirectory.cpp
    • -0
    • +40
    /src/ch/TSubTaskScanDirectory.h
    • -0
    • +223
    /src/ch/TTaskConfiguration.cpp
    • -0
    • +193
    /src/ch/TTaskConfiguration.h
    • -0
    • +98
    /src/ch/TTaskDefinition.cpp
    • -0
    • +96
    /src/ch/TTaskDefinition.h
First batch of changes related to make subtasks self-contained - added TOperationPlan class along with classes related to progress tracking.

    • -0
    • +252
    /src/ch/TSubTaskProgressInfo.cpp
    • -0
    • +97
    /src/ch/TSubTaskProgressInfo.h
    • -0
    • +102
    /src/ch/TTaskOperationPlan.cpp
    • -0
    • +94
    /src/ch/TTaskOperationPlan.h
    • -0
    • +125
    /src/ch/TTaskProgressInfo.cpp
    • -0
    • +124
    /src/ch/TTaskProgressInfo.h
Moved auto handles to separate file (to clean up task.h/cpp).

    • -0
    • +131
    /src/ch/TAutoHandles.h
Got rid completely of the old status flags by moving some task configuration settings to a separate class.

Extracted the sub-operation information from status flags to separate object.

Rewritten part of the main processing thread method to not use exceptions to signalize pausing, cancelling, error and kill requests.

Reduced count of data stored in serialization files for destination path object.

Bugfix: Fixed potential problem with constant re-reading drive id.

Added missing serialization for the newly added operation type.

Separated operation type performed by task from the other flags.

Various cleanups - removed unneeded variables, cleaned up code.

Separated task state from other flags (i.e. subtask and task options).

Got rid of additional read request at the end of file when previous read gave info about EOF.

Removed 3 not implemented (anymore) configurations settings:

Small cleanups in code.

Rewritten part of the copy engine responsible directly for copying single file: