aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateWalk.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-05-06UpdateWalk, ExcludeList: use Path, file system API, DirectoryReader, log in UTF8Denis Krjuchkov1-27/+23
2013-04-08uri: convert to C++Max Kellermann1-4/+1
2013-02-02UpdateWalk.cxx: use FileExistsDenis Krjuchkov1-3/+2
2013-01-28Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov1-2/+2
required
2013-01-28Path: convert fs_charset_to_utf8() to static method Path::ToUTF8()Denis Krjuchkov1-11/+8
2013-01-26playlist/*: convert to C++Max Kellermann1-1/+1
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-27/+15
2013-01-17path: convert to C++Max Kellermann1-1/+1
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