aboutsummaryrefslogtreecommitdiffstats
path: root/src/StateFile.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-3/+3
| | | | | | | 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.
* gcc.h: rename to Compiler.hMax Kellermann2013-10-151-1/+1
|
* ConfigPath: return a Path objectMax Kellermann2013-08-071-2/+1
| | | | | 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-1/+1
| | | | | No caller needs this. Fixes use-after-free after returning from Client::OnTimeout().
* StateFile: schedule timer only after a changeMax Kellermann2013-04-081-2/+5
| | | | | | 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-0/+12
|
* StateFile: make AutoWrite() privateMax Kellermann2013-04-081-1/+3
|
* StateFile: use file system API, log in UTF-8Denis Krjuchkov2013-02-021-1/+3
|
* Path: move to fs subdirectoryDenis Krjuchkov2013-01-221-1/+1
|
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-181-2/+3
|
* event/TimeoutMonitor: wrapper for g_timeout_source_new()Max Kellermann2013-01-141-9/+4
|
* StateFile: convert to a classMax Kellermann2013-01-141-5/+30
|
* Partition: new class, container for Playlist and PlayerControlMax Kellermann2013-01-051-3/+3
| | | | | This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process.
* db_save, state_file: convert to C++Max Kellermann2013-01-021-0/+33