aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Remove.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-26db/simple: create dedicated directoryMax Kellermann1-1/+1
2014-02-04db/DatabaseListener: add method OnDatabaseSongRemoved()Max Kellermann1-20/+2
Decouples db/update/Remove.cpp from global variables.
2014-01-30db/update: convert to OO APIMax Kellermann1-16/+5
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
2014-01-24Database*: move to db/Max Kellermann1-2/+2
2014-01-24Sticker*: move to sticker/Max Kellermann1-2/+2
2014-01-24Update*: move to update/Max Kellermann1-0/+0
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-1/+2
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-1/+4
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2014-01-08SongSticker: use Song referencesMax Kellermann1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-11-04Log: add level "DEFAULT"Max Kellermann1-1/+1
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
2013-10-30*: update copyright year to 2013Max Kellermann1-1/+1
2013-10-22UpdateRemove: include cleanupMax Kellermann1-2/+0
2013-10-19*: use nullptr instead of NULLMax Kellermann1-4/+4
2013-10-17Song: GetURI() returns std::stringMax Kellermann1-5/+4
2013-10-02Log: new logging library APIMax Kellermann1-2/+3
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-07-28song: convert header to C++Max Kellermann1-4/+4
2013-04-17Main: move global variables to struct InstanceMax Kellermann1-2/+2
More preparations for multi-player support.
2013-01-21UpdateRemove: Mutex/Cond instead of GMutex/GCondMax Kellermann1-18/+10
2013-01-09EventPipe: rename to GlobalEventsMax Kellermann1-3/+3
2013-01-09event_pipe.h: convert to C++Max Kellermann1-4/+1
2013-01-07Playlist: convert functions to methodsMax Kellermann1-3/+1
2013-01-05Partition: new class, container for Playlist and PlayerControlMax Kellermann1-1/+4
This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process.
2013-01-04playlist: convert to C++Max Kellermann1-1/+1
2013-01-02sticker: convert to C++Max Kellermann1-4/+2
2013-01-02update: convert to C++Max Kellermann1-2/+8
2012-09-28main: use C++ compilerMax Kellermann1-1/+1
2012-03-26Use g_message and not g_debug when removing songDan McGee1-1/+1
When adding or updating a song, we get a log message even if debug is not enabled. It seems odd that removing a song shouldn't be done at the same log level; otherwise looking at the log leads you to believe songs are never removed from the library on update. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-12update_remove: add header update_remove.hMax Kellermann1-1/+1
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-10update_remove: use plain GCond instead of notifyMax Kellermann1-9/+16
GMutex/GCond guarantee that the access to removed_song is protected.
2011-01-10player_control: removed the global variable "pc"Max Kellermann1-1/+2
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-11update: added missing config.h includesMax Kellermann1-1/+2
This broke sticker and archive support.
2009-09-24update: splitted update.c into several sourcesMax Kellermann1-0/+93