Andrey Prygunkov
f8f9dd2b6d
#720 : fixed file allocating
...
on file systems where sparse files are not supported
2020-11-01 16:59:38 +01:00
Andrey Prygunkov
414ffcbc35
#688 : always using dirbrowser snapshot
...
to fix issues with leftovers on cleanup
2020-05-21 18:42:42 +02:00
Andrey Prygunkov
0709f248ee
#435 : fixed warnings in 64 bit mode on Windows
2017-08-30 22:22:29 +02:00
Andrey Prygunkov
015b3be461
#371 : better cleanup on cancelling unpack
...
Deleting destination if it contains only hidden files.
2017-05-18 22:00:45 +02:00
Andrey Prygunkov
08de827d7b
refactor: removed unneeded type casts
2017-05-18 18:43:08 +02:00
Andrey Prygunkov
d1bda91954
refactor: removed one override for FileExists
2017-05-17 21:26:27 +02:00
Andrey Prygunkov
709c9856c9
#288 : reading rar3-files
2016-09-24 22:39:45 +02:00
Andrey Prygunkov
3d577777bb
#136 : improved error reporting on certain file operations
2016-07-29 16:45:15 +02:00
Andrey Prygunkov
a0e9c537a3
fixed #247 : root drive paths on Windows
...
.. could not be used (for example “NzbDir=N:\”).
2016-07-29 16:22:11 +02:00
Andrey Prygunkov
62cd5c776c
#227 : fixed check for reserved characters in file names (Windows)
2016-07-03 12:47:53 +02:00
Andrey Prygunkov
7dffe6f502
#210 , #234 : corrected file name cleanup
2016-06-28 21:00:43 +02:00
Andrey Prygunkov
a59b29c731
#210 : auto adjusting file names with reserved words
...
… by prepending an underscore; with special support in par2-module.
2016-04-26 23:24:40 +02:00
Andrey Prygunkov
65398ac55f
#210 : support file names with reserved words on Windows
...
… using extra long path notation.
2016-04-26 19:47:50 +02:00
Andrey Prygunkov
b82cc06789
#205 : retry failed articles
...
- new action in history dialog: retry failed articles;
- new command “HistoryRetryFailed” of RPC-method “editqueue”;
- new subcommand “F” of command line switch “-E/--edit” for history.
2016-04-21 22:14:12 +02:00
Andrey Prygunkov
3278544d46
#195 : preallocate files without sparse on Windows
...
Reduce disk fragmentation in direct write mode on Windows when using
article cache.
2016-03-29 18:51:08 +02:00
Andrey Prygunkov
1e59b9976a
#136 , #127 : forcing extended paths with unrar (Windows)
...
Instead of using extended (extra long) path notation only if the path
is really long, we now always use extended notation since we don’t know
how long the paths inside archive are.
2016-03-22 18:25:42 +01:00
Andrey Prygunkov
b4a6b3954d
fixed #180 : could not delete intermediate directory (Windows)
2016-03-03 17:51:03 +01:00
Andrey Prygunkov
f3f7fbd0de
#176 : updated copyright notice in source files
...
- added link to http://nzbget.net ;
- replaced FSF Post address with a web link;
- removed unusable subversion-tags;
- updated year.
2016-03-01 19:45:07 +01:00
Andrey Prygunkov
bfa5027bf9
#175 : in-class member initializers
2016-02-28 19:53:37 +01:00
Andrey Prygunkov
7fc6d9e99e
#172 : moved class WString to NString.cpp
2016-02-26 23:18:35 +01:00
Andrey Prygunkov
6aead41e6f
#126 : using CharBuffer instead of raw pointers in LoadFileIntoBuffer
2016-02-23 21:59:10 +01:00
Andrey Prygunkov
2b840315b0
#126 : d87d6ac2ac: fixed: exe path could be determined incorrectly
2016-02-19 22:17:12 +01:00
Andrey Prygunkov
74f2ab8963
#162 : removed support for multiple paths
...
in options “DestDir” and “CategoryX.DestDir”.
2016-02-02 21:38:45 +01:00
Andrey Prygunkov
00d81795e9
#162 : combining free space on all paths of "DestDir"
...
1) When checking free space (option “DiskSpace”) the total free size of
directories in “DestDir” is checked;
2) Web-interface shows the total free size of all directories.
2016-02-01 00:36:59 +01:00
Andrey Prygunkov
b7d785797f
#136 : fixed: root drive paths sometimes unusable on Windows
...
Paths like “C:\” were sometimes not usable.
2016-01-29 22:34:37 +01:00
Andrey Prygunkov
72370c9c71
#126 : fixed memory access error
2016-01-22 00:36:04 +01:00
Andrey Prygunkov
8f84132218
#156 : new class "CharBuffer" for temporary buffers
...
Replaced everywhere plain “char”-buffers with new class. Avoid using
“malloc/free”.
2016-01-17 00:06:27 +01:00
Andrey Prygunkov
17024eb0e5
#126 : replaced "char*" with "CString" at few more places
2016-01-16 16:31:45 +01:00
Andrey Prygunkov
be852d0a9b
#143 : using <CString> instead of <char*> in containers
2016-01-03 19:58:11 +01:00
Andrey Prygunkov
04c3e0d263
#138 : use "nullptr" instead of "NULL"
2015-12-30 16:35:07 +01:00
Andrey Prygunkov
3aa97e44e7
#136 : adjustment in par2-module
...
using built-in latin1-to-utf8 conversion routine instead of Windows
function (which depend on current code page).
2015-12-29 23:44:22 +01:00
Andrey Prygunkov
a9181d8a56
#136 : support for extra long UNC paths
2015-12-29 20:47:30 +01:00
Andrey Prygunkov
df68fd52c8
#131 : better support for UNC paths on Windows
...
fixed: automatic creation of directories didn't work if the last existed
directory in the path was the network share itself.
2015-12-29 20:34:14 +01:00
Andrey Prygunkov
65f2a0afe3
#136 : support for Unicode and extra long paths in par2-module
...
- par-renamer and par-checker both support Unicode paths and extra long
paths;
2015-12-29 01:54:19 +01:00
Andrey Prygunkov
6292ad5394
#131 : fixed incorrect return value of "Seek"
2015-12-29 01:17:12 +01:00
Andrey Prygunkov
449a048304
#136 : made class WString public for use from other modules
2015-12-28 14:45:01 +01:00
Andrey Prygunkov
e11dfb62d0
#136 : Unicode-Windows-API for file operations
...
- internally all paths are handled in UTF8;
- all paths are stored in config-file in UTF8;
- when calling file access Windows API functions the paths are
converted to wide-chars and Unicode-API is used;
- extra long paths are prefixed with “\\?\” (extended path format).
2015-12-28 10:56:11 +01:00
Andrey Prygunkov
c68ba306fe
#131 : using enum for file mode in function DiskFile::Open
2015-12-26 17:19:12 +01:00
Andrey Prygunkov
6840ef4439
#131 : routing a few more remaining function calls through module "FileSystem"
...
“rename”, “remove” and “rmdir”.
2015-12-25 22:55:46 +01:00
Andrey Prygunkov
dce6f0c9a3
#131 : new class DiskFile to wrap "FILE*"-functions
2015-12-25 18:11:50 +01:00
Andrey Prygunkov
eae6fd5d91
#131 : wrapped function "remove" into module FileSystem
...
under name “DeleteFile”.
2015-12-24 18:34:15 +01:00
Andrey Prygunkov
321c7efa41
#130 : moved parts from module "Util" into new module "FileSystem"
2015-12-22 22:01:03 +01:00