aboutsummaryrefslogtreecommitdiff
path: root/src/database.h
Commit message (Collapse)AuthorAge
* database: add "pure" attributesMax Kellermann2012-02-13
|
* database: remove obsolete prototype db_check()Max Kellermann2012-02-13
|
* directory: require the caller to lock the db_mutexMax Kellermann2012-02-02
| | | | | Reduce the number of lock/unlock cycles, and make database handling safer.
* db_plugin: add method visit()Max Kellermann2011-09-13
|
* database: don't allow uri==NULLMax Kellermann2011-09-13
| | | | Add nonnull attributes and fix all callers.
* database: add struct db_visitorMax Kellermann2011-09-13
| | | | Use this struct for db_walk().
* db_plugin: introducing a plugin API for the song databaseMax Kellermann2011-09-10
| | | | | | | | | | | 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 failureMax Kellermann2011-09-09
|
* copyright year 2011Max Kellermann2011-01-29
|
* Update copyright notices.Avuton Olrich2009-12-31
|
* all: Update copyright header.Avuton Olrich2009-03-13
| | | | | | | | 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 GErrorMax Kellermann2009-03-02
| | | | Do error reporting with GLib's GError library.
* mapper: make the music_directory optionalMax Kellermann2009-01-18
| | | | Without a music_directory, MPD is an excellent streaming client.
* database: pass database file name to db_init()Max Kellermann2009-01-18
| | | | Don't include conf.h in database.c.
* update: save the database even if it is emptyMax Kellermann2009-01-08
| | | | Save an empty database, even if the music directory is empty.
* database: use stdboolMax Kellermann2009-01-04
| | | | Make db_load(), db_save() and db_check() return bool instead of int.
* database: db_init() initializes library, does not updateMax Kellermann2009-01-04
| | | | | For updating the database, directory_update_init() should be called explicitly.
* added prefix to header macrosMax Kellermann2008-10-31
| | | | | | | "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 Kellermann2008-10-09
| | | | Search'n'replace typo..
* database: renamed functions, "db_" prefix and no CamelCaseMax Kellermann2008-10-08
| | | | Yet another CamelCase removal patch.
* database: removed printDirectoryInfo()Max Kellermann2008-10-08
| | | | The same can be achieved with directory_print(db_get_directory()).
* directory: moved code to database.cMax Kellermann2008-10-08
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.