summaryrefslogtreecommitdiff
path: root/src/StateFile.cxx
AgeCommit message (Collapse)Author
2019-02-20Instance: use std::unique_ptr<> to manage the Database pointerMax Kellermann
2018-10-31*: copyright year 2018Max Kellermann
2018-08-09decoder/Thread, ...: log all exceptionsMax Kellermann
2018-07-17StateFileConfig: add attribute "restore_paused"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-15Merge tag 'v0.20.7'Max Kellermann
release v0.20.7
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-04-28output/Output*: drop "Output" prefix from source file nameMax Kellermann
2017-01-03update copyright yearMax Kellermann
2016-12-28event/Loop: use std::chronoMax Kellermann
2016-12-27StateFile: use C++11 initializersMax Kellermann
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-12-18fs/io/Reader: use C++ exceptions instead of class ErrorMax Kellermann
2015-12-16fs/io/OutputStream: use C++ exceptions in Write()Max Kellermann
2015-12-16fs/io/FileOutputStream: use C++ exceptions in Commit()Max Kellermann
2015-12-16fs/io/FileOutputStream: use C++ exceptions in constructorMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-08-24StateFile: configurable intervalMax Kellermann
2014-08-07fs/io/BufferedReader: new class to replace class TextFileMax Kellermann
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-07fs/output, fs/TextFile: move to fs/io/Max Kellermann
2014-07-30*Save, *State: use the OutputStream API instead of FILE*Max Kellermann
2014-07-30StateFile: use nullptr instead of NULLMax Kellermann
2014-02-27Playlist*: move to queue/Max Kellermann
2014-02-07Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann
Use Storage::MapUTF8() internally, don't use global variables.
2014-02-04Instance: add Database attributeMax Kellermann
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-02-04StateFile: pass Database to SongLoaderMax Kellermann
Fixes loading database songs from state file (regression by commit 29072797c).
2014-02-03QueueSave: use class SongLoaderMax Kellermann
2014-01-28OutputAll: convert to class, move instance to class PartitionMax Kellermann
Another big chunk of code for multi-player support.
2014-01-24Mixer*: move to mixer/Max Kellermann
2014-01-23output/*: move to output/plugins/Max Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-12-08TextFile: move to fs subsystemDenis Krjuchkov
2013-11-28include cleanup using iwyuMax Kellermann
2013-10-19*: use references instead of pointersMax 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-02Log: new logging library APIMax Kellermann
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-10-02Listen, ...: add missing includesMax 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-02-02StateFile: use file system API, log in UTF-8Denis 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-14Main, IOThread: move GMainLoop setup code to class EventLoopMax Kellermann