summaryrefslogtreecommitdiff
path: root/src/Partition.hxx
AgeCommit message (Collapse)Author
2021-01-01copyright year 2021Max Kellermann
2020-01-20Partition: add a local idle_monitorMax Kellermann
Make idle events per-partition, but leave Instance::EmitIdle() and its underlying idle_monitor which broadcasts idle events to all partitions.
2020-01-20Partition: add client listMax Kellermann
For efficient traversal within one partition, e.g. for distributing partition-local idle events.
2020-01-20Partition,Instance: add EmitIdle() documentationMax Kellermann
2020-01-20Main: move code to Partition::BeginShutdown()Max Kellermann
2020-01-18copyright year 2020Max Kellermann
2019-08-02Partition, ...: add `noexcept` to callback methodsMax Kellermann
2019-07-05include cleanups (powered by iwyu)Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2019-05-31input/cache: first draft of the file cacheMax Kellermann
2019-05-31mixer/Listener: add `noexcept`Max Kellermann
2019-05-31Partition: add `noexcept`Max Kellermann
2019-05-31queue/Listener: add `noexcept`Max Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-10-31*: copyright year 2018Max Kellermann
2018-09-23player/Thread: remove obsolete `buffered_before_play` attributeMax Kellermann
2018-08-20Compiler.h: move to util/Max Kellermann
2018-02-25playlist/Queue: add one-shot to single modePatryk HachuĊ‚a
2018-01-30RemoteTagCache: new glue class for integrating RemoteTagScannerMax Kellermann
This commit also puts an instance of RemoteTagScanner into the Instance class, and hooks it into the "add" and "addid" commands.
2018-01-29Listen: move ClientListener pointer to struct PartitionMax Kellermann
2017-11-26player/Listener: add "noexcept"Max Kellermann
2017-05-15Merge tag 'v0.20.7'Max Kellermann
release v0.20.7
2017-05-08*: remove "pure" and "const" attributes from throwing functionsMax Kellermann
The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41.
2017-02-17Partition: add "name" attributeMax Kellermann
2017-01-03update copyright yearMax Kellermann
2016-12-03decoder/Control: add attribute configured_audio_formatMax Kellermann
Obsoletes the same variable from AudioConfig.cxx.
2016-12-03ReplayGainGlobal: move replay_gain_mode to struct PartitionMax Kellermann
2016-12-03Partition: pass ReplayGainConfig to constructorMax Kellermann
2016-11-24ReplayGainMode: convert to strictly-typed enumMax Kellermann
2016-11-24Partition: add UpdateEffectiveReplayGainMode()Max Kellermann
Move code from replay_gain_get_real_mode().
2016-10-27LocateUri: migrate from class Error to C++ exceptionsMax Kellermann
2016-10-26Instance: remove Error parameter from GetDatabase()Max Kellermann
2016-10-26Instance: add GetDatabaseOrThrow()Max Kellermann
2016-09-08player/Control: use class Error as C++ exception, throw itMax Kellermann
2016-06-17util/BindMethod: new utility class for callbacksMax Kellermann
Replaces the old BoundMethod template.
2016-03-18queue/Playlist: rename DeleteSong() to StaleSong()Max Kellermann
2016-03-10Instance: remove redundant "virtual" keywordsMax Kellermann
2016-03-10Partition: eliminate GlobalEvents.hxx, add mask constantsMax Kellermann
2016-03-10Partition: use CallbackMaskMonitor, replacing class GlobalEvents::MonitorMax Kellermann
2016-03-10Instance: move GlobalEvents::Monitor to PartitionMax Kellermann
All remaining events are specific to the Partition.
2016-03-10queue/Playlist: add interface QueueListener, replacing calls to idle_add()Max Kellermann
2016-03-05Partition: un-inline the constructorMax Kellermann
2016-03-05Partition: add method EmitIdle()Max Kellermann
Prepare for moving idle events to class Partition. Right now, it's just a wrapper for idle_add().
2016-02-28player/Control: Play*() returns Error informationMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-12-18PlaylistError: add exception class wrapping enum PlaylistResultMax Kellermann
2015-11-11queue/Playlist: seek methods return bool/Error instead of PlaylistResultMax Kellermann
2015-08-15PlayerThread, ...: move to src/player/Max Kellermann
2015-08-06Partition: add method GetDatabase()Max Kellermann
2015-01-01Copyright year 2015Max Kellermann