Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-12-29 | {mixer,output}/pulse: move code to LogPulseError() | Max Kellermann | 2 | -0/+61 | |
2014-12-29 | output/pulse: move SetError() to lib/pulse/Error.cxx | Max Kellermann | 2 | -0/+62 | |
2014-12-29 | {mixer,output}/pulse: use a common Domain instance | Max Kellermann | 2 | -0/+51 | |
2014-12-26 | fs/Traits, ...: work around -Wtautological-pointer-compare | Max Kellermann | 1 | -0/+6 | |
New in clang 3.6. | |||||
2014-12-26 | lib/ffmpeg/Buffer: always include libavutil/mem.h | Max Kellermann | 1 | -2/+1 | |
Needed for av_free(). | |||||
2014-12-21 | decoder/ffmpeg: move code to lib/ffmpeg/Init.cxx | Max Kellermann | 2 | -0/+64 | |
2014-12-20 | decoder/ffmpeg: move code to lib/ffmpeg/LogCallback.cxx | Max Kellermann | 2 | -0/+96 | |
2014-12-19 | decoder/ffmpeg: use AVStream::duration | Max Kellermann | 1 | -0/+25 | |
Use the duration of the stream we're actually decoding - not the "global" attribute AVFormatContext::duration which may differ. | |||||
2014-12-19 | lib/ffmpeg/Time: add API documentation | Max Kellermann | 1 | -0/+9 | |
2014-12-19 | decoder/ffmpeg: move code to lib/ffmpeg/Time.hxx | Max Kellermann | 1 | -0/+76 | |
2014-12-18 | decoder/ffmpeg: move code to class FfmpegBuffer | Max Kellermann | 1 | -0/+73 | |
2014-12-18 | decoder/ffmpeg: log detailed error message | Max Kellermann | 2 | -0/+74 | |
2014-12-15 | storage/nfs: add timeout | Max Kellermann | 2 | -3/+13 | |
2014-12-15 | lib/nfs/Connection: unregister socket with SocketMonitor::Steal() | Max Kellermann | 1 | -1/+1 | |
SocketMonitor::Cancel() does not actually unregister the socket; it only disables the event. | |||||
2014-12-15 | lib/nfs/Connection: implement mount timeout | Max Kellermann | 2 | -2/+31 | |
2014-12-15 | lib/nfs/Connection: add debug flag "in_destroy" | Max Kellermann | 2 | -0/+11 | |
2014-12-14 | lib/nfs/Connection: add assertion | Max Kellermann | 1 | -0/+2 | |
2014-12-14 | lib/nfs/Connection: fix reconnect after mount failure | Max Kellermann | 1 | -1/+1 | |
When mounting had not yet finished, SocketMonitor::IsDefined() was always false, due to the workaround at the beginning of the function that calls SocketMonitor::Steal(). This commit drops the IsDefined() check because it was never necessary and breaks reconnect. | |||||
2014-12-14 | lib/nfs/Connection: fix typo in code comment | Max Kellermann | 1 | -1/+1 | |
2014-12-14 | lib/nfs/Connection: fix memory leak (and assertion failure) | Max Kellermann | 3 | -0/+28 | |
nfs_destroy_context() will invoke all pending callbacks with err==-EINTR. In CancellableCallback::Callback(), this will invoke NfsConnection::DeferClose(), which however is only designed to be called from nfs_service(). In non-debug mode, this will leak memory because nfs_close_async() is never called. Workaround: before nfs_destroy_context(), invoke nfs_close_async() on all pending file handles. | |||||
2014-12-14 | lib/nfs/Connection: move code to Service() | Max Kellermann | 2 | -12/+28 | |
2014-12-14 | lib/nfs/Connection: add assertions | Max Kellermann | 1 | -0/+2 | |
2014-12-14 | lib/nfs/Connection: move code to method InternalClose() | Max Kellermann | 2 | -3/+17 | |
2014-12-14 | lib/nfs/Connection: make in_service and in_event debug-only flags | Max Kellermann | 2 | -0/+11 | |
2014-12-14 | lib/nfs/Connection: fix crash while canceling a failing Open() | Max Kellermann | 1 | -2/+4 | |
The method NfsConnection::CancellableCallback::Callback() will always invoke NfsConnection::Close() on the file handle, even if the void pointer is not a nfsfh. This can happen if the Open() was not successful, e.g. when the file does not exist. | |||||
2014-12-14 | lib/nfs/Connection: add assertions | Max Kellermann | 1 | -0/+31 | |
2014-12-12 | sticker/Database: move code to BindFind() | Max Kellermann | 1 | -0/+13 | |
2014-12-12 | sticker/Database: use the Error library | Max Kellermann | 1 | -24/+28 | |
2014-12-12 | lib/sqlite/Util: add ExecuteModified() | Max Kellermann | 1 | -0/+11 | |
2014-12-12 | sticker/Database: add wrapper for sqlite3_step() | Max Kellermann | 1 | -0/+80 | |
2014-12-12 | sticker/Database: move SQLite helpers to lib/sqlite/Util.hxx | Max Kellermann | 1 | -0/+80 | |
2014-12-12 | lib/sqlite/Domain: add Domain instance for SQLite | Max Kellermann | 2 | -0/+51 | |
Replaces the sticker_domain for Error::domain. | |||||
2014-12-09 | DespotifyUtils: make string buffers temporary | Max Kellermann | 1 | -11/+18 | |
2014-12-09 | DespotifyUtils: fix coding style | Max Kellermann | 2 | -22/+34 | |
2014-12-09 | DespotifyUtils: use ARRAY_SIZE() | Max Kellermann | 1 | -11/+4 | |
2014-12-01 | lib/icu/Converter: add ICU-based backend | Max Kellermann | 2 | -3/+114 | |
2014-11-30 | lib/icu/Converter: add TODO comment | Max Kellermann | 1 | -0/+1 | |
2014-11-30 | lib/icu/Collate: move code to Util.cxx | Max Kellermann | 3 | -44/+117 | |
2014-11-30 | fs/Charset: move code to wrapper class IcuConverter | Max Kellermann | 2 | -0/+152 | |
Prepare for a ICU-based backend without GLib. | |||||
2014-11-25 | lib/nfs/FileReader: clean up on disconnect | Max Kellermann | 1 | -1/+1 | |
Avoids crash because Close() invokes a call on a destructed NfsConnection. | |||||
2014-11-25 | lib/nfs/FileReader: move code to CancelOrClose() | Max Kellermann | 2 | -0/+16 | |
2014-11-25 | lib/nfs/FileReader: reset state in OnNfsConnectionFailed() | Max Kellermann | 1 | -0/+2 | |
Avoid calling NfsConnection::RemoveLease(), because the lease has been removed already. | |||||
2014-11-25 | lib/nfs/FileReader: update "state" in OnNfsError() | Max Kellermann | 1 | -0/+24 | |
Clean up the "state" to indicate that there is no longer any asynchronous operation. Fixes another NFS-related crash due to cleanup of a non-existing asynchronous operation. | |||||
2014-11-25 | lib/nfs/Manager: defer NfsConnection destruction | Max Kellermann | 2 | -9/+54 | |
Avoids a crash that occurs when NfsConnection::OnSocketReady() dereferences itself before returning. | |||||
2014-11-25 | lib/nfs/Connection: broadcast error before closing connection | Max Kellermann | 1 | -4/+4 | |
During the NfsLease::OnNfsConnectionFailed() call, the old (defunct) nfs_context may be used to close file handles. Such code does not yet exist, but will be added soon to fix other bugs. | |||||
2014-11-25 | lib/nfs/Connection: cancel DeferredMonitor on disconnect | Max Kellermann | 1 | -0/+4 | |
Fixes potential second mount attempt after the old connection to the NFS server was shut down. | |||||
2014-11-25 | lib/nfs/FileReader: include Compiler.h for "final" fallback | Max Kellermann | 1 | -0/+1 | |
2014-11-07 | lib/upnp/ContentDirectoryService: swap uri_apply_base() parameters | Max Kellermann | 1 | -1/+1 | |
When uri_apply_base() was moved from db/upnp/Util.cpp to util/UriUtil.cpp, the parameter order was changed, however without swapping the parameters in the ContentDirectoryService constructor. | |||||
2014-11-02 | lib/upnp/Discovery: add missing stdlib.h include | Max Kellermann | 1 | -0/+1 | |
2014-10-10 | db/upnp/Util: move caturl() to util/UriUtil.cxx | Max Kellermann | 3 | -32/+2 | |