aboutsummaryrefslogtreecommitdiffstats
path: root/src/update_walk.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* require GLib 2.16Max Kellermann2012-07-101-1/+0
| | | | | GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
* update_walk: move code to update_song.cMax Kellermann2012-06-131-84/+2
|
* update_walk: move code to update_container.cMax Kellermann2012-06-131-91/+1
|
* update_walk: move code to update_archive.cMax Kellermann2012-06-131-135/+6
|
* update_internal.h: split headerMax Kellermann2012-06-131-1/+4
|
* update_walk: split update_regular_file()Max Kellermann2012-06-131-21/+58
|
* directory: require db lock for _{add,remove}_song()Max Kellermann2012-06-131-0/+8
|
* update_walk: add "pure" attributesMax Kellermann2012-06-131-0/+2
|
* update_walk: move code to make_directory_if_modified()Max Kellermann2012-06-131-21/+39
|
* update_walk: fix coding styleMax Kellermann2012-06-131-94/+67
|
* Merge branch 'v0.16.x'Max Kellermann2012-06-121-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cmdline.c src/decoder/wildmidi_decoder_plugin.c src/gcc.h src/glib_compat.h src/input_stream.c src/output_list.c src/output_thread.c valgrind.suppressions
| * Work around incorrect g_file_test() behavior on Win32Denis Krjuchkov2012-06-121-0/+1
| | | | | | | | | | | | | | g_file_test is redefined to be g_file_test_utf8 and thus can't handle non-ASCII characters. This fix adds simple wrapper (taken from glib) that fixes encoding and calls g_file_test_utf8. All required inclusions of glib_compat.h are added as well.
* | Merge branch 'v0.16.x'Max Kellermann2012-04-051-1/+5
|\| | | | | | | | | | | Conflicts: src/output/osx_plugin.c src/text_input_stream.c
| * update: properly skip symlinks in path that is to be updated.Anton Khirnov2012-04-041-1/+5
| |
* | playlist_vector: require database lock for all functionsMax Kellermann2012-02-131-1/+6
| |
* | playlist_vector: use the list_head libraryMax Kellermann2012-02-121-6/+3
| |
* | update_walk: move code to update_db.cMax Kellermann2012-02-121-85/+4
| |
* | update_walk: move code to update_io.cMax Kellermann2012-02-121-100/+1
| |
* | update_walk: move code to update_song_file()Max Kellermann2012-02-121-59/+64
| |
* | decoder_plugin: scan tags with callback tableMax Kellermann2012-02-111-1/+5
| | | | | | | | | | Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
* | 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