Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | playlist_song: use map_to_relative_path() | Max Kellermann | 2012-08-14 | 1 | -4/+4 | |
| | | ||||||
| * | playlist_song: improve const-correctness | Max Kellermann | 2012-08-14 | 1 | -5/+4 | |
| | | ||||||
| * | playlist_song: move code to playlist_check_load_song() | Max Kellermann | 2012-08-14 | 1 | -23/+23 | |
| | | ||||||
| * | input_stream, main: remove obsolete GLib version checks | Max Kellermann | 2012-08-14 | 3 | -8/+0 | |
| | | | | | | | | MPD requires GLib 2.16. | |||||
* | | Merge branch 'v0.17.x' | Max Kellermann | 2012-08-13 | 1 | -2/+0 | |
|\| | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/client_file.h | |||||
| * | client_file: remove pure attribute from client_allow_file(). | Anton Khirnov | 2012-08-13 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | That function is not pure, it writes to error. When marked as pure, the compiler is allowed to assume it does not do anything to error, so it can remain NULL, which would result in an invalid read in print_error(). | |||||
* | | Directory: move code to directory_allocate() | Max Kellermann | 2012-08-09 | 1 | -8/+18 | |
| | | ||||||
* | | player_control: add GError attribute | Max Kellermann | 2012-08-08 | 4 | -68/+56 | |
| | | | | | | | | | | Rewrite of the pc_get_error_message() function, now using a GError object instead of the complicated "errored_song" attribute. | |||||
* | | output_all: add basic GError support | Max Kellermann | 2012-08-08 | 4 | -11/+74 | |
| | | ||||||
* | | decoder_control: add GError attribute | Max Kellermann | 2012-08-08 | 4 | -1/+106 | |
| | | ||||||
* | | player_control: rename attribute "error" to "error_type" | Max Kellermann | 2012-08-08 | 4 | -12/+14 | |
| | | ||||||
* | | player_control: rename player_error enum values | Max Kellermann | 2012-08-08 | 4 | -16/+24 | |
| | | ||||||
* | | player_control: remove unused enum player_error values | Max Kellermann | 2012-08-08 | 3 | -19/+1 | |
| | | ||||||
* | | player_control: inline trivial functions | Max Kellermann | 2012-08-08 | 2 | -40/+25 | |
| | | ||||||
* | | song: use C++ compiler | Max Kellermann | 2012-08-08 | 2 | -8/+16 | |
| | | ||||||
* | | tag_pool: use GStaticMutex | Max Kellermann | 2012-08-08 | 4 | -32/+22 | |
| | | | | | | | | 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 | 2 | -6/+19 | |
| | | | | | | | | | | 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 | 5 | -57/+87 | |
| | | | | | | | | | | 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 | 3 | -0/+377 | |
| | | | | | | | | | | 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 | 11 | -97/+56 | |
| | | | | | | | | 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 | 11 | -60/+36 | |
| | | ||||||
* | | db_print.h: rename to DatabasePrint.hxx | Max Kellermann | 2012-08-07 | 3 | -9/+9 | |
| | | ||||||
* | | dbUtils.h: move to DatabaseQueue.hxx, DatabasePlaylist.hxx | Max Kellermann | 2012-08-07 | 7 | -18/+77 | |
| | | ||||||
* | | command: move code to DatabaseCommands.cxx | Max Kellermann | 2012-08-07 | 3 | -238/+349 | |
| | | | | | | | | Prepare to use the DatabasePlugin C++ API directly. | |||||
* | | command: move print_error() to CommandError.cxx | Max Kellermann | 2012-08-07 | 4 | -104/+178 | |
| | | | | | | | | Prepare for splitting command.c. | |||||
* | | Database{Plugin,Visitor}: pass references | Max Kellermann | 2012-08-07 | 9 | -83/+87 | |
| | | ||||||
* | | DatabaseRegistry: list of plugins | Max Kellermann | 2012-08-07 | 2 | -0/+75 | |
| | | ||||||
* | | DatabaseGlue: remove db_walk(), db_visit() | Max Kellermann | 2012-08-02 | 2 | -61/+0 | |
| | | | | | | | | Unused. | |||||
* | | stats: convert to C++ | Max Kellermann | 2012-08-02 | 1 | -26/+31 | |
| | | ||||||
* | | db_print: convert to C++ | Max Kellermann | 2012-08-02 | 1 | -154/+91 | |
| | |