summaryrefslogtreecommitdiff
path: root/src/db/Interface.hxx
AgeCommit message (Collapse)Author
2020-04-08db/Interface: pass std::string_view to GetSong()Max Kellermann
2020-03-16remove gcc_unusedRosen Penev
[[maybe_unused]] (introduced in C++17) is standard C++. https://clang.llvm.org/docs/AttributeReference.html#maybe-unused-unused says that this is equivalent to the GNU unused attribute. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max 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
2018-11-19db/Interface: document CollectUniqueTags()Max Kellermann
2018-11-19db/Interface: remove IsPlugin(), use `dynamic_cast` insteadMax Kellermann
2018-11-19db/Interface: make the constructor `protected`Max Kellermann
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/Interface: add "noexcept"Max Kellermann
2018-09-02db/Interface: add more documentation about exceptionsMax Kellermann
2018-08-20Compiler.h: move to util/Max Kellermann
2017-06-04Merge tag 'v0.20.9'Max Kellermann
release v0.20.9
2017-06-04*: add lost of "noexcept" specificationsMax Kellermann
2017-06-03storage, db, mixer, command: remove more bogus "pure" attributesMax Kellermann
This commit is similar to 788e3b31e1ab8243386339eaf136ede18f015d55, and removes more "pure" attributes which were placed on functions that could throw exceptions, which is illegal according to clang's understanding of the attribute (but not according to GCC's). GitHub issue #58 was most likely about StorageDirectoryReader::GetInfo() and Storage::GetInfo(), which still had "pure" attributes. Closes #58
2017-02-11db/Interface: GetUpdateStamp() returns std::chrono::system_clock::time_pointMax Kellermann
2017-02-08db/Interface: clarify GetSong() error handlingMax Kellermann
2017-02-08tag/Mask: wrap in classMax Kellermann
2017-02-08tag/Tag*: rename several source filesMax Kellermann
2017-01-03update copyright yearMax Kellermann
2016-10-29db/Interface: migrate Update() from class Error to C++ exceptionsMax Kellermann
2016-10-29db/Interface: migrate visitor methods from class Error to C++ exceptionsMax Kellermann
2016-03-19db/Interface: GetSong() throws exception on errorMax Kellermann
2016-03-19db/Interface: Open() throws exception on errorMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-08-24db/UniqueTags, tag/Set, ...: use typedef tag_mask_tMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-07-29db/Interface: add virtual method Update()Max Kellermann
For database plugins that don't use the UpdateService.
2014-04-24DatabaseCommands: "list" allows groupingMax Kellermann
2014-02-19db/Interface: add attribute "plugin"Max Kellermann
The new method IsPlugin() replaces the "is_simple" flag.
2014-02-19DatabasePlugin: split headerMax Kellermann