Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-01-21 | config/Param: split block-specific attributes to new struct ConfigBlock | Max Kellermann | 1 | -4/+4 | |
The old struct config_param remains only for top-level string options. | |||||
2015-01-21 | ConfigData: move struct config_param to Param.hxx | Max Kellermann | 1 | -1/+1 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-02-19 | db/Interface: add attribute "plugin" | Max Kellermann | 1 | -2/+1 | |
The new method IsPlugin() replaces the "is_simple" flag. | |||||
2014-02-04 | Instance: add Database attribute | Max Kellermann | 1 | -87/+4 | |
Move from db/DatabaseGlue.cxx, eliminating global variable. | |||||
2014-02-04 | db/update/Service: add SimpleDatabase reference | Max Kellermann | 1 | -14/+4 | |
Don't use the global variables from the DatabaseSimple library. | |||||
2014-02-04 | db/Simple: remove unused function db_get_directory() | Max Kellermann | 1 | -13/+0 | |
2014-01-24 | Database*: move to db/ | Max Kellermann | 1 | -2/+2 | |
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -1/+1 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-11 | DatabasePlugin: add interface DatabaseListener | Max Kellermann | 1 | -2/+3 | |
Allow database plugins to announce that they have been modified. | |||||
2014-01-10 | Stats: lazy initialization | Max Kellermann | 1 | -2/+0 | |
Ask the DatabasePlugin for stats when the first client requests them, not at startup. | |||||
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -6/+0 | |
2013-11-22 | DatabasePlugin: add method GetUpdateStamp() | Max Kellermann | 1 | -3/+3 | |
Refactor SimpleDatabase::GetLastModified() to be generic for all plugins. Remove the SimpleDatabase assumption from db_stats_print(), allowing it to be implemented by all database plugins. | |||||
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -13/+13 | |
2013-10-15 | Client, ...: remove unnecessary glib.h include | Max Kellermann | 1 | -2/+0 | |
2013-10-02 | Stats: rename stats.h to Stats.hxx | Max Kellermann | 1 | -5/+2 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -3/+0 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+1 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -10/+10 | |
Replaces GLib's GError. | |||||
2013-08-10 | db_error: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-08-04 | DatabasePlugin: pass config_param reference | Max Kellermann | 1 | -2/+2 | |
2013-01-29 | require GLib 2.24 | Max Kellermann | 1 | -1/+0 | |
2013-01-07 | decoder_api.h, ...: add "extern C" | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | Directory: rename struct directory to Directory | Max Kellermann | 1 | -3/+3 | |
2013-01-03 | database.h: rename to DatabaseSimple.hxx | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | database.h: move prototypes to DatabaseGlue.hxx | Max Kellermann | 1 | -3/+3 | |
2013-01-03 | database.h: eliminate db_*_song() | Max Kellermann | 1 | -22/+0 | |
Use the C++ API. | |||||
2013-01-02 | Directory: turn functions to methods | Max Kellermann | 1 | -3/+1 | |
2013-01-02 | Directory: make the header C++ only | Max Kellermann | 1 | -2/+1 | |
2013-01-02 | db_save, state_file: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | configure.ac: disable C++ RTTI | Max Kellermann | 1 | -1/+4 | |
RTTI adds overhead to the binary, and we don't need that. | |||||
2012-08-22 | Database*: fix nullptr dereference when no database is configured | Max Kellermann | 1 | -0/+12 | |
2012-08-16 | DatabasePlugin: add method ReturnSong() | Max Kellermann | 1 | -0/+9 | |
Allow the plugin to allocate the GetSong() return value. | |||||
2012-08-15 | db_visitor: delete obsolete header | Max Kellermann | 1 | -1/+0 | |
2012-08-08 | DatabaseGlue: look up the database plugin | Max Kellermann | 1 | -1/+11 | |
No more hard-coded "simple" plugin. | |||||
2012-08-08 | DatabaseGlue: pass block to db_init() | Max Kellermann | 1 | -10/+1 | |
Let the caller take care for legacy conversion. | |||||
2012-08-08 | DatabaseGlue: add function db_is_simple() | Max Kellermann | 1 | -0/+11 | |
Preparing for non-"simple" database plugins. | |||||
2012-08-07 | db_selection: rename to DatabaseSelection | Max Kellermann | 1 | -1/+0 | |
2012-08-02 | DatabaseGlue: remove db_walk(), db_visit() | Max Kellermann | 1 | -49/+0 | |
Unused. | |||||
2012-08-02 | DatabaseGlue: add function GetDatabase() | Max Kellermann | 1 | -0/+9 | |
Allow using the object outside of DatabaseGlue.cxx. | |||||
2012-08-01 | db_plugin: convert to C++ | Max Kellermann | 1 | -13/+42 | |
2012-02-02 | directory: require the caller to lock the db_mutex | Max Kellermann | 1 | -1/+3 | |
Reduce the number of lock/unlock cycles, and make database handling safer. | |||||
2011-09-13 | db_plugin: add method visit() | Max Kellermann | 1 | -18/+14 | |
2011-09-13 | db_plugin: add method get_song() | Max Kellermann | 1 | -2/+1 | |
New db_get_song() implementation. | |||||
2011-09-13 | database: generate GError when database is disabled | Max Kellermann | 1 | -5/+8 | |
2011-09-13 | directory: don't visit "self" in _walk() | Max Kellermann | 1 | -0/+4 | |
Let the caller decide if the current directory should be visited. | |||||
2011-09-13 | database: add struct db_visitor | Max Kellermann | 1 | -19/+15 | |
Use this struct for db_walk(). | |||||
2011-09-10 | db_plugin: introducing a plugin API for the song database | Max Kellermann | 1 | -159/+40 | |
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. |