aboutsummaryrefslogtreecommitdiffstats
path: root/src/sticker.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-10sticker: added fallback for sqlite3_prepare_v2()Max Kellermann1-0/+4
This function was not present in SQLite < 3.4.
2009-04-28sticker: added sticker_delete_value()Max Kellermann1-0/+55
sticker_delete_value() deletes only one value in a sticker, while the old function sticker_delete() deletes all values.
2009-04-01sticker: added sticker_find()Max Kellermann1-0/+69
sticker_find() finds stickers with the specified name.
2009-04-01sticker: pass const sticker to sticker_foreach()Max Kellermann1-2/+2
2009-03-27sticker: move SQLite statements into an arrayMax Kellermann1-70/+75
Simplify initialization and finalization.
2009-03-14sticker: sticker_load_value() returns NULL on error, not falseMax Kellermann1-4/+4
Turn the "return false" error handlers into "return NULL".
2009-03-14sticker: initialize hash table in sticker_new()Max Kellermann1-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-14sticker: don't export sticker_list_values()Max Kellermann1-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-14sticker: added "struct sticker"Max Kellermann1-0/+62
The sticker struct can be used for enumerating values. This will replace the sticker_list_values() function.
2009-03-13all: Update copyright header.Avuton Olrich1-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-11Move from the opaque GPtrArray to GHashTable for sticker lists.Eric Wollesen1-11/+10
2009-03-03Add sticker list command.Eric Wollesen1-3/+72
[mk: merged memory leak patch; fixed indentation (tabs); fixed documentation typo]
2009-01-25Add idle event on sticker deletion, update and insertionQball Cow1-0/+5
2009-01-19sticker: new library for storing dynamic information about songsMax Kellermann1-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.