aboutsummaryrefslogtreecommitdiffstats
path: root/src/update_walk.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* directory: require the caller to lock the db_mutexMax Kellermann2012-02-021-3/+65
| | | | | Reduce the number of lock/unlock cycles, and make database handling safer.
* update_walk: use directory_make_child()Max Kellermann2012-02-021-5/+2
|
* directory: replace songvec with doubly linked listMax Kellermann2012-01-241-47/+28
|
* directory: add function directory_get_song(), ...Max Kellermann2012-01-241-10/+8
| | | | Wrap songvec_find() and other songvec methods.
* directory: replace dirvec with doubly linked listMax Kellermann2012-01-241-17/+9
| | | | | Random access is not needed, and a linked list is easier to manage: we don't need to (re-)allocate the pointer array.
* directory: simplify constructors and clarify API documentationMax Kellermann2012-01-241-51/+22
| | | | | Pass only the "name" to a directory, instead of the full (relative) path.
* Merge branch 'v0.16.x'Max Kellermann2011-12-131-0/+2
|\ | | | | | | | | | | Conflicts: NEWS configure.ac
| * update_walk: print debug message for song_file_load()Max Kellermann2011-12-131-0/+2
| |
* | Merge branch 'v0.16.x'Max Kellermann2011-11-281-2/+2
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac src/encoder/flac_encoder.c src/log.c src/pcm_buffer.c
| * directory: rename attribute "stat" to "have_stat"Max Kellermann2011-11-271-2/+2
| | | | | | | | | | "stat" is a macro on mingw32, which is a pretty stupid thing, and this commit works around this build failure.
| * directory: convert "stat" to a boolMax Kellermann2011-11-271-1/+1
| |
* | Merge branch 'v0.16.x'Max Kellermann2011-07-201-2/+8
|\| | | | | | | | | | | Conflicts: src/player_thread.c src/playlist_control.c
| * update_walk: apply follow_inside_symlinks to absolute symlinksMax Kellermann2011-07-201-2/+8
| |
* | Merge commit 'release-0.16.2'Max Kellermann2011-03-191-0/+7
|\| | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac
| * update_walk: ignore parameter "mode" on WIN32Max Kellermann2011-03-181-0/+1
| | | | | | | | Fix compiler warning.
| * Merge release 0.15.16 into v0.16.xMax Kellermann2011-03-161-0/+6
| | | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/output/jack_plugin.c src/update.c
* | copyright year 2011Max Kellermann2011-01-291-1/+1
|/
* update_walk: explicitly check for permission problemsMax Kellermann2010-11-081-0/+33
| | | | | | Call access() and print an extra error message when EACCES is returned. Hopefully this will reduce the number of support requests due to wrong file permissions.
* update_walk: update existing playlist entryMax Kellermann2010-09-071-1/+3
| | | | Fixes duplicate playlist entries.
* update: store playlist files in databaseMax Kellermann2010-07-211-0/+31
| | | | | Don't open the music directory for each "lsinfo" call. Get the list of playlist files from the memory database.
* update_walk: don't check recursive symlinks on WIN32Max Kellermann2010-05-191-0/+8
| | | | | inode numbers don't work on WIN32, and very few WIN32 users actually use symlinks - seems ok to disable that check.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* archive_plugin: use GError in the open() methodMax Kellermann2009-12-161-2/+4
|
* archive_plugin: wrap method callsMax Kellermann2009-12-161-4/+4
| | | | | Make archive_file a "real" struct, extended by all plugins. Add the plugin pointer to it. Wrap all method calls in functions.
* archive_api.h: moved struct archive_plugin to archive_plugin.hMax Kellermann2009-12-151-1/+1
|
* archive_list: don't include archive_api.hMax Kellermann2009-12-151-0/+1
| | | | Use struct forward declarations.
* update: added missing config.h includesMax Kellermann2009-11-111-0/+5
| | | | This broke sticker and archive support.
* update_walk: log new container filesMax Kellermann2009-11-071-1/+4
|
* update_walk: log unrecognized filesMax Kellermann2009-11-051-2/+9
| | | | | | When a song's tags could not be loaded during database update, log this as a debug message. Same for a song being removed because its updated tag could not be read.
* Merge branch 'v0.15.x'Max Kellermann2009-10-311-1/+5
| | | | | | | | Conflicts: NEWS configure.ac src/decoder/ffmpeg_plugin.c src/update.c
* mapper, update, ...: use g_build_filename(), G_DIR_SEPARATOR, ...Max Kellermann2009-10-201-4/+3
| | | | | Try to be as portable as possible, use GLib path name functions and macros.
* Merged release 0.15.5 from branch 'v0.15.x'Max Kellermann2009-10-181-6/+6
| | | | | | | | Conflicts: NEWS configure.ac src/decoder/flac_plugin.c src/update.c
* update: obey .mpdignore filesMax Kellermann2009-10-161-2/+57
|
* command: added command "rescan"Max Kellermann2009-09-241-5/+9
| | | | | "rescan" is the same as "update", but it discards existing songs in the database.
* update: splitted update.c into several sourcesMax Kellermann2009-09-241-0/+755