aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v0.17.x'Max Kellermann2012-08-148-76/+103
|\ | | | | | | | | Conflicts: src/mapper.h
| * mapper: fix non-UTF8 music directory nameMax Kellermann2012-08-144-37/+73
| | | | | | | | | | | | Duplicate the music_dir variable: one encoded in UTF-8, and another one using the configured filesystem character set. This fixes an ancient MPD bug.
| * playlist_song: use map_to_relative_path()Max Kellermann2012-08-141-4/+4
| |
| * playlist_song: improve const-correctnessMax Kellermann2012-08-141-5/+4
| |
| * playlist_song: move code to playlist_check_load_song()Max Kellermann2012-08-141-23/+23
| |
| * input_stream, main: remove obsolete GLib version checksMax Kellermann2012-08-143-8/+0
| | | | | | | | MPD requires GLib 2.16.
* | Merge branch 'v0.17.x'Max Kellermann2012-08-131-2/+0
|\| | | | | | | | | | | | | Conflicts: NEWS configure.ac src/client_file.h
| * client_file: remove pure attribute from client_allow_file().Anton Khirnov2012-08-131-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 Kellermann2012-08-091-8/+18
| |
* | player_control: add GError attributeMax Kellermann2012-08-084-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 supportMax Kellermann2012-08-084-11/+74
| |
* | decoder_control: add GError attributeMax Kellermann2012-08-084-1/+106
| |
* | player_control: rename attribute "error" to "error_type"Max Kellermann2012-08-084-12/+14
| |
* | player_control: rename player_error enum valuesMax Kellermann2012-08-084-16/+24
| |
* | player_control: remove unused enum player_error valuesMax Kellermann2012-08-083-19/+1
| |
* | player_control: inline trivial functionsMax Kellermann2012-08-082-40/+25
| |
* | song: use C++ compilerMax Kellermann2012-08-082-8/+16
| |
* | tag_pool: use GStaticMutexMax Kellermann2012-08-084-32/+22
| | | | | | | | Eliminates explicit global initialisation.
* | song: include cleanupMax Kellermann2012-08-081-1/+0
| |
* | directory: use gcc.h macros, not GLibMax Kellermann2012-08-081-6/+7
| |
* | conf: add a "database" blockMax Kellermann2012-08-082-6/+19
| | | | | | | | | | The new block overrides the "db_file" setting, and allows configuring any database plugin.
* | DatabaseGlue: look up the database pluginMax Kellermann2012-08-081-1/+11
| | | | | | | | No more hard-coded "simple" plugin.
* | DatabaseGlue: pass block to db_init()Max Kellermann2012-08-083-13/+9
| | | | | | | | Let the caller take care for legacy conversion.
* | DatabaseGlue: add function db_is_simple()Max Kellermann2012-08-084-5/+38
| | | | | | | | Preparing for non-"simple" database plugins.
* | main: don't call db_init() without databaseMax Kellermann2012-08-081-1/+0
| | | | | | | | Useless call.
* | ProxyDatabasePlugin: obey the "recursive" flagMax Kellermann2012-08-081-2/+3
| |
* | ProxyDatabasePlugin: use an artificial "root" directoryMax Kellermann2012-08-081-2/+9
| | | | | | | | Fixes assertion failures in the Directory library.
* | DatabasePrint: don't print Last-Modified if unknownMax Kellermann2012-08-082-2/+4
| |
* | time_print: new library, function time_print()Max Kellermann2012-08-085-57/+87
| | | | | | | | | | Implements error checking for the gmtime_r() call, which was missing in two code locations.
* | ProxyDatabasePlugin: new database plugin using libmpdclientMax Kellermann2012-08-083-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 Kellermann2012-08-081-3/+5
| | | | | | | | Fixes regression.
* | DatabaseSelection: add "match" attributeMax Kellermann2012-08-0811-97/+56
| | | | | | | | Let the database plugin do the match.
* | DatabaseCommands: merge duplicate search/find codeMax Kellermann2012-08-082-55/+31
| |
* | locate: add a per-item "fold_case" flagMax Kellermann2012-08-0813-179/+55
| | | | | | | | Merge locate_song_search() and locate_song_match().
* | locate: make "tag" unsignedMax Kellermann2012-08-082-9/+8
| |
* | locate: make the structs opaqueMax Kellermann2012-08-073-29/+36
| |
* | locate: don't allow empty listMax Kellermann2012-08-073-33/+9
| |
* | locate: pass unsigned integer to _parse()Max Kellermann2012-08-072-2/+2
| |
* | locate: add "pure" attributesMax Kellermann2012-08-072-0/+5
| |
* | DatabaseCommands: remove stray locate_item_list_parse() callMax Kellermann2012-08-071-2/+0
| |
* | locate: add "casefold" flag to parserMax Kellermann2012-08-078-72/+26
| | | | | | | | | | Fold the case during construction, without having to create another copy.
* | locate: remove unused function locate_item_free()Max Kellermann2012-08-072-11/+0
| |
* | db_selection: rename to DatabaseSelectionMax Kellermann2012-08-0711-60/+36
| |
* | db_print.h: rename to DatabasePrint.hxxMax Kellermann2012-08-073-9/+9
| |
* | dbUtils.h: move to DatabaseQueue.hxx, DatabasePlaylist.hxxMax Kellermann2012-08-077-18/+77
| |
* | command: move code to DatabaseCommands.cxxMax Kellermann2012-08-073-238/+349
| | | | | | | | Prepare to use the DatabasePlugin C++ API directly.
* | command: move print_error() to CommandError.cxxMax Kellermann2012-08-074-104/+178
| | | | | | | | Prepare for splitting command.c.
* | Database{Plugin,Visitor}: pass referencesMax Kellermann2012-08-079-83/+87
| |
* | DatabaseRegistry: list of pluginsMax Kellermann2012-08-072-0/+75
| |
* | DatabaseGlue: remove db_walk(), db_visit()Max Kellermann2012-08-022-61/+0
| | | | | | | | Unused.