summaryrefslogtreecommitdiff
path: root/src/StateFile.hxx
AgeCommit message (Collapse)Author
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-08-20Compiler.h: move to util/Max Kellermann
2018-07-17StateFile: add struct StateFileConfigMax Kellermann
2017-12-18Merge tag 'v0.20.13'Max Kellermann
release v0.20.13
2017-12-18Save and restore mountpoints within the state file.FlashSystems
Signed-off-by: FlashSystems <developer@flashsystems.de>
2017-08-29StateFile: migrate from TimeoutMonitor to TimerEventMax Kellermann
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-01-03update copyright yearMax Kellermann
2016-12-28event/Loop: use std::chronoMax Kellermann
2016-12-27StateFile: use C++11 initializersMax Kellermann
2016-03-10Instance: remove redundant "virtual" keywordsMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-12-16fs/io/OutputStream: use C++ exceptions in Write()Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-08-24StateFile: configurable intervalMax Kellermann
2014-08-24StateFile: make "path" constMax Kellermann
2014-07-30*Save, *State: use the OutputStream API instead of FILE*Max Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
2013-10-15gcc.h: rename to Compiler.hMax Kellermann
2013-08-07ConfigPath: return a Path objectMax Kellermann
Migrate all callers to use Path directly, instead of doing the conversion in each caller.
2013-04-08event/TimeoutMonitor: eliminate support for periodic eventsMax Kellermann
No caller needs this. Fixes use-after-free after returning from Client::OnTimeout().
2013-04-08StateFile: schedule timer only after a changeMax Kellermann
Save the state file 2 minutes after the last change. This reduces the disruptions by an idle MPD, and MPD can be paged out permanently until it is used.
2013-04-08StateFile: move code to RememberVersions(), IsModified()Max Kellermann
2013-04-08StateFile: make AutoWrite() privateMax Kellermann
2013-02-02StateFile: use file system API, log in UTF-8Denis Krjuchkov
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann
2013-01-14event/TimeoutMonitor: wrapper for g_timeout_source_new()Max Kellermann
2013-01-14StateFile: convert to a classMax Kellermann
2013-01-05Partition: new class, container for Playlist and PlayerControlMax Kellermann
This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process.
2013-01-02db_save, state_file: convert to C++Max Kellermann