Andrey Prygunkov
0432cf13d3
#715 : improved reporting for binding errors
...
on Windows
2021-04-23 20:24:42 +02:00
Andrey Prygunkov
7ff3251dcf
#682 : allow special characters in URL for username and password
2021-04-21 20:20:21 +02:00
Captain Trips
6bbfb6b7b7
#736 : cast time_t to int for printf ( #742 )
...
This fixes crashes on systems with 64-bit time_t.
2021-04-20 23:56:23 +02:00
Andrey Prygunkov
f02bbbefd7
#725 : set SameSite attribute for cooikes
2021-04-19 20:45:04 +02:00
Andrey Prygunkov
4d19c899bd
#749 , #688 : fixed crash on windows
2021-04-18 21:36:53 +02:00
Lucas Held
6dbe6edbab
#739 : fixed processing of group command in nserv
2021-04-15 01:43:29 +02:00
Andrey Prygunkov
1ee8e02586
#745 : fixed crash caused by malformed nzb files
...
: for file elements not having subject attribute a (somewhat) random
subject is generated and is used as file name; correct file names are
read from articles later anyway
2021-04-15 01:26:36 +02:00
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
0522b5f49d
#694 : support new error messages in unrar 5.80
2020-04-20 21:03:56 +02:00
Disconnect3d
575b823758
#679 : fix strncasecmp size parameter off by ones
2020-04-20 19:36:01 +02:00
Andrey Prygunkov
a124a91a84
fixed #693 : negative values for "FileSizeLo" in JSON-RPC
2020-04-20 19:32:15 +02:00
Andrey Prygunkov
81aa56324f
#635 : fixed PC sleep mode not working (Windows only)
2019-05-09 23:20:00 +02:00
Andrey Prygunkov
d6e8f67927
#622 , #135 , ff69fbbeb9: fixed trimming of relative paths in config
2019-04-07 15:56:31 +02:00
Andrey Prygunkov
15f4955f38
#620 : wildcards in option AuthorizedIP
2019-03-10 21:52:08 +01:00
Andrey Prygunkov
aac98b53ee
#621 : fixed: remote server could crash when feed with invalid api request
2019-03-10 13:54:53 +01:00
Andrey Prygunkov
c7716ae9b7
#351 , #610 , e3bd94189a: fixed: remote clients not displaying current download speed
2019-02-13 18:20:04 +01:00
Andrey Prygunkov
e07a6b9443
#351 : sleep longer in frontend when console window is hidden
...
(only in Windows app)
2019-02-09 09:45:38 +01:00
Joe Groocock
fa57474d78
#608 , #607 : fix compilation with OpenSSL no-comp
2019-02-03 22:01:43 +01:00
Andrey Prygunkov
82dfec471b
#351 : sleep longer in curses frontend
...
This reduces CPU usage, especially in idle.
2019-02-02 14:55:08 +01:00
Andrey Prygunkov
3a5bc85962
#351 : notify about url or nzb returned to queue
...
from history.
2019-01-26 21:09:48 +01:00
Andrey Prygunkov
25dc60e71f
#351 : sleep longer in queue coordinator
...
Up to 2 second when queue is empty or downloads are paused.
2019-01-26 18:58:09 +01:00
Andrey Prygunkov
855f3e8649
#351 : sleep longer in feed coordintator
...
up to 60 seconds.
2019-01-26 18:54:52 +01:00
Andrey Prygunkov
bdc7ba38db
#351 : sleep longer in disk service
...
If there are no active downloads the disk service can now sleep for 10
seconds instead of 1.
2019-01-26 18:17:36 +01:00
Andrey Prygunkov
89427f42ce
#351 : "WorkState" is now observable
2019-01-26 18:16:17 +01:00
Andrey Prygunkov
a665dc5375
fixed compiler warning
...
'register' storage class specifier is deprecated and incompatible with
C++17
2019-01-26 16:33:30 +01:00
Andrey Prygunkov
adf3e05e1d
#351 : refactor: utility function "Sleep"
...
to replace direct calls to “usleep”, with parameter in milliseconds
instead of microseconds.
2019-01-22 22:23:40 +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
bb1cb68653
#351 : sleep longer in queue coordinator
...
In idle sleeps for 0.5 sec. Wake up immediately when a new item is
added to queue. Waking up from paused queue can take longer (up to 0.5
sec).
2019-01-22 18:32:34 +01:00
Andrey Prygunkov
e91f37d566
#351 : protect vars depended on condition
...
to avoid race conditions and lock ups
2019-01-22 00:11:13 +01:00
Andrey Prygunkov
57f4d2864b
#351 : refactor: use same name for cond var and mutex
2019-01-21 23:40:12 +01:00
Andrey Prygunkov
05c841880f
#593 : 794f240f48: fixed potential lock up
...
due to race condition
2019-01-21 21:39:58 +01:00
Andrey Prygunkov
92828acab0
#351 : reworked timed services
...
Now sleeping much longer, up to next scheduled work, instead of often
wake ups to check if the work needs to be performed. This improves CPU
usage in idle.
2019-01-21 21:21:16 +01:00
Andrey Prygunkov
137c936830
#351 : full pausing UrlCoordinator in idle
...
UrlCoordinator is now completely paused (waits without wake ups) when
there are no work for it.
2019-01-19 23:42:57 +01:00
Andrey Prygunkov
4826f04778
#351 : corrected formatting
2019-01-19 23:40:26 +01:00
Andrey Prygunkov
59cae49344
#604 : fixed LGTM alerts for C++
2019-01-19 11:55:25 +01:00
Andrey Prygunkov
adf7ec225b
#362 : save ParSetId into disk state
...
That’s needed to make direct rename work properly if the program was
reloaded in the middle of direct rename download process.
2019-01-17 19:45:59 +01:00
Andrey Prygunkov
d15722c72d
#595 : save original file name into disk state
2019-01-17 19:42:41 +01:00
Andrey Prygunkov
0776c6b057
#595 : check original file names when looking for splitted fragments
2019-01-17 00:28:55 +01:00
fedux
8a59079627
#600 : fixed deprecated OpenSSL calls
...
Since OpenSSL 1.1.0 we have:
- ERR_remove_thread_state, ERR_remove_state: "They are now deprecated
and do nothing".
- ASN1_STRING_data: "This function is deprecated: applications should
use ASN1_STRING_get0_data() instead".
2019-01-15 21:20:59 +01:00
Andrey Prygunkov
491d816bff
#591 : save only changed queue data during downloading
...
This is a speed optimisation for large queue.
2019-01-14 17:53:51 +01:00
Andrey Prygunkov
6dfe17c1d8
#597 : c2b93c588b: slightly simplified code
2019-01-13 19:37:46 +01:00
Andrey Prygunkov
f3cf9317a6
#591 : avoid superfluous savings of queue
2019-01-13 00:39:42 +01:00
Andrey Prygunkov
b0356d88d6
#591 : use local buffer for formatting during saving disk state
...
This improves performance with large queue by avoiding many memory
allocations.
2019-01-12 21:47:56 +01:00
Andrey Prygunkov
c0d7a15afa
#591 : string format functions return new length
2019-01-12 21:43:33 +01:00
Andrey Prygunkov
fbfa793b20
#591 : improved error reporting for queue disk state corruption
2019-01-12 19:48:44 +01:00
Andrey Prygunkov
a329c65eb3
#351 : pause article cache loop when cache is empty
...
to improve CPU usage when idle
2019-01-11 21:52:45 +01:00
Andrey Prygunkov
a5f2c1c7c5
#597 : 49e8fea0e2: use std::thread instead of platform implementation
2019-01-07 19:02:18 +01:00
Andrey Prygunkov
e2ea481799
#590 : fixed compiler warning on MSVC
2019-01-07 18:53:49 +01:00
Andrey Prygunkov
c2b93c588b
#597 : use std::mutex and std::condition_variable on all platforms
...
wrapped them in custom classes for easier replacements, just in case.
2019-01-07 18:52:19 +01:00