mpd/src
Max Kellermann 740cbe9e02 event/Loop: remove failing assert()
The `assert(!quit)` can fail if the `EventThread` gets stopped before
it enters `EventLoop::Run()`. There is a similar problem with `alive`,
which gets reset by `EventThread::Stop()`.

If that happens, then `EventLoop::Run()` should return immediately
without handling any events.
2023-05-22 18:14:25 +02:00
..
android android/Context: fix typo in assert() variable name 2022-10-14 22:59:39 +02:00
apple apple/Throw: add missing <cstring> header 2022-05-19 09:08:44 +02:00
archive archive/plugins/meson.build: do not generate empty library 2022-11-03 20:36:00 +01:00
client libfmt 9 support 2022-07-08 10:06:53 +02:00
command TagPrint, command/File: two more libfmt 10 workarounds 2023-05-21 21:03:20 +02:00
config fs/io: move to io/ 2021-12-03 14:35:41 +01:00
db db/update/Walk: clear Song::in_playlist 2023-05-22 15:41:58 +02:00
decoder reorder ffmpeg to be lower priority than gme 2023-05-21 20:58:53 +02:00
encoder encoder/flac: only set a serial number for oggflac 2022-09-16 17:58:41 -07:00
event event/Loop: remove failing assert() 2023-05-22 18:14:25 +02:00
filter filter/ReplayGain: invoke the MixerListener after volume change 2022-08-18 14:45:45 +02:00
fs fs/Charset: assign fs_charset 2023-05-21 20:50:03 +02:00
haiku Haiku: add version info to the resources like win32 does 2019-03-29 14:33:27 +01:00
input input/async: check for errors in Seek() 2023-05-21 20:34:19 +02:00
io io/FileReader: add missing include for uint64_t 2023-01-02 14:27:47 +01:00
java java/File: remove assertions to work around -Wtautological-pointer-compare 2022-10-14 23:00:35 +02:00
lib lib/crypto/meson.build: link with ffmpeg_util_dep 2023-05-22 14:05:13 +02:00
mixer mixer/Control: use Mixer::IsGlobal() 2022-08-18 14:33:35 +02:00
neighbor treewide: replace lock_guard with scoped_lock 2021-11-11 17:13:03 -08:00
net net/IPv4Address: add method GetPortBE() 2021-11-26 16:25:43 +01:00
output output/PipeWire: lock thread loop in SendTag 2023-05-21 20:40:29 +02:00
pcm more braced init list conversion 2021-12-06 09:16:04 +01:00
player return by braced init list 2021-11-22 23:28:08 -08:00
playlist return by braced init list 2021-11-22 23:28:08 -08:00
protocol manual braced init 2021-11-22 23:30:04 -08:00
queue fs/io: move to io/ 2021-12-03 14:35:41 +01:00
song manual braced init 2021-11-22 23:30:04 -08:00
sticker return by braced init list 2021-11-22 23:28:08 -08:00
storage storage/meson.build: move StorageState.cxx to "mpd" executable 2022-11-12 12:24:48 +01:00
system system/Error: truncate the snprintf() return value 2022-11-28 09:42:37 +01:00
tag TagBuilder::RemoveType: added missing tag pool lock before call to tag_pool_put_item 2022-12-29 08:43:10 +01:00
thread treewide: replace lock_guard with scoped_lock 2021-11-11 17:13:03 -08:00
time time/Parser: remove unused library 2022-09-30 18:17:03 +02:00
unix unix/SignalHandlers: shut down if parent process dies in --no-daemon mode 2023-05-21 20:40:47 +02:00
util util/ScopeExit: use std::declval() 2023-05-22 15:01:25 +02:00
win32 win32/Win32Main: throw on error 2021-10-13 16:37:56 +02:00
zeroconf meson.build: log_dep is only needed internally 2021-10-23 12:08:43 +02:00
BulkEdit.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Chrono.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
CommandLine.cxx CommandLine: hard-code daemon=false if ENABLE_DAEMON is not set 2023-05-21 20:40:39 +02:00
CommandLine.hxx CommandLine: hard-code daemon=false if ENABLE_DAEMON is not set 2023-05-21 20:40:39 +02:00
GitVersion.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
GitVersion.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Idle.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
Idle.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
IdleFlags.cxx constexpr/std::array conversions 2021-08-16 21:05:56 -07:00
IdleFlags.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
Instance.cxx db/update/InotifyUpdate: convert to class, no global variables 2021-10-13 18:47:56 +02:00
Instance.hxx db/update/InotifyUpdate: convert to class, no global variables 2021-10-13 18:47:56 +02:00
Listen.cxx fs/StandardDirectory: add GetAppRuntimeDir() 2021-10-26 09:30:16 +02:00
Listen.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
LocateUri.cxx more braced init list conversion 2021-12-06 09:16:04 +01:00
LocateUri.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Log.cxx Log: remove the obsolete printf-style functions 2021-10-13 17:41:19 +02:00
Log.hxx libfmt 9 support 2022-07-08 10:06:53 +02:00
LogBackend.cxx util/StringStrip: use [[gnu::...]] attributes 2021-11-26 16:24:55 +01:00
LogBackend.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
LogInit.cxx LogInit: default to stderr on Windows 2022-09-06 21:04:53 +02:00
LogInit.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
LogLevel.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ls.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
ls.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
Main.cxx unix/SignalHandlers: shut down if parent process dies in --no-daemon mode 2023-05-21 20:40:47 +02:00
Main.hxx Main: move top-level exception handler to main() 2021-10-13 16:37:34 +02:00
Mapper.cxx return by braced init list 2021-11-22 23:28:08 -08:00
Mapper.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
MusicBuffer.cxx manual braced init 2021-11-22 23:30:04 -08:00
MusicBuffer.hxx treewide: replace lock_guard with scoped_lock 2021-11-11 17:13:03 -08:00
MusicChunk.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
MusicChunk.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
MusicChunkPtr.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
MusicChunkPtr.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
MusicPipe.cxx treewide: replace lock_guard with scoped_lock 2021-11-11 17:13:03 -08:00
MusicPipe.hxx treewide: replace lock_guard with scoped_lock 2021-11-11 17:13:03 -08:00
open.h copyright year 2021 2021-01-01 19:54:28 +01:00
Partition.cxx mixer/Volume: refactor to class MixerMemento, per partition 2022-08-08 23:30:27 +02:00
Partition.hxx mixer/Volume: refactor to class MixerMemento, per partition 2022-08-08 23:30:27 +02:00
Permission.cxx Permission: use StringView::Split() 2021-10-26 12:25:47 +02:00
Permission.hxx Permission: refactor getPermissionFromPassword() to return std::optional 2021-10-17 19:58:50 +02:00
PlaylistDatabase.cxx fs/io: move to io/ 2021-12-03 14:35:41 +01:00
PlaylistDatabase.hxx replace TextFile references with LineReader 2021-12-03 14:22:56 +01:00
PlaylistError.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlaylistError.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlaylistFile.cxx PlaylistFile: disallow backslash in playlist names on Windows 2022-11-28 09:53:49 +01:00
PlaylistFile.hxx command/playlist: allow range in playlistdelete 2021-10-25 12:23:37 +02:00
PlaylistPrint.cxx queue/PlaylistEdit: convert start/end parameters to RangeArg 2021-02-15 22:51:09 +01:00
PlaylistPrint.hxx queue/PlaylistEdit: convert start/end parameters to RangeArg 2021-02-15 22:51:09 +01:00
PlaylistSave.cxx fs/io: move to io/ 2021-12-03 14:35:41 +01:00
PlaylistSave.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
PluginUnavailable.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
RemoteTagCache.cxx treewide: replace lock_guard with scoped_lock 2021-11-11 17:13:03 -08:00
RemoteTagCache.hxx v0.23.x: RemoteTagCache: add missing include 2022-12-01 08:29:23 +07:00
RemoteTagCacheHandler.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainConfig.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainGlobal.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainGlobal.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainInfo.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainInfo.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
ReplayGainMode.cxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
ReplayGainMode.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
SingleMode.cxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
SingleMode.hxx SingleMode: convert "pure" to "const" 2021-12-03 16:09:34 +01:00
SongLoader.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
SongLoader.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
SongPrint.cxx command/player, SongPrint: use AudioFormatFormatter() 2023-05-21 20:57:59 +02:00
SongPrint.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
SongSave.cxx db/SimpleDatabasePlugin: store in_playlist value of songs into database 2023-05-21 20:51:47 +02:00
SongSave.hxx db/SimpleDatabasePlugin: store in_playlist value of songs into database 2023-05-21 20:51:47 +02:00
SongUpdate.cxx song/DetachedSong: copy the AudioFormat from LightSong 2021-02-18 22:16:11 +01:00
StateFile.cxx mixer/Volume: refactor to class MixerMemento, per partition 2022-08-08 23:30:27 +02:00
StateFile.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
StateFileConfig.cxx StateFileConfig: use GetAppCacheDir() instead of GetUserCacheDir() 2022-11-28 14:20:14 +01:00
StateFileConfig.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Stats.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
Stats.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagAny.cxx TagAny: support CUE tracks 2022-03-14 18:42:31 +01:00
TagAny.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagArchive.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagArchive.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagFile.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagFile.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagPrint.cxx TagPrint, command/File: two more libfmt 10 workarounds 2023-05-21 21:03:20 +02:00
TagPrint.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagSave.cxx fs/io: move to io/ 2021-12-03 14:35:41 +01:00
TagSave.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagStream.cxx Merge branch 'v0.22.x' 2021-01-01 19:59:15 +01:00
TagStream.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TimePrint.cxx TimePrint: minor fixup for libfmt 10 2023-05-21 20:58:19 +02:00
TimePrint.hxx copyright year 2021 2021-01-01 19:54:28 +01:00