Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | player_control: inline trivial functions | Max Kellermann | 2012-08-08 | 2 | -40/+25 | |
| | | ||||||
* | | song: use C++ compiler | Max Kellermann | 2012-08-08 | 3 | -11/+19 | |
| | | ||||||
* | | tag_pool: use GStaticMutex | Max Kellermann | 2012-08-08 | 9 | -49/+24 | |
| | | | | | | | | Eliminates explicit global initialisation. | |||||
* | | song: include cleanup | Max Kellermann | 2012-08-08 | 1 | -1/+0 | |
| | | ||||||
* | | directory: use gcc.h macros, not GLib | Max Kellermann | 2012-08-08 | 1 | -6/+7 | |
| | | ||||||
* | | conf: add a "database" block | Max Kellermann | 2012-08-08 | 3 | -6/+138 | |
| | | | | | | | | | | The new block overrides the "db_file" setting, and allows configuring any database plugin. | |||||
* | | DatabaseGlue: look up the database plugin | Max Kellermann | 2012-08-08 | 1 | -1/+11 | |
| | | | | | | | | No more hard-coded "simple" plugin. | |||||
* | | DatabaseGlue: pass block to db_init() | Max Kellermann | 2012-08-08 | 3 | -13/+9 | |
| | | | | | | | | Let the caller take care for legacy conversion. | |||||
* | | DatabaseGlue: add function db_is_simple() | Max Kellermann | 2012-08-08 | 4 | -5/+38 | |
| | | | | | | | | Preparing for non-"simple" database plugins. | |||||
* | | main: don't call db_init() without database | Max Kellermann | 2012-08-08 | 1 | -1/+0 | |
| | | | | | | | | Useless call. | |||||
* | | ProxyDatabasePlugin: obey the "recursive" flag | Max Kellermann | 2012-08-08 | 1 | -2/+3 | |
| | | ||||||
* | | ProxyDatabasePlugin: use an artificial "root" directory | Max Kellermann | 2012-08-08 | 1 | -2/+9 | |
| | | | | | | | | Fixes assertion failures in the Directory library. | |||||
* | | DatabasePrint: don't print Last-Modified if unknown | Max Kellermann | 2012-08-08 | 2 | -2/+4 | |
| | | ||||||
* | | time_print: new library, function time_print() | Max Kellermann | 2012-08-08 | 6 | -57/+88 | |
| | | | | | | | | | | Implements error checking for the gmtime_r() call, which was missing in two code locations. | |||||
* | | ProxyDatabasePlugin: new database plugin using libmpdclient | Max Kellermann | 2012-08-08 | 5 | -1/+400 | |
| | | | | | | | | | | Implementation incomplete, but sort-of-works. DumpDatabase works, but MPD is still hard-coded on the "simple" plugin. | |||||
* | | DatabaseCommands: allow empty criteria for "list" | Max Kellermann | 2012-08-08 | 1 | -3/+5 | |
| | | | | | | | | Fixes regression. | |||||
* | | DatabaseSelection: add "match" attribute | Max Kellermann | 2012-08-08 | 12 | -97/+57 | |
| | | | | | | | | Let the database plugin do the match. | |||||
* | | DatabaseCommands: merge duplicate search/find code | Max Kellermann | 2012-08-08 | 2 | -55/+31 | |
| | | ||||||
* | | locate: add a per-item "fold_case" flag | Max Kellermann | 2012-08-08 | 13 | -179/+55 | |
| | | | | | | | | Merge locate_song_search() and locate_song_match(). | |||||
* | | locate: make "tag" unsigned | Max Kellermann | 2012-08-08 | 2 | -9/+8 | |
| | | ||||||
* | | locate: make the structs opaque | Max Kellermann | 2012-08-07 | 3 | -29/+36 | |
| | | ||||||
* | | locate: don't allow empty list | Max Kellermann | 2012-08-07 | 3 | -33/+9 | |
| | | ||||||
* | | locate: pass unsigned integer to _parse() | Max Kellermann | 2012-08-07 | 2 | -2/+2 | |
| | | ||||||
* | | locate: add "pure" attributes | Max Kellermann | 2012-08-07 | 2 | -0/+5 | |
| | | ||||||
* | | DatabaseCommands: remove stray locate_item_list_parse() call | Max Kellermann | 2012-08-07 | 1 | -2/+0 | |
| | | ||||||
* | | locate: add "casefold" flag to parser | Max Kellermann | 2012-08-07 | 8 | -72/+26 | |
| | | | | | | | | | | Fold the case during construction, without having to create another copy. | |||||
* | | locate: remove unused function locate_item_free() | Max Kellermann | 2012-08-07 | 2 | -11/+0 | |
| | | ||||||
* | | db_selection: rename to DatabaseSelection | Max Kellermann | 2012-08-07 | 13 | -64/+39 | |
| | | ||||||
* | | db_print.h: rename to DatabasePrint.hxx | Max Kellermann | 2012-08-07 | 4 | -11/+10 | |
| | | ||||||
* | | dbUtils.h: move to DatabaseQueue.hxx, DatabasePlaylist.hxx | Max Kellermann | 2012-08-07 | 8 | -20/+79 | |
| | | ||||||
* | | command: move code to DatabaseCommands.cxx | Max Kellermann | 2012-08-07 | 4 | -238/+350 | |
| | | | | | | | | Prepare to use the DatabasePlugin C++ API directly. | |||||
* | | command: move print_error() to CommandError.cxx | Max Kellermann | 2012-08-07 | 5 | -104/+179 | |
| | | | | | | | | Prepare for splitting command.c. | |||||
* | | Database{Plugin,Visitor}: pass references | Max Kellermann | 2012-08-07 | 10 | -91/+95 | |
| | | ||||||
* | | test/DumpDatabase: new debug program | Max Kellermann | 2012-08-07 | 2 | -0/+170 | |
| | | ||||||
* | | DatabaseRegistry: list of plugins | Max Kellermann | 2012-08-07 | 3 | -0/+76 | |
| | | ||||||
* | | configure.ac: copy missing file m4/ax_check_link_flag.m4 | Max Kellermann | 2012-08-03 | 1 | -0/+71 | |
| | | | | | | | | Needed by ax_append_link_flags.m4. | |||||
* | | Makefile.am: add libdb_plugins.a | Max Kellermann | 2012-08-02 | 1 | -1/+10 | |
| | | ||||||
* | | DatabaseGlue: remove db_walk(), db_visit() | Max Kellermann | 2012-08-02 | 2 | -61/+0 | |
| | | | | | | | | Unused. | |||||
* | | stats: convert to C++ | Max Kellermann | 2012-08-02 | 2 | -27/+32 | |
| | | ||||||
* | | db_print: convert to C++ | Max Kellermann | 2012-08-02 | 2 | -155/+93 | |
| | | ||||||
* | | dbUtils: split to Database{Queue,Playlist}.cxx | Max Kellermann | 2012-08-02 | 4 | -210/+184 | |
| | | ||||||
* | | DatabaseGlue: add function GetDatabase() | Max Kellermann | 2012-08-02 | 2 | -0/+44 | |
| | | | | | | | | Allow using the object outside of DatabaseGlue.cxx. | |||||
* | | DatabasePlugin: add simpler Visit() wrapepr | Max Kellermann | 2012-08-02 | 1 | -0/+13 | |
| | | ||||||
* | | DatabasePlugin: make Visit() const | Max Kellermann | 2012-08-02 | 3 | -6/+6 | |
| | | ||||||
* | | gcc.h: re-add gcc_const and gcc_pure | Max Kellermann | 2012-08-02 | 28 | -92/+123 | |
| | | | | | | | | Remove GLib dependency from some headers. | |||||
* | | DatabaseVisitor, ...: use GError forward declaration | Max Kellermann | 2012-08-02 | 31 | -29/+72 | |
| | | ||||||
* | | configure.ac: enable --gc-sections | Max Kellermann | 2012-08-02 | 2 | -0/+71 | |
| | | | | | | | | Produce a smaller binary by removing all unused functions. | |||||
* | | db_plugin: convert to C++ | Max Kellermann | 2012-08-01 | 10 | -393/+367 | |
| | | ||||||
* | | gcc.h: require g++ 4.5 or newer | Max Kellermann | 2012-08-01 | 1 | -0/+4 | |
| | | | | | | | | Soon we'll use C++11 lambdas which were implemented in gcc 4.5. | |||||
* | | configure.ac: enable C++ warnings | Max Kellermann | 2012-08-01 | 1 | -1/+24 | |
| | |