Andrey Prygunkov
c7716ae9b7
#351 , #610 , e3bd94189a: fixed: remote clients not displaying current download speed
2019-02-13 18:20:04 +01:00
Andrey Prygunkov
e3bd94189a
#351 : refactor: moved changeable state into new Unit "WorkState.cpp"
...
from Unit “Options.cpp”. The latter now contains only program options
(which cannot be changed without reload).
2019-01-22 21:57:00 +01:00
Andrey Prygunkov
59cae49344
#604 : fixed LGTM alerts for C++
2019-01-19 11:55:25 +01:00
fedux
9713cbad5e
#592 : RemoteClient: Use strncpy instead of strcpy
...
Ensure that the aligned text is filled with zeroes to avoid any data
leak. Also fixed a typo.
2019-01-03 15:23:32 +01:00
Federico Cuello
4a10fdb2df
fix compile warning: -Wstringop-truncation / -Wstringop-overflow
2018-12-27 14:49:17 +01:00
Andrey Prygunkov
cac25ed290
#291 : distinguishing pp-stages par-renaming and rar-renaming
...
to better handling temporary pause.
2016-10-15 13:37:34 +02:00
Andrey Prygunkov
5948729b87
#185 : guarded containers
...
Using guarded lists to automatically unlock containers.
2016-03-18 21:45:29 +01:00
Andrey Prygunkov
1a74695126
#148 : unique smart pointers for download containers
2016-03-11 22:49:14 +01:00
Andrey Prygunkov
069350eaa3
#168 : unique smart pointers for download objects
...
… before they are put into containers.
2016-03-09 23:28:37 +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
6aead41e6f
#126 : using CharBuffer instead of raw pointers in LoadFileIntoBuffer
2016-02-23 21:59:10 +01:00
Andrey Prygunkov
c9b883f909
#168 : unique smart pointers for member fields
2016-02-17 22:03:32 +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
ef4a72d383
#152 : eliminated dereferences in for-range loops using “begin()” and “end()” template functions in “nzbget.h”
2016-01-13 19:44:40 +01:00
Andrey Prygunkov
b32b4c0691
#152 : for-range loops with iterators
2016-01-12 00:30:17 +01:00
Andrey Prygunkov
32400a810f
#143 : store download objects directly in containers
...
…where possible.
2016-01-08 22:29:44 +01:00
Andrey Prygunkov
37c126e24d
#143 : fixed file permissions in repository
2016-01-04 22:44:34 +01:00
Andrey Prygunkov
28897e4e79
#143 : store OptEntry and Category directly in containers
2016-01-04 19:42:47 +01:00
Andrey Prygunkov
dc8803d6a3
#143 : passing ids to "editqueue" as vector
...
… instead of pointer to array. And names as vector<CString> instead of
vector<char*>.
2016-01-03 20:38:52 +01:00
Andrey Prygunkov
04c3e0d263
#138 : use "nullptr" instead of "NULL"
2015-12-30 16:35:07 +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
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
4daf01e683
fixed few compiler warnings in Windows
2015-07-13 21:13:26 +02:00
Andrey Prygunkov
ec47da608f
refactor: reducing usage of "float"-type where possible
2015-06-05 11:24:05 +00:00
Andrey Prygunkov
5d24697b0c
refactor: reworked declaration of global objects (singletones)
2015-05-22 20:28:05 +00:00
Andrey Prygunkov
c808b38778
refactor: reducing module dependencies for easier testing: extracted command line parsing code from module "Options" into new module "CommandLineParser"; modules "Options" and "CommandLineParser" do not depend on other modules and can be instantiated separately; they do not immediately abort program execution on fatal errors and instead report errors via state variables
2015-05-21 10:42:18 +00:00
Andrey Prygunkov
3024d32257
fixed: command "nzbget -L H" may crash if the history contained URL-items with certain status
2015-03-27 22:50:02 +00:00
Andrey Prygunkov
1645562d78
eliminated compiler warning
2015-02-01 15:02:10 +00:00
Andrey Prygunkov
d0d59469bc
fixed: remote command "-L HA" (which prints the history including hidden records) could crash
2015-01-27 20:26:41 +00:00
Andrey Prygunkov
2388250dfa
added optional parameters to remote command "--append/-A" allowing to pass duplicate key, duplicate mode and duplicate score; removed parameters "F" and "U" of command "--append/-A", which were used to set mode (file or URL), which is now detected automatically; the parameters are still supported for compatibility
2015-01-15 18:09:37 +00:00
Andrey Prygunkov
4a11c04742
added subcommand "HA" to remote command "--list/-L" to list the whole history including hidden records
2015-01-06 20:00:22 +00:00
Andrey Prygunkov
1c00e62d3e
fixed: the "pause extra pars"-state was missing in the pause/resume-loop of curses interface, key "P"
2014-08-28 20:29:51 +00:00
Andrey Prygunkov
0d630d9ea3
when connecting in remote mode using command line parameter "--connect/-C" the option "ControlIP" is now interpreted as "127.0.0.1" if it is set to "0.0.0.0" (instead of failing with an error message)
2014-08-28 20:22:20 +00:00
Andrey Prygunkov
159340a396
fixed: remaining size and time were not printed in remote console mode (bug introduced somewhere in v13)
2014-05-19 21:28:35 +00:00
Andrey Prygunkov
bf66500aac
reworking queue (continued): merged url queue into main download queue: urls added to queue are now immediately shown in web-interface; urls can be reordered and deleted; when urls are fetched the downloaded nzb-files are put into queue at the positions of their urls; this solves the problem with fetched nzb-files ordered differently than the urls if the fetching of upper (position wise) urls were completed after of the lower urls; removed options "ReloadUrlQueue" and "ReloadPostQueue" since there are no separate url- and post-queues anymore; nzb-files added via urls have new field "URL" which can be accessed via RPC-methods "listgroups" and "history"; new env. var. "NZBNP_URL", "NZBNA_URL" and "NZBPP_URL" passed to NzbProcess, NzbAddedProcess and PostProcess-scripts; removed remote command "--list U", urls are now shown as groups by command "--list G"; RPC-method "urlqueue" is still supported for compatibility but should not be used since the urls are now returned by method "listgroups", the entries have new field "Kind" which can be "NZB" or "URL"
2014-03-18 22:35:58 +00:00
Andrey Prygunkov
8168804f05
reorganized source code directory structure: created directory 'daemon' with several subdirectories and put all source code files there
2014-02-24 22:11:14 +00:00