Commit Graph

  • 7c565bce1d Main: move two more functions down Max Kellermann 2019-05-29 22:20:02 +02:00
  • d17ff18ec0 Main: move main() to the bottom Max Kellermann 2019-05-29 22:18:06 +02:00
  • efc6b1b77a Main: fold mpd_main_after_fork() into MainConfigured() Max Kellermann 2019-05-29 22:16:32 +02:00
  • fdbec694c6 config/Param: add method With() Max Kellermann 2019-05-29 21:45:58 +02:00
  • b86d8d0cd8 config/Param: add method ThrowWithNested() Max Kellermann 2019-05-29 21:46:27 +02:00
  • 0b4e7b3317 client/List: use using instead of typedef Max Kellermann 2019-05-29 21:36:27 +02:00
  • 472e4bfd41 client/List: fold CloseAll() into destructor Max Kellermann 2019-05-29 21:33:22 +02:00
  • d3d70a7eed client/List: use auto Max Kellermann 2019-05-29 21:31:43 +02:00
  • 39046bed85 Instance: wrap ClientList in std::unique_ptr<> Max Kellermann 2019-05-29 21:29:55 +02:00
  • 71a5c8b819 Main: allocate Instance on the stack Max Kellermann 2019-05-29 21:22:25 +02:00
  • 620a39afb4 thread/Slack: use std::chrono::duration Max Kellermann 2019-05-29 21:11:32 +02:00
  • 14cee01ba1 Main: simplify Android startup Max Kellermann 2019-05-29 14:58:24 +02:00
  • c782fdb698 Main: use AtScopeExit() to free Android objects Max Kellermann 2019-05-29 15:01:23 +02:00
  • 49ba76167e Main: add overload with ConfigData parameter Max Kellermann 2019-05-29 15:08:26 +02:00
  • 93ab957800 Main: convert int return types to void Max Kellermann 2019-05-29 14:52:58 +02:00
  • 155c915733 input/buffering: make "mutex" public Max Kellermann 2019-05-29 12:41:21 +02:00
  • 971450f0d4 input/InputStream: make IsEOF() and IsAvailable() const Max Kellermann 2019-05-29 13:31:54 +02:00
  • 40a48cfba0 PluginUnavailable: add subclass PluginUnconfigured Max Kellermann 2019-05-22 18:04:11 +02:00
  • 9d1906da8a {event,output}/Thread: downgrade realtime scheduling errors to "info" Max Kellermann 2019-05-23 13:52:03 +02:00
  • 3d2b180cf8 LogBackend: set default log level to "default" Max Kellermann 2019-05-23 14:13:38 +02:00
  • f987947730 Log: add Log() and LogFormat() overloads with std::exception_ptr Max Kellermann 2019-05-23 12:23:28 +02:00
  • e0d5d88104 Log: make LogLevel the first parameter Max Kellermann 2019-05-22 18:38:25 +02:00
  • 585a745484 Log: use GetFullMessage() to print exceptions Max Kellermann 2019-05-22 18:24:45 +02:00
  • 43fe513de8 input/buffering: add API documentation Max Kellermann 2019-05-22 12:09:20 +02:00
  • c1b853ca7c input/InputStream: define UNKNOWN_SIZE without undefined behavior Max Kellermann 2019-05-22 12:01:46 +02:00
  • 4b78038b41 input/InputStream: update API documentation Max Kellermann 2019-05-22 12:00:16 +02:00
  • d651d1abfd util/SparseBuffer: move #endif to the bottom Max Kellermann 2019-05-22 10:43:05 +02:00
  • 5a8b734cfd tag/Id3Load: include cleanup Max Kellermann 2019-05-22 10:23:39 +02:00
  • 31b59a0db6 tag/Generic: allow ScanGenericTags() to throw Max Kellermann 2019-05-21 23:26:29 +02:00
  • 92f7421715 TagFile: allow ScanFileTags*() to throw Max Kellermann 2019-05-21 23:24:44 +02:00
  • 6f1d5105ee TagStream: allow tag_stream_scan() to throw Max Kellermann 2019-05-21 23:07:49 +02:00
  • 9a78371b5c DetachedSong: allow LoadFile(), Update() to throw Max Kellermann 2019-05-21 23:11:56 +02:00
  • 3fc4da382e db/simple/Song: allow LoadFile(), UpdateFile() to throw Max Kellermann 2019-05-21 22:56:08 +02:00
  • 6ee7d88af0 db/update/Archive: fix inverted nullptr check Max Kellermann 2019-05-22 10:18:18 +02:00
  • bbdf2dcf1e db/simple/Song: wrap in std::unique_ptr<> Max Kellermann 2019-05-21 22:46:34 +02:00
  • 02bb47dd08 db/simple/Song: move struct Disposer to separate header Max Kellermann 2019-05-21 22:41:16 +02:00
  • 0c48b8d084 db/simple/Song: add noexcept Max Kellermann 2019-05-21 22:41:21 +02:00
  • 8462559b2f db/simple/Song: include cleanup Max Kellermann 2019-05-21 22:40:08 +02:00
  • 319c9699fb tag/Type: add TAG_GROUPING Max Kellermann 2019-05-21 22:23:06 +02:00
  • 06a0a4a838 time/Convert: include sys/time.h for struct timeval Max Kellermann 2019-05-21 10:13:16 +02:00
  • 8942be858b Merge tag 'v0.21.9' Max Kellermann 2019-05-20 17:23:01 +02:00
  • 66a8fac25e release v0.21.9 v0.21.9 Max Kellermann 2019-05-20 17:10:58 +02:00
  • 1b902e00b4 doc/protocol.rst: several clarifications Max Kellermann 2019-05-20 17:06:20 +02:00
  • 45a091c00c .github: add issue templates Max Kellermann 2019-05-20 16:38:23 +02:00
  • 923e66738c player/Thread: fix "single" mode race condition Max Kellermann 2019-05-20 15:22:34 +02:00
  • ff3e2c0514 player/Thread: remove unnecessary "pipe" check Max Kellermann 2019-05-20 16:20:59 +02:00
  • 6922a2f55e input/buffered: check error in IsAvailable() Max Kellermann 2019-05-17 12:43:45 +02:00
  • 219546cb81 input/buffering: check error in IsAvailable() Max Kellermann 2019-05-17 12:42:46 +02:00
  • 555a4d738c input/buffering: pass offset to Read() and eliminate Seek() Max Kellermann 2019-05-17 10:52:39 +02:00
  • 813567bf5c input/buffering: use notify_one() to wake up thread Max Kellermann 2019-05-17 11:57:23 +02:00
  • 16a07bc201 input/buffering: remove obsolete thread wakeup Max Kellermann 2019-05-17 11:56:30 +02:00
  • 1153715608 input/buffering: rename "read_error" to "error" Max Kellermann 2019-05-17 11:29:19 +02:00
  • b5c7c16fb4 input/buffering: merge multiple exception handlers into RunThread() Max Kellermann 2019-05-17 11:23:30 +02:00
  • 302c0515b7 input/buffering: move code to RunThreadLocked() Max Kellermann 2019-05-17 11:21:56 +02:00
  • 19e4672a54 input/buffering: use notify_all() instead of notify_one() Max Kellermann 2019-05-17 11:17:16 +02:00
  • c2dd6808e1 input/buffering: make read errors fatal, no recovery Max Kellermann 2019-05-17 10:55:58 +02:00
  • 2cf6b77627 input/buffering: eliminate "idle" flag, automatically seek to next hole Max Kellermann 2019-05-16 22:01:53 +02:00
  • a5c09f4ddb input/buffering: destruct our input while mutex is unlocked Max Kellermann 2019-05-16 22:38:37 +02:00
  • 1acb9bcedb input/buffering: close input if buffered completely Max Kellermann 2019-05-16 22:34:11 +02:00
  • 0626e3d21e input/buffering: at end of input, seek to first hole Max Kellermann 2019-05-16 22:29:10 +02:00
  • 869d215058 input/buffering: merge "read_error" and "idle" checks in thread Max Kellermann 2019-05-16 22:24:25 +02:00
  • 0cf922b2da input/buffering: clear read_error after successful seek Max Kellermann 2019-05-16 22:24:57 +02:00
  • 5e266cd8e4 Merge branch 'v0.21.x' Max Kellermann 2019-05-16 22:12:08 +02:00
  • ca5a400dbe input/buffered: rethrow read_error in Check() Max Kellermann 2019-05-16 22:08:33 +02:00
  • 63fe4d1d17 input/buffered: wake up client thread on seek error Max Kellermann 2019-05-16 22:05:25 +02:00
  • a199f58db5 input/buffering: update thread name Max Kellermann 2019-05-16 22:02:51 +02:00
  • 5277297336 input/buffered: move basic buffering code to class BufferingInputStream Max Kellermann 2019-05-09 11:39:30 +02:00
  • 604d08b2c6 Merge branch 'v0.21.x' Max Kellermann 2019-05-16 21:26:23 +02:00
  • ca06d9d3bf input/buffered: fix deadlock bug Max Kellermann 2019-05-16 21:01:26 +02:00
  • ed2db04f43 doc/mpd.conf.5: remove ALSA specific documentation Max Kellermann 2019-05-13 22:49:58 +02:00
  • de0afa0e08 doc/mpd.conf.5: fix section indent Max Kellermann 2019-05-13 22:51:45 +02:00
  • f0d3227d7b doc/protocol.rst: add references to audio_output_format Max Kellermann 2019-05-13 22:46:23 +02:00
  • fb07a7cecc doc/user.rst: move audio format spec to section "Global Audio Format" Max Kellermann 2019-05-13 22:36:41 +02:00
  • c6b08a4d48 doc/user.rst: add reference to audio_output_format Max Kellermann 2019-05-13 22:39:44 +02:00
  • 040e87ad8d doc/user.rst: more markup Max Kellermann 2019-05-13 22:33:08 +02:00
  • d5521ead56 doc/user.rst: add missing space Max Kellermann 2019-05-13 22:36:17 +02:00
  • a48604d2e3 util/SparseBuffer: remove bogus noexcept from constructor Max Kellermann 2019-05-08 22:34:33 +02:00
  • 98e6a861ca util/HugeAllocator: import std::swap() Max Kellermann 2019-05-08 22:33:41 +02:00
  • 2c6dd04d19 util/HugeAllocator: add noexcept Max Kellermann 2019-05-08 22:32:50 +02:00
  • 82ca3aa281 time/ISO8601: forward-declare StringBuffer Max Kellermann 2019-05-08 16:24:31 +02:00
  • b45f5c7bf6 time/Convert: update copyright Max Kellermann 2019-05-08 16:23:58 +02:00
  • f54877d128 time/Convert: mention exceptions Max Kellermann 2019-05-08 16:14:12 +02:00
  • af3ea97a42 zeroconf/AvahiPoll: move TimevalToChrono() to time/Convert.cxx Max Kellermann 2019-05-08 16:11:14 +02:00
  • 8beac03dc4 time/Convert: add noexcept Max Kellermann 2019-05-08 16:09:27 +02:00
  • 4a49a5587d time/Convert: add pure attributes Max Kellermann 2019-05-08 16:08:54 +02:00
  • d0cfa44c8f time/FileTime: use ToUint64() in DeltaFileTimeS() Max Kellermann 2019-05-08 16:06:19 +02:00
  • 5bae6946c6 time/FileTime: add ToUint64(FILETIME) Max Kellermann 2019-05-08 16:05:37 +02:00
  • a8fc805594 time/FileTime: drop static Max Kellermann 2019-05-08 16:05:21 +02:00
  • a265738528 time/FileTime: add noexcept Max Kellermann 2019-05-08 16:01:28 +02:00
  • 5641c4baa6 system/Clock, fs/FileInfo: move FILETIME specific code to time/FileTime.hxx Max Kellermann 2019-05-08 15:47:04 +02:00
  • 96f889276f system/Clock: GetProcessUptimeS() returns std::chrono::duration Max Kellermann 2019-05-08 15:42:47 +02:00
  • 214ddee2f5 util/Time*: move to time/ Max Kellermann 2019-05-08 15:47:58 +02:00
  • 973c87b351 event/Call, ...: use wait() with predicate Max Kellermann 2019-05-07 20:01:45 +02:00
  • 72fc117393 thread/WindowsCond: add wait() overload with predicate Max Kellermann 2019-05-07 19:59:32 +02:00
  • 230ca2e968 thread/{Mutex,Cond}: use std::mutex and std::condition_variable Max Kellermann 2019-04-25 18:37:08 +02:00
  • 9095167039 thread/*Cond: add wait_for() overload with predicate Max Kellermann 2019-05-07 19:54:54 +02:00
  • ad4ca0c449 thread/*Cond: remove wait() overloads without std::unique_lock<> Max Kellermann 2019-05-07 19:31:00 +02:00
  • 0a0cc66e8f thread/Mutex: use using instead of making it a derived class Max Kellermann 2019-05-07 19:23:01 +02:00
  • 1b5c1f75a4 input/InputStreams: pass std::unique_lock<> to various methods Max Kellermann 2019-04-26 19:19:45 +02:00
  • 040573c636 command/fingerprint: fix mutex locking bug Max Kellermann 2019-05-07 19:09:13 +02:00