Commit Graph

  • 6dfdd8c1c2 db/update/Walk: use Storage::OpenFile() Max Kellermann 2024-05-15 14:55:10 +02:00
  • 1b6c279850 db/update/Paylist: use Storage::OpenFile() Max Kellermann 2024-05-15 14:54:15 +02:00
  • 81c778a529 SongUpdate: use Storage::OpenFile() Max Kellermann 2024-05-15 14:43:07 +02:00
  • f578a1cb2b storage/Interface: add virtual method OpenFile() Max Kellermann 2014-10-02 10:06:34 +02:00
  • 2576e66a55 input/nfs: cancel the pending read operation on seek Max Kellermann 2024-05-16 13:58:23 +02:00
  • 58e3b830e9 lib/nfs/FileReader: clear the read_buffer in CancelRead() Max Kellermann 2024-05-16 13:58:56 +02:00
  • 1d35031024 lib/nfs/Connection: merge CancelAndClose() into Cancel() Max Kellermann 2024-05-17 12:33:12 +02:00
  • 96b61755da lib/nfs/FileReader: fix doc typo Max Kellermann 2024-05-15 21:31:27 +02:00
  • 9f174c56ce playlist/Mapper: postpone the stored playlist error Max Kellermann 2024-05-15 21:07:41 +02:00
  • c8be9662bb playlist/Print: add missing exception handler Max Kellermann 2024-05-15 20:53:40 +02:00
  • f53cd44c7a playlist/{Stream,Mapper,Any}: propagate exceptions, do not catch&log them Max Kellermann 2024-05-15 19:58:12 +02:00
  • 9303764a83 playlist/Print: throw PlaylistError::NoSuchList instead of returning false Max Kellermann 2024-05-15 20:17:54 +02:00
  • a5456a89dc playlist/Length: throw PlaylistError::NoSuchList instead of returning false Max Kellermann 2024-05-15 20:12:01 +02:00
  • c974fc664c playlist/Plugin: add noexcept Max Kellermann 2024-05-15 20:02:04 +02:00
  • eceead671e playlist/Stream: add API documentation Max Kellermann 2024-05-15 19:59:09 +02:00
  • 4e7b554605 TagAny, playlist/Mapper: use if with initializer Max Kellermann 2024-05-15 14:59:41 +02:00
  • a701da6386 db/update/InotifyUpdate: use OpenLocalInputStream() Max Kellermann 2024-05-15 14:47:13 +02:00
  • 1f47fe47c7 input/Open: move code to WaitReady() Max Kellermann 2024-05-15 14:36:38 +02:00
  • 5dd07ac040 test/run_storage: use the OptionParser class for command-line options Max Kellermann 2024-05-15 11:08:02 +02:00
  • ca8a2aeb7b test/run_storage: print a combined usage text for all commands Max Kellermann 2024-05-15 11:10:08 +02:00
  • 57fad1d4b2 test/run_storage: move initialization to class GlobalInit Max Kellermann 2024-05-15 10:12:39 +02:00
  • 5c2720a931 .github/workflows/build.yml: drop MINGW32 build Max Kellermann 2024-05-15 06:19:13 +02:00
  • 31e583e9f8 lib/nfs: initial support for libnfs API 2 Max Kellermann 2024-05-13 18:11:24 +02:00
  • 0ac24e5a24 lib/nfs/FileReader: move code to ReadCallback() Max Kellermann 2024-05-15 05:39:12 +02:00
  • 98f53b6d3d lib/nfs/Connection: add DisposablePointer parameter to CancelAndClose() Max Kellermann 2024-05-14 19:39:49 +02:00
  • f5092cb73d util/DisposablePointer: new class Max Kellermann 2024-05-15 05:57:55 +02:00
  • 48d3bd1cca lib/nfs/Connection: add API documentation Max Kellermann 2024-05-14 19:41:34 +02:00
  • 5cffd4f673 lib/nfs/Connection: remove EnableCloseOnExec() call Max Kellermann 2024-05-14 19:50:44 +02:00
  • 416f65fe01 util/RoundPowerOfTwo: new library Max Kellermann 2024-05-13 20:25:05 +02:00
  • 64c291ba78 lib/nfs/Connection: suppress bogus clang warning Max Kellermann 2024-05-13 18:11:14 +02:00
  • dcde2a0bae lib/nfs/Connection: fix -Wunused-lambda-capture Max Kellermann 2024-05-13 18:27:10 +02:00
  • f0ac0c19b7 lib/nfs/Connection: remove obsolete debug field "in_destroy" Max Kellermann 2024-05-13 16:52:24 +02:00
  • ba1b8533a5 lib/nfs/Connection: fix assertion failure on mount timeout Max Kellermann 2024-05-13 16:39:46 +02:00
  • 84e8927b1b lib/nfs/FileReader: remove obsolete stat64 cast Max Kellermann 2024-05-13 12:32:36 +02:00
  • 556300d59a input/InputStream: add [[nodiscard]] Max Kellermann 2024-05-13 12:27:08 +02:00
  • 34f7b38f39 input/InputStream: pass std::span<std::byte> to Read() Max Kellermann 2024-05-13 10:47:57 +02:00
  • f28d10d934 decoder/dsdiff: convert pointers to references Max Kellermann 2024-05-13 11:30:55 +02:00
  • d6adc59265 test/run_storage: use FormatISO8601() Max Kellermann 2024-05-13 10:36:15 +02:00
  • c154dc00d7 test/run_storage: use StringIsEqual() Max Kellermann 2024-05-13 10:35:28 +02:00
  • 6d5dab38dd input/async: pass std::string_view to constructor Max Kellermann 2024-05-13 10:11:18 +02:00
  • 480f4d4cf1 Fix filename list for albumart jcorporation 2024-05-12 22:17:13 +02:00
  • f8271fec12 command_available return stickernames only if stickerdb is enabled jcorporation 2024-05-12 21:23:29 +02:00
  • 4800f1d8f2 storage/Interface: add [[nodiscard]] Max Kellermann 2024-05-10 19:08:15 +02:00
  • 48ce8e9fb7 subprojects: update sqlite3 to 3450300 Max Kellermann 2024-05-10 18:18:03 +02:00
  • f746e5b7d7 subprojects: update liburing to 2.5 Max Kellermann 2024-05-10 18:17:49 +02:00
  • cdce257512 subprojects: update libnpupnp to 6.1.2 Max Kellermann 2024-05-10 18:17:39 +02:00
  • 227ab998bc lib/nfs/Connection: pass status and data to the NfsClientError ctor Max Kellermann 2024-05-10 16:34:10 +02:00
  • 9384bff6f9 lib/nfs/Manager: add method MakeConnection() Max Kellermann 2024-05-06 16:46:40 +02:00
  • 9947d3e67f lib/nfs/Connection: use nfs_fstat64_async() Max Kellermann 2024-05-07 20:48:00 +02:00
  • 67f01fbdb6 db/plugins/simple/Song: pass StorageFileInfo to UpdateFile() Max Kellermann 2024-05-07 21:11:21 +02:00
  • 164b5b0cf3 db/Song, SongUpdate: remove unnecessary c_str() calls Max Kellermann 2024-05-07 21:13:23 +02:00
  • 56bb1dddd7 lib/nfs/Connection: simplify error handling in OnSocketReady() Max Kellermann 2024-05-06 18:24:53 +02:00
  • e6b1cf540b lib/nfs/Connection: remove unnecessary initializers from MountInternal() Max Kellermann 2024-05-06 18:24:22 +02:00
  • d61c83ace8 lib/nfs/Connection: create the nfs_context in the constructor Max Kellermann 2024-05-06 16:53:04 +02:00
  • 4139024b3d lib/nfs/Connection: return from OnSocketReady() after error Max Kellermann 2024-05-06 18:20:06 +02:00
  • 48fe8666c9 lib/nfs/Connection: call nfs_destroy_context() only in the destructor Max Kellermann 2024-05-06 18:03:32 +02:00
  • 90a44a0c07 lib/nfs/Connection: replace flag "mount_finished" with enum Max Kellermann 2024-05-06 17:47:52 +02:00
  • e013c19223 storage/nfs: remove unused method EnsureConnected() Max Kellermann 2024-05-06 18:15:57 +02:00
  • 4684d05fa6 player/Thread: reset the decoder_starting flag in StopDecoder() Max Kellermann 2024-05-06 17:38:23 +02:00
  • 1c3a1c842d lib/nfs/Lease: use InstrusiveList instead of std::list Max Kellermann 2024-05-06 17:15:24 +02:00
  • f5127686fe lib/nfs/Connection: pass std::exception_ptr by value Max Kellermann 2024-05-06 17:02:59 +02:00
  • 2b0275a1c8 lib/nfs/Connection: pass server and export_name as std::string_view Max Kellermann 2024-05-06 16:54:46 +02:00
  • 028693c380 lib/nfs/Manager: forward-declare class ManagedConnection Max Kellermann 2024-05-06 16:56:58 +02:00
  • 63920be17e lib/nfs/Connection: make server and export_name const Max Kellermann 2024-05-06 16:55:53 +02:00
  • 96888cce9c storage/nfs: pass std::string_view to the NfsStorage ctor Max Kellermann 2024-05-06 15:26:30 +02:00
  • bcc39be784 lib/nfs/Base: use std::string_view Max Kellermann 2024-05-06 15:21:24 +02:00
  • b6314b4c4b lib/nfs/Base: use std::array Max Kellermann 2024-05-06 15:21:42 +02:00
  • 23d895415a lib/nfs/meson.build: require libnfs 4.0 Max Kellermann 2024-05-06 14:53:41 +02:00
  • 518ce0187a remove macOS support Max Kellermann 2024-05-06 13:47:04 +02:00
  • 1c69498c58 .github/workflows/build.yml: do not install yajl on macOS Max Kellermann 2024-05-06 13:38:12 +02:00
  • 615f6f50ce lib/yajl: drop "yajl/" prefix from #include paths Max Kellermann 2024-05-06 13:29:29 +02:00
  • 79df6a646b Merge branch 'mpdlib' of https://github.com/DDRBoxman/MPD Max Kellermann 2024-05-06 13:03:50 +02:00
  • 89d68fb2af Merge branch 'debian-build-doc' of https://github.com/mxjeff/MPD Max Kellermann 2024-05-06 13:03:05 +02:00
  • 03b674ce73 net/meson.build: compile IPv[46]Address.cxx only if TCP is enabled Max Kellermann 2024-05-06 12:57:25 +02:00
  • 9c421997bf net/SocketDescriptor: WriteNoWait() uses MSG_NOSIGNAL Max Kellermann 2024-05-03 13:56:19 +02:00
  • 3813433e02 test/net/TestLocalSocketAddress: add unit tests for GetLocalRaw() Max Kellermann 2024-05-03 13:32:06 +02:00
  • 73509fc189 net/LocalSocketAddress: new class wrapping struct sockaddr_un Max Kellermann 2024-04-29 16:46:31 +02:00
  • 7c9b7fa311 net/SocketAddress: use std::string_view::find() instead of std::memchr() Max Kellermann 2024-04-29 16:58:04 +02:00
  • cbba22c947 net/SocketAddress: include IPv[46]Address.hxx only ifdef HAVE_TCP Max Kellermann 2024-04-29 16:45:22 +02:00
  • f8529d4fe6 net/{Allocated,Static}SocketAddress: inline GetLocalRaw() Max Kellermann 2024-04-29 16:41:45 +02:00
  • 2a206ef309 net/StaticSocketAddress: add method GetLocalPath() Max Kellermann 2024-04-29 16:33:48 +02:00
  • 6200c0dc46 net/StaticSocketAddress: include <string_view> only ifdef HAVE_UN Max Kellermann 2024-04-29 16:36:08 +02:00
  • 1760310123 Revert "util/IntrusiveList: allow the last disposer to destroy the IntrusiveList" Max Kellermann 2024-04-23 15:00:24 +02:00
  • c8ed28e9c6 test/util/TestIntrusiveList: add test for clear_and_dispose() with modifying disposer Max Kellermann 2024-04-23 20:33:10 +02:00
  • 56d4784b11 util/IntrusiveList: add API documentation Max Kellermann 2024-04-23 19:55:12 +02:00
  • 4d3adaa557 event/SocketEvent: erase IMPLICIT_FLAGS in Cancel{Read,Write}() Max Kellermann 2024-04-17 14:45:46 +02:00
  • 6830cf9dcf net/AllocatedSocketAddress: add SetLocal() overload with std::string_view Max Kellermann 2024-04-16 20:49:06 +02:00
  • 4ba288501d .github/workflows/build.yml: install ccache manually Max Kellermann 2024-05-06 12:46:01 +02:00
  • 9dcd0604f2 android: Install the libmpd.so output on android Colin Edwards 2024-01-18 12:33:16 -06:00
  • 5a9b0c7142 doc: debian build, add pkconf build dep. kaliko 2024-04-28 15:06:27 +02:00
  • 823d6c9c0f Merge branch 'android_deps' of https://github.com/DDRBoxman/MPD Max Kellermann 2024-04-24 14:52:31 +02:00
  • 57e26eb832 android: Always force wrap deps Colin Edwards 2024-04-23 17:24:54 -05:00
  • f9c2c2b558 Remove deprecation flag for volume command jcorporation 2024-04-23 20:26:22 +02:00
  • a0e9dfbec2 android: null check intent in onStartCommand Colin Edwards 2024-04-23 00:22:09 -05:00
  • cb6f61cf37 android: Update to NDK 27 Colin Edwards 2024-04-20 20:43:17 -05:00
  • 964e18ab49 doc: debian build, add libpipewire kaliko 2024-04-16 19:51:46 +02:00
  • 709acd8920 doc: debian build, add libsystemd kaliko 2024-04-16 19:18:57 +02:00
  • 6f0aecbfb3 doc: debian build, fixed libexpat-dev kaliko 2024-04-16 19:05:23 +02:00
  • 7ebe56fdd9 util/SpanCast: allow ToStringView() only with integral char types Max Kellermann 2024-04-16 12:36:47 +02:00
  • fae235197f util/SpanCast: allow ReferenceAsBytes() only with trivially-copyable Max Kellermann 2024-04-16 12:31:44 +02:00