Max Kellermann
|
49784513b1
|
util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STL
|
2017-11-10 19:24:33 +01:00 |
|
Max Kellermann
|
6f37f5752b
|
db/PlaylistInfo: use std::chrono::system_clock::time_point
|
2017-08-11 12:50:33 +02:00 |
|
Max Kellermann
|
c7396b0675
|
Client: add method GetPartition(), make partition private
|
2017-02-25 10:20:09 +01:00 |
|
Max Kellermann
|
05b8ddac4c
|
Client: add method GetInstance()
|
2017-02-25 10:20:05 +01:00 |
|
Max Kellermann
|
71ce1a25dd
|
SongPrint: remove Storage::MapToRelativeUTF8() call
This code (added 7 years ago with commit b233c145f ) has been obsoleted
by the SongLoader class (added 3 years ago).
|
2017-02-24 13:56:13 +01:00 |
|
Max Kellermann
|
5e081de14a
|
IOThread: move EventThread instance into struct Instance
Eliminate global variables.
|
2017-02-10 22:25:06 +01:00 |
|
Max Kellermann
|
29453ba196
|
client: add tag_mask attribute
The "tagtypes" command now has several sub commands which can be used
to edit that mask.
|
2017-02-08 09:06:11 +01:00 |
|
Max Kellermann
|
09d87d5ef1
|
command/Other: move some functions to ClientCommands.cxx
handle_tagtypes() is also being moved to ClientCommands.cxx, because
that command will be extended to access client-specific settings.
|
2017-02-08 09:06:11 +01:00 |
|
Max Kellermann
|
03a97d87ea
|
tag/Tag*: rename several source files
|
2017-02-08 08:49:42 +01:00 |
|
Max Kellermann
|
5900253b85
|
update copyright year
|
2017-01-03 20:48:59 +01:00 |
|
Max Kellermann
|
a2e3dc0592
|
db/Interface: migrate Update() from class Error to C++ exceptions
|
2016-10-29 10:59:18 +02:00 |
|
Max Kellermann
|
6961bd61ca
|
LocateUri: migrate from class Error to C++ exceptions
|
2016-10-27 22:04:41 +02:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
a5f8fd774d
|
tag/handler: use CamelCase
|
2016-02-22 17:38:06 +01:00 |
|
Max Kellermann
|
f3503e0026
|
fs/DirectoryReader: use C++ exceptions instead of class Error
|
2015-12-29 12:56:26 +01:00 |
|
Max Kellermann
|
e939d667d9
|
protocol/Ack: add exception class wrapping enum ack
|
2015-12-18 09:53:02 +01:00 |
|
Max Kellermann
|
28f9a0a900
|
command/other: re-allow "lsinfo /"
This compatibility hack was accidently broken by commit f072cbbb
|
2015-11-13 21:04:02 +01:00 |
|
Max Kellermann
|
f072cbbba7
|
LocateUri: new library to classify URIs in a standard way
|
2015-10-22 09:39:28 +02:00 |
|
Max Kellermann
|
0366dcf604
|
PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASE
|
2015-10-20 13:50:00 +02:00 |
|
Max Kellermann
|
fc2154ee92
|
DetachedSong: move code from Update() to LoadFile()
Avoid duplicate AllocatedPath::FromUTF8() invocations in two callers.
|
2015-10-20 12:10:42 +02:00 |
|
Max Kellermann
|
76f85e6f7b
|
command/DatabaseCommands: pass URI to handle_lsinfo2()
|
2015-10-20 12:07:18 +02:00 |
|
Max Kellermann
|
36cd73df51
|
client, command: use StringIsEqual()
|
2015-08-14 19:48:30 +02:00 |
|
Max Kellermann
|
86e036c393
|
command: pass Response object to command callbacks
|
2015-08-13 12:48:31 +02:00 |
|
Max Kellermann
|
7652a2986b
|
client/Response: new Client wrapper class for writing responses
|
2015-08-12 08:41:05 +02:00 |
|
Max Kellermann
|
b1480167be
|
command/Request: add parser methods
Wrapper for protocol/ArgParser.cxx.
|
2015-08-11 23:02:34 +02:00 |
|
Max Kellermann
|
e118e958f7
|
protocol/ArgParser: add overload with max_value parameter
|
2015-08-11 22:58:04 +02:00 |
|
Max Kellermann
|
9231f420c1
|
protocol/ArgParser: overload as ParseCommandArg(), pass references
|
2015-08-11 22:43:10 +02:00 |
|
Max Kellermann
|
0f92d021a1
|
command/Request: new struct wrapping ConstBuffer<const char *>
|
2015-08-11 22:43:10 +02:00 |
|
Max Kellermann
|
993df0fd28
|
command/{Queue,Other}: eliminate local "bool" variable
|
2015-08-11 21:54:29 +02:00 |
|
Max Kellermann
|
712ed555e6
|
Copyright year 2015
|
2015-01-01 19:48:13 +01:00 |
|
Max Kellermann
|
6edfc56c9d
|
command: use ConstBuffer<const char *> for argument list
|
2014-12-08 13:30:35 +01:00 |
|
Max Kellermann
|
aa0f06d6b7
|
db/Interface: add virtual method Update()
For database plugins that don't use the UpdateService.
|
2014-07-29 23:31:27 +02:00 |
|
Max Kellermann
|
0c47685e02
|
OtherCommands: split handle_update()
|
2014-07-29 23:29:57 +02:00 |
|
Max Kellermann
|
2da0322329
|
command: make argc unsigned
|
2014-06-16 19:50:34 +02:00 |
|
Max Kellermann
|
96afa8bd2b
|
command: add command "listfiles"
Lists files and directories. Supports storage plugins.
|
2014-03-01 06:25:57 +01:00 |
|
Max Kellermann
|
4c27898ce7
|
{Other,Database}Commands: contract declaration and assignment
|
2014-02-28 07:12:04 +01:00 |
|
Max Kellermann
|
570b12ec13
|
Idle: error out when unrecognized idle event was specified
Implements the error checks missing in commit 0bad8406
|
2014-02-09 08:07:48 +01:00 |
|
Max Kellermann
|
ac286ef734
|
OtherCommands: remove unnecessary nullptr check
|
2014-02-09 08:07:43 +01:00 |
|
Max Kellermann
|
b531c4c2fe
|
OtherCommands: use Storage::MapUTF8() instead of Mapper.cxx
|
2014-02-07 22:58:21 +01:00 |
|
Max Kellermann
|
a8e52ad89f
|
ClientFile: move client_allow_file() into the Client class
|
2014-02-02 13:59:07 +01:00 |
|
Max Kellermann
|
4465e2c46b
|
db: add compile-time option to disable database
|
2014-01-30 20:39:40 +01:00 |
|
Max Kellermann
|
34b309b99a
|
OtherCommands: merge duplicate code from handle_update(), handle_rescan()
|
2014-01-30 20:39:40 +01:00 |
|
Max Kellermann
|
c6725884bc
|
db/update: convert to OO API
Move global variables into the new classes. That may allow multiple
update threads for multiple databases one day.
|
2014-01-30 18:47:05 +01:00 |
|
Max Kellermann
|
a137f817f5
|
db/Directory: move isRootDirectory() to Uri.hxx
Decouple command/OtherCommands.cxx from the "simple" database plugin.
|
2014-01-29 18:05:33 +01:00 |
|
Max Kellermann
|
f5a923b9d1
|
OutputAll: convert to class, move instance to class Partition
Another big chunk of code for multi-player support.
|
2014-01-28 09:20:53 +01:00 |
|
Max Kellermann
|
f548a966f5
|
Playlist{Info,Vector}: move to db/
|
2014-01-27 11:05:21 +01:00 |
|
Max Kellermann
|
68eda78704
|
Mixer*: move to mixer/
|
2014-01-24 16:44:32 +01:00 |
|
Max Kellermann
|
9d34fc394c
|
Database*: move to db/
|
2014-01-24 16:38:44 +01:00 |
|
Max Kellermann
|
e199c33c6e
|
Client*: move to client/
|
2014-01-24 00:26:53 +01:00 |
|