aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/QueueCommands.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-12QueueCommands: new command "rangeid"Max Kellermann1-0/+54
Manipulates the playback range of a queued song.
2014-07-11PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songsMax Kellermann1-0/+3
Implement a "bulk" edit mode that postpones both UpdateQueuedSong() and OnModified(). This way, the playlist version gets incremented only once. More importantly: when adding multiple songs to a queue that consists of only one song, the first song that got added will always be played next. By postponing this choice, all newly added songs get a chance to become the next song. Fixes the second (and last) part of Mantis ticket 0004005.
2014-07-11QueueCommands: make "result" more localMax Kellermann1-3/+2
2014-06-16command: make argc unsignedMax Kellermann1-22/+22
2014-04-24SongFilter: convert argv to ConstBufferMax Kellermann1-1/+4
2014-02-27Playlist: use the Error library to return errorsMax Kellermann1-9/+11
2014-02-27Playlist*: move to queue/Max Kellermann1-1/+1
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann1-55/+30
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
2014-02-02ClientFile: move client_allow_file() into the Client classMax Kellermann1-3/+2
2014-01-30db: add compile-time option to disable databaseMax Kellermann1-0/+5
2014-01-24Database*: move to db/Max Kellermann1-2/+2
2014-01-24Client*: move to client/Max Kellermann1-2/+2
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-10-20*Commands: move to src/command/Max Kellermann1-0/+0
2013-10-20command: convert command_return to to a strictly-typed enumMax Kellermann1-60/+60
2013-10-20PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann1-16/+16
2013-10-19ClientInternal: move class Client to Client.hxxMax Kellermann1-1/+1
Publish the Client API, preparing to move more code into the Client class.
2013-10-19*: use references instead of pointersMax Kellermann1-45/+45
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-3/+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*: use std::numeric_limitsMax Kellermann1-3/+4
2013-10-17Thread/Thread: replacement library for GThreadMax Kellermann1-0/+2
2013-10-14Mapper, ...: use memcmp() instead of strncmp() where appropriateMax Kellermann1-2/+2
Micro-optimization.
2013-09-04util/Error: new error passing libraryMax Kellermann1-6/+7
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-14/+14
2013-05-06ClientFile: use Path and file system API, update usages accordinglyDenis Krjuchkov1-6/+21
This commit also fixes incorrect passing of UTF-8 strings to client_allow_file
2013-04-08uri: convert to C++Max Kellermann1-4/+1
2013-01-07Playlist: convert functions to methodsMax Kellermann1-50/+24
2013-01-07DatabaseQueue: pass DatabaseSelection to Add...()Max Kellermann1-2/+3
2013-01-07Client: add Partition reference attributeMax Kellermann1-2/+2
playlist and player_control are deprecated.
2013-01-06queue: convert all functions to methodsMax Kellermann1-1/+1
2013-01-04DatabaseQueue: pass playlist objectMax Kellermann1-1/+2
Don't use the global variable "g_playlist".
2013-01-04Client: add "playlist" attributeMax Kellermann1-24/+30
Reduce access to the global variable "g_playlist".
2013-01-04playlist: convert to C++Max Kellermann1-1/+1
2013-01-03Client: rename the struct client to class ClientMax Kellermann1-20/+20
2013-01-03ls.h: rename to ls.hxxMax Kellermann1-1/+1
2013-01-03client: convert to C++Max Kellermann1-5/+5
2012-09-25rename CommandError.h to CommandError.hxxMax Kellermann1-1/+1
2012-08-29SongFilter: convert to a C++ classMax Kellermann1-8/+3
2012-08-29playlist_print: rename to PlaylistPrint.cxxMax Kellermann1-1/+1
2012-08-29locate: rename to SongFilter.cxxMax Kellermann1-1/+1
2012-08-29dbUtils.h: eliminate this headerMax Kellermann1-2/+2
2012-08-29command: move code to *Commands.cxxMax Kellermann1-0/+398