Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-10-17 | InotifyUpdate: use class Path | Max Kellermann | 1 | -58/+37 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -18/+18 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -13/+10 | |
Replaces GLib's GError. | |||||
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -2/+2 | |
2013-01-30 | InotifyUpdate: use std::list instead of GList | Max Kellermann | 1 | -25/+25 | |
Let STL manage the WatchDirectory allocations. | |||||
2013-01-30 | InotifyUpdate: move code to destructor | Max Kellermann | 1 | -5/+5 | |
2013-01-30 | InotifyUpdate: allocate the root dynamically | Max Kellermann | 1 | -10/+8 | |
2013-01-30 | InotifyUpdate: use new/delete instead of GLib slices | Max Kellermann | 1 | -9/+11 | |
2013-01-30 | InotifyUpdate: rename struct watch_directory | Max Kellermann | 1 | -18/+18 | |
2013-01-30 | InotifyUpdate: use std::map instead of GTree | Max Kellermann | 1 | -38/+25 | |
2013-01-28 | Path: convert fs_charset_to_utf8() to static method Path::ToUTF8() | Denis Krjuchkov | 1 | -6/+6 | |
2013-01-26 | Mapper: improve usage of Path class | Denis Krjuchkov | 1 | -6/+7 | |
2013-01-22 | Path: move to fs subdirectory | Denis Krjuchkov | 1 | -1/+1 | |
2013-01-17 | path: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-01-15 | InotifySource: use the SocketMonitor class | Max Kellermann | 1 | -1/+2 | |
2013-01-14 | event/TimeoutMonitor: wrapper for g_timeout_source_new() | Max Kellermann | 1 | -1/+2 | |
2013-01-14 | InotifyQueue: convert to a class | Max Kellermann | 1 | -3/+4 | |
2013-01-14 | InotifySource: convert to a class | Max Kellermann | 1 | -10/+8 | |
2013-01-03 | InotifyQueue: use std::deque instead of GSList | Max Kellermann | 1 | -3/+3 | |
2013-01-03 | database.h: eliminate db_*_song() | Max Kellermann | 1 | -1/+1 | |
Use the C++ API. | |||||
2013-01-02 | mapper: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | don't include stdbool.h in C++ sources | Max Kellermann | 1 | -1/+0 | |
The "bool" type is built-in. | |||||
2013-01-02 | update: convert to C++ | Max Kellermann | 1 | -7/+11 | |
2012-08-14 | mapper: fix non-UTF8 music directory name | Max Kellermann | 1 | -2/+2 | |
Duplicate the music_dir variable: one encoded in UTF-8, and another one using the configured filesystem character set. This fixes an ancient MPD bug. | |||||
2012-02-13 | mapper: add mapper_get_music_directory() | Max Kellermann | 1 | -21/+12 | |
Shortcut for map_directory_fs(db_get_root()). | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-05-30 | inotify_update: follow symlinks | Max Kellermann | 1 | -2/+1 | |
This is probably unsafe, and doesn't protect against symlink loops, but we will eventually add this when we bring update*.c and inotify*.c closer together. | |||||
2010-05-30 | inotify_update: fix assertion failure when music dir is deleted | Max Kellermann | 1 | -1/+7 | |
This shouldn't really happen, but insane users might delete/rename the music directory while MPD runs. What was even more insane was that MPD crashed due to this. This is a workaround - there is currently nothing useful we can do in this case; except maybe poll for the music directory to reappear, but that's too much trouble for a user error. | |||||
2010-04-13 | inotify_update: start update when directory is created | Max Kellermann | 1 | -2/+6 | |
This is useful at the maximum depth level, to update newly created directories. It is however questionable if the hard-coded 5 seconds delay is enough to create new directory trees with all of their files, but we might make that delay configurable in the future. | |||||
2010-04-13 | inotify: added setting "auto_update_depth" | Max Kellermann | 1 | -5/+28 | |
Limits the depth of the watched directories. This is useful to keep resource usage down and speed up MPD startup. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-14 | fixed several gcc warnings on unused debug variables | Max Kellermann | 1 | -0/+1 | |
2009-11-11 | added missing config.h includes for extended LFS support | Max Kellermann | 1 | -0/+1 | |
All sources which might work with large files must include config.h, to get Large File Support on 32 bit platforms. | |||||
2009-09-25 | automatically update the database with Linux inotify | Max Kellermann | 1 | -0/+349 | |
This patch implements a light-weight inotify library, and watches all directories below the music directory. It updates all directories where files changed after a delay of 5 seconds. |