Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | thread/Posix{Mutex,Cond}: use "constexpr" only with glibc | Max Kellermann | 2015-08-25 | 2 | -16/+16 |
| | | | | | | Apparently all other C libraries are not compatible with "constexpr". Those which are not will get a performance penalty, but at least they work at all. | ||||
* | db/UniqueTags, tag/Set, ...: use typedef tag_mask_t | Max Kellermann | 2015-08-24 | 14 | -32/+30 |
| | |||||
* | tag/Settings: move typedef tag_mask_t to Mask.hxx | Max Kellermann | 2015-08-24 | 2 | -2/+28 |
| | |||||
* | tag/Settings: convert to C++ | Max Kellermann | 2015-08-24 | 7 | -12/+8 |
| | |||||
* | tag/Settings: convert to bit mask | Max Kellermann | 2015-08-24 | 3 | -9/+8 |
| | |||||
* | tag/Settings: add function IsTagEnabled() wrapping access to ignore_tag_items[] | Max Kellermann | 2015-08-24 | 5 | -5/+24 |
| | |||||
* | TagPrint: use unsigned integer | Max Kellermann | 2015-08-24 | 1 | -4/+1 |
| | |||||
* | Tag: include cleanup | Max Kellermann | 2015-08-24 | 1 | -1/+0 |
| | |||||
* | unix/PidFile: add missing include stdlib.h for strtoul() | Max Kellermann | 2015-08-24 | 1 | -0/+1 |
| | |||||
* | CueParser.cxx: ignore INDEX after first per track | Will Tiffany | 2015-08-23 | 1 | -0/+1 |
| | | | | | | | | | Use the first INDEX in each TRACK section, instead of the last, for the start time. This preserves the original CD layout (including gaps between tracks), and avoids skipping sections of songs in more exotic cuesheets (eg musical suite tracks). Fixes 0004355 and 0003359 | ||||
* | unix/PidFile: use raw file descriptor instead of stdio | Max Kellermann | 2015-08-15 | 1 | -20/+29 |
| | |||||
* | unix/Daemon: move code to ReadPidFile() | Max Kellermann | 2015-08-15 | 2 | -12/+18 |
| | |||||
* | unix/Daemon: eliminate local variable "ret" | Max Kellermann | 2015-08-15 | 1 | -3/+2 |
| | |||||
* | PlayerThread, ...: move to src/player/ | Max Kellermann | 2015-08-15 | 17 | -16/+16 |
| | |||||
* | client, command: use StringIsEqual() | Max Kellermann | 2015-08-14 | 5 | -31/+32 |
| | |||||
* | command/CommandListBuilder: postpone "size" initialization | Max Kellermann | 2015-08-14 | 2 | -2/+2 |
| | |||||
* | protocol/Result: move current_command to class Response | Max Kellermann | 2015-08-14 | 5 | -21/+13 |
| | |||||
* | protocol/Result: move command_list_num to class Response | Max Kellermann | 2015-08-14 | 5 | -9/+11 |
| | |||||
* | protocol/Result: move error code to class Response | Max Kellermann | 2015-08-14 | 3 | -39/+7 |
| | |||||
* | command: pass Response object to command callbacks | Max Kellermann | 2015-08-13 | 25 | -395/+246 |
| | |||||
* | client/Response: new Client wrapper class for writing responses | Max Kellermann | 2015-08-12 | 47 | -771/+1052 |
| | |||||
* | command/Request: add parser methods | Max Kellermann | 2015-08-11 | 9 | -67/+96 |
| | | | | Wrapper for protocol/ArgParser.cxx. | ||||
* | protocol/ArgParser: add overload with max_value parameter | Max Kellermann | 2015-08-11 | 4 | -31/+33 |
| | |||||
* | protocol/ArgParser: use std::numeric_limits | Max Kellermann | 2015-08-11 | 2 | -3/+3 |
| | | | | Using unsigned(-1) renders undefined behavior. | ||||
* | protocol/ArgParser: overload as ParseCommandArg(), pass references | Max Kellermann | 2015-08-11 | 8 | -71/+56 |
| | |||||
* | command/Request: new struct wrapping ConstBuffer<const char *> | Max Kellermann | 2015-08-11 | 26 | -215/+262 |
| | |||||
* | protocol/ArgParser: add struct RangeArg | Max Kellermann | 2015-08-11 | 5 | -40/+48 |
| | |||||
* | command/{Queue,Other}: eliminate local "bool" variable | Max Kellermann | 2015-08-11 | 3 | -13/+6 |
| | |||||
* | Partition: add method GetDatabase() | Max Kellermann | 2015-08-06 | 2 | -0/+14 |
| | |||||
* | ClientWrite: merge client_write() into Client::Write() | Max Kellermann | 2015-08-06 | 2 | -12/+6 |
| | |||||
* | Client: include cleanup | Max Kellermann | 2015-08-06 | 4 | -6/+4 |
| | |||||
* | output/fifo: smaller Cancel() buffer | Max Kellermann | 2015-08-06 | 1 | -4/+2 |
| | |||||
* | output/fifo: move the buffer into the loop | Max Kellermann | 2015-08-06 | 1 | -2/+1 |
| | |||||
* | output/fifo: use ssize_t for the read() result | Max Kellermann | 2015-08-06 | 1 | -1/+1 |
| | |||||
* | output/fifo: simplify the Cancel() loop | Max Kellermann | 2015-08-06 | 1 | -2/+3 |
| | |||||
* | output/fifo: convert struct to class | Max Kellermann | 2015-08-06 | 1 | -1/+4 |
| | |||||
* | output/fifo: use AudioOutputWrapper::Open(),Close() | Max Kellermann | 2015-08-06 | 1 | -14/+11 |
| | |||||
* | output/fifo: rename Open(), Close() to OpenFifo(), CloseFifo() | Max Kellermann | 2015-08-06 | 1 | -8/+8 |
| | |||||
* | playlist/embcue: fix last track | xent | 2015-08-05 | 1 | -1/+3 |
| | |||||
* | decoder/mpcdec: read the bit rate | Max Kellermann | 2015-08-05 | 1 | -4/+2 |
| | | | | | This was lost in commit 8ead8f7ea, because this was never implemented for the new API. | ||||
* | decoder/mpcdec: use SampleTraits<SampleFormat::S24_P32> | Max Kellermann | 2015-08-05 | 1 | -11/+13 |
| | |||||
* | decoder/mpcdec: use Clamp() | Max Kellermann | 2015-08-05 | 1 | -6/+2 |
| | |||||
* | decoder/mpcdec: make buffer more local | Max Kellermann | 2015-08-05 | 1 | -2/+1 |
| | | | | Allow the compiler to invalidate buffer contents. | ||||
* | event/ServerSocket: use AllocatedSocketAddress to build local socket address | Max Kellermann | 2015-07-22 | 1 | -13/+4 |
| | |||||
* | event/ServerSocket: use AllocatedSocketAddress for OneServerSocket::address | Max Kellermann | 2015-07-22 | 2 | -9/+16 |
| | | | | Manages memory automatically. | ||||
* | net/AllocatedSocketAddress: new sockaddr wrapper class | Max Kellermann | 2015-07-22 | 2 | -0/+236 |
| | |||||
* | Net/StaticSocketAddress: add equality operator with SocketAddress | Max Kellermann | 2015-07-22 | 2 | -9/+4 |
| | |||||
* | net/StaticSocketAddress: replace cast operator with GetAddress() | Max Kellermann | 2015-07-22 | 2 | -4/+4 |
| | | | | The implicit cast operator can be very dangerous. | ||||
* | net/ToString: relicense to BSD-2 | Max Kellermann | 2015-07-22 | 2 | -26/+47 |
| | |||||
* | net/ToString: rename sockaddr_to_string() to ToString() | Max Kellermann | 2015-07-22 | 5 | -5/+5 |
| |