summaryrefslogtreecommitdiff
path: root/src/db/DatabasePrint.cxx
AgeCommit message (Collapse)Author
2020-05-04remove std::bind usage as much as possibleRosen Penev
Reduces unstripped size. stripped size is the same. Also took the time to remove using std::placeholders. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max Kellermann
2019-07-05include cleanups (powered by iwyu)Max Kellermann
2019-06-17Merge branch 'v0.21.x'Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2019-06-16db/Interface: CollectUniqueTags() allows multiple "groups"Max Kellermann
Instead of passing tag and group, pass an array of tags. To support a nested return value, return a nested std::map of std::maps. Each key specifies the tag value, and each value may be another nesting level. Closes https://github.com/MusicPlayerDaemon/MPD/issues/408
2019-05-08util/Time*: move to time/Max Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-10-22Merge branch 'v0.20.x'Max Kellermann
2018-10-22db: fix broken command "list ... group"Max Kellermann
Grouping in the "list" command was completely broken from the start, unlike "count group". I have no idea what I have been thinking when I wrote commit ae178c77bdc47c954fd9a4b32ffc07fe6c4a8a49, but it didn't make any sense. This commit is a rewrite of the feature. For clients to be able to detect this feature, this commit also increments the protocol version.
2018-09-02db/Print: move sort/window emulation code to class DatabaseVisitorHelperMax Kellermann
That way, each plugin can decide to implement it better.
2018-09-02db/Selection: add `sort` and `window`Max Kellermann
Remove them as parameters from `db_selection_print()`.
2018-09-02db/Print: move variable `i`Max Kellermann
2018-09-02protocol/RangeArg: add Contains()Max Kellermann
2018-09-02protocol/RangeArg: add IsAll()Max Kellermann
2018-09-02db/Print: pass RangeArg to db_selection_print()Max Kellermann
2018-08-02DetachedSong, db/LightSong, SongFilter: move to src/song/Max Kellermann
2018-07-25db/Print: pass TagType to PrintUniqueTags()Max Kellermann
2018-07-25db/Print: move code to PrintSongUris()Max Kellermann
2018-07-06db/LightSong: make Tag a referenceMax Kellermann
This enforces the "not nullptr" rule.
2018-01-21db/Print: add "noexcept"Max Kellermann
2017-12-18db/DatabasePrint: support sorting by "modified-since"Max Kellermann
Closes #172
2017-12-18db/DatabasePrint: support descending sortMax Kellermann
2017-08-18db/LightDirectory: use std::chrono::system_clock::time_pointMax Kellermann
2017-08-11db/PlaylistInfo: use std::chrono::system_clock::time_pointMax Kellermann
2017-02-24SongPrint: remove Storage::MapToRelativeUTF8() callMax Kellermann
This code (added 7 years ago with commit b233c145f) has been obsoleted by the SongLoader class (added 3 years ago).
2017-02-08command/Database: add "sort" parameter to "find" and "search"Max Kellermann
Implement the second part of https://bugs.musicpd.org/view.php?id=3990
2017-02-08client: add tag_mask attributeMax Kellermann
The "tagtypes" command now has several sub commands which can be used to edit that mask.
2017-02-08tag/Mask: wrap in classMax Kellermann
2017-02-08db/{Count,Print}: use tag_print(), eliminate duplicate codeMax Kellermann
2017-01-31Correct method types to match Interface.hxxThomas Zander
2017-01-03update copyright yearMax Kellermann
2016-10-29db/Interface: migrate visitor methods from class Error to C++ exceptionsMax Kellermann
2016-10-29db/Visitor: remove the Error parameterMax Kellermann
Implementations shall use exceptions instead.
2016-10-26Instance: add GetDatabaseOrThrow()Max Kellermann
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-08-24db/UniqueTags, tag/Set, ...: use typedef tag_mask_tMax Kellermann
2015-08-12client/Response: new Client wrapper class for writing responsesMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-11-26DatabasePrint: cast int to unsigned before comparisonMax Kellermann
Fixes compiler warning.
2014-11-18DatabaseCommands: add "window" parameter to "search"/"find"Max Kellermann
2014-07-12Tag: add class const_iterator and methods begin(), end()Max Kellermann
Enables using range-based "for".
2014-04-26DatabasePrint: move PrintSongCount() to Count.cxxMax Kellermann
2014-04-25DatabasePrint: refactor variable/function namesMax Kellermann
2014-04-24DatabasePrint: eliminate printAllIn(), printInfoForAllIn()Max Kellermann
2014-04-24DatabasePrint: merge adjacent client_printf() callsMax Kellermann
2014-04-24DatabasePrint: pass const SearchStats referenceMax Kellermann
2014-04-24DatabasePrint: use unsigned countsMax Kellermann
2014-04-24DatabaseCommands: "list" allows groupingMax Kellermann