Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-01-28 | StickerDatabase: convert the struct name to upper case | Max Kellermann | 1 | -7/+7 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-12-12 | sticker/Match: add inequality operators | Max Kellermann | 1 | -0/+18 | |
2014-12-12 | sticker/Match: add operator "EQUALS" | Max Kellermann | 1 | -2/+9 | |
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 | 1 | -3/+14 | |
2014-12-12 | sticker/Database: move code to BindFind() | Max Kellermann | 1 | -8/+16 | |
2014-12-12 | sticker/Database: use the Error library | Max Kellermann | 1 | -27/+34 | |
2014-12-12 | sticker/Database: always invoke sqlite3_reset() and sqlite3_clear_bindings() | Max Kellermann | 1 | -4/+4 | |
2014-12-12 | lib/sqlite/Util: add ExecuteModified() | Max Kellermann | 1 | -14/+12 | |
2014-12-12 | sticker/Database: add wrapper for sqlite3_step() | Max Kellermann | 1 | -89/+15 | |
2014-12-12 | sticker/Database: move SQLite helpers to lib/sqlite/Util.hxx | Max Kellermann | 1 | -45/+1 | |
2014-12-12 | lib/sqlite/Domain: add Domain instance for SQLite | Max Kellermann | 1 | -5/+6 | |
Replaces the sticker_domain for Error::domain. | |||||
2014-12-12 | sticker/Database: remove redundant sqlite3_reset() calls | Max Kellermann | 1 | -14/+0 | |
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 | 1 | -4/+0 | |
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 | 1 | -10/+8 | |
2014-12-12 | sticker/Database: add sqlite3_bind_text() wrapper | Max Kellermann | 1 | -112/+42 | |
2014-12-12 | sticker/Database: remove C-style (void) | Max Kellermann | 1 | -2/+2 | |
2014-01-24 | Sticker*: move to sticker/ | Max Kellermann | 1 | -0/+0 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -5/+5 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -56/+57 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -5/+3 | |
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | |||||
2013-10-17 | StickerDatabase: return std::string | Max Kellermann | 1 | -14/+11 | |
2013-10-15 | Util/Macros: replacement for GLib's G_N_ELEMENTS() | Max Kellermann | 1 | -3/+4 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -59/+35 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -15/+13 | |
Replaces GLib's GError. | |||||
2013-08-07 | ConfigPath: return a Path object | Max Kellermann | 1 | -4/+6 | |
Migrate all callers to use Path directly, instead of doing the conversion in each caller. | |||||
2013-01-09 | idle: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-01-03 | StickerDatabase: use std::map instead of GHashTable | Max Kellermann | 1 | -52/+23 | |
2013-01-02 | sticker: convert to C++ | Max Kellermann | 1 | -16/+19 | |
2011-07-18 | sticker: fix a memory leak | Jonathan Neuschäfer | 1 | -1/+3 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -0/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-11-10 | sticker: added fallback for sqlite3_prepare_v2() | Max Kellermann | 1 | -0/+4 | |
This function was not present in SQLite < 3.4. | |||||
2009-07-05 | sticker: use GError for error handling | Max Kellermann | 1 | -14/+33 | |
2009-04-28 | sticker: added sticker_delete_value() | Max Kellermann | 1 | -0/+55 | |
sticker_delete_value() deletes only one value in a sticker, while the old function sticker_delete() deletes all values. | |||||
2009-04-01 | sticker: added sticker_find() | Max Kellermann | 1 | -0/+69 | |
sticker_find() finds stickers with the specified name. | |||||
2009-04-01 | sticker: pass const sticker to sticker_foreach() | Max Kellermann | 1 | -2/+2 | |
2009-03-27 | sticker: move SQLite statements into an array | Max Kellermann | 1 | -70/+75 | |
Simplify initialization and finalization. | |||||
2009-03-14 | sticker: sticker_load_value() returns NULL on error, not false | Max Kellermann | 1 | -4/+4 | |
Turn the "return false" error handlers into "return NULL". | |||||
2009-03-14 | sticker: initialize hash table in sticker_new() | Max Kellermann | 1 | -18/+26 | |
Moved the hash table initialization from sticker_list_values() to the new function sticker_new(). This fixes a memory leak in sticker_list_values(). | |||||
2009-03-14 | sticker: don't export sticker_list_values() | Max Kellermann | 1 | -1/+1 | |
sticker_list_values() is only used internally in sticker.c. Remove sticker_song_list_values() completely, it is superseded by sticker_song_get(). | |||||
2009-03-14 | sticker: added "struct sticker" | Max Kellermann | 1 | -0/+62 | |
The sticker struct can be used for enumerating values. This will replace the sticker_list_values() function. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -3/+4 | |
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy. | |||||
2009-03-11 | Move from the opaque GPtrArray to GHashTable for sticker lists. | Eric Wollesen | 1 | -11/+10 | |
2009-03-03 | Add sticker list command. | Eric Wollesen | 1 | -3/+72 | |
[mk: merged memory leak patch; fixed indentation (tabs); fixed documentation typo] | |||||
2009-01-25 | Add idle event on sticker deletion, update and insertion | Qball Cow | 1 | -0/+5 | |
2009-01-19 | sticker: new library for storing dynamic information about songs | Max Kellermann | 1 | -0/+361 | |
"Stickers" are pieces of information attached to existing MPD objects (e.g. song files, directories, albums). Clients can create arbitrary name/value pairs. MPD itself does not assume any special meaning in them. |