Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-01-07 | decoder_api.h, ...: add "extern C" | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | Client: rename the struct client to class Client | Max Kellermann | 1 | -14/+14 | |
2013-01-03 | client: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-03 | Directory: rename struct directory to Directory | Max Kellermann | 1 | -4/+4 | |
2013-01-03 | database.h: eliminate db_*_song() | Max Kellermann | 1 | -1/+0 | |
Use the C++ API. | |||||
2013-01-02 | Directory: turn functions to methods | Max Kellermann | 1 | -5/+4 | |
2013-01-02 | Directory: make the header C++ only | Max Kellermann | 1 | -2/+1 | |
2013-01-02 | PlaylistInfo: rename class, use std::string | Max Kellermann | 1 | -4/+4 | |
2013-01-02 | *_print: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-02 | playlist_vector: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2012-08-29 | SongFilter: convert to a C++ class | Max Kellermann | 1 | -6/+6 | |
2012-08-29 | locate: rename to SongFilter.cxx | Max Kellermann | 1 | -1/+1 | |
2012-08-22 | Database*: fix nullptr dereference when no database is configured | Max Kellermann | 1 | -6/+17 | |
2012-08-15 | DatabasePlugin: add method VisitUniqueTags() | Max Kellermann | 1 | -53/+19 | |
Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs. | |||||
2012-08-08 | DatabasePrint: don't print Last-Modified if unknown | Max Kellermann | 1 | -1/+2 | |
2012-08-08 | time_print: new library, function time_print() | Max Kellermann | 1 | -15/+2 | |
Implements error checking for the gmtime_r() call, which was missing in two code locations. | |||||
2012-08-08 | DatabaseSelection: add "match" attribute | Max Kellermann | 1 | -38/+15 | |
Let the database plugin do the match. | |||||
2012-08-08 | locate: add a per-item "fold_case" flag | Max Kellermann | 1 | -25/+3 | |
Merge locate_song_search() and locate_song_match(). | |||||
2012-08-07 | locate: add "casefold" flag to parser | Max Kellermann | 1 | -9/+2 | |
Fold the case during construction, without having to create another copy. | |||||
2012-08-07 | db_selection: rename to DatabaseSelection | Max Kellermann | 1 | -14/+8 | |
2012-08-07 | db_print.h: rename to DatabasePrint.hxx | Max Kellermann | 1 | -5/+5 | |
2012-08-07 | Database{Plugin,Visitor}: pass references | Max Kellermann | 1 | -46/+43 | |
2012-08-02 | db_print: convert to C++ | Max Kellermann | 1 | -154/+91 | |
2012-02-12 | db_print: print extra "playlist" object for embedded CUE sheets | Max Kellermann | 1 | -12/+30 | |
This finally enables the new embedded CUE sheet code: when a song file contains a playlist, it is printed in the "lsinfo" output, so clients get to know about this. | |||||
2012-02-12 | playlist_vector: use the list_head library | Max Kellermann | 1 | -0/+1 | |
2011-10-08 | db_print: print absolute URI of playlist entries | Max Kellermann | 1 | -3/+17 | |
The protocol mandates that playlist URIs are absolute (i.e. full URI relative to the music directory, not relative to the parent directory). This adds the parameter "directory" to the "playlist" visitor method. | |||||
2011-09-13 | db_print: move code to function db_selection_print() | Max Kellermann | 1 | -2/+15 | |
Use it in handle_lsinfo(), and eliminate some duplicate code. | |||||
2011-09-13 | db_visitor: add method playlist() | Max Kellermann | 1 | -0/+37 | |
2011-09-13 | database: don't allow uri==NULL | Max Kellermann | 1 | -1/+1 | |
Add nonnull attributes and fix all callers. | |||||
2011-09-13 | database: add struct db_visitor | Max Kellermann | 1 | -52/+92 | |
Use this struct for db_walk(). | |||||
2011-09-06 | dbUtils: move code to db_print.c | Max Kellermann | 1 | -72/+1 | |
2011-09-05 | dbUtils: pass player_control to findAddIn() | Max Kellermann | 1 | -7/+12 | |
Allow calling findAddIn() without a client object. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | player_control: removed the global variable "pc" | Max Kellermann | 1 | -5/+11 | |
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support. | |||||
2011-01-10 | dbUtils: don't use directoryAddSongToPlaylist() twice | Max Kellermann | 1 | -1/+1 | |
In findAddInDirectory(), call playlist_append_song() directly, to have some more type checking. | |||||
2010-02-08 | song_print: song_print() returns void | Max Kellermann | 1 | -2/+2 | |
The only "return" statement always returns 0. | |||||
2010-01-02 | dbUtils: return empty tag value only if no value was found | Max Kellermann | 1 | -1/+4 | |
This fixes a regression in the patch "return multiple tag values per song": even when the song has values for the specified tag type, the empty string gets added to the set, because the "return" was removed. This patch adds a flag which remembers whether at least one value was found. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-27 | dbUtils: return multiple tag values per song | Max Kellermann | 1 | -1/+0 | |
When collecting tag values for the result set, add all of a song's tag values of the searched type. This affects the "list" command. Previously, "list" only considered the first tag value of a song. | |||||
2009-12-26 | song: added function song_get_duration() | Max Kellermann | 1 | -2/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -0/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-10-13 | song: renamed attribute "url" to "uri" | Max Kellermann | 1 | -2/+2 | |
2009-08-25 | command: add "findadd" command. | Anton Khirnov | 1 | -0/+22 | |
2009-07-14 | playlist: no CamelCase | Max Kellermann | 1 | -1/+1 | |
2009-03-15 | dbUtils: removed printSavedMemoryFromFilenames() | Max Kellermann | 1 | -35/+0 | |
The function is unused. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
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. | |||||
2009-02-27 | tag: no CamelCase | Max Kellermann | 1 | -3/+3 | |
Renamed numOfItems to num_items. | |||||
2009-02-04 | playlist: renamed global "playlist" variable to "g_playlist" | Max Kellermann | 1 | -1/+1 | |
Export the "g_playlist" variable, and pass it to all playlist functions. This way, we can split playlist.c easier into separate parts. The code which initializes the singleton variable is moved to playlist_global.c. | |||||
2009-01-25 | use g_free() instead of free() | Max Kellermann | 1 | -1/+1 | |
On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete. | |||||
2009-01-24 | locate: added locate_item_list_casefold() | Max Kellermann | 1 | -6/+2 | |
Merged casefolding code from two locations into this one library function. |