task.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extracted file deletion to a separate module.

  1. … 3 more files in changeset.
Extracted directory scanning and copying/moving functionality to a separate modules (cut&paste plus some adjustments).

  1. … 22 more files in changeset.
Moved TConfig class to libchcore library.

  1. … 26 more files in changeset.
Refactoring: moved filters storage from serialization file to task definition file.

  1. … 8 more files in changeset.
Improved TSmartPath by adding more operations to it (with usage).

  1. … 6 more files in changeset.
Moved some filesystem accessing functions from CFileInfo to CTask.

  1. … 3 more files in changeset.
Refactoring: got rid of the CClipboardArray and CClipboardEntry in favor of TBasePathDataContainer and TBasePathData objects which are linked to input paths only by index (instead of being itself a copy of the input path with some additions).

  1. … 7 more files in changeset.
Refactoring: increased usage of TSmartPath objects throughout the code.

  1. … 14 more files in changeset.
Added two new task options to allow changing the generated name for the file in case copy is done inside single directory.

  1. … 9 more files in changeset.
Got rid of CDestPath class in favor of more general TSmartPath.

  1. … 17 more files in changeset.
Replaced locking in some places with exception-aware versions.

  1. … 7 more files in changeset.
Redesigned configuration management a bit:

  1. … 9 more files in changeset.
Got rid of global config usage in task processing - replaced with local task config.

  1. … 6 more files in changeset.
Completely separated task definition from the partial task progress information:

  1. … 13 more files in changeset.
Rewritten configuration system to use boost::property_tree (to allow easy embedding parts of configuration in task definition).

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

  1. … 1 more file in changeset.
Some fixes reported by prefast.

  1. … 3 more files in changeset.
Moved some task configuration options from deprecated class TTaskBasicConfiguration to the task definition object, removed TTaskBasicConfiguration class.

  1. … 3 more files in changeset.
Removed 'advanced' button from status dialog (along with rename input paths functionality which was rather useless).

  1. … 18 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).

  1. … 2 more files in changeset.
Got rid completely of the old status flags by moving some task configuration settings to a separate class.

  1. … 2 more files in changeset.
Extracted the sub-operation information from status flags to separate object.

  1. … 1 more file in changeset.
Rewritten part of the main processing thread method to not use exceptions to signalize pausing, cancelling, error and kill requests.

  1. … 3 more files in changeset.
Added missing serialization for the newly added operation type.

Separated operation type performed by task from the other flags.

  1. … 3 more files in changeset.
Various cleanups - removed unneeded variables, cleaned up code.

  1. … 2 more files in changeset.
Separated task state from other flags (i.e. subtask and task options).

  1. … 4 more files in changeset.
Got rid of additional read request at the end of file when previous read gave info about EOF.

Small cleanups in code.

  1. … 2 more files in changeset.
Rewritten part of the copy engine responsible directly for copying single file:

  1. … 5 more files in changeset.