Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-12 | replace assert.h with cassert | Rosen Penev | |
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2020-02-16 | [clang-tidy] add ending namespace comments | Rosen Penev | |
Found with llvm-namespace-comment Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||
2020-02-01 | *: use `auto` | Max Kellermann | |
2020-01-18 | copyright year 2020 | Max Kellermann | |
2019-08-03 | util/Macros: replace with std::size() (C++17) | Max Kellermann | |
2019-07-05 | include cleanups (powered by iwyu) | Max Kellermann | |
2019-06-17 | Copyright year 2019 | Max Kellermann | |
2019-04-25 | lib/sqlite/Database: wrapper for `sqlite3*` | Max Kellermann | |
2019-04-25 | sticker/Database: wrap in class StickerDatabase | Max Kellermann | |
2019-04-25 | sticker/Database: move sticker_prepare() to lib/sqlite/Util.hxx | Max Kellermann | |
2019-04-25 | lib/sqlite/Util: move into namespace | Max Kellermann | |
2019-04-24 | sticker/*: rename source files, drop "Sticker" prefix | Max Kellermann | |
2019-04-24 | sticker/Database: eliminate sticker_foreach() | Max Kellermann | |
2019-04-24 | sticker/Database: remove unused function sticker_get_value() | Max Kellermann | |
2019-04-24 | sticker/Database: return Sticker by value | Max Kellermann | |
2019-04-24 | sticker/Database: move struct Sticker to Sticker.hxx | Max Kellermann | |
2019-04-24 | sticker/Database: add `noexcept` | Max Kellermann | |
2018-11-19 | check.h: remove obsolete header | Max 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-31 | *: copyright year 2018 | Max Kellermann | |
2018-08-20 | Compiler.h: move to util/ | Max Kellermann | |
2018-08-09 | command/sticker, sticker/song: embed struct sticker_song_find_data in namespace | Max Kellermann | |
Fixes `-Werror=odr` | |||
2018-08-02 | DetachedSong, db/LightSong, SongFilter: move to src/song/ | Max Kellermann | |
2017-12-19 | Main, ...: catch any exception, not just std::runtime_error | Max Kellermann | |
2017-05-08 | *: remove "pure" and "const" attributes from throwing functions | Max Kellermann | |
The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41. | |||
2017-05-08 | *: add "noexcept" to many, many function prototypes | Max Kellermann | |
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing. | |||
2017-01-03 | update copyright year | Max Kellermann | |
2016-11-10 | util/Error: remove obsolete class | Max Kellermann | |
2016-10-27 | lib/sqlite, sticker: migrate from class Error to C++ exceptions | Max Kellermann | |
2016-03-30 | sticker/SongSticker: add missing <stdexcept> include | Max Kellermann | |
For std::runtime_error. See http://bugs.musicpd.org/view.php?id=4509 | |||
2016-03-19 | db/Interface: GetSong() throws exception on error | Max Kellermann | |
2016-03-19 | sticker/Song: catch Database::GetSong() exceptions | Max Kellermann | |
2016-03-18 | sticker/Song: add _delete() overload with "const char *" | Max Kellermann | |
2016-03-01 | *: include cleanup (using iwyu) | Max Kellermann | |
2016-02-26 | update copyright year to 2016 | Max Kellermann | |
2015-11-06 | util/StringCompare: add StringIsEmpty() | Max Kellermann | |
2015-08-12 | client/Response: new Client wrapper class for writing responses | Max Kellermann | |
2015-01-28 | StickerDatabase: convert the struct name to upper case | Max Kellermann | |
2015-01-01 | Copyright year 2015 | Max Kellermann | |
2014-12-12 | sticker/Match: add inequality operators | Max Kellermann | |
2014-12-12 | sticker/Match: add operator "EQUALS" | Max Kellermann | |
Mapped to "=" in the MPD protocol. This is the first operator, initially supporting value matches in the MPD protocol. | |||
2014-12-12 | sticker/Song: add enum StickerOperator to sticker_song_find() | Max Kellermann | |
2014-12-12 | sticker/Database: move code to BindFind() | Max Kellermann | |
2014-12-12 | sticker/Database: use the Error library | Max Kellermann | |
2014-12-12 | sticker/Database: always invoke sqlite3_reset() and sqlite3_clear_bindings() | Max Kellermann | |
2014-12-12 | lib/sqlite/Util: add ExecuteModified() | Max Kellermann | |
2014-12-12 | sticker/Database: add wrapper for sqlite3_step() | Max Kellermann | |
2014-12-12 | sticker/Database: move SQLite helpers to lib/sqlite/Util.hxx | Max Kellermann | |
2014-12-12 | lib/sqlite/Domain: add Domain instance for SQLite | Max Kellermann | |
Replaces the sticker_domain for Error::domain. | |||
2014-12-12 | sticker/Database: remove redundant sqlite3_reset() calls | Max Kellermann | |
Call sqlite3_reset() only after a sqlite3_stmt* has been used, not before. Assume it is already in reusable state. | |||
2014-12-12 | sticker/Database: require SQLite 3.7.3 | Max Kellermann | |
SQLite 3.7.3 is the version shipped in Debian Squeeze (oldstable); should be old enough to be the required version. Drop the compatibility #ifdef. |