Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | database.h: rename to DatabaseSimple.hxx | Max Kellermann | 2013-01-03 | 1 | -88/+0 |
| | |||||
* | database.h: move prototypes to DatabaseGlue.hxx | Max Kellermann | 2013-01-03 | 1 | -14/+0 |
| | |||||
* | database.h: eliminate db_*_song() | Max Kellermann | 2013-01-03 | 1 | -9/+0 |
| | | | | Use the C++ API. | ||||
* | DatabasePlugin: add method ReturnSong() | Max Kellermann | 2012-08-16 | 1 | -0/+4 |
| | | | | Allow the plugin to allocate the GetSong() return value. | ||||
* | DatabaseGlue: pass block to db_init() | Max Kellermann | 2012-08-08 | 1 | -2/+2 |
| | | | | Let the caller take care for legacy conversion. | ||||
* | DatabaseGlue: add function db_is_simple() | Max Kellermann | 2012-08-08 | 1 | -0/+18 |
| | | | | Preparing for non-"simple" database plugins. | ||||
* | DatabaseGlue: remove db_walk(), db_visit() | Max Kellermann | 2012-08-02 | 1 | -12/+0 |
| | | | | Unused. | ||||
* | gcc.h: re-add gcc_const and gcc_pure | Max Kellermann | 2012-08-02 | 1 | -5/+5 |
| | | | | Remove GLib dependency from some headers. | ||||
* | database: add "pure" attributes | Max Kellermann | 2012-02-13 | 1 | -0/+5 |
| | |||||
* | database: remove obsolete prototype db_check() | Max Kellermann | 2012-02-13 | 1 | -3/+0 |
| | |||||
* | directory: require the caller to lock the db_mutex | Max Kellermann | 2012-02-02 | 1 | -0/+3 |
| | | | | | Reduce the number of lock/unlock cycles, and make database handling safer. | ||||
* | db_plugin: add method visit() | Max Kellermann | 2011-09-13 | 1 | -0/+7 |
| | |||||
* | database: don't allow uri==NULL | Max Kellermann | 2011-09-13 | 1 | -0/+5 |
| | | | | Add nonnull attributes and fix all callers. | ||||
* | database: add struct db_visitor | Max Kellermann | 2011-09-13 | 1 | -3/+5 |
| | | | | Use this struct for db_walk(). | ||||
* | db_plugin: introducing a plugin API for the song database | Max Kellermann | 2011-09-10 | 1 | -8/+3 |
| | | | | | | | | | | | First draft, not really pluggable currently - hard-coded to use the "simple" plugin, and calls several of its internal functions. The API is very simple currently, all searches are still performed over the root "directory" object. Future changes to the API will move those search implementations into the plugin, to allow more efficient implementations, or implementations that don't have the whole tree in memory all the time. | ||||
* | database: return GError on failure | Max Kellermann | 2011-09-09 | 1 | -2/+2 |
| | |||||
* | copyright year 2011 | Max Kellermann | 2011-01-29 | 1 | -1/+1 |
| | |||||
* | Update copyright notices. | Avuton Olrich | 2009-12-31 | 1 | -1/+1 |
| | |||||
* | all: Update copyright header. | Avuton Olrich | 2009-03-13 | 1 | -7/+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. | ||||
* | database: db_load() returns GError | Max Kellermann | 2009-03-02 | 1 | -1/+3 |
| | | | | Do error reporting with GLib's GError library. | ||||
* | mapper: make the music_directory optional | Max Kellermann | 2009-01-18 | 1 | -0/+4 |
| | | | | Without a music_directory, MPD is an excellent streaming client. | ||||
* | database: pass database file name to db_init() | Max Kellermann | 2009-01-18 | 1 | -7/+5 |
| | | | | Don't include conf.h in database.c. | ||||
* | update: save the database even if it is empty | Max Kellermann | 2009-01-08 | 1 | -0/+11 |
| | | | | Save an empty database, even if the music directory is empty. | ||||
* | database: use stdbool | Max Kellermann | 2009-01-04 | 1 | -3/+4 |
| | | | | Make db_load(), db_save() and db_check() return bool instead of int. | ||||
* | database: db_init() initializes library, does not update | Max Kellermann | 2009-01-04 | 1 | -0/+13 |
| | | | | | For updating the database, directory_update_init() should be called explicitly. | ||||
* | added prefix to header macros | Max Kellermann | 2008-10-31 | 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. | ||||
* | database: renamed get_get_song() to db_get_song() | Max Kellermann | 2008-10-09 | 1 | -1/+1 |
| | | | | Search'n'replace typo.. | ||||
* | database: renamed functions, "db_" prefix and no CamelCase | Max Kellermann | 2008-10-08 | 1 | -12/+18 |
| | | | | Yet another CamelCase removal patch. | ||||
* | database: removed printDirectoryInfo() | Max Kellermann | 2008-10-08 | 1 | -3/+0 |
| | | | | The same can be achieved with directory_print(db_get_directory()). | ||||
* | directory: moved code to database.c | Max Kellermann | 2008-10-08 | 1 | -0/+55 |
Taming the directory.c monster, part II: move the database management stuff to database. directory.c should only contain code which works on directory objects. |