Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-11-26 | Queue: add "reorder" parameter to SetPriority() | Max Kellermann | 1 | -2/+3 | |
2014-01-24 | Queue*: move to queue/ | Max Kellermann | 1 | -0/+0 | |
2014-01-20 | Queue: rename struct queue to Queue | Max Kellermann | 1 | -25/+25 | |
Works around a build failure on Solaris because annoyingly, Solaris reserves the name "queue". This rename was pending anyway. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-09 | DetachedSong: fork of struct Song | Max Kellermann | 1 | -11/+5 | |
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 | -2/+0 | |
2013-10-22 | Playlist: refresh new tags after database update | Max Kellermann | 1 | -9/+0 | |
Fixes regression from commit e96779d. | |||||
2013-10-22 | Queue: add method ModifyAtPosition() | Max Kellermann | 1 | -1/+1 | |
2013-10-22 | Queue: ModifyAtOrder() does not increment version | Max Kellermann | 1 | -2/+0 | |
Leave that to the caller, allowing it to modify multiple items at a time. | |||||
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -3/+5 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -1/+1 | |
2013-07-28 | song: convert header to C++ | Max Kellermann | 1 | -9/+9 | |
2013-01-08 | Queue: use std::stable_sort() instead of g_qsort_with_data() | Max Kellermann | 1 | -26/+8 | |
2013-01-08 | song: don't use GLib | Max Kellermann | 1 | -0/+2 | |
2013-01-08 | Queue: allocate memory with new/delete | Max Kellermann | 1 | -5/+5 | |
2013-01-08 | Queue: use signed integer instead of G_MAXUINT | Max Kellermann | 1 | -1/+1 | |
The check for unsigned underflow is fragile and unreliable. | |||||
2013-01-08 | Queue: move code to new class IdTable | Max Kellermann | 1 | -36/+12 | |
2013-01-08 | Queue: rename internal types | Max Kellermann | 1 | -13/+13 | |
2013-01-08 | Queue: move GenerateId() and others into the class | Max Kellermann | 1 | -82/+43 | |
2013-01-07 | Queue: use C++ random instead of GLib's GRand | Max Kellermann | 1 | -9/+16 | |
2013-01-07 | Queue: move queue_shuffle_order_first() into the class | Max Kellermann | 1 | -5/+4 | |
2013-01-07 | Queue: move queue_shuffle_order_range() into the class | Max Kellermann | 1 | -12/+7 | |
2013-01-06 | Queue: use std::swap | Max Kellermann | 1 | -4/+1 | |
2013-01-06 | queue: convert all functions to methods | Max Kellermann | 1 | -179/+163 | |
2013-01-06 | Queue: add constructor and destructor | Max Kellermann | 1 | -27/+19 | |
2013-01-04 | playlist: convert to C++ | Max Kellermann | 1 | -15/+15 | |
2012-08-21 | queue_save: save song priorities | Max Kellermann | 1 | -2/+2 | |
2012-08-15 | queue: duplicate all song objects | Max Kellermann | 1 | -5/+6 | |
Make sure the queue "owns" all song objects, so nobody else can free them. | |||||
2011-07-19 | queue: implement song "priorities" | Max Kellermann | 1 | -5/+269 | |
Sorts remaining songs by priority. This can be used for the much-demanded "queue feature". | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-05-31 | single mode: at the end of the song, pause on the next song instead of stop | Romain Bignon | 1 | -8/+3 | |
2010-01-16 | queue: don't repeat current song in consume mode | Max Kellermann | 1 | -2/+2 | |
Check consume mode in queue_next_order(), because the current song would be deleted as soon as it's finished; it cannot be played again. | |||||
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-10-13 | queue: no CamelCase | Max Kellermann | 1 | -12/+12 | |
Renamed idToPosition. | |||||
2009-03-30 | queue: queue_generate_id() is not necessary for export. | Avuton Olrich | 1 | -1/+4 | |
2009-03-30 | implemented the 'consume' mode | Romain Bignon | 1 | -0/+1 | |
Consume mode removes each song played | |||||
2009-03-27 | renamed smartstop to single and changed behavior | Romain Bignon | 1 | -3/+8 | |
When single mode is enabled, after current song it stops playback, or it replay same song if repeat mode is activated. | |||||
2009-03-27 | implements the smartstop feature | Romain Bignon | 1 | -0/+3 | |
The smartstop feature is a way to tell mpd to stop playing after current song. This patche provides: - 'state' command returns 'smartstop' state (1 or 0) - 'smartstop' can activate or not the smartstop state - when song is terminated, mpd stops playing and smartstop is set to 0 | |||||
2009-03-26 | queue/playlist/command: move range | Jeffrey Middleton | 1 | -0/+42 | |
The move command now accepts a range for the first argument, in the same form as other range commands, e.g. move 15:17 3. The first song in the range is placed at the destination position. Note that as with other range commands, the range is inclusive on the left only; this example would move only songs 15 and 16, not 17. [mk: fixed signed/unsigned warnings; use G_MAXUINT instead of UINT_MAX] | |||||
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-02-09 | queue: update order array after song move | Max Kellermann | 1 | -0/+14 | |
Commit f78cddb4 introduced a regression: after a song was moved, the order array was not updated (in random mode). This caused MPD to think the "current" song has changed when you moved something to the position of the current song. | |||||
2009-01-25 | queue: added queue_shuffle_order_last() | Max Kellermann | 1 | -0/+7 | |
This function shuffles the last song of a range. This is used by addSongToPlaylist(). | |||||
2009-01-23 | queue: update moved song versions | Max Kellermann | 1 | -0/+1 | |
This patch fixes a regression introduced by commit aa9ffc. | |||||
2009-01-23 | queue: added queue_shuffle_order() | Max Kellermann | 1 | -0/+11 | |
The function shuffles the virtual order of songs, but does not move them physically. This is used in random mode. The new function replaces playlist.c's randomizeOrder() function, which was aware of playlist.current and playlist.queued. The latter is always -1 anyway, and the former as preserved by the caller, by converting playlist.current to a position, and then back to an order number. | |||||
2009-01-23 | queue: merged songs, songMod, positionToId into struct queue_item | Max Kellermann | 1 | -45/+33 | |
Move everything which belongs together into one common struct. This simplifies the implementation of several queue operations. | |||||
2009-01-22 | playlist: moved code to queue.c | Max Kellermann | 1 | -0/+267 | |
Attempt to untie the playlist.c knot: moved the playlist storage code to queue.c, struct queue. |