aboutsummaryrefslogtreecommitdiffstats
path: root/src/StateFile.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* StateFile: configurable intervalMax Kellermann2014-08-241-2/+3
|
* fs/io/BufferedReader: new class to replace class TextFileMax Kellermann2014-08-071-3/+3
| | | | | | | The new class is pluggable, to prepare for gzipped database files. For now, the TextFile class remains, and will be refactored away later.
* fs/output, fs/TextFile: move to fs/io/Max Kellermann2014-08-071-3/+3
|
* *Save, *State: use the OutputStream API instead of FILE*Max Kellermann2014-07-301-10/+22
|
* StateFile: use nullptr instead of NULLMax Kellermann2014-07-301-1/+1
|
* Playlist*: move to queue/Max Kellermann2014-02-271-1/+1
|
* Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann2014-02-071-2/+3
| | | | Use Storage::MapUTF8() internally, don't use global variables.
* Instance: add Database attributeMax Kellermann2014-02-041-2/+6
| | | | Move from db/DatabaseGlue.cxx, eliminating global variable.
* StateFile: pass Database to SongLoaderMax Kellermann2014-02-041-1/+2
| | | | | Fixes loading database songs from state file (regression by commit 29072797c).
* QueueSave: use class SongLoaderMax Kellermann2014-02-031-2/+5
|
* OutputAll: convert to class, move instance to class PartitionMax Kellermann2014-01-281-3/+3
| | | | Another big chunk of code for multi-player support.
* Mixer*: move to mixer/Max Kellermann2014-01-241-1/+1
|
* output/*: move to output/plugins/Max Kellermann2014-01-231-1/+1
|
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* TextFile: move to fs subsystemDenis Krjuchkov2013-12-081-1/+1
|
* include cleanup using iwyuMax Kellermann2013-11-281-1/+1
|
* *: use references instead of pointersMax Kellermann2013-10-191-7/+7
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-1/+1
| | | | | | | 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.
* Log: new logging library APIMax Kellermann2013-10-021-13/+14
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* Listen, ...: add missing includesMax Kellermann2013-10-021-1/+2
|
* ConfigPath: return a Path objectMax Kellermann2013-08-071-3/+4
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* event/TimeoutMonitor: eliminate support for periodic eventsMax Kellermann2013-04-081-2/+1
| | | | | No caller needs this. Fixes use-after-free after returning from Client::OnTimeout().
* StateFile: schedule timer only after a changeMax Kellermann2013-04-081-15/+6
| | | | | | 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.
* StateFile: move code to RememberVersions(), IsModified()Max Kellermann2013-04-081-12/+21
|
* StateFile: use file system API, log in UTF-8Denis Krjuchkov2013-02-021-7/+9
|
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-181-3/+3
|
* event/TimeoutMonitor: wrapper for g_timeout_source_new()Max Kellermann2013-01-141-13/+5
|
* StateFile: convert to a classMax Kellermann2013-01-141-64/+34
|
* Main, IOThread: move GMainLoop setup code to class EventLoopMax Kellermann2013-01-141-3/+5
|
* volume: convert to C++Max Kellermann2013-01-071-4/+1
|
* Partition: new class, container for Playlist and PlayerControlMax Kellermann2013-01-051-15/+19
| | | | | This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process.
* playlist: convert to C++Max Kellermann2013-01-041-1/+1
|
* TextFile: convert to a classMax Kellermann2013-01-031-12/+4
|
* text_file: convert to C++Max Kellermann2013-01-031-1/+1
|
* db_save, state_file: convert to C++Max Kellermann2013-01-021-0/+165