Andrey Prygunkov
855f3e8649
#351 : sleep longer in feed coordintator
...
up to 60 seconds.
2019-01-26 18:54:52 +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
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
4826f04778
#351 : corrected formatting
2019-01-19 23:40:26 +01:00
Andrey Prygunkov
43c9bb78f3
#597 : use ConditionVar instead of std:condition_variable
2019-01-06 13:14:56 +01:00
Andrey Prygunkov
32a6bf18ad
#597 : reverted changes to Thread-unit
...
Due to compatibility issues on older platforms (issues discovered on
ARMv7 with GCC 5.2 but may not be limited to this platform) the usage
of C++11 thread- and synchronisation facilities has been reverted to
previous custom OS-specific implementation.
2019-01-06 12:50:28 +01:00
Federico Cuello
85995ad56f
Pause FeedCoordination::Run thread for 1 sec using condition variables
...
Loop every second waiting on a condition variable to reduce the number
of CPU wake ups and keep responsiveness.
2019-01-03 12:30:34 +01:00
Federico Cuello
c93eb2087f
fix compile warning: -Wreorder
...
Declare variables in the right order to avoid this warning.
2018-12-21 15:06:50 +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
93ad31b9d8
#541 : preserving age and size info for urls from feed
...
and showing it in history of webui
2018-07-10 20:12:51 +02:00
Andrey Prygunkov
14c5a1caf7
#541 : delayed fetching of nzbs added via urls
2018-07-07 18:16:40 +02:00
Andrey Prygunkov
6f9fb29595
#466 : removed less useful debug messages
2017-11-06 22:20:03 +01:00
Andrey Prygunkov
07c54740a7
#461 : removed option "TerminateTimeout"
...
No thread killing anymore. Hanging downloads are gracefully cancelled
after timeout set in “ArticleTimeout” or “UrlTimeout”.
2017-10-29 12:34:16 +01:00
Andrey Prygunkov
af111adbde
#461 : removed options "SaveQueue" and "ReloadQueue"
2017-10-28 16:17:45 +02:00
Andrey Prygunkov
15c292653e
#458 : compiling without libxml2 to test dev environment
...
new configure-parameter “--disable-libxml2”.
2017-10-22 23:52:13 +02:00
Andrey Prygunkov
e9926d92e0
fixed compiler warnings
2017-10-09 13:35:43 +02:00
Andrey Prygunkov
0709f248ee
#435 : fixed warnings in 64 bit mode on Windows
2017-08-30 22:22:29 +02:00
Andrey Prygunkov
7f4b15b4de
#416 : fixed wait interval
2017-07-26 18:50:07 +02:00
Andrey Prygunkov
68c74a5a30
#416 : better error handling when fetching rss feeds
2017-07-24 21:33:48 +02:00
Andrey Prygunkov
9a92896678
#319 : unified extension scripts settings
...
- new option “Extension” as replacement for options “PostScript”,
“QueueScript”, “ScanScript”, “FeedScript”;
- renamed “CategoryX.PostScript” to “CategoryX.Extensions”;
- renamed “FeedX.PostScript” to “FeedX.Extensions”.
2016-12-14 20:34:14 +01:00
Andrey Prygunkov
09f863f3af
#275 : nZEDb attributes in rss feeds
...
Added support for nZEDb attributes in rss feeds.
2016-09-19 23:37:51 +02:00
Andrey Prygunkov
87e8d479d8
#281 : improved error reporting on feed parse errors
2016-09-19 22:22:29 +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
6826410c6a
#136 : fixed crash on feed fetch failure (Windows)
...
Crash caused by nullptr passed to “FileSystem::DeleteFile”.
2016-04-18 20:41:09 +02:00
Andrey Prygunkov
85340831cc
#203 : exit code for feed scripts
2016-04-18 19:49:35 +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
a5ac6d594f
#148 : unique smart pointers for other containers
...
: feeds, servers, scheduler.
2016-03-13 00:08:16 +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
c22c5f6c7b
#168 : unique smart pointers in feed filter helper
2016-03-06 14:13:17 +01:00
Andrey Prygunkov
e5501cfa15
#182 : use std::shared_ptr for feed items cache
...
… instead of a custom reference counting cache.
2016-03-05 19:59:33 +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
8a344c97c9
#176 : changed order of member declarations
2016-03-01 00:20:14 +01:00
Andrey Prygunkov
831c73d28d
#176 : removed aligning of class member names
2016-02-29 19:31:40 +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
177be1571e
#168 : c96d2259ce: fixed feed parse error
2016-02-19 22:11:44 +01:00
Andrey Prygunkov
4a08fdb586
#168 : c96d2259ce: fixed compiling error on Windows
2016-02-18 22:11:28 +01:00
Andrey Prygunkov
c96d2259ce
#168 : unique smart pointers for local variables
2016-02-17 22:03:33 +01:00
Andrey Prygunkov
c9b883f909
#168 : unique smart pointers for member fields
2016-02-17 22:03:32 +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
17024eb0e5
#126 : replaced "char*" with "CString" at few more places
2016-01-16 16:31:45 +01:00
Andrey Prygunkov
0ee644d252
#154 : use lambdas when deleting elements from containers
2016-01-14 19:42:49 +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
17999fb96d
#143 : store feed cache objects directly in container
2016-01-08 21:52:16 +01:00