Commit Graph

70 Commits

Author SHA1 Message Date
08a5768764 fs/io/TextFile: split into class FileLineReader and AutoGunzipFileLineReader
Detangle dependencies.
2023-11-25 22:50:32 +01:00
148aca23be use SPDX IDs, replacing the long copyright headers 2023-03-06 14:59:48 +01:00
b789ffd2bf Merge branch 'v0.23.x' 2022-08-08 23:46:22 +02:00
4b4f47002b mixer/Volume: refactor to class MixerMemento, per partition
Eliminate global variables, convert them to MixerMemento fields.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1583
2022-08-08 23:30:27 +02:00
cc0def15c4 Copyright year 2022 2022-07-14 17:59:35 +02:00
a5fa43b526 fs/io: move to io/ 2021-12-03 14:35:41 +01:00
6f539cfcd6 Partition, ...: use libfmt for logging 2021-06-24 21:40:11 +02:00
abbd980671 Merge branch 'v0.22.x' 2021-01-01 19:59:15 +01:00
5348f8c9c8 copyright year 2021 2021-01-01 19:54:28 +01:00
9d6b5e2ba1 event/TimerEvent: rename IsActive() to IsPending() 2020-12-02 15:41:11 +01:00
2817bf9e95 copyright year 2020 2020-01-18 19:23:49 +01:00
d663f81420 include cleanups (powered by iwyu) 2019-07-05 09:59:58 +02:00
a139279575 Copyright year 2019 2019-06-17 11:17:30 +02:00
0641ce79fe StateFile: add noexcept 2019-04-24 14:54:17 +02:00
8b5c33cecd Instance: use std::unique_ptr<> to manage the Database pointer 2019-02-20 20:48:20 +01:00
f5c9071494 *: copyright year 2018 2018-10-31 17:54:59 +01:00
01d3777574 decoder/Thread, ...: log all exceptions 2018-08-09 11:14:40 +02:00
113141bf2a StateFileConfig: add attribute "restore_paused" 2018-07-17 23:40:14 +02:00
bcc1e51097 StateFile: add struct StateFileConfig 2018-07-17 23:27:50 +02:00
b9659ba0c0 Merge tag 'v0.20.13'
release v0.20.13
2017-12-18 23:48:14 +01:00
64d141f71e Save and restore mountpoints within the state file.
Signed-off-by: FlashSystems <developer@flashsystems.de>
2017-12-18 23:39:01 +01:00
598bb93cc2 StateFile: migrate from TimeoutMonitor to TimerEvent 2017-08-29 16:52:02 +02:00
4faef28cc5 Merge tag 'v0.20.7'
release v0.20.7
2017-05-15 23:01:49 +02:00
71f0ed8b74 *: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to
consider these functions throwing.
2017-05-08 14:44:49 +02:00
2a831fa547 output/Output*: drop "Output" prefix from source file name 2017-04-28 21:42:24 +02:00
5900253b85 update copyright year 2017-01-03 20:48:59 +01:00
b042095ac2 event/Loop: use std::chrono 2016-12-28 01:15:08 +01:00
fdb136f1fa StateFile: use C++11 initializers 2016-12-27 23:13:26 +01:00
1aee89f5ea *: include cleanup (using iwyu) 2016-03-01 22:08:13 +01:00
1d67aa7bf2 update copyright year to 2016 2016-02-26 17:54:05 +01:00
e6e7d6dbd6 fs/io/Reader: use C++ exceptions instead of class Error 2015-12-18 01:08:16 +01:00
e4a06da14e fs/io/OutputStream: use C++ exceptions in Write() 2015-12-16 10:24:43 +01:00
7eae3bc8c5 fs/io/FileOutputStream: use C++ exceptions in Commit() 2015-12-16 00:33:33 +01:00
24b2198668 fs/io/FileOutputStream: use C++ exceptions in constructor 2015-12-16 00:33:30 +01:00
712ed555e6 Copyright year 2015 2015-01-01 19:48:13 +01:00
42af040fbd StateFile: configurable interval 2014-08-24 13:24:20 +02:00
aa2e4d92e0 fs/io/BufferedReader: new class to replace class TextFile
The new class is pluggable, to prepare for gzipped database files.

For now, the TextFile class remains, and will be refactored away
later.
2014-08-07 19:38:25 +02:00
aafff8fd5c fs/output, fs/TextFile: move to fs/io/ 2014-08-07 19:38:25 +02:00
9fb351a139 *Save, *State: use the OutputStream API instead of FILE* 2014-07-30 22:17:01 +02:00
fa05dac5ae StateFile: use nullptr instead of NULL 2014-07-30 18:45:14 +02:00
809b89b5af Playlist*: move to queue/ 2014-02-27 17:12:42 +01:00
c13810ebaa Mapper: move map_song_detach() to db/DatabaseSong.cxx
Use Storage::MapUTF8() internally, don't use global variables.
2014-02-07 00:42:14 +01:00
cf6281a5a7 Instance: add Database attribute
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-02-04 11:22:33 +01:00
ddd36338da StateFile: pass Database to SongLoader
Fixes loading database songs from state file (regression by commit
29072797c).
2014-02-04 10:30:51 +01:00
5ad2980d69 QueueSave: use class SongLoader 2014-02-03 23:32:31 +01:00
f5a923b9d1 OutputAll: convert to class, move instance to class Partition
Another big chunk of code for multi-player support.
2014-01-28 09:20:53 +01:00
68eda78704 Mixer*: move to mixer/ 2014-01-24 16:44:32 +01:00
ea5b901bcc output/*: move to output/plugins/ 2014-01-23 23:49:50 +01:00
4f83c60296 copyright year 2014 2014-01-13 22:31:55 +01:00
acba9c0f61 TextFile: move to fs subsystem 2013-12-08 04:15:27 +06:00