Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-07-30 | include cleanup | Max Kellermann | 1 | -1/+0 | |
2013-07-28 | song: convert header to C++ | Max Kellermann | 1 | -7/+7 | |
2013-01-30 | TagPool, ...: include cleanup | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | PlaylistVector: use std::list | Max Kellermann | 1 | -8/+3 | |
2013-01-03 | Directory: initialise in default constructor | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | Directory: add constructor and destructor | Max Kellermann | 1 | -0/+13 | |
2013-01-03 | Directory: rename struct directory to Directory | Max Kellermann | 1 | -20/+20 | |
2013-01-02 | Directory: turn functions to methods | Max Kellermann | 1 | -150/+141 | |
2013-01-02 | Directory: make the header C++ only | Max Kellermann | 1 | -15/+3 | |
2012-08-29 | SongFilter: convert to a C++ class | Max Kellermann | 1 | -2/+5 | |
2012-08-08 | directory: use gcc.h macros, not GLib | Max Kellermann | 1 | -6/+7 | |
2012-08-08 | DatabaseSelection: add "match" attribute | Max Kellermann | 1 | -1/+2 | |
Let the database plugin do the match. | |||||
2012-08-01 | db_plugin: convert to C++ | Max Kellermann | 1 | -7/+17 | |
2012-02-13 | directory.h: move DIRECTORY_DIR to directory_save.c | Max Kellermann | 1 | -2/+0 | |
2012-02-12 | playlist_vector: use the list_head library | Max Kellermann | 1 | -3/+8 | |
2012-02-02 | directory: require the caller to lock the db_mutex | Max Kellermann | 1 | -0/+21 | |
Reduce the number of lock/unlock cycles, and make database handling safer. | |||||
2012-01-24 | directory: replace songvec with doubly linked list | Max Kellermann | 1 | -3/+15 | |
2012-01-24 | directory: add function directory_get_song(), ... | Max Kellermann | 1 | -0/+22 | |
Wrap songvec_find() and other songvec methods. | |||||
2012-01-24 | directory: replace dirvec with doubly linked list | Max Kellermann | 1 | -8/+33 | |
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-24 | directory: simplify constructors and clarify API documentation | Max Kellermann | 1 | -4/+45 | |
Pass only the "name" to a directory, instead of the full (relative) path. | |||||
2011-11-27 | directory: rename attribute "stat" to "have_stat" | Max Kellermann | 1 | -1/+1 | |
"stat" is a macro on mingw32, which is a pretty stupid thing, and this commit works around this build failure. | |||||
2011-11-27 | directory: convert "stat" to a bool | Max Kellermann | 1 | -1/+1 | |
2011-09-13 | db_plugin: add method visit() | Max Kellermann | 1 | -1/+1 | |
2011-09-13 | database: add struct db_visitor | Max Kellermann | 1 | -4/+6 | |
Use this struct for db_walk(). | |||||
2011-05-09 | directory: allow directories with just playlists | Max Kellermann | 1 | -1/+2 | |
Keep those when scanning for empty directories. The check in playlist_vector_is_empty() was missing. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-12-21 | directory: fix warning "comparison between signed and unsigned" | Max Kellermann | 1 | -2/+2 | |
Cast the constant to dev_t, not to unsigned. | |||||
2010-09-23 | directory: cast DEVICE_INARCHIVE, DEVICE_CONTAINER to dev_t | Max Kellermann | 1 | -2/+2 | |
Fix gcc warning. | |||||
2010-07-21 | update: store playlist files in database | Max Kellermann | 1 | -0/+4 | |
Don't open the music directory for each "lsinfo" call. Get the list of playlist files from the memory database. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -1/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-11-11 | directory: include config.h | Max Kellermann | 1 | -0/+1 | |
*sigh* another Large File breakage. ino_t/dev_t this time. We need to include config.h in directory.h to get this straight. | |||||
2009-04-01 | directory: added directory_lookup_song() | Max Kellermann | 1 | -0/+10 | |
Moved code from db_get_song(). | |||||
2009-04-01 | directory: renamed directory_get_directory() | Max Kellermann | 1 | -1/+8 | |
Renamed directory_get_directory() to directory_lookup_directory(). Added API documentation. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy. | |||||
2009-03-09 | decoder_plugin: added method container_scan() | Jochen Keil | 1 | -0/+1 | |
[mk: fixed whitespace errors; use delete_song() instead of songvec_delete()] | |||||
2009-02-28 | directory: added "mtime" property | Max Kellermann | 1 | -0/+1 | |
Remember the modification time of each directory. This is important for archives (which are virtual directories right now), but may also be useful for an automatic update mechanism. | |||||
2009-02-27 | directory: moved DIRECTORY_* string constants | Max Kellermann | 1 | -7/+0 | |
Moved some of them to to directory_save.c, and others to database.c. | |||||
2009-01-04 | directory: added directory_is_root() | Max Kellermann | 1 | -0/+9 | |
directory_is_root() is cheaper than isRootDirectory(directory_get_path()). | |||||
2008-12-16 | song: adding support for songs in archives | Viliam Mateicka | 1 | -0/+2 | |
2008-10-31 | added prefix to header macros | Max Kellermann | 1 | -2/+2 | |
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD. | |||||
2008-10-13 | directory: added directory_get_name() | Max Kellermann | 1 | -0/+6 | |
directory_get_name() returns the base name of the directory. | |||||
2008-10-13 | directory: pass const pointers to inline functions | Max Kellermann | 1 | -2/+2 | |
The inline functions directory_is_empty() and directory_get_path() don't modify the object - pass constant object pointers to them. | |||||
2008-10-13 | directory: use mpd_sizeof_str_flex_array for path, too | Eric Wong | 1 | -1/+1 | |
This way we avoid unnecessary heap allocations. | |||||
2008-10-09 | directory: added inline wrappers for accessing children | Max Kellermann | 1 | -0/+14 | |
Some tiny utilities... wrappers like these may become helpful when we introduce locking. | |||||
2008-10-09 | directory: moved dirvec struct declaration to dirvec.h | Max Kellermann | 1 | -5/+1 | |
No idea why it was created in directory.h, but it should be in dirvec.h. | |||||
2008-10-09 | diretory: moved code to directory_save.c, directory_print.c | Max Kellermann | 1 | -13/+0 | |
Remove clutter from directory.c. Everything which saves or loads to/from the hard disk goes to directory_save.c, and code which sends directory information to the client is moved into directory_print.c. | |||||
2008-10-08 | directory: include sys/types.h | Max Kellermann | 1 | -1/+1 | |
ino_t and dev_t are declared in sys/types.h, not sys/stat.h. | |||||
2008-10-08 | directory: path must not be NULL | Max Kellermann | 1 | -2/+0 | |
For the root directory, let's set path to an empty string. This saves a few checks. | |||||
2008-10-08 | directory: directory_get_path(NULL) is not allowed | Max Kellermann | 1 | -2/+8 | |
Also convert directory_get_path() to an inline function, which returns a constant string. |