Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-03-24 | PlaylistFile: export spl_map_to_fs() and TranslatePlaylistError() | Max Kellermann | 1 | -0/+7 | |
2015-03-03 | *: change C-style prototypes, drop "(void)" | Max Kellermann | 1 | -1/+1 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-02-03 | PlaylistFile: use class SongLoader | Max Kellermann | 1 | -1/+4 | |
2014-02-03 | PlaylistFile: switch spl_append_uri() arguments | Max Kellermann | 1 | -1/+1 | |
Playlist file name first, to be consistent with the other functions in this library. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-09 | DetachedSong: fork of struct Song | Max Kellermann | 1 | -2/+2 | |
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead. | |||||
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -1/+0 | |
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -1/+1 | |
2013-10-02 | Playlist*: use nullptr instead of NULL | Max Kellermann | 1 | -1/+1 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -11/+10 | |
Replaces GLib's GError. | |||||
2013-08-07 | *: remove remaining __cplusplus checks | Max Kellermann | 1 | -4/+0 | |
2013-07-28 | song: convert header to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-30 | TagPool, ...: include cleanup | Max Kellermann | 1 | -3/+2 | |
2013-01-04 | PlaylistFile: reuse classes PlaylistInfo and PlaylistVector | Max Kellermann | 1 | -10/+3 | |
.. instead of rolling own classes. | |||||
2013-01-02 | don't include stdbool.h in C++ sources | Max Kellermann | 1 | -1/+0 | |
The "bool" type is built-in. | |||||
2012-09-28 | main: use C++ compiler | Max Kellermann | 1 | -12/+2 | |
2012-09-28 | PlaylistFile: use std::list instead of GPtrArray | Max Kellermann | 1 | -13/+25 | |
2012-09-28 | stored_playlist, playlist_save: use C++ compiler | Max Kellermann | 1 | -1/+5 | |
2011-09-11 | stored_playlist: return GError, code is playlist_result | Max Kellermann | 1 | -18/+17 | |
Improve error reporting and handling. command.c gets the new function print_error(), which sends a GError to the client. | |||||
2011-09-11 | playlist: move enum playlist_result to playlist_error.h | Max Kellermann | 1 | -1/+1 | |
Reduce header dependencies. | |||||
2011-03-31 | fix common misspellings | Jonathan Neuschäfer | 1 | -1/+1 | |
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/ | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
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-01-25 | playlist: moved is_valid_playlist_name() to stored_playlist.c | Max Kellermann | 1 | -0/+8 | |
2009-01-25 | stored_playlist: moved configuration variables from playlist.c | Max Kellermann | 1 | -0/+8 | |
Don't declare and export variables specific to stored playlists in playlist.c/playlist.h. | |||||
2008-12-04 | stored_playlist: include time.h for the time_t type | Max Kellermann | 1 | -0/+1 | |
On some systems, the time_t data type was not present, because stored_playlist.h didn't include the time.h header directly. | |||||
2008-10-23 | stored_playlist: renamed and moved spl_delete() to stored_playlist.c | Max Kellermann | 1 | -0/+3 | |
The function deletePlaylist() shouldn't be in playlist.c. | |||||
2008-10-23 | stored_playlist: spl_load() returns GPtrArray | Max Kellermann | 1 | -2/+4 | |
Don't use our deprecated linked list library, use GLib's GPtrArray instead. | |||||
2008-10-23 | stored_playlist: unsigned index arguments | Max Kellermann | 1 | -2/+2 | |
Pass index arguments as unsigned integers. They must not be negative, and even if some caller accidently passes -1, it won't pass the bound checks (since it's now 2**32-1). | |||||
2008-10-22 | stored_playlist: added spl_list() | Max Kellermann | 1 | -0/+18 | |
spl_list() provides an interface for enumerating all stored playlists. This separates the internal playlist logic from the protocol specific function lsPlaylists(). | |||||
2008-10-22 | stored_playlist: spl_append_uri() returns enum playlist_result | Max Kellermann | 1 | -1/+1 | |
The return value of spl_append_uri() was somewhat buggy: some branches returned ACK_* values, and some an enum playlist_result. Unify this. | |||||
2008-10-22 | stored_playlist: de-CamelCase moved function | Max Kellermann | 1 | -3/+2 | |
Rename addToStoredPlaylist() to spl_append_uri(), and remove the clearStoredPlaylist() macro. | |||||
2008-10-22 | stored_playlist: moved functions from playlist.c | Max Kellermann | 1 | -0/+4 | |
The two functions clearStoredPlaylist() and addToStoredPlaylist() don't belong into playlist.c. clearStoredPlaylist() was a wrapper for spl_clear(), and is converted into a CPP macro for now. | |||||
2008-10-22 | stored_playlist: no CamelCase | Max Kellermann | 1 | -6/+7 | |
Renamed all public functions, prefix is "spl_". | |||||
2008-10-22 | renamed storedPlaylist.c to stored_playlist.c | Max Kellermann | 1 | -2/+2 | |
No CamelCase in file names. | |||||
2008-10-08 | song: converted typedef Song to struct song | Max Kellermann | 1 | -2/+3 | |
Again, a data type which can be forward-declared. | |||||
2008-09-07 | playlist: don't pass "fd" to storedPlaylist.c functions | Max Kellermann | 1 | -6/+13 | |
Return an "enum playlist_result" value instead of calling commandError() in storedPlaylist.c. | |||||
2008-04-12 | clean up CPP includes | Max Kellermann | 1 | -1/+0 | |
Try to only include headers which are really needed. We should particularly check all "headers including other headers". The long-term goal is to have a manageable, small API for plugins (decoders, output) without so many mpd internals cluttering the namespace. git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f | |||||
2008-01-01 | storedPlaylist: remove the needless StoredPlaylist struct and just use List | Eric Wong | 1 | -8/+1 | |
Abstractions should reduce the amount of code and make things easier to follow. The StoredPlaylist struct did not do that, so get rid of it and just use our standard linked list implementation instead. diffstat agrees with me that the abstraction is pointless: 3 files changed, 60 insertions(+), 90 deletions(-) git-svn-id: https://svn.musicpd.org/mpd/trunk@7120 09075e82-0dd4-0310-85a5-a0d7c8717e4f | |||||
2008-01-01 | storedPlaylist: cleanup API and avoid needless heap allocations + error checks | Eric Wong | 1 | -7/+3 | |
git-svn-id: https://svn.musicpd.org/mpd/trunk@7119 09075e82-0dd4-0310-85a5-a0d7c8717e4f | |||||
2007-05-24 | Adding rename command, for renaming stored playlists. | J. Alexander Treuman | 1 | -0/+2 | |
git-svn-id: https://svn.musicpd.org/mpd/trunk@6246 09075e82-0dd4-0310-85a5-a0d7c8717e4f | |||||
2007-05-16 | Committing pat's rewrite of the stored playlist code. This also adds two | J. Alexander Treuman | 1 | -0/+46 | |
new commands: playlistmove and playlistdelete. git-svn-id: https://svn.musicpd.org/mpd/trunk@6116 09075e82-0dd4-0310-85a5-a0d7c8717e4f |