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
Federico Cuello
20036b73b8
fix compile warning: -Wformat
...
Use macros defined in inttypes.h for the proper format for 64 bit types
and fall-back to previously define format when inttypes.h is not
available.
2018-12-21 14:56:55 +01:00
Andrey Prygunkov
5b3372107d
#461 : removed option "AccurateRate"
2017-10-29 12:43:06 +01:00
Andrey Prygunkov
0709f248ee
#435 : fixed warnings in 64 bit mode on Windows
2017-08-30 22:22:29 +02:00
Andrey Prygunkov
dd4df8b734
#99 : separate quota reached flag
...
- using separate “quota reached”-flag instead of changing global pause
state;
- new field “QuotaReached” in RPC-method “Status”.
2016-04-15 20:47:04 +02:00
Andrey Prygunkov
a97cb4c61e
#99 : download volume quota
...
- new options “MonthlyQuota”, “QuotaStartDay”, “DailyQuota”;
- downloading is paused when quota is reached;
- new fields in RPC-method “status”: MonthSizeLo, MonthSizeHi,
MonthSizeMB, DaySizeLo, DaySizeHi, DaySizeMB. MonthSizes are related to
current billing month taking option “QuotaStartDay” into account;
- download volume for “this month” shown in web-interface in statistics
dialog shows data for current billing month (taking option
“QuotaStartDay” into account);
- scheduler task “UnpauseDownload” is ignored if the download was
paused due to quota.
2016-04-12 18:52:09 +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
f973388879
#185 : use guards with private mutexes
...
Use guard objects to automatically unlock private mutexes when leaving
current scope.
2016-03-16 22:37:19 +01:00
Andrey Prygunkov
39cf412938
#184 : easier use of Debuggable class
2016-03-13 00:08:31 +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
b32b4c0691
#152 : for-range loops with iterators
2016-01-12 00:30:17 +01:00
Andrey Prygunkov
6885082299
#143 : store volume stat objects directly in container
2016-01-05 18:57:15 +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
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
ecc7fc9695
#126 : extended string classes
...
- Append/AppendFmt-methods;
- CString stores length internally for faster appends;
- removed class StringBuilder, replaced usages with CString;
- binding to existing C-style null-terminated strings with methods
Bind/Unbind.
2015-12-13 16:02:57 +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
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
c93c0e9dce
#41 : removed spinlocks support
2015-07-17 23:43:53 +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
6c7a1b5697
improved the quality of speed throttling when a speed limit is active
2015-03-21 16:12:01 +00:00
Andrey Prygunkov
e9a7c2f184
fixed possible crash when using remote command "-B dump" to print debug info
2015-01-24 19:25:43 +00:00
Andrey Prygunkov
0d6fe32246
to detect daylight saving activation/deactivation the time zone information is now checked every minute if a download is active or once in 3 hours if the program is in stand-by; these delays should work well with hibernation mode on synology)
2014-06-12 20:57:00 +00:00
Andrey Prygunkov
cad28b9fd5
addition to r990: fixed: download speeds above approx. 70 MB/s were not indicated correctly in web-interface and by RPC-method "status"
2014-04-15 16:04:18 +00:00
Andrey Prygunkov
ced444282f
fixed: download speeds above approx. 70 MB/s were not indicated correctly in web-interface and by RPC-method "status"
2014-04-14 19:47:18 +00:00
Andrey Prygunkov
a83dbccc6c
changed the way option "ContinuePartial" works: now the information about completed articles is stored in a special file in QueueDir; when option "DirectWrite" is active no separate flag-files per article are created in TempDir; the file contains additional information, which were not stored/available before; fixed: per-server/per-nzb article completion statistics could be inaccurate for nzb-files whose download were interrupted by reload/restart; per-server/per-nzb article completion statistics are now available via RPC-method "listgroups" for active downloads (not only for "history")
2014-04-10 20:06:55 +00:00
Andrey Prygunkov
178e987650
fixed: seconds/minutes/hours slots of volume statistics could be incorrectly cleared on program start due to time zone offset not yet initialized at the time the volume data was loaded
2014-04-09 21:09:45 +00:00
Andrey Prygunkov
160d098510
extended data volume statistics dialog with numbers for current day, month, all-time total and custom counter; the custom counter can be manually reset; new fields in the result of RPC-method "servervolumes"; new RPC-method "resetservervolume"
2014-04-04 20:44:46 +00:00
Andrey Prygunkov
fd7508f152
better handling of backwards system clock changes in data volume meter
2014-04-03 20:21:59 +00:00
Andrey Prygunkov
1de995f9d5
better handling of incorrect system clock date (such as 01-01-2000) in data volume meter
2014-04-02 20:56:11 +00:00
Andrey Prygunkov
47fbe6423e
added collecting of download volume statistics data per news server; in web-interface the data is shown as chart in "Statistics and Status" dialog; new RPC-method "servervolumes" returns the collected data
2014-04-01 21:06:31 +00:00
Andrey Prygunkov
d89036f9f3
1) the current time zone is now determined once on program start and if a clock adjustment is detected using system function "localtime"; the function "localtime" is no longer constantly used by the scheduler; this should solve the hibernation problem on synology NAS, even when task scheduler is used; 2) fixed: RSS feed preview dialog displayed slightly incorrect post ages because of the wrong time zone conversion
2014-03-21 21:35:32 +00:00
Andrey Prygunkov
998cb16bfa
added new files
2014-03-20 21:44:00 +00:00