task.cpp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Removed configuration option "Create log file" - most of the logging was done without taking this option into consideration.

  1. … 4 more files in changeset.
Extracted most of the basic file operations with feedback support from CustomCopyFile to separate methods.

  1. … 1 more file in changeset.
Got rid of unneeded method.

  1. … 1 more file in changeset.
Got rid of the last but one goto from code.

  1. … 1 more file in changeset.
Reduced amount of information stored in the task description files.

  1. … 5 more files in changeset.
Removed storing/loading of total size and processed size of data to/from archive.

  1. … 3 more files in changeset.
Task API improvements - added thread proc delegation function to avoid calling CTask methods with 'pTask->'.

  1. … 1 more file in changeset.
Removed option 'auto-resume on error' - wasn't really used, did not work properly.

  1. … 7 more files in changeset.
Removed functionality creating n copies of the original file - it made code more complicated, preventing core code from rewriting (hopefully nobody uses it).

  1. … 9 more files in changeset.
Corrected code formatting.

  1. … 20 more files in changeset.
Extracted operation time tracking to a local stats object.

  1. … 3 more files in changeset.
Got rid of unused error code/message field in status dialog.

  1. … 5 more files in changeset.
Bugfix: wrong calculations of the processed/total size.

  1. … 1 more file in changeset.
Removed unused code, made some order in methods' visibility (public/protected).

  1. … 2 more files in changeset.
Changed thread management code to use events and thread waitability instead of volatile bool variables.

  1. … 4 more files in changeset.
Bugfix: wrong handling of multiple input paths (task copied the first file over and over).

  1. … 3 more files in changeset.
Bugfix: dereferencing NULL pointers caused crashes and deadlocks in some cases.

  1. … 6 more files in changeset.
Removed unnecessary code (LastProcessedIndex).

  1. … 1 more file in changeset.
Second part of changes in progress management - local task stats are now separate entities and does not block other functionality.

  1. … 2 more files in changeset.
Removed unnecessary code aiding in detecting shutdown conditions for functionality "shutdown system after finished all operations".

  1. … 2 more files in changeset.
Bugfix: got rid of some deadlocks when handling progress info.

  1. … 1 more file in changeset.
Changed locking system from simple critical section in task objects (CTask, CTaskArray) to the boost::shared_lock for improved multi-threadedness and safety (might be a bit buggy though).

  1. … 18 more files in changeset.
Switched from CArray to std::vector in CTaskArray.

  1. … 11 more files in changeset.
Bugfix: Fixed serialization problem (data streams were opened in text mode instead of binary).

  1. … 1 more file in changeset.
Got rid of some goto's.

Small optimization - FILETIME no longer needs to be converted to COleDateTime when setting directory/file.

  1. … 4 more files in changeset.