Hi, here's a pile of database update cleanups and bug fixes - the source file has lost some weight. Also: fix for software volume, build fix for shout (when disabled).
Max Max Kellermann (43): directory: path must not be NULL directory: include sys/types.h update: fix deadlock in delete_song() directory: fix update in root directory pcm: fixed software volume, broken by unsigned integer pcm: fix const flac in pcm_convertSampleRate() shout: removed DISABLED_SHOUT_ENCODER_PLUGIN database: simplify db_load() database: removed local variable bufferSize diretory: moved code to directory_save.c, directory_print.c directory: moved dirvec struct declaration to dirvec.h dirvec: constant pointers in dirvec_find() directory: added inline wrappers for accessing children directory: check the absolute path of a subdirectory while loading directory: don't query database during load update: removed addToDirectory() dirvec: added dirvec_clear() update: locked delete after update error update: clear root after error update: moved code to directory_make_child_checked() update: delete directory after failed update update: make addDirectoryPathToDB() non-recursive update: merged addDirectoryPathToDB() into addParentPathToDB() update: don't sanitize the path again database: renamed get_get_song() to db_get_song() update: never pass root path to updatePath() update: pass const pointer to addSubDirectoryToDirectory() update: don't export updateDirectory() update: rewrote updatePath() using updateInDirectory() update: avoid duplicate stat() calls update: copy stat to new directory update: do the recursive directory check only once update: make the "song" variable more local update: eliminated addSubDirectoryToDirectory() updated: always call removeDeletedFromDirectory() update: fixed stack corruption due to pthread_join() call update: check progress!=IDLE in reap_update_task() update: job ID must be positive update: make the job id unsigned update: fix memory leak in directory_update_init() update: don't print debug message when song was not modified update: make the variable "progress" static update: replaced update_return with global "modified" flag Qball Cow (1): Fix error code for "Playlist already exists" Makefile.am | 4 audioOutputs/audioOutput_shout.c | 4 audioOutputs/audioOutput_shout.h | 3 audioOutputs/audioOutput_shout_mp3.c | 4 audioOutputs/audioOutput_shout_ogg.c | 4 command.c | 29 +- database.c | 111 ++++----- database.h | 2 dbUtils.c | 4 directory.c | 119 --------- directory.h | 37 +-- directory_print.c | 43 +++ directory_print.h | 28 ++ directory_save.c | 104 ++++++++ directory_save.h | 32 ++ dirvec.c | 2 dirvec.h | 15 + main.c | 3 pcm_utils.c | 11 playlist.c | 6 song_print.c | 2 storedPlaylist.c | 2 update.c | 425 ++++++++++++++--------------------- update.h | 21 - 24 files changed, 520 insertions(+), 495 deletions(-) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team