aboutsummaryrefslogtreecommitdiffstats
path: root/src/sticker.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* include config.h in all sourcesMax Kellermann2009-11-121-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.
* Merge branch 'v0.15.x'Max Kellermann2009-11-101-0/+4
|\ | | | | | | | | | | Conflicts: src/input/lastfm_input_plugin.c src/song_save.c
| * sticker: added fallback for sqlite3_prepare_v2()Max Kellermann2009-11-101-0/+4
| | | | | | | | This function was not present in SQLite < 3.4.
* | sticker: use GError for error handlingMax Kellermann2009-07-051-14/+33
|/
* sticker: added sticker_delete_value()Max Kellermann2009-04-281-0/+55
| | | | | sticker_delete_value() deletes only one value in a sticker, while the old function sticker_delete() deletes all values.
* sticker: added sticker_find()Max Kellermann2009-04-011-0/+69
| | | | sticker_find() finds stickers with the specified name.
* sticker: pass const sticker to sticker_foreach()Max Kellermann2009-04-011-2/+2
|
* sticker: move SQLite statements into an arrayMax Kellermann2009-03-271-70/+75
| | | | Simplify initialization and finalization.
* sticker: sticker_load_value() returns NULL on error, not falseMax Kellermann2009-03-141-4/+4
| | | | Turn the "return false" error handlers into "return NULL".
* sticker: initialize hash table in sticker_new()Max Kellermann2009-03-141-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().
* sticker: don't export sticker_list_values()Max Kellermann2009-03-141-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().
* sticker: added "struct sticker"Max Kellermann2009-03-141-0/+62
| | | | | The sticker struct can be used for enumerating values. This will replace the sticker_list_values() function.
* all: Update copyright header.Avuton Olrich2009-03-131-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.
* Move from the opaque GPtrArray to GHashTable for sticker lists.Eric Wollesen2009-03-111-11/+10
|
* Add sticker list command.Eric Wollesen2009-03-031-3/+72
| | | | | [mk: merged memory leak patch; fixed indentation (tabs); fixed documentation typo]
* Add idle event on sticker deletion, update and insertionQball Cow2009-01-251-0/+5
|
* sticker: new library for storing dynamic information about songsMax Kellermann2009-01-191-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.