Max Kellermann
|
28a0c46ca7
|
unix/Daemon: eliminate local variable "ret"
|
2015-08-15 16:41:21 +02:00 |
|
Max Kellermann
|
7cc33d0f27
|
test/stdbin.h: remove obsolete header
|
2015-08-15 16:37:58 +02:00 |
|
Max Kellermann
|
5fba8d773c
|
PlayerThread, ...: move to src/player/
|
2015-08-15 15:55:46 +02:00 |
|
Max Kellermann
|
36cd73df51
|
client, command: use StringIsEqual()
|
2015-08-14 19:48:30 +02:00 |
|
Max Kellermann
|
6f20889f00
|
command/CommandListBuilder: postpone "size" initialization
|
2015-08-14 19:42:11 +02:00 |
|
Max Kellermann
|
8e408725e9
|
protocol/Result: move current_command to class Response
|
2015-08-14 19:04:00 +02:00 |
|
Max Kellermann
|
d053797340
|
protocol/Result: move command_list_num to class Response
|
2015-08-14 19:00:02 +02:00 |
|
Max Kellermann
|
c8d0f947d2
|
protocol/Result: move error code to class Response
|
2015-08-14 18:57:44 +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
|
ee61dfe087
|
protocol/ArgParser: use std::numeric_limits
Using unsigned(-1) renders undefined behavior.
|
2015-08-11 22:57:47 +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
|
cbdc3194cc
|
protocol/ArgParser: add struct RangeArg
|
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 |
|
Florian Schlichting
|
4294fdb0b2
|
doc/mpdconf.example: document that socket activation voids bind_to_address setting
|
2015-08-11 19:02:26 +02:00 |
|
Florian Schlichting
|
082523bcea
|
doc/user: document effect of http_proxy envvar on curl plugin
|
2015-08-11 19:01:08 +02:00 |
|
Florian Schlichting
|
5d13c13821
|
systemd: protect /usr when running under systemd
|
2015-08-11 19:00:21 +02:00 |
|
Clément B
|
21ef656e24
|
systemd: also disable mpd.socket when disabling mpd.service
e.g. when running 'update-rc.d mpd disable'
|
2015-08-11 18:58:34 +02:00 |
|
Florian Schlichting
|
3c4fe8cc04
|
doc/user: fix typo
|
2015-08-11 18:57:50 +02:00 |
|
Wieland Hoffmann
|
95ebd57b25
|
mpd.service: Set the Documentation option
This makes references to mpd(1) and mpd(5) appear in systemd status output.
|
2015-08-06 22:03:29 +02:00 |
|
Max Kellermann
|
84e09aa8dd
|
Partition: add method GetDatabase()
|
2015-08-06 12:45:45 +02:00 |
|
Max Kellermann
|
6cce3d2996
|
ClientWrite: merge client_write() into Client::Write()
|
2015-08-06 10:36:24 +02:00 |
|
Max Kellermann
|
77b34fa961
|
Client: include cleanup
|
2015-08-06 10:32:18 +02:00 |
|
Max Kellermann
|
024d978ae5
|
output/fifo: smaller Cancel() buffer
|
2015-08-06 10:15:19 +02:00 |
|
Max Kellermann
|
e0f55b9295
|
output/fifo: move the buffer into the loop
|
2015-08-06 10:14:53 +02:00 |
|
Max Kellermann
|
ccd83748f7
|
output/fifo: use ssize_t for the read() result
|
2015-08-06 10:14:35 +02:00 |
|
Max Kellermann
|
291ee9f86a
|
output/fifo: simplify the Cancel() loop
|
2015-08-06 10:13:21 +02:00 |
|
Max Kellermann
|
59e4d7f0f5
|
output/fifo: convert struct to class
|
2015-08-06 09:51:03 +02:00 |
|
Max Kellermann
|
4647448399
|
output/fifo: use AudioOutputWrapper::Open(),Close()
|
2015-08-06 09:50:02 +02:00 |
|
Max Kellermann
|
7dfe841876
|
output/fifo: rename Open(), Close() to OpenFifo(), CloseFifo()
|
2015-08-06 09:49:00 +02:00 |
|
xent
|
34db35c36d
|
playlist/embcue: fix last track
|
2015-08-05 23:37:57 +02:00 |
|
Max Kellermann
|
3e9738dc66
|
decoder/mpcdec: read the bit rate
This was lost in commit 8ead8f7ea , because this was never implemented
for the new API.
|
2015-08-05 23:33:11 +02:00 |
|
Max Kellermann
|
2ecf57cdd9
|
decoder/mpcdec: use SampleTraits<SampleFormat::S24_P32>
|
2015-08-05 23:24:30 +02:00 |
|
Max Kellermann
|
c8b602038e
|
decoder/mpcdec: use Clamp()
|
2015-08-05 23:24:30 +02:00 |
|
Max Kellermann
|
e384fa226e
|
decoder/mpcdec: make buffer more local
Allow the compiler to invalidate buffer contents.
|
2015-08-05 23:10:39 +02:00 |
|
Max Kellermann
|
cbb595ba83
|
event/ServerSocket: use AllocatedSocketAddress to build local socket address
|
2015-07-22 11:05:48 +02:00 |
|
Max Kellermann
|
fdeec0307e
|
event/ServerSocket: use AllocatedSocketAddress for OneServerSocket::address
Manages memory automatically.
|
2015-07-22 11:05:08 +02:00 |
|
Max Kellermann
|
f084bbbf35
|
net/AllocatedSocketAddress: new sockaddr wrapper class
|
2015-07-22 10:56:35 +02:00 |
|
Max Kellermann
|
20d69b957f
|
Net/StaticSocketAddress: add equality operator with SocketAddress
|
2015-07-22 10:56:32 +02:00 |
|
Max Kellermann
|
7de0a621e3
|
net/StaticSocketAddress: replace cast operator with GetAddress()
The implicit cast operator can be very dangerous.
|
2015-07-22 10:55:57 +02:00 |
|
Max Kellermann
|
3441ea9844
|
net/ToString: relicense to BSD-2
|
2015-07-22 10:26:18 +02:00 |
|
Max Kellermann
|
83752e9349
|
net/ToString: rename sockaddr_to_string() to ToString()
|
2015-07-22 10:26:18 +02:00 |
|
Max Kellermann
|
8fdfe85b5f
|
net/ToString: move V4 mapping code to functions
|
2015-07-22 10:26:18 +02:00 |
|
Max Kellermann
|
d4d9a85ad8
|
net/ToString: make variables more local
|
2015-07-22 10:26:18 +02:00 |
|
Max Kellermann
|
6f22452b54
|
net/Resolver: move sockaddr_to_string() to ToString.cxx
|
2015-07-22 10:03:36 +02:00 |
|
Max Kellermann
|
a4a37d7a19
|
net/StaticSocketAddress: remove unused method SetLocal()
|
2015-07-21 14:42:46 +02:00 |
|
Max Kellermann
|
d1b1a8e490
|
net/StaticSocketAddress: include cleanup
|
2015-07-21 13:56:21 +02:00 |
|