aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* playlist/flac: re-add the pluginMax Kellermann2015-10-263-0/+164
| | | | | | | | | | This reverts commit d7d9dbd2c2798b6ff39acb07a3bed38b6f99e283 by reimplementing it with the current MPD API. 3 years ago, I was wrong about the "embcue" plugin being able to replace this one, because "embcue" reads a tag named "CUESHEET", while this plugin reads the "CUESHEET" FLAC metablock. There's an important difference between those two!
* LocateUri: new library to classify URIs in a standard wayMax Kellermann2015-10-229-186/+472
|
* SongLoader: move code to LoadFromDatabase()Max Kellermann2015-10-222-10/+20
| | | | Avoids the recursion in LoadFile().
* Filter out this extra data and leading zeroes in "track" and "disc" tags.Andreas Mair2015-10-211-1/+14
|
* PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASEMax Kellermann2015-10-202-0/+2
|
* DetachedSong: check AllocatedPath::FromUTF8() resultMax Kellermann2015-10-201-0/+2
|
* DetachedSong: move code from Update() to LoadFile()Max Kellermann2015-10-204-24/+34
| | | | Avoid duplicate AllocatedPath::FromUTF8() invocations in two callers.
* command/DatabaseCommands: pass URI to handle_lsinfo2()Max Kellermann2015-10-203-6/+3
|
* command/FileCommands: fix access to absolute paths in "readcomments"Max Kellermann2015-10-201-6/+3
|
* input/InputStream: remove obsolete method OverrideMimeType()Max Kellermann2015-10-201-7/+0
|
* output/httpd: use boost::intrusive::list instead of std::forward_listMax Kellermann2015-10-193-25/+18
|
* util/DeleteDisposer: new utility classMax Kellermann2015-10-196-24/+54
|
* decoder/mad: reduce memory usage while scanning tagsMax Kellermann2015-10-191-3/+11
| | | | Allocate the frame pointers only when actually decoding the file.
* fs/Traits: use StringAfterPrefix() in Relative()Max Kellermann2015-10-191-3/+3
|
* util/StringUtil: add StringAfterPrefix()Max Kellermann2015-10-164-0/+49
|
* util/WStringUtil: fix indentMax Kellermann2015-10-161-5/+5
|
* util/ConstBuffer: add method MoveFront()Max Kellermann2015-10-161-0/+14
|
* util/StringView: add methods StripLeft(), StripRight()Max Kellermann2015-10-162-0/+55
|
* lib/expat/Parser: delete the copy constructor/operatorMax Kellermann2015-10-021-0/+3
|
* util/StringView: new utility classMax Kellermann2015-09-3017-111/+207
|
* update: apply .mpdignore matches to subdirectoriesAnthony DeRossi2015-09-304-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 errorAnthony DeRossi2015-09-301-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 fileAnthony DeRossi2015-09-301-0/+3
| | | | This was broken by 4f29034f.
* unix/Daemon, playlist/pls, ...: remove unused Domain variablesMax Kellermann2015-09-178-24/+0
|
* Main: use config_domain for inotify errorMax Kellermann2015-09-171-1/+1
|
* notify: use "constexpr" only with glibcMax Kellermann2015-09-171-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 supportFrançois Revol2015-09-175-0/+644
| | | | Also uses the notification system to display tags.
* Haiku: add resources: application signature and flagsFrançois Revol2015-09-171-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 fileFrançois Revol2015-09-171-0/+64
|
* Haiku: add an HVIF iconFrançois Revol2015-09-171-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 HaikuFrançois Revol2015-09-171-1/+2
|
* system/SocketUtil: guard usage of SO_PASSCREDFrançois Revol2015-09-171-1/+1
| | | | Haiku has struct ucred but no SO_PASSCRED (yet).
* unix/Daemon: define WCOREDUMP() for platforms that don't support itFrançois Revol2015-09-171-0/+4
| | | | Haiku does not dump core, it just starts the debugger.
* CueParser.cxx: Append pregap to previous trackWill Tiffany2015-09-172-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 Kellermann2015-09-011-1/+1
|
* util/StringAPI: add UnsafeCopyStringP()Max Kellermann2015-09-012-0/+26
|
* util/StringAPI: fix include guard nameMax Kellermann2015-09-011-2/+2
|
* util/AllocatedString: add constant "SENTINEL"Max Kellermann2015-09-011-4/+6
|
* thread/{Mutex,Cond}: remove obsolete commentsMax Kellermann2015-08-252-6/+2
|
* thread/Posix{Mutex,Cond}: use "constexpr" only with glibcMax Kellermann2015-08-252-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_tMax Kellermann2015-08-2414-32/+30
|
* tag/Settings: move typedef tag_mask_t to Mask.hxxMax Kellermann2015-08-242-2/+28
|
* tag/Settings: convert to C++Max Kellermann2015-08-247-12/+8
|
* tag/Settings: convert to bit maskMax Kellermann2015-08-243-9/+8
|
* tag/Settings: add function IsTagEnabled() wrapping access to ignore_tag_items[]Max Kellermann2015-08-245-5/+24
|
* TagPrint: use unsigned integerMax Kellermann2015-08-241-4/+1
|
* Tag: include cleanupMax Kellermann2015-08-241-1/+0
|
* unix/PidFile: add missing include stdlib.h for strtoul()Max Kellermann2015-08-241-0/+1
|
* CueParser.cxx: ignore INDEX after first per trackWill Tiffany2015-08-231-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 stdioMax Kellermann2015-08-151-20/+29
|