Andrey Prygunkov
0522b5f49d
#694 : support new error messages in unrar 5.80
2020-04-20 21:03:56 +02:00
Federico Cuello
1f89c037b9
fix compile warning: -Wunused-variable
...
Don't define variables only used for debuggin when debug is not enabled.
2018-12-21 15:01:00 +01:00
Andrey Prygunkov
758ce4047b
#525 : force par-check for nzbs without archives
2018-06-19 22:37:45 +02:00
Andrey Prygunkov
d9cb0026bd
#498 : case insensitive pp-parameters
2018-01-25 17:38:35 +01:00
Andrey Prygunkov
cdc5c5515f
fixed #412 : unpack using password file doesn't work on Windows
...
Also added more debug output for future use.
2017-07-12 20:48:59 +02:00
Andrey Prygunkov
92db424ce0
#405 : safety check for presence of unpacked files
...
Before trying to reuse them in default unpack module.
2017-07-01 22:32:11 +02:00
Andrey Prygunkov
486b9d7d2b
#405 : discard info about extracted archives
...
if found archive files not processed by direct unpack; to prevent
reusing on next unpack attempt
2017-06-30 17:36:19 +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
d3362f9280
#371 : detect not unpacked archives
...
Detect not unpacked archives which may appear after rar-rename and
unpack them during post-processing.
2017-05-12 18:37:15 +02:00
Andrey Prygunkov
61af2b3446
#371 : integrated direct unpack into pp-workflow
2017-05-05 21:57:52 +02:00
Andrey Prygunkov
160b274ce8
#371 : new module "DirectUnpack"
...
without implementation and with a new failing unit test.
2017-05-03 21:30:35 +02:00
Andrey Prygunkov
3ae1be1ca4
#294 : handling of incomplete obfuscated rar-archives
...
and special file extensions; new option “UnpackIgnoreExt” honored by
rar-renamer and unpacker.
2016-10-16 13:21:58 +02:00
Andrey Prygunkov
99fcd164ac
#291 : smoother transition between pp-stages
...
without intermediate “pp-queued” state shown in web-interface
2016-10-13 00:07:44 +02:00
Andrey Prygunkov
ed4761db37
#288 : unit and functional tests for encrypted rar files
2016-09-30 19:32:55 +02:00
Andrey Prygunkov
db7bc4314f
#288 : rar-rename as a separate post-processing stage
...
Made rar-rename a separate post-processing stage which runs after
par-repair, in order to restore archive file names after possible
repair stage (which could rename files back to obfuscated names if
rar-rename were run before par-repair).
2016-09-28 22:22:18 +02:00
Andrey Prygunkov
788d8d1f42
#210 : validate and adjust file names after unpack
...
… and when moving from intermediate to final directory.
2016-04-26 23:56:50 +02:00
Andrey Prygunkov
680171bd88
fixed #201 : splitted files were not always joined
2016-04-12 18:30:25 +02:00
Andrey Prygunkov
44cf69b093
107: refactor: removed function "SetScript()" from Script-class
...
use SetArgs() instead.
2016-03-27 18:24:13 +02:00
Andrey Prygunkov
d348929ff0
#162 : fixed: unpack destination path were not correct
...
if multiple unpack attempts were needed.
2016-03-24 21:16:42 +01: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
5948729b87
#185 : guarded containers
...
Using guarded lists to automatically unlock containers.
2016-03-18 21:45:29 +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
b414526d02
#172 : using vector of strings in script controller
...
instead of dynamic array of c-style strings
2016-02-25 19:27:24 +01:00
Andrey Prygunkov
548753aa69
#172 : using vector of strings in SplitCommandLine
...
instead of dynamic array of c-style strings.
2016-02-23 22:07:30 +01:00
Andrey Prygunkov
c1ac38d10b
#162 : multiple destination paths for categories
...
in option “CategoryX.DestDir”.
2016-01-30 18:32:29 +01:00
Andrey Prygunkov
ff69fbbeb9
#136 : avoid double slashes in paths
...
Extra long path names are not normalized automatically by Windows and
therefore must contain paths in canonical form.
2016-01-23 14:23:53 +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
be852d0a9b
#143 : using <CString> instead of <char*> in containers
2016-01-03 19:58:11 +01:00
Andrey Prygunkov
3e89638b39
refactor: replaced "time(NULL)" with an utility function
2016-01-01 14:57:48 +01:00
Andrey Prygunkov
04c3e0d263
#138 : use "nullptr" instead of "NULL"
2015-12-30 16:35:07 +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
a9847831a5
#136 : extra long paths with unrar
...
- pass extra long paths to unrar using “\\?\” prefix (and in Unicode).
2015-12-28 11:02:20 +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
Andrey Prygunkov
19ce3bf69b
#130 : improved class DirBrowser
...
It doesn’t return filenames ‘.’ and ‘..’ (for current and parent
directories) anymore, eliminating the need to check and ignore these
names on each usage of the class.
2015-12-21 20:54:21 +01:00
Andrey Prygunkov
99d8cee0db
#126 : class BString supports initialization via assignment
...
which makes the code clearer.
2015-12-20 23:46:22 +01:00
Andrey Prygunkov
d87d6ac2ac
#126 : using CString for ref-parameters and return values
...
1) for parameters use references to CString instead of pointers to
buffers;
2) when returning strings use CString instead of pointer to char buffer
which caller needs to deallocate;
3) use BString even more.
2015-12-20 16:27:01 +01:00
Andrey Prygunkov
9e2d8544da
#126 : full use of class BString
...
1) replaced characters arrays with class BString through the whole
program. The string formatting code has become much cleaner.
2) class Util returns error message via CString instead of character
buffers.
3) few more places to use CString.
2015-12-19 18:43:52 +01:00
Andrey Prygunkov
4e4816c3c8
#116 : use size specific integer types
2015-11-21 00:02:22 +01:00
Andrey Prygunkov
ec17d119a1
#115 : put all external headers together
...
into “nzbget.h”
2015-11-19 23:51:02 +01:00
Andrey Prygunkov
70ccfd9802
normalized whitespace formatting
...
1) removed trailing spaces and tabs;
2) replaced occasional leading spaces with tabs.
2015-11-05 23:45:19 +01:00
Andrey Prygunkov
a9a6f1e2d4
#103 : manual corrections of variable names
2015-11-03 23:33:21 +01:00
Andrey Prygunkov
bf49f16d7c
#103 : renamed global variables
2015-11-01 21:42:35 +01:00
Andrey Prygunkov
1fb21b330e
#103 : normalized (renamed) acronyms
2015-10-30 23:54:37 +01:00
Andrey Prygunkov
5adb50274e
#103 : renamed local, member variables and function parameters
2015-10-27 22:37:23 +01:00
Andrey Prygunkov
6ac82f03d8
#64 : refactor: extracted classes from module "Unpack" into new module "Cleanup"
2015-08-01 00:20:31 +02:00
Andrey Prygunkov
332647c296
#54 : corrected message text
2015-07-11 12:58:13 +02:00