Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | util/StringView: new utility class | Max Kellermann | 2015-09-30 | 17 | -111/+207 | |
| | | ||||||
* | | update: apply .mpdignore matches to subdirectories | Anthony DeRossi | 2015-09-30 | 4 | -11/+34 | |
| | | | | | | | | | | | | | | | | | | Wildcard matches are directly applied to all filenames in subdirectories without any attempt at matching relative paths. This change is based on the following feature request: http://bugs.musicpd.org/view.php?id=3729 | |||||
* | | event/ServerSocket: fix AF_UNIX address in use error | Anthony DeRossi | 2015-09-30 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | bind fails with an "address already in use" error if the socket path already exists. This was broken by cbb595ba. | |||||
* | | unix/PidFile: fix empty PID file | Anthony DeRossi | 2015-09-30 | 1 | -0/+3 | |
| | | | | | | | | This was broken by 4f29034f. | |||||
* | | unix/Daemon, playlist/pls, ...: remove unused Domain variables | Max Kellermann | 2015-09-17 | 8 | -24/+0 | |
| | | ||||||
* | | Main: use config_domain for inotify error | Max Kellermann | 2015-09-17 | 1 | -1/+1 | |
| | | ||||||
* | | notify: use "constexpr" only with glibc | Max Kellermann | 2015-09-17 | 1 | -2/+1 | |
| | | | | | | | | | | The Mutex and Cond constructors are only "constexpr" with glibc, and this is what this #ifdef is about. | |||||
* | | output: add native Haiku audio output and mixer support | François Revol | 2015-09-17 | 5 | -0/+644 | |
| | | | | | | | | Also uses the notification system to display tags. | |||||
* | | Haiku: add resources: application signature and flags | François Revol | 2015-09-17 | 1 | -0/+5 | |
| | | | | | | | | | | Since we do not handle B_QUIT_REQUESTED because the BApplication does not Run(), use the background flag to avoid showing up in Deskbar. | |||||
* | | Haiku: add icon as resource definition file | François Revol | 2015-09-17 | 1 | -0/+64 | |
| | | ||||||
* | | Haiku: add an HVIF icon | François Revol | 2015-09-17 | 1 | -0/+0 | |
| | | | | | | | | | | | | | | | | 3D version reinterpreted from the official 2D design, reusing existing Haiku icons. Icon-O-Matic source file. Same as data/artwork/icons/App_MusicPD in the Haiku tree as of hrev47609. | |||||
* | | notify: Don't use constexpr on Haiku | François Revol | 2015-09-17 | 1 | -1/+2 | |
| | | ||||||
* | | system/SocketUtil: guard usage of SO_PASSCRED | François Revol | 2015-09-17 | 1 | -1/+1 | |
| | | | | | | | | Haiku has struct ucred but no SO_PASSCRED (yet). | |||||
* | | unix/Daemon: define WCOREDUMP() for platforms that don't support it | François Revol | 2015-09-17 | 1 | -0/+4 | |
| | | | | | | | | Haiku does not dump core, it just starts the debugger. | |||||
* | | CueParser.cxx: Append pregap to previous track | Will Tiffany | 2015-09-17 | 2 | -12/+3 | |
| | | | | | | | | | | | | | | Only ignore indexes after first nonzero, preserving pregaps but appending them to the previous track instead of prepending to the current. The first index of the first track is used for the start time regardless of its number. Unneeded bool last_updated removed. | |||||
* | | util/AllocatedString: fix off-by-one bug in Duplicate() | Max Kellermann | 2015-09-01 | 1 | -1/+1 | |
| | | ||||||
* | | util/StringAPI: add UnsafeCopyStringP() | Max Kellermann | 2015-09-01 | 2 | -0/+26 | |
| | | ||||||
* | | util/StringAPI: fix include guard name | Max Kellermann | 2015-09-01 | 1 | -2/+2 | |
| | | ||||||
* | | util/AllocatedString: add constant "SENTINEL" | Max Kellermann | 2015-09-01 | 1 | -4/+6 | |
| | | ||||||
* | | thread/{Mutex,Cond}: remove obsolete comments | Max Kellermann | 2015-08-25 | 2 | -6/+2 | |
| | | ||||||
* | | 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 | |
| | |