TLocalFilesystemFile.cpp

Clone
Diff latest
Open in IDE
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
26 revisions
Split libchcore to several libraries (libstring, libserializer, libchengine) (CH-319)

Split libchcore to several libraries (libstring, libserializer, libchengine) (CH-319)

Revision ID:
0d5b67ee96b435d63f7bf075dc8e28603793b187
Parents:
src/libchcore/TLocalFilesystemFile.cpp baad6054459abaaf69cbfd1ebad8783085160d99
Switched attribute and file times setting (for files and directories) to use Vista win32 api where possible. Changing attributes will now open the error dialog instead of putting task in error state. Merged attributes and file times options in configuration. Fixed hangs when pausing and resuming tasks. Fixed hangs when ending operation. (CH-200)

Switched attribute and file times setting (for files and directories) to use Vista win32 api where possible. Changing attributes will now open the error dialog instead of putting task in error state. Merged attributes and file times options in configuration. Fixed hangs when pausing and resuming tasks. Fixed hangs when ending operation. (CH-200)

Revision ID:
baad6054459abaaf69cbfd1ebad8783085160d99
Parents:
src/libchcore/TLocalFilesystemFile.cpp 71bfd29bfef00738456ab96f336feeb8a02c4df6
Moved to:
src/libchengine/TLocalFilesystemFile.cpp 0d5b67ee96b435d63f7bf075dc8e28603793b187
Optimized finalizing file to not require re-opening of the destination file (CH-200)

Optimized finalizing file to not require re-opening of the destination file (CH-200)

Revision ID:
71bfd29bfef00738456ab96f336feeb8a02c4df6
Parents:
src/libchcore/TLocalFilesystemFile.cpp 38031c379667959206abe69507d8a4e3b040dba6
Added IO cancelling when handling pause/cancel operations. Added updating of dst file stats when writer finishes (based on file size at the moment). Fixed hang when reader or writer exits before getting job finished. Fixed silent resume. (CH-307)

Added IO cancelling when handling pause/cancel operations. Added updating of dst file stats when writer finishes (based on file size at the moment). Fixed hang when reader or writer exits before getting job finished. Fixed silent resume. (CH-307)

Revision ID:
38031c379667959206abe69507d8a4e3b040dba6
Parents:
src/libchcore/TLocalFilesystemFile.cpp a4635addad389b9e117679437a3e1b64a739ea96
Head on:
ParallelizeReaderWriter
Normalized line ending as specified in .gitattributes (CH-312).

Normalized line ending as specified in .gitattributes (CH-312).

Revision ID:
a4635addad389b9e117679437a3e1b64a739ea96
Parents:
src/libchcore/TLocalFilesystemFile.cpp a0de3c317cb73a42ed4efbdf29b3a87243b03df4
Fixed showing file error dialog when getting file size fails (e.g. when implicit file opening fails) (CH-197).

Fixed showing file error dialog when getting file size fails (e.g. when implicit file opening fails) (CH-197).

Revision ID:
a0de3c317cb73a42ed4efbdf29b3a87243b03df4
Parents:
src/libchcore/TLocalFilesystemFile.cpp 789d0908abf8db57e27cfeac7045d9962f4b522a
Tags:
1.44
Partial integration of opening files for write in the background (without explicit Open call) (CH-197).

Partial integration of opening files for write in the background (without explicit Open call) (CH-197).

Revision ID:
789d0908abf8db57e27cfeac7045d9962f4b522a
Parents:
src/libchcore/TLocalFilesystemFile.cpp 6b927672a652279a203f6465ead20ffb9fe6bde1
Simplified opening source file - explicit opening of source file is not needed anymore (CH-197)

Simplified opening source file - explicit opening of source file is not needed anymore (CH-197)

Revision ID:
6b927672a652279a203f6465ead20ffb9fe6bde1
Parents:
src/libchcore/TLocalFilesystemFile.cpp 1506d51ff1c0a5d156dab398051efc0c87473e81
Moved overlapped file position management to reader/writer object. Simplified buffer ordering by using file position as the ordering key (instead of artificial order id). Isolated overlapped memory management to a separate class. Simplified code responsible for retrying reads and writes. (CH-270)

Moved overlapped file position management to reader/writer object. Simplified buffer ordering by using file position as the ordering key (instead of artificial order id). Isolated overlapped memory management to a separate class. Simplified code responsible for retrying reads and writes. (CH-270)

Revision ID:
1506d51ff1c0a5d156dab398051efc0c87473e81
Parents:
src/libchcore/TLocalFilesystemFile.cpp d23ed007b8142c6faf6d8cad4a421ac243ef0146
Tags:
1.43
Head on:
ReaderWriterSplit
Fixed release version not building properly. Cleaned up unused code. (CH-270)

Fixed release version not building properly. Cleaned up unused code. (CH-270)

Revision ID:
d23ed007b8142c6faf6d8cad4a421ac243ef0146
Parents:
src/libchcore/TLocalFilesystemFile.cpp b89aea376d35ce4b0d6506f7d04dba73830d9268
Separated buffer management from overlapped queue management (CH-270)

Separated buffer management from overlapped queue management (CH-270)

Revision ID:
b89aea376d35ce4b0d6506f7d04dba73830d9268
Parents:
src/libchcore/TLocalFilesystemFile.cpp 7fd37811dbce76d429b80e4703e88925982f5859
Decoupled overlapped data buffer from buffer queue (CH-270).

Decoupled overlapped data buffer from buffer queue (CH-270).

Revision ID:
7fd37811dbce76d429b80e4703e88925982f5859
Parents:
src/libchcore/TLocalFilesystemFile.cpp f8fcbbd1d2321cf0c8be79526c449384af654e49
Added lots of logging to filesystem handling functions (CH-206)

Added lots of logging to filesystem handling functions (CH-206)

Revision ID:
f8fcbbd1d2321cf0c8be79526c449384af654e49
Parents:
src/libchcore/TLocalFilesystemFile.cpp 8068e0c351055554340ac9755d1bc846893bf2b8
Switched entire code to use nullptr instead of NULL (CH-259).

Switched entire code to use nullptr instead of NULL (CH-259).

Revision ID:
8068e0c351055554340ac9755d1bc846893bf2b8
Parents:
src/libchcore/TLocalFilesystemFile.cpp 4fe995b304ea342b50293f92d3c1992b43b820f7
Tags:
1.41 1.42
Head on:
LoggerImprovements
Fixed several cosmetic code issues. Improved detection of same/different disk detection. Switched shared_ptrs to use std implementation instead of boost one. Cleaned up includes in headers. (CH-259)

Fixed several cosmetic code issues. Improved detection of same/different disk detection. Switched shared_ptrs to use std implementation instead of boost one. Cleaned up includes in headers. (CH-259)

Revision ID:
4fe995b304ea342b50293f92d3c1992b43b820f7
Parents:
src/libchcore/TLocalFilesystemFile.cpp ad4fe0f8085b15527158073aa76eb2d9ef80b0e5
Changed remaining exceptions to use non-macro throwing (CH-219).

Changed remaining exceptions to use non-macro throwing (CH-219).

Revision ID:
ad4fe0f8085b15527158073aa76eb2d9ef80b0e5
Parents:
src/libchcore/TLocalFilesystemFile.cpp e8f31b0f922b402878356e130c866c4f3682a7f5
Tags:
1.40rc2 1.40rc3 1.40
Improved engine core exception handling - now all core exceptions have appropriate message and the details are logged into tasks' log file (CH-219).

Improved engine core exception handling - now all core exceptions have appropriate message and the details are logged into tasks' log file (CH-219).

Revision ID:
e8f31b0f922b402878356e130c866c4f3682a7f5
Parents:
src/libchcore/TLocalFilesystemFile.cpp cb4e9d4b60d62b25ae2cf556c0642601af56c787
Reduced number of errors and warnings reported by cppcheck (CH-216).

Reduced number of errors and warnings reported by cppcheck (CH-216).

Revision ID:
cb4e9d4b60d62b25ae2cf556c0642601af56c787
Parents:
src/libchcore/TLocalFilesystemFile.cpp bfc7a8378a96c5b58def559b343918fca32f05a6
Project and source files' updates to allow them to build under VS2014.

Project and source files' updates to allow them to build under VS2014.

Revision ID:
bfc7a8378a96c5b58def559b343918fca32f05a6
Parents:
src/libchcore/TLocalFilesystemFile.cpp 41383599835bbab64d854eed179a7db21a59c6bf
Changed the way attributes are retrieved for file being overwritten (CH-196).

Changed the way attributes are retrieved for file being overwritten (CH-196).

Revision ID:
41383599835bbab64d854eed179a7db21a59c6bf
Parents:
src/libchcore/TLocalFilesystemFile.cpp f49b990b02af82798b59d35fec2374d23c6bb053
Fixed problem with max simultaneous tasks being ignored when currently running task count was already greater than the limit (e.g. by forcing start of another task) (CH-176).

Fixed problem with max simultaneous tasks being ignored when currently running task count was already greater than the limit (e.g. by forcing start of another task) (CH-176).

Revision ID:
f49b990b02af82798b59d35fec2374d23c6bb053
Parents:
src/libchcore/TLocalFilesystemFile.cpp d468098a278a0d16c5b700236ea276b9c9677c9f
Changed the filesystem operations to throw exceptions instead of returning failure states (part 2) (CH-180).

Changed the filesystem operations to throw exceptions instead of returning failure states (part 2) (CH-180).

Revision ID:
d468098a278a0d16c5b700236ea276b9c9677c9f
Parents:
src/libchcore/TLocalFilesystemFile.cpp 27a43e40952cf2f3e0bb0e608a8f3142042ceb46
Changed filesystem handling error codes to exceptions (CH-180).

Changed filesystem handling error codes to exceptions (CH-180).

Revision ID:
27a43e40952cf2f3e0bb0e608a8f3142042ceb46
Parents:
src/libchcore/TLocalFilesystemFile.cpp 479ad4e8f81a68cbf6d1623cd9b1f3342d8cfdcc
Refactoring:

Refactoring:

Revision ID:
479ad4e8f81a68cbf6d1623cd9b1f3342d8cfdcc
Parents:
src/libchcore/TLocalFilesystemFile.cpp 27c262eb9cae55720e10f4886af6b5a82cb94fe9
Added the remaining functionalities of the fake filesystem (still untested) (CH-180).

Added the remaining functionalities of the fake filesystem (still untested) (CH-180).

Revision ID:
27c262eb9cae55720e10f4886af6b5a82cb94fe9
Parents:
src/libchcore/TLocalFilesystemFile.cpp 9ebcc7abf1e0e70f0db2d08b2691351a26ef259b
Refactoring - filesystem handling will now use stateful operations for easier testing (CH-180).

Refactoring - filesystem handling will now use stateful operations for easier testing (CH-180).

Revision ID:
9ebcc7abf1e0e70f0db2d08b2691351a26ef259b