aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateGlue.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-17UpdateGlue: handle update id managementMax Kellermann1-10/+20
Add UpdateQueueItem::id to keep track of the id in every item. Replaces thhe hack in update_queue_push().
2013-10-17UpdateGlue: pass UpdateQueueItem aroundMax Kellermann1-20/+16
Fixes a few kludges and avoids GLib allocation.
2013-10-17UpdateQueue: use std::string and std::queueMax Kellermann1-6/+4
2013-10-17Thread/Thread: replacement library for GThreadMax Kellermann1-12/+8
2013-10-17Main: use ThreadId instead of GThread*Max Kellermann1-2/+3
2013-10-02Stats: rename stats.h to Stats.hxxMax Kellermann1-5/+1
2013-10-02Log: new logging library APIMax Kellermann1-11/+10
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-5/+4
Replaces GLib's GError.
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-1/+1
2013-08-07FatalError: new library to replace mpd_error.hMax Kellermann1-2/+2
2013-04-17Main: move global variables to struct InstanceMax Kellermann1-5/+3
More preparations for multi-player support.
2013-04-17use g_thread_new() if GLib is recent enoughMax Kellermann1-2/+5
Fixes deprecation warnings.
2013-01-21UpdateRemove: Mutex/Cond instead of GMutex/GCondMax Kellermann1-1/+0
2013-01-09EventPipe: rename to GlobalEventsMax Kellermann1-3/+3
2013-01-09event_pipe.h: convert to C++Max Kellermann1-1/+1
2013-01-09Playlist: move playlist_increment_version_all() into the classMax Kellermann1-1/+1
2013-01-09idle: convert to C++Max Kellermann1-1/+1
2013-01-05Partition: new class, container for Playlist and PlayerControlMax Kellermann1-2/+2
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-2/+2
2013-01-03database.h: rename to DatabaseSimple.hxxMax Kellermann1-1/+1
2013-01-02mapper: convert to C++Max Kellermann1-1/+1
2013-01-02update: convert to C++Max Kellermann1-7/+9
2012-09-28main: use C++ compilerMax Kellermann1-1/+1
2012-08-08DatabaseGlue: add function db_is_simple()Max Kellermann1-1/+1
Preparing for non-"simple" database plugins.
2012-06-13update_internal.h: split headerMax Kellermann1-1/+6
2012-02-12update_remove: add header update_remove.hMax Kellermann1-0/+1
2011-09-09database: return GError on failureMax Kellermann1-2/+8
2011-01-31update: log all file permission problemsMax Kellermann1-0/+6
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-09-25eliminate g_error() usageThomas Jansen1-1/+2
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
2010-02-27update: log start/finish of the update threadMax Kellermann1-1/+11
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-1/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-11-11added missing config.h includes for extended LFS supportMax Kellermann1-1/+0
All sources which might work with large files must include config.h, to get Large File Support on 32 bit platforms.
2009-11-02update: removed unused variable "update_notify"Max Kellermann1-8/+0
That variable has been superseded by "remove_notify" (defined in update_remove.c).
2009-10-27update: delete ignored symlinks from databaseMax Kellermann1-1/+5
When you disable the "follow_outside_symlinks" or the "follow_inside_symlinks" setting, the next update should remove the now-ignored files from the database.
2009-10-16update: fixed memory leak during container scanMax Kellermann1-3/+6
The return value of map_directory_child_fs() must be freed.
2009-10-16update: song_file_new() cannot failMax Kellermann1-3/+0
Removed the NULL check. If that NULL check was correct, that would have been a memory leak (vtrack).
2009-09-24command: added command "rescan"Max Kellermann1-4/+8
"rescan" is the same as "update", but it discards existing songs in the database.
2009-09-24update: splitted update.c into several sourcesMax Kellermann1-770/+17
2009-09-24update: pass const string to update_enqueue()Max Kellermann1-7/+11
Duplicate the path string within update.c, do not expect an allocated string as parameter.
2009-09-24update: renamed directory_update_init() to update_enqueue()Max Kellermann1-1/+1
2009-08-19update: don't re-read unchanged container filesIgor Kuzmin1-1/+2
MPD checks if every flac (possibly other types as well) file contains cuesheet on every update, which produces unneeded I/O. My music collection is on NFS share, so it's quite noticeable. IMHO, it shouldn't re-read unchanged files, so I wrote simple patch to fix it.
2009-08-14update: free temporary string in container scan (memleak)Max Kellermann1-2/+6
The return value of map_directory_child_fs() must be freed.
2009-08-14update: free empty path string (memleak)Max Kellermann1-1/+2
When you pass an empty string to directory_update_init(), it was not freed by update_task().
2009-07-28playlist: CamelCaseIsBadCourtney Cavin1-1/+1
Renamed all playlist functions to non-CamelCase.
2009-07-14playlist: no CamelCaseMax Kellermann1-1/+1
2009-07-05idle: added "update" eventMax Kellermann1-0/+5
Some clients have visual feedback for "database update is running". Using the "database" idle event is unreliable, because it is only emitted when the database was actually modified. This patch adds the "update" event, which is emitted when the update is started, and again when the update is finished, disregarding whether it has been modified.
2009-03-14Removed superfluous if statement in update.c:453Jochen Keil1-28/+22
Check for NULL not necessary here
2009-03-13all: Update copyright header.Avuton Olrich1-7/+7
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.