aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/DatabasePrint.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-26DatabasePrint: move PrintSongCount() to Count.cxxMax Kellermann1-6/+0
2014-04-25DatabasePrint: refactor variable/function namesMax Kellermann1-6/+6
2014-04-24DatabasePrint: eliminate printAllIn(), printInfoForAllIn()Max Kellermann1-9/+0
2014-04-24DatabaseCommands: "list" allows groupingMax Kellermann1-1/+3
2014-04-24DatabasePrint: convert "type" to unsignedMax Kellermann1-1/+1
2014-03-01command: add command "listfiles"Max Kellermann1-1/+2
Lists files and directories. Supports storage plugins.
2014-02-28DatabasePrint: add API documentationMax Kellermann1-0/+3
2014-01-24Database*: move to db/Max Kellermann1-0/+0
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-10-30*: update copyright year to 2013Max Kellermann1-1/+1
2013-10-19*: use references instead of pointersMax Kellermann1-10/+8
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-6/+6
Replaces GLib's GError.
2013-01-03Client: rename the struct client to class ClientMax Kellermann1-6/+6
2013-01-02don't include stdbool.h in C++ sourcesMax Kellermann1-2/+0
The "bool" type is built-in.
2012-08-29SongFilter: convert to a C++ classMax Kellermann1-3/+3
2012-08-15DatabasePrint: remove bogus "nonnull" attributesMax Kellermann1-2/+2
2012-08-08DatabaseSelection: add "match" attributeMax Kellermann1-6/+0
Let the database plugin do the match.
2012-08-08locate: add a per-item "fold_case" flagMax Kellermann1-6/+0
Merge locate_song_search() and locate_song_match().
2012-08-07db_selection: rename to DatabaseSelectionMax Kellermann1-2/+2
2012-08-07db_print.h: rename to DatabasePrint.hxxMax Kellermann1-2/+2
2012-08-02DatabaseVisitor, ...: use GError forward declarationMax Kellermann1-1/+1
2011-09-13db_print: move code to function db_selection_print()Max Kellermann1-0/+6
Use it in handle_lsinfo(), and eliminate some duplicate code.
2011-09-13database: don't allow uri==NULLMax Kellermann1-0/+8
Add nonnull attributes and fix all callers.
2011-09-13database: add struct db_visitorMax Kellermann1-10/+21
Use this struct for db_walk().
2011-09-06dbUtils: move code to db_print.cMax Kellermann1-14/+2
2011-09-05dbUtils: pass player_control to findAddIn()Max Kellermann1-1/+1
Allow calling findAddIn() without a client object.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-10player_control: removed the global variable "pc"Max Kellermann1-1/+3
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.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-08-25command: add "findadd" command.Anton Khirnov1-0/+4
2009-03-15dbUtils: removed printSavedMemoryFromFilenames()Max Kellermann1-2/+0
The function is unused.
2009-03-13all: Update copyright header.Avuton Olrich1-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-01-24queue_print, dbUtils: use struct locate_item_listMax Kellermann1-6/+6
Changed the function prototypes to get locate_item_list objects instead of num_items/items.
2009-01-24locate: renamed LocateTagItem to "struct locate_item"Max Kellermann1-10/+13
No CamelCase and no typedefs.
2009-01-22locate: use const pointersMax Kellermann1-4/+4
Pass const pointers where no writes are performed.
2009-01-18stats: use one db_walk() to obtain statsMax Kellermann1-2/+0
Don't use dbUtils.h functions. This reduces 4 full database walks to just one.
2008-10-31added prefix to header macrosMax Kellermann1-2/+2
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
2008-09-07pass "struct client" to dbUtils.c, song.c, tag_print.cMax Kellermann1-8/+11
Don't pass the raw file descriptor around. This migration patch is rather large, because all of the sources have inter dependencies - we have to change all of them at the same time.
2008-09-07directory: don't pass fd to traverseAllIn()Max Kellermann1-4/+4
This patch continues the work of the previous patch: don't pass a file descriptor at all to traverseAllIn(). Since this fd was only used to report "directory not found" errors, we can easily move that check to the caller. This is a great relief, since it removes the dependency on a client connection from a lot of enumeration functions.
2008-09-06dbUtils, playlist, directory: pass constant pointersMax Kellermann1-9/+9
The usual bunch of const pointer conversions.
2008-04-12clean up CPP includesMax Kellermann1-2/+0
Try to only include headers which are really needed. We should particularly check all "headers including other headers". The long-term goal is to have a manageable, small API for plugins (decoders, output) without so many mpd internals cluttering the namespace. git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-01-03Cleanup #includes of standard system headers and put them in one placeEric Wong1-1/+1
This will make refactoring features easier, especially now that pthreads support and larger refactorings are on the horizon. Hopefully, this will make porting to other platforms (even non-UNIX-like ones for masochists) easier, too. os_compat.h will house all the #includes for system headers considered to be the "core" of MPD. Headers for optional features will be left to individual source files. git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-04-25Adding count command. It's usage is identical to find, but instead ofJ. Alexander Treuman1-1/+4
returning a list of matching songs, the number of results and total play time of the results are returned. git-svn-id: https://svn.musicpd.org/mpd/trunk@5950 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-04-05The massive copyright updateAvuton Olrich1-1/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@5834 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2007-02-24Moving a bunch of the LocateTagItem code to locate.[ch] so that it canJ. Alexander Treuman1-24/+1
later be used for playlist searching. git-svn-id: https://svn.musicpd.org/mpd/trunk@5419 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-12-11Moving LOCATE_TAG_{FILE,ANY}_TYPE defines to dbUtils.h, so that we canJ. Alexander Treuman1-0/+3
compare the return value of getLocateTagItemType() to them. git-svn-id: https://svn.musicpd.org/mpd/trunk@5138 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-11-20Adding functions for clearing/adding to stored playlists. Commands to makeJ. Alexander Treuman1-0/+2
use of these functions are still being worked on. git-svn-id: https://svn.musicpd.org/mpd/trunk@5075 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2006-08-20Fix warnings for -Wmissing-prototypesAvuton Olrich1-1/+1
Add -Wmissing-prototypes if compiling with gcc Static where possible git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f