Max Kellermann
|
5900253b85
|
update copyright year
|
2017-01-03 20:48:59 +01:00 |
|
Max Kellermann
|
22dcca9832
|
util/Error: remove obsolete class
|
2016-11-10 12:58:26 +01:00 |
|
Max Kellermann
|
10e32454ef
|
lib/sqlite, sticker: migrate from class Error to C++ exceptions
|
2016-10-27 07:50:08 +02:00 |
|
Max Kellermann
|
2deb5b7fec
|
sticker/SongSticker: add missing <stdexcept> include
For std::runtime_error. See http://bugs.musicpd.org/view.php?id=4509
|
2016-03-30 00:35:25 +02:00 |
|
Max Kellermann
|
2fd5182608
|
db/Interface: GetSong() throws exception on error
|
2016-03-19 00:19:50 +01:00 |
|
Max Kellermann
|
233b8d0129
|
sticker/Song: catch Database::GetSong() exceptions
|
2016-03-19 00:14:40 +01:00 |
|
Max Kellermann
|
296ee4961e
|
sticker/Song: add _delete() overload with "const char *"
|
2016-03-18 16:21:26 +01:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
c880099deb
|
util/StringCompare: add StringIsEmpty()
|
2015-11-06 09:37:07 +01:00 |
|
Max Kellermann
|
7652a2986b
|
client/Response: new Client wrapper class for writing responses
|
2015-08-12 08:41:05 +02:00 |
|
Max Kellermann
|
593bb5a8a7
|
StickerDatabase: convert the struct name to upper case
|
2015-01-28 19:33:56 +01:00 |
|
Max Kellermann
|
712ed555e6
|
Copyright year 2015
|
2015-01-01 19:48:13 +01:00 |
|
Max Kellermann
|
49968541fd
|
sticker/Match: add inequality operators
|
2014-12-12 22:26:04 +01:00 |
|
Max Kellermann
|
cc143105b8
|
sticker/Match: add operator "EQUALS"
Mapped to "=" in the MPD protocol. This is the first operator,
initially supporting value matches in the MPD protocol.
|
2014-12-12 22:16:00 +01:00 |
|
Max Kellermann
|
fed44e95b3
|
sticker/Song: add enum StickerOperator to sticker_song_find()
|
2014-12-12 22:10:24 +01:00 |
|
Max Kellermann
|
71ece56470
|
sticker/Database: move code to BindFind()
|
2014-12-12 22:04:43 +01:00 |
|
Max Kellermann
|
204a1de3fd
|
sticker/Database: use the Error library
|
2014-12-12 21:43:54 +01:00 |
|
Max Kellermann
|
80ddf4aecf
|
sticker/Database: always invoke sqlite3_reset() and sqlite3_clear_bindings()
|
2014-12-12 21:43:54 +01:00 |
|
Max Kellermann
|
12b4a666bc
|
lib/sqlite/Util: add ExecuteModified()
|
2014-12-12 21:43:54 +01:00 |
|
Max Kellermann
|
cfdbaf331e
|
sticker/Database: add wrapper for sqlite3_step()
|
2014-12-12 21:43:54 +01:00 |
|
Max Kellermann
|
052d350b19
|
sticker/Database: move SQLite helpers to lib/sqlite/Util.hxx
|
2014-12-12 21:42:51 +01:00 |
|
Max Kellermann
|
2ca18a7ee5
|
lib/sqlite/Domain: add Domain instance for SQLite
Replaces the sticker_domain for Error::domain.
|
2014-12-12 20:49:00 +01:00 |
|
Max Kellermann
|
7dbe5f4640
|
sticker/Database: remove redundant sqlite3_reset() calls
Call sqlite3_reset() only after a sqlite3_stmt* has been used, not
before. Assume it is already in reusable state.
|
2014-12-12 20:43:26 +01:00 |
|
Max Kellermann
|
432ecd1b6a
|
sticker/Database: require SQLite 3.7.3
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 20:41:36 +01:00 |
|
Max Kellermann
|
43267dc892
|
sticker/Database: make variables more local
|
2014-12-12 14:27:47 +01:00 |
|
Max Kellermann
|
3ec6c26e6c
|
sticker/Database: add sqlite3_bind_text() wrapper
|
2014-12-12 14:13:35 +01:00 |
|
Max Kellermann
|
7de684668b
|
sticker/Database: remove C-style (void)
|
2014-12-12 14:12:31 +01:00 |
|
Max Kellermann
|
5c244e9a8c
|
SongSticker: remove obsolete documentation
|
2014-12-04 20:53:48 +01:00 |
|
Max Kellermann
|
fa0aa91bf9
|
SongSticker, playlist/soundcloud: add missing stdlib.h include
For free().
|
2014-10-25 23:49:29 +02:00 |
|
Max Kellermann
|
3e641e2147
|
SongSticker: don't use GLib
|
2014-10-25 01:25:33 +02:00 |
|
Max Kellermann
|
ae594ad92c
|
DatabasePlugin: split header
|
2014-02-19 22:54:52 +01:00 |
|
Max Kellermann
|
9c637df77e
|
SongSticker: add Database reference parameter
|
2014-02-04 01:15:08 +01:00 |
|
Max Kellermann
|
ff87145537
|
sticker: don't use classes Directory and Song
Don't depend on the "simple" database plugin. This fixes an assertion
failure / crash and allows using stickers with other plugins.
|
2014-01-29 17:45:07 +01:00 |
|
Max Kellermann
|
9d34fc394c
|
Database*: move to db/
|
2014-01-24 16:38:44 +01:00 |
|
Max Kellermann
|
973c9872f9
|
Sticker*: move to sticker/
|
2014-01-24 16:38:15 +01:00 |
|