aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateWalk.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-1/+1
2013-01-03ExcludeList: convert to a classMax Kellermann1-9/+8
2013-01-03exclude: convert to C++Max Kellermann1-1/+1
2013-01-03PlaylistVector: use std::listMax Kellermann1-8/+8
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-22/+21
2013-01-03database.h: rename to DatabaseSimple.hxxMax Kellermann1-1/+1
2013-01-02Directory: turn functions to methodsMax Kellermann1-6/+5
2013-01-02Directory: make the header C++ onlyMax Kellermann1-1/+1
2013-01-02mapper: convert to C++Max Kellermann1-1/+1
2013-01-02PlaylistInfo: rename class, use std::stringMax Kellermann1-5/+8
2013-01-02db_lock: convert to C++Max Kellermann1-1/+1
2013-01-02playlist_vector: convert to C++Max Kellermann1-1/+1
2013-01-02update: convert to C++Max Kellermann1-8/+11
2012-09-03update_walk: fix unsafe readlink() usageMax Kellermann1-2/+10
2012-07-10require GLib 2.16Max Kellermann1-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.
2012-06-13update_walk: move code to update_song.cMax Kellermann1-84/+2
2012-06-13update_walk: move code to update_container.cMax Kellermann1-91/+1
2012-06-13update_walk: move code to update_archive.cMax Kellermann1-135/+6
2012-06-13update_internal.h: split headerMax Kellermann1-1/+4
2012-06-13update_walk: split update_regular_file()Max Kellermann1-21/+58
2012-06-13directory: require db lock for _{add,remove}_song()Max Kellermann1-0/+8
2012-06-13update_walk: add "pure" attributesMax Kellermann1-0/+2
2012-06-13update_walk: move code to make_directory_if_modified()Max Kellermann1-21/+39
2012-06-13update_walk: fix coding styleMax Kellermann1-94/+67
2012-06-12Work around incorrect g_file_test() behavior on Win32Denis Krjuchkov1-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.
2012-04-04update: properly skip symlinks in path that is to be updated.Anton Khirnov1-1/+5
2012-02-13playlist_vector: require database lock for all functionsMax Kellermann1-1/+6
2012-02-12playlist_vector: use the list_head libraryMax Kellermann1-6/+3
2012-02-12update_walk: move code to update_db.cMax Kellermann1-85/+4
2012-02-12update_walk: move code to update_io.cMax Kellermann1-100/+1
2012-02-12update_walk: move code to update_song_file()Max Kellermann1-59/+64
2012-02-11decoder_plugin: scan tags with callback tableMax Kellermann1-1/+5
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
2012-02-02directory: require the caller to lock the db_mutexMax Kellermann1-3/+65
Reduce the number of lock/unlock cycles, and make database handling safer.
2012-02-02update_walk: use directory_make_child()Max Kellermann1-5/+2
2012-01-24directory: replace songvec with doubly linked listMax Kellermann1-47/+28
2012-01-24directory: add function directory_get_song(), ...Max Kellermann1-10/+8
Wrap songvec_find() and other songvec methods.
2012-01-24directory: replace dirvec with doubly linked listMax Kellermann1-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.
2012-01-24directory: simplify constructors and clarify API documentationMax Kellermann1-51/+22
Pass only the "name" to a directory, instead of the full (relative) path.
2011-12-13update_walk: print debug message for song_file_load()Max Kellermann1-0/+2
2011-11-27directory: rename attribute "stat" to "have_stat"Max Kellermann1-2/+2
"stat" is a macro on mingw32, which is a pretty stupid thing, and this commit works around this build failure.
2011-11-27directory: convert "stat" to a boolMax Kellermann1-1/+1
2011-07-20update_walk: apply follow_inside_symlinks to absolute symlinksMax Kellermann1-2/+8
2011-03-18update_walk: ignore parameter "mode" on WIN32Max Kellermann1-0/+1
Fix compiler warning.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-11-08update_walk: explicitly check for permission problemsMax Kellermann1-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.
2010-09-07update_walk: update existing playlist entryMax Kellermann1-1/+3
Fixes duplicate playlist entries.
2010-07-21update: store playlist files in databaseMax Kellermann1-0/+31
Don't open the music directory for each "lsinfo" call. Get the list of playlist files from the memory database.
2010-05-19update_walk: don't check recursive symlinks on WIN32Max Kellermann1-0/+8
inode numbers don't work on WIN32, and very few WIN32 users actually use symlinks - seems ok to disable that check.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-16archive_plugin: use GError in the open() methodMax Kellermann1-2/+4