aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/DatabasePrint.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-12Tag: add class const_iterator and methods begin(), end()Max Kellermann1-3/+1
Enables using range-based "for".
2014-04-26DatabasePrint: move PrintSongCount() to Count.cxxMax Kellermann1-48/+0
2014-04-25DatabasePrint: refactor variable/function namesMax Kellermann1-15/+15
2014-04-24DatabasePrint: eliminate printAllIn(), printInfoForAllIn()Max Kellermann1-15/+0
2014-04-24DatabasePrint: merge adjacent client_printf() callsMax Kellermann1-2/+4
2014-04-24DatabasePrint: pass const SearchStats referenceMax Kellermann1-4/+5
2014-04-24DatabasePrint: use unsigned countsMax Kellermann1-3/+3
2014-04-24DatabaseCommands: "list" allows groupingMax Kellermann1-2/+13
2014-04-24DatabaseCommands: fix crash on "list base"Max Kellermann1-0/+2
The string "base" is understood by locate_parse_type(), but not by listAllUniqueTags(). The special tag type LOCATE_TAG_BASE_TYPE causes a crash in PrintUniqueTag().
2014-04-24DatabasePrint: convert "type" to unsignedMax Kellermann1-1/+1
2014-03-01command: add command "listfiles"Max Kellermann1-27/+42
Lists files and directories. Supports storage plugins.
2014-02-28DatabasePrint: move code to PrintDirectoryURI()Max Kellermann1-2/+8
2014-02-19DatabasePlugin: split headerMax Kellermann1-1/+1
2014-02-04Instance: add Database attributeMax Kellermann1-4/+3
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-01-24Database*: move to db/Max Kellermann1-1/+1
2014-01-24Client*: move to client/Max Kellermann1-1/+1
2014-01-22LightDirectory: new struct replacing Directory in the DB APIMax Kellermann1-6/+7
2014-01-22DatabasePrint: don't print zero mtimeMax Kellermann1-1/+3
Zero means "unknown".
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-9/+20
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-19Song: embed the Tag object statically into class SongMax Kellermann1-2/+2
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-11/+7
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-10-20TagType: rename enum tag_type to TagTypeMax Kellermann1-3/+3
2013-10-19*: use references instead of pointersMax Kellermann1-23/+24
2013-10-19*: use nullptr instead of NULLMax Kellermann1-4/+4
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-14/+14
Replaces GLib's GError.
2013-08-04DatabasePrint: print Last-Modified attribute for directoriesAndrzej Rybczak1-2/+15
2013-07-30tag: convert to C++Max Kellermann1-1/+1
2013-07-28song: convert header to C++Max Kellermann1-10/+6
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-1/+1
2013-01-03Client: rename the struct client to class ClientMax Kellermann1-14/+14
2013-01-03client: convert to C++Max Kellermann1-2/+2
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-4/+4
2013-01-03database.h: eliminate db_*_song()Max Kellermann1-1/+0
Use the C++ API.
2013-01-02Directory: turn functions to methodsMax Kellermann1-5/+4
2013-01-02Directory: make the header C++ onlyMax Kellermann1-2/+1
2013-01-02PlaylistInfo: rename class, use std::stringMax Kellermann1-4/+4
2013-01-02*_print: convert to C++Max Kellermann1-2/+2
2013-01-02playlist_vector: convert to C++Max Kellermann1-1/+1
2012-08-29SongFilter: convert to a C++ classMax Kellermann1-6/+6
2012-08-29locate: rename to SongFilter.cxxMax Kellermann1-1/+1
2012-08-22Database*: fix nullptr dereference when no database is configuredMax Kellermann1-6/+17
2012-08-15DatabasePlugin: add method VisitUniqueTags()Max Kellermann1-53/+19
Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs.
2012-08-08DatabasePrint: don't print Last-Modified if unknownMax Kellermann1-1/+2
2012-08-08time_print: new library, function time_print()Max Kellermann1-15/+2
Implements error checking for the gmtime_r() call, which was missing in two code locations.
2012-08-08DatabaseSelection: add "match" attributeMax Kellermann1-38/+15
Let the database plugin do the match.
2012-08-08locate: add a per-item "fold_case" flagMax Kellermann1-25/+3
Merge locate_song_search() and locate_song_match().
2012-08-07locate: add "casefold" flag to parserMax Kellermann1-9/+2
Fold the case during construction, without having to create another copy.