aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v0.19.x'Max Kellermann2014-12-261-0/+6
|\
| * fs/Traits, ...: work around -Wtautological-pointer-compareMax Kellermann2014-12-261-0/+6
| | | | | | | | New in clang 3.6.
* | lib/ffmpeg/Buffer: always include libavutil/mem.hMax Kellermann2014-12-261-2/+1
| | | | | | | | Needed for av_free().
* | decoder/ffmpeg: move code to lib/ffmpeg/Init.cxxMax Kellermann2014-12-212-0/+64
| |
* | decoder/ffmpeg: move code to lib/ffmpeg/LogCallback.cxxMax Kellermann2014-12-202-0/+96
| |
* | decoder/ffmpeg: use AVStream::durationMax Kellermann2014-12-191-0/+25
| | | | | | | | | | Use the duration of the stream we're actually decoding - not the "global" attribute AVFormatContext::duration which may differ.
* | lib/ffmpeg/Time: add API documentationMax Kellermann2014-12-191-0/+9
| |
* | decoder/ffmpeg: move code to lib/ffmpeg/Time.hxxMax Kellermann2014-12-191-0/+76
| |
* | decoder/ffmpeg: move code to class FfmpegBufferMax Kellermann2014-12-181-0/+73
| |
* | decoder/ffmpeg: log detailed error messageMax Kellermann2014-12-182-0/+74
| |
* | Merge branch 'v0.19.x'Max Kellermann2014-12-155-24/+180
|\|
| * storage/nfs: add timeoutMax Kellermann2014-12-152-3/+13
| |
| * lib/nfs/Connection: unregister socket with SocketMonitor::Steal()Max Kellermann2014-12-151-1/+1
| | | | | | | | | | SocketMonitor::Cancel() does not actually unregister the socket; it only disables the event.
| * lib/nfs/Connection: implement mount timeoutMax Kellermann2014-12-152-2/+31
| |
| * lib/nfs/Connection: add debug flag "in_destroy"Max Kellermann2014-12-152-0/+11
| |
| * lib/nfs/Connection: add assertionMax Kellermann2014-12-141-0/+2
| |
| * lib/nfs/Connection: fix reconnect after mount failureMax Kellermann2014-12-141-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.
| * lib/nfs/Connection: fix typo in code commentMax Kellermann2014-12-141-1/+1
| |
| * lib/nfs/Connection: fix memory leak (and assertion failure)Max Kellermann2014-12-143-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.
| * lib/nfs/Connection: move code to Service()Max Kellermann2014-12-142-12/+28
| |
| * lib/nfs/Connection: add assertionsMax Kellermann2014-12-141-0/+2
| |
| * lib/nfs/Connection: move code to method InternalClose()Max Kellermann2014-12-142-3/+17
| |
| * lib/nfs/Connection: make in_service and in_event debug-only flagsMax Kellermann2014-12-142-0/+11
| |
| * lib/nfs/Connection: fix crash while canceling a failing Open()Max Kellermann2014-12-141-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.
| * lib/nfs/Connection: add assertionsMax Kellermann2014-12-141-0/+31
| |
* | sticker/Database: move code to BindFind()Max Kellermann2014-12-121-0/+13
| |
* | sticker/Database: use the Error libraryMax Kellermann2014-12-121-24/+28
| |
* | lib/sqlite/Util: add ExecuteModified()Max Kellermann2014-12-121-0/+11
| |
* | sticker/Database: add wrapper for sqlite3_step()Max Kellermann2014-12-121-0/+80
| |
* | sticker/Database: move SQLite helpers to lib/sqlite/Util.hxxMax Kellermann2014-12-121-0/+80
| |
* | lib/sqlite/Domain: add Domain instance for SQLiteMax Kellermann2014-12-122-0/+51
| | | | | | | | Replaces the sticker_domain for Error::domain.
* | DespotifyUtils: make string buffers temporaryMax Kellermann2014-12-091-11/+18
| |
* | DespotifyUtils: fix coding styleMax Kellermann2014-12-092-22/+34
| |
* | DespotifyUtils: use ARRAY_SIZE()Max Kellermann2014-12-091-11/+4
| |
* | lib/icu/Converter: add ICU-based backendMax Kellermann2014-12-012-3/+114
| |
* | lib/icu/Converter: add TODO commentMax Kellermann2014-11-301-0/+1
| |
* | lib/icu/Collate: move code to Util.cxxMax Kellermann2014-11-303-44/+117
| |
* | fs/Charset: move code to wrapper class IcuConverterMax Kellermann2014-11-302-0/+152
|/ | | | Prepare for a ICU-based backend without GLib.
* lib/nfs/FileReader: clean up on disconnectMax Kellermann2014-11-251-1/+1
| | | | | Avoids crash because Close() invokes a call on a destructed NfsConnection.
* lib/nfs/FileReader: move code to CancelOrClose()Max Kellermann2014-11-252-0/+16
|
* lib/nfs/FileReader: reset state in OnNfsConnectionFailed()Max Kellermann2014-11-251-0/+2
| | | | | Avoid calling NfsConnection::RemoveLease(), because the lease has been removed already.
* lib/nfs/FileReader: update "state" in OnNfsError()Max Kellermann2014-11-251-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.
* lib/nfs/Manager: defer NfsConnection destructionMax Kellermann2014-11-252-9/+54
| | | | | Avoids a crash that occurs when NfsConnection::OnSocketReady() dereferences itself before returning.
* lib/nfs/Connection: broadcast error before closing connectionMax Kellermann2014-11-251-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.
* lib/nfs/Connection: cancel DeferredMonitor on disconnectMax Kellermann2014-11-251-0/+4
| | | | | Fixes potential second mount attempt after the old connection to the NFS server was shut down.
* lib/nfs/FileReader: include Compiler.h for "final" fallbackMax Kellermann2014-11-251-0/+1
|
* lib/upnp/ContentDirectoryService: swap uri_apply_base() parametersMax Kellermann2014-11-071-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.
* lib/upnp/Discovery: add missing stdlib.h includeMax Kellermann2014-11-021-0/+1
|
* db/upnp/Util: move caturl() to util/UriUtil.cxxMax Kellermann2014-10-103-32/+2
|
* storage/nfs: use the libnfs async APIMax Kellermann2014-10-092-0/+169
| | | | Share the NFS connection with the NFS input plugin.