aboutsummaryrefslogtreecommitdiffstats
path: root/src/command (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ClientList: use class boost::intrusive::listMax Kellermann2014-06-111-4/+4
| | | | Eliminate extra allocations for the std::list node instances.
* PlaylistCommands: remove redundant playlist_load_spl() callMax Kellermann2014-05-101-17/+1
| | | | | This case is handled already by playlist_open_in_playlist_dir() (via playlist_mapper_open()). And the call didn't work anyway.
* db/Count: implement groupingMax Kellermann2014-04-271-2/+16
|
* DatabasePrint: move PrintSongCount() to Count.cxxMax Kellermann2014-04-261-0/+1
|
* DatabasePrint: refactor variable/function namesMax Kellermann2014-04-251-2/+2
|
* DatabaseCommands: disallow "grouping" by the selected tagMax Kellermann2014-04-251-0/+7
| | | | Fixes assertion failure.
* DatabasePrint: eliminate printAllIn(), printInfoForAllIn()Max Kellermann2014-04-241-2/+4
|
* DatabaseCommands: "list" allows groupingMax Kellermann2014-04-241-1/+20
|
* DatabaseCommands: simplify the handle_list() argument parserMax Kellermann2014-04-241-9/+12
|
* SongFilter: convert argv to ConstBufferMax Kellermann2014-04-242-7/+20
|
* DatabaseCommands: fix crash on "list base"Max Kellermann2014-04-241-7/+2
| | | | | | The string "base" is understood by locate_parse_type(), but not by listAllUniqueTags(). The special tag type LOCATE_TAG_BASE_TYPE causes a crash in PrintUniqueTag().
* DatabaseCommands: clarify compatibility commentMax Kellermann2014-04-241-1/+1
|
* command/{storage,file}: suppress bogus format warnings on WIN32Max Kellermann2014-03-142-0/+22
|
* Merge tag 'release-0.18.9'Max Kellermann2014-03-021-1/+1
|\
| * AllCommands: "findadd" requires the "add" permissionMax Kellermann2014-02-271-1/+1
| |
* | command: add command "listfiles"Max Kellermann2014-03-019-2/+237
| | | | | | | | Lists files and directories. Supports storage plugins.
* | {Other,Database}Commands: contract declaration and assignmentMax Kellermann2014-02-282-12/+6
| |
* | db/simple: mount pointsMax Kellermann2014-02-272-0/+51
| | | | | | | | | | | | | | | | A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option.
* | Playlist: use the Error library to return errorsMax Kellermann2014-02-272-17/+17
| |
* | Playlist*: move to queue/Max Kellermann2014-02-273-3/+3
| |
* | DatabasePlugin: split headerMax Kellermann2014-02-191-1/+1
| |
* | StickerCommands: include cleanupMax Kellermann2014-02-191-1/+0
| |
* | StorageCommands: add command "unmount"Max Kellermann2014-02-123-0/+33
| |
* | StorageCommands: emit IDLE_MOUNT on successful "mount"Max Kellermann2014-02-121-0/+2
| | | | | | | | Add the new idle event to Idle.hxx/Idle.cxx.
* | StorageCommands: add command "listmounts"Max Kellermann2014-02-123-0/+54
| |
* | StorageCommands: expose the "mount" commandMax Kellermann2014-02-093-0/+97
| |
* | Idle: error out when unrecognized idle event was specifiedMax Kellermann2014-02-091-8/+9
| | | | | | | | Implements the error checks missing in commit 0bad8406
* | OtherCommands: remove unnecessary nullptr checkMax Kellermann2014-02-091-3/+0
| |
* | OtherCommands: use Storage::MapUTF8() instead of Mapper.cxxMax Kellermann2014-02-071-4/+6
| |
* | FileCommands: support remove database filesMax Kellermann2014-02-071-6/+13
| |
* | FileCommands: use Storage::MapFS() instead of map_uri_fs()Max Kellermann2014-02-071-5/+11
| |
* | FileCommands: move code to read_file_comments()Max Kellermann2014-02-071-15/+22
| |
* | Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann2014-02-072-2/+4
| | | | | | | | Use Storage::MapUTF8() internally, don't use global variables.
* | {Message,Neighbor}Commands: use Client::partition instead of Main.hxxMax Kellermann2014-02-044-13/+17
| |
* | Instance: add Database attributeMax Kellermann2014-02-043-4/+6
| | | | | | | | Move from db/DatabaseGlue.cxx, eliminating global variable.
* | db/Simple: remove unused function db_get_directory()Max Kellermann2014-02-041-1/+0
| |
* | SongSticker: add Database reference parameterMax Kellermann2014-02-041-1/+1
| |
* | db/DatabasePlaylist: pass Database reference aroundMax Kellermann2014-02-042-2/+12
| | | | | | | | Reduce global variable usage, move to frontend code.
* | PlaylistFile: use class SongLoaderMax Kellermann2014-02-031-7/+2
| |
* | PlaylistFile: switch spl_append_uri() argumentsMax Kellermann2014-02-031-1/+1
| | | | | | | | | | Playlist file name first, to be consistent with the other functions in this library.
* | SongLoader: new class that merges duplicate codeMax Kellermann2014-02-032-56/+33
| | | | | | | | | | There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
* | FileCommands: use PathTraitsUTF8::IsAbsolute()Max Kellermann2014-02-031-1/+1
| |
* | ClientFile: move client_allow_file() into the Client classMax Kellermann2014-02-023-7/+4
| |
* | db: add compile-time option to disable databaseMax Kellermann2014-01-307-4/+56
| |
* | OtherCommands: merge duplicate code from handle_update(), handle_rescan()Max Kellermann2014-01-301-31/+10
| |
* | db/update: convert to OO APIMax Kellermann2014-01-302-8/+23
| | | | | | | | | | Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
* | db/Directory: move isRootDirectory() to Uri.hxxMax Kellermann2014-01-291-1/+1
| | | | | | | | Decouple command/OtherCommands.cxx from the "simple" database plugin.
* | sticker: don't use classes Directory and SongMax Kellermann2014-01-291-11/+4
| | | | | | | | | | Don't depend on the "simple" database plugin. This fixes an assertion failure / crash and allows using stickers with other plugins.
* | OutputAll: convert to class, move instance to class PartitionMax Kellermann2014-01-283-18/+14
| | | | | | | | Another big chunk of code for multi-player support.
* | Playlist{Info,Vector}: move to db/Max Kellermann2014-01-272-2/+2
| |