Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-12 | replace assert.h with cassert | Rosen Penev | |
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2020-01-18 | copyright year 2020 | Max Kellermann | |
2019-06-17 | Copyright year 2019 | Max Kellermann | |
2019-05-29 | input/InputStream: make IsEOF() and IsAvailable() const | Max Kellermann | |
2019-05-07 | event/Call, ...: use wait() with predicate | Max Kellermann | |
2019-05-07 | input/InputStreams: pass std::unique_lock<> to various methods | Max Kellermann | |
2019-04-05 | input/InputStream: add `noexcept` to ReadTag() | Max Kellermann | |
2019-04-04 | input/AsyncInputStream: add `noexcept` | Max Kellermann | |
2018-11-19 | check.h: remove obsolete header | Max Kellermann | |
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints. | |||
2018-10-31 | *: copyright year 2018 | Max Kellermann | |
2018-06-22 | input/Stream: remove attribute "cond", replace with handler interface | Max Kellermann | |
This adds a bit of overhead, but also adds flexibility to the API, because arbitrary triggers may be invoked from that virtual method implementation, not just Cond::signal(). The motivation for this is to make the handlers more dynamic, for the upcoming buffering class utilizing ProxyInputStream. | |||
2018-01-20 | input/Domain: remove obsolete variable | Max Kellermann | |
2017-12-20 | input/InputStream: ReadTag() returns std::unique_ptr<Tag> | Max Kellermann | |
2017-11-10 | util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STL | Max Kellermann | |
2017-09-21 | input/async: use class HugeArray instead of HugeAllocation | Max Kellermann | |
2017-09-21 | util/HugeAllocator: move MADV_DONTFORK setting to HugeForkCow() | Max Kellermann | |
Enforcing MADV_DONTFORK is a surprising limitation for this library which aims to be generic. | |||
2017-09-19 | input/async: use std::exchange() | Max Kellermann | |
2017-09-19 | input/async: use C++11 initializers | Max Kellermann | |
2017-06-04 | Merge tag 'v0.20.9' | Max Kellermann | |
release v0.20.9 | |||
2017-06-04 | *: add lost of "noexcept" specifications | Max Kellermann | |
2017-05-15 | Merge tag 'v0.20.7' | Max Kellermann | |
release v0.20.7 | |||
2017-05-08 | *: add "noexcept" to many, many function prototypes | Max Kellermann | |
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing. | |||
2017-01-25 | input/async: pass EventLoop& to constructor | Max Kellermann | |
2017-01-03 | update copyright year | Max Kellermann | |
2017-01-03 | thread/Mutex: remove ScopeLock, use std::lock_guard directly | Max Kellermann | |
2016-09-16 | input/InputStream: migrate from class Error to C++ exceptions | Max Kellermann | |
2016-09-16 | input/async: eliminate attribute "postponed_error" | Max Kellermann | |
Switch the remaining users to "postponed_exception". | |||
2016-09-09 | input/Plugin: migrate open() from class Error to C++ exceptions | Max Kellermann | |
2016-09-09 | input/async: add attribute "postponed_exception" | Max Kellermann | |
Will replace "postponed_error". | |||
2016-06-17 | input/alsa: rebase on AsyncInputStream | Max Kellermann | |
Use the snd_pcm_t only in the IOThread, and reuse code that is well-known to work. | |||
2016-06-17 | input/async: use class DeferredCall | Max Kellermann | |
2016-06-17 | input/async: use class HugeAllocation | Max Kellermann | |
2016-03-01 | *: include cleanup (using iwyu) | Max Kellermann | |
2016-02-26 | update copyright year to 2016 | Max Kellermann | |
2015-01-06 | Merge branch 'v0.19.x' | Max Kellermann | |
2015-01-06 | input/async: reset the "open" flag after seeking successfully | Max Kellermann | |
Fixes a problem with the "curl" input plugin: IsEOF() always returns true because the "open" flag was cleared by CurlInputStream::RequestDone() when end-of-stream was reached. This flag stays false even when seeking to another position has succeeded. This patch resets the "open" flag to true after seeking successfully. | |||
2015-01-01 | Copyright year 2015 | Max Kellermann | |
2014-11-07 | input/AsyncInputStream: set Error when seeking unseekable | Max Kellermann | |
Fixes crash in the "audiofile" decoder while logging the seek error. | |||
2014-08-19 | InputStream: make offset_type unsigned | Max Kellermann | |
2014-06-21 | input/async: use IsEOF() instead of !open for "ready" check | Max Kellermann | |
Checking "!open" did not work with the NFS plugin because that plugin does not close the file automatically, unlike CURL. | |||
2014-06-21 | Revert "AsyncInputStream: fix assertion failure in AppendToBuffer()" | Max Kellermann | |
This reverts commit 966c4244cbe0de174df1e72e917078269ec9dbb9. The commit was bad, because the bug was really in NfsInputStream::DoRead(); see previous commit. | |||
2014-06-17 | AsyncInputStream: fix assertion failure in AppendToBuffer() | Max Kellermann | |
2014-06-17 | AsyncInputStream: reset "paused" when seeking | Max Kellermann | |
May cause assertion failure. | |||
2014-06-17 | input/curl: hold mutex while writing to postponed_error | Max Kellermann | |
2014-05-24 | input/async: add offset/size comparison to IsEOF() | Max Kellermann | |
2014-05-24 | input/curl: move code to AsyncInputStream | Max Kellermann | |
New base class for other InputStream implementations that run in the I/O thread. |