aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-31nfs/Connection: check for disappearing libnfs socketMax Kellermann1-0/+18
2014-08-31nfs/Connection: use only BroadcastError()Max Kellermann1-4/+1
Since BroadcastError() calls BroadcastMountError(), there's no need to check mount_finished here.
2014-08-31nfs/Connection: nfs_get_fd() can return -1Max Kellermann1-0/+3
While reconnecting to the NFS server, the socket is -1, because there is no socket. Fixes a potential crash (assertion failure).
2014-08-31nfs/Connection: use nfs_get_error() for mount errorMax Kellermann1-2/+3
2014-08-31nfs/Connection: fix assertion failureMax Kellermann1-1/+3
2014-08-30*: add missing Compiler.h includesMax Kellermann2-0/+2
Necessary for "final" on gcc 4.6.
2014-08-29Tag: use SignedSongTime for the song durationMax Kellermann1-1/+1
2014-08-18input/ffmpeg: use av_strerror()Max Kellermann2-0/+74
Generate more detailed error messages.
2014-08-18{input,decoder}/ffmpeg: move ffmpeg_domain to lib/ffmpeg/Domain.cxxMax Kellermann2-0/+51
Eliminate duplicate definition (in input plugin and decoder plugin).
2014-08-16icu: include strings.h for strcasecmpFrançois Revol1-0/+1
Again, POSIX says strcasecmp is not in string.h.
2014-08-11fs/io/GzipOutputStream,GunzipReader: move zlib_domain to src/lib/zlib/Domain.cxxMax Kellermann2-0/+51
2014-06-30lib/nfs/Connection: include poll.hMax Kellermann1-0/+2
2014-06-17lib/nfs/Manager: gcc 4.7 compatibility hackMax Kellermann3-0/+32
std::map::emplace() is only available from gcc 4.8 on.
2014-06-17input/nfs: use the asynchronous libnfs APIMax Kellermann11-0/+1398
More robust and cancellable.
2014-06-10lib/icu/Init: call u_init() and u_cleanup()Max Kellermann1-0/+14
Make valgrind happy.
2014-06-10lib/icu: add IcuInit(), IcuFinish()Max Kellermann3-8/+78
2014-05-12InputStream: "protect" attributesMax Kellermann1-1/+1
2014-05-12icu/Collate: use u_strFoldCase() instead of ucol_getSortKey()Max Kellermann1-10/+41
Turns out ucol_getSortKey() does not what I thought it does.
2014-05-12icu/Collate: UCharFromUTF8() returns WritableBuffer<UChar>Max Kellermann1-19/+20
2014-05-12icu/Collate: initialize error_codeMax Kellermann1-1/+1
Fixes the broken "search" command.
2014-05-11InputStream: convert to classMax Kellermann1-1/+1
2014-04-09icu/Collate: fix memory leak in IcuCaseFold()Max Kellermann1-0/+1
2014-02-24icu/Collate: pass UErrorCode* to ucol_strcollUTF8()Max Kellermann1-1/+2
Fixes crash after database update.
2014-02-24icu/Collate: initialize the error code before ucol_open()Max Kellermann1-1/+1
Fixes initialization failure.
2014-02-24SongSort, ...: use libicu instead of GLib's g_utf8_*()Max Kellermann4-0/+267
2014-02-08input/nfs: move nfs_domain to lib/nfs/Domain.cxxMax Kellermann2-0/+51
2014-02-06*/smbclient: protect all libsmbclient calls with a mutexMax Kellermann3-0/+59
libsmbclient is not thread-safe nor reentrant. We must protect all function calls with a global mutex, unfortunately.
2014-02-06neighbor/smbclient: move smbclient_domain to lib/smbclient/Domain.cxxMax Kellermann2-0/+51
2014-01-26neighbor/upnp: UPnP media server discoveryMax Kellermann1-0/+5
2014-01-26upnp: initialize the client handle only onceMax Kellermann2-53/+62
Eliminate class LibUPnP and move the code to ClientInit.cxx. Its initialization function can be called multiple times, but UpnpRegisterClient() is called at most once.
2014-01-26upnp: move library initialization to Init.cxxMax Kellermann3-17/+111
Allow calling UpnpGlobalInit() multiple times.
2014-01-26upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnPMax Kellermann2-8/+6
2014-01-26upnp: add class UpnpCallbackMax Kellermann5-26/+64
Each Upnp*Async() call passes a new cookie pointer, and the cookie passed to UpnpRegisterClient() appears to be ignored. Using this interface is a more elegant approach than having one single "handler" function.
2014-01-26upnp: remove obsolete global variable "theLib"Max Kellermann1-6/+0
2014-01-26upnp/Discovery: add listener interfaceMax Kellermann2-2/+36
2014-01-26db/upnp: move generic code to lib/upnp/Max Kellermann16-0/+1663
2014-01-26lib/smbclient/Init: return empty username/passwordMax Kellermann1-2/+2
This appears to be the right thing to do when we want anonymous login.
2014-01-25input/smbclient: move code to lib/smbclient/Init.cxxMax Kellermann2-0/+84
2014-01-24DespotifyUtils, Expat: move to lib/Max Kellermann4-0/+445