task.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved subtask handling to chcore library.

  1. … 24 more files in changeset.
Moved to chcore: task's configuration management, filesystem management, stats management and progress management.

  1. … 38 more files in changeset.
Moved buffer management to chcore library + some basic refactoring.

  1. … 17 more files in changeset.
Bugfix: exiting CH while copying data caused status to be changed to finished; this prevented auto-resuming at the next launch.

Merged checking for free space with copy/move subtask.

  1. … 11 more files in changeset.
Replaced buffer type detection algorithm with the one that should work reliably on any system.

  1. … 12 more files in changeset.
Bugfix: file informations were stored in file even when searching for files.

Possible fix for problem with activation context when launching CH (exception thrown from CMainWnd::OnCreate() caused Create() to fail).

  1. … 30 more files in changeset.
Increased usage of TSmartPath and TString.

  1. … 9 more files in changeset.
Added new string class (TString) along with exportable containers for them, that will help solving problem of non-exportable std::wstring (and lack of CString at some places in code).

  1. … 54 more files in changeset.
Moved TaskDefinition and OperationPlan to libchcore (advances [#2544046]).

  1. … 22 more files in changeset.
Added preliminary command-line option '--ImportTaskDefinition' - currently works only when launching first instance of CH (advances [#2544046]).

  1. … 12 more files in changeset.
Formatting fixes.

  1. … 16 more files in changeset.
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.