Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2014-12-12 | sticker/Database: make variables more local | Max Kellermann | |
2014-12-12 | sticker/Database: add sqlite3_bind_text() wrapper | Max Kellermann | |
2014-12-12 | sticker/Database: remove C-style (void) | Max Kellermann | |
2014-12-04 | SongSticker: remove obsolete documentation | Max Kellermann | |
2014-10-25 | SongSticker, playlist/soundcloud: add missing stdlib.h include | Max Kellermann | |
For free(). | |||
2014-10-25 | SongSticker: don't use GLib | Max Kellermann | |
2014-02-19 | DatabasePlugin: split header | Max Kellermann | |
2014-02-04 | SongSticker: add Database reference parameter | Max Kellermann | |
2014-01-29 | sticker: don't use classes Directory and Song | Max Kellermann | |
Don't depend on the "simple" database plugin. This fixes an assertion failure / crash and allows using stickers with other plugins. | |||
2014-01-24 | Database*: move to db/ | Max Kellermann | |
2014-01-24 | Sticker*: move to sticker/ | Max Kellermann | |