Commit Graph

10882 Commits

Author SHA1 Message Date
7ff5cf8372 filter/convert: add method IsActive() 2018-01-29 22:33:54 +01:00
eb771eaf0d output/Thread: re-lock the mutex after flush error
Fixes deadlock due to mutex double lock.
2018-01-29 22:30:56 +01:00
6908555ed3 filter/Observer: drop bogus "noexcept"
Closes .
2018-01-29 22:14:27 +01:00
3890bc5a96 event/Loop: add "noexcept" 2018-01-29 22:05:58 +01:00
2c65f986d6 event/EPoll: use C++11 initializer 2018-01-29 22:05:13 +01:00
ea402b765c event/WinSelect: pass const reference to copy constructor 2018-01-29 22:05:13 +01:00
497e0669ff event/PollResult: use size_t for size and index 2018-01-29 21:56:12 +01:00
13ac74e0a2 system/EPollFD: update API documentation 2018-01-29 21:49:27 +01:00
c2f23d92dc system/EPollFD: add "noexcept" 2018-01-29 21:48:39 +01:00
7027da3cd3 Instance: un-inline the destructor
Allows more forward declarations.
2018-01-29 18:43:10 +01:00
005bb59797 test/run_input: move code from Scan() to input/ScanTags.cxx 2018-01-29 16:57:44 +01:00
88bc3a9271 input/qobuz: implement InputPlugin::scan_tags() 2018-01-26 20:08:01 +01:00
2e32cf7b87 input/tidal: implement InputPlugin::scan_tags() 2018-01-26 20:08:01 +01:00
3e9c3c8ae8 input/Plugin: add method scan() with asynchronous callback class
To be used when a URL gets added.
2018-01-26 19:29:38 +01:00
ec31e8df1d input/qobuz: remove obsolete prototypes 2018-01-26 19:29:38 +01:00
b56bfbae26 input/tidal: add setting "audioquality" 2018-01-26 19:18:13 +01:00
f55b1415d4 input/qobuz: move code to ExtractQobuzTrackId() 2018-01-26 18:48:15 +01:00
67693c6ad0 input/qobuz: add setting "format_id" 2018-01-26 17:30:28 +01:00
fce061b544 input/tidal: move code to ExtractTidalTrackId() 2018-01-26 17:29:58 +01:00
93765fcb30 input/{tidal,qobuz}: remove unused list_base_hook 2018-01-26 16:56:56 +01:00
b221bd7472 input/qobuz: remove bogus "noexcept"
This change was missing in 47fa8c4cf6
2018-01-25 15:19:33 +01:00
fd0a5a1116 decoder/{dsdiff,dsf,mpg123,wavpack}: avoid exceptions in scan methods
The scan methods must be "noexcept".
2018-01-25 13:01:39 +01:00
47fa8c4cf6 input/{tidal,qobus}: add bogus "noexcept"
The CurlRequest constructor can throw exceptions, therefore we must
not use "noexcept".
2018-01-25 12:58:58 +01:00
7640609b41 input/tidal: retry if session is expired 2018-01-24 15:35:02 +01:00
e8e6357b73 input/tidal/Error: add method IsInvalidSession() 2018-01-24 15:34:59 +01:00
4398101706 input/tidal: parse subStatus in error responses 2018-01-24 15:34:57 +01:00
2e1481f49d input/tidal: add exception class TidalError
Allows catchers to inspect the HTTP status.
2018-01-24 15:34:54 +01:00
c7c087a0d2 input/tidal: add some debug logging 2018-01-24 15:29:30 +01:00
97f670658f util/StringFormat: new utility library 2018-01-24 13:28:28 +01:00
4324fb2fbe input/Offset: add macro PRIoffset 2018-01-24 13:26:43 +01:00
e4cb74cf7b input/curl: remove obsolete Windows sprintf() fallback
See commit be137a191e
2018-01-24 13:26:18 +01:00
be137a191e util/FormatString: remove obsolete Windows fallback
Since 7d353bbe2a, _GNU_SOURCE is always
defined, which implies __USE_MINGW_ANSI_STDIO and thus switches to
the mingw implementations of the printf() family.  That's
standards-compliant, unlike Microsoft's CRT implementations.
2018-01-24 13:22:43 +01:00
fe1f3df36e util/StringBuffer: add "noexcept" 2018-01-24 12:52:05 +01:00
4a330a4c33 input/qobuz: use class DelegateCurlResponseHandler to eliminate duplicate code 2018-01-24 11:33:01 +01:00
75e60669a7 input/tidal: include cleanup 2018-01-24 11:33:01 +01:00
db379c6172 player/Thread: remove bogus "noexcept" from play_chunk()
Closes 
2018-01-24 11:21:28 +01:00
1da64fb79c lib/curl/Delegate: helper class for response body parsers
Eliminate duplicate code.
2018-01-23 16:48:43 +01:00
2c401f1102 decoder/{adplug,sidplay}: add missing "noexcept"
Closes 
2018-01-23 10:02:36 +01:00
bb1e369f30 playlist/SoundCloud: fix -Wunused-lambda-capture 2018-01-23 09:57:52 +01:00
d084950b1a input/qobuz: dispose the TidalLoginRequest earlier 2018-01-21 20:17:50 +01:00
2ce10f2fed input/qobuz: dispose the QobuzTrackRequest 2018-01-21 19:59:17 +01:00
036094799b input/qobuz: pass std::string by value to OnQobuzTrackSuccess() 2018-01-21 19:58:21 +01:00
2da6ab2a45 input/qobuz: dispose the QobuzLoginRequest earlier 2018-01-21 19:45:03 +01:00
91a512606b input/qobuz: remove unused variable 2018-01-21 15:01:31 +01:00
b6d858f4d6 lib/expat/Parser: make the "is_final" argument optional 2018-01-21 14:37:10 +01:00
dedede3caa lib/expat/Parser: add method CompleteParse() 2018-01-21 14:35:47 +01:00
b14fc907f9 lib/expat/Parser: forward Parse() arguments 2018-01-21 14:34:53 +01:00
542bbb0889 input/qobuz: parse and report message from error responses 2018-01-21 12:52:54 +01:00
714e69e708 input/qobuz: create JSON parser on demand 2018-01-21 12:49:10 +01:00
cb87ed29d8 input/tidal: invoke login handlers on second request
Fixes a freeze bug.
2018-01-21 12:41:19 +01:00