aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-16util/StringUtil: add StringAfterPrefix()Max Kellermann4-0/+49
2015-10-16util/WStringUtil: fix indentMax Kellermann1-5/+5
2015-10-16util/ConstBuffer: add method MoveFront()Max Kellermann1-0/+14
2015-10-16util/StringView: add methods StripLeft(), StripRight()Max Kellermann2-0/+55
2015-10-02lib/expat/Parser: delete the copy constructor/operatorMax Kellermann1-0/+3
2015-09-30util/StringView: new utility classMax Kellermann17-111/+207
2015-09-30update: apply .mpdignore matches to subdirectoriesAnthony DeRossi4-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
2015-09-30event/ServerSocket: fix AF_UNIX address in use errorAnthony DeRossi1-0/+2
bind fails with an "address already in use" error if the socket path already exists. This was broken by cbb595ba.
2015-09-30unix/PidFile: fix empty PID fileAnthony DeRossi1-0/+3
This was broken by 4f29034f.
2015-09-17unix/Daemon, playlist/pls, ...: remove unused Domain variablesMax Kellermann8-24/+0
2015-09-17Main: use config_domain for inotify errorMax Kellermann1-1/+1
2015-09-17notify: use "constexpr" only with glibcMax Kellermann1-2/+1
The Mutex and Cond constructors are only "constexpr" with glibc, and this is what this #ifdef is about.
2015-09-17output: add native Haiku audio output and mixer supportFrançois Revol5-0/+644
Also uses the notification system to display tags.
2015-09-17Haiku: add resources: application signature and flagsFrançois Revol1-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.
2015-09-17Haiku: add icon as resource definition fileFrançois Revol1-0/+64
2015-09-17Haiku: add an HVIF iconFrançois Revol1-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.
2015-09-17notify: Don't use constexpr on HaikuFrançois Revol1-1/+2
2015-09-17system/SocketUtil: guard usage of SO_PASSCREDFrançois Revol1-1/+1
Haiku has struct ucred but no SO_PASSCRED (yet).
2015-09-17unix/Daemon: define WCOREDUMP() for platforms that don't support itFrançois Revol1-0/+4
Haiku does not dump core, it just starts the debugger.
2015-09-17CueParser.cxx: Append pregap to previous trackWill Tiffany2-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.
2015-09-01util/AllocatedString: fix off-by-one bug in Duplicate()Max Kellermann1-1/+1
2015-09-01util/StringAPI: add UnsafeCopyStringP()Max Kellermann2-0/+26
2015-09-01util/StringAPI: fix include guard nameMax Kellermann1-2/+2
2015-09-01util/AllocatedString: add constant "SENTINEL"Max Kellermann1-4/+6
2015-08-25thread/{Mutex,Cond}: remove obsolete commentsMax Kellermann2-6/+2
2015-08-25thread/Posix{Mutex,Cond}: use "constexpr" only with glibcMax Kellermann2-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.
2015-08-24db/UniqueTags, tag/Set, ...: use typedef tag_mask_tMax Kellermann14-32/+30
2015-08-24tag/Settings: move typedef tag_mask_t to Mask.hxxMax Kellermann2-2/+28
2015-08-24tag/Settings: convert to C++Max Kellermann7-12/+8
2015-08-24tag/Settings: convert to bit maskMax Kellermann3-9/+8
2015-08-24tag/Settings: add function IsTagEnabled() wrapping access to ignore_tag_items[]Max Kellermann5-5/+24
2015-08-24TagPrint: use unsigned integerMax Kellermann1-4/+1
2015-08-24Tag: include cleanupMax Kellermann1-1/+0
2015-08-24unix/PidFile: add missing include stdlib.h for strtoul()Max Kellermann1-0/+1
2015-08-23CueParser.cxx: ignore INDEX after first per trackWill Tiffany1-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
2015-08-15unix/PidFile: use raw file descriptor instead of stdioMax Kellermann1-20/+29
2015-08-15unix/Daemon: move code to ReadPidFile()Max Kellermann2-12/+18
2015-08-15unix/Daemon: eliminate local variable "ret"Max Kellermann1-3/+2
2015-08-15PlayerThread, ...: move to src/player/Max Kellermann17-16/+16
2015-08-14client, command: use StringIsEqual()Max Kellermann5-31/+32
2015-08-14command/CommandListBuilder: postpone "size" initializationMax Kellermann2-2/+2
2015-08-14protocol/Result: move current_command to class ResponseMax Kellermann5-21/+13
2015-08-14protocol/Result: move command_list_num to class ResponseMax Kellermann5-9/+11
2015-08-14protocol/Result: move error code to class ResponseMax Kellermann3-39/+7
2015-08-13command: pass Response object to command callbacksMax Kellermann25-395/+246
2015-08-12client/Response: new Client wrapper class for writing responsesMax Kellermann47-771/+1052
2015-08-11command/Request: add parser methodsMax Kellermann9-67/+96
Wrapper for protocol/ArgParser.cxx.
2015-08-11protocol/ArgParser: add overload with max_value parameterMax Kellermann4-31/+33
2015-08-11protocol/ArgParser: use std::numeric_limitsMax Kellermann2-3/+3
Using unsigned(-1) renders undefined behavior.
2015-08-11protocol/ArgParser: overload as ParseCommandArg(), pass referencesMax Kellermann8-71/+56