Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-02-09 | command/{Queue,File}Commands: drop "file:///" prefix for absolute paths | Max Kellermann | 2 | -13/+15 | |
Requiring this prefix makes the client's intention very clear, but it was too hard to understand why this prefix was needed. Initially, my intention was to differentiate from broken clients which prefix relate URIs with a slash; once MPD allowed that. In the past few years however, MPD has disallowed that, and there was no significant breakage (except for the "add /" special case which some clients apparently still do). So I figure it's about time to define that an URI that begins with a slash points to an arbitrary file on the file system. | |||||
2015-02-09 | fs/Charset: convert #ifdef to regular "if" | Max Kellermann | 1 | -3/+5 | |
2015-02-08 | fs/Charset: change FixSeparators() API to use std::string&& | Max Kellermann | 1 | -11/+6 | |
2015-02-07 | Listen: remove C-style "void" | Max Kellermann | 1 | -1/+2 | |
2015-02-06 | fs/io/FileOutputStream: don't auto-delete file on WIN32 | Max Kellermann | 1 | -0/+2 | |
The file handle is never reset to INVALID_HANDLE_VALUE, and thus the destructor will assume the operation shall be cancelled and will delete the temporary file. This was a major breakage for saving the database file and the state file. | |||||
2015-02-06 | SongPrint: let CPP concatenate string literals | Max Kellermann | 1 | -2/+2 | |
2015-02-06 | TagBuilder: allow adding duplicate tag types in Complement() | Max Kellermann | 1 | -1/+10 | |
Build a table of pre-existing tag types before adding new items. The old way would check HasType() each time, which would return true after the first instance of that tag type had been added, preventing duplicate tag types to be merged. This broke duplicate tag types loaded from the state file, because this code path uses TagBuilder::Complement(). | |||||
2015-02-04 | tag/Rva2: convert pointers to references | Max Kellermann | 1 | -9/+9 | |
2015-02-04 | tag/Rva2: rename struct rva2_data to CamelCase | Max Kellermann | 1 | -6/+6 | |
2015-02-04 | tag/Rva2: make enum rva2_channel strictly-typed | Max Kellermann | 1 | -12/+12 | |
2015-02-03 | lib/upnp/Discovery: remove locking from ExpireDevices() | Max Kellermann | 2 | -7/+6 | |
2015-02-02 | lib/upnp/Discovery: apply naming convention | Max Kellermann | 5 | -42/+42 | |
2015-02-01 | output/sles: use AudioOutputWrapper::Create() | Max Kellermann | 1 | -4/+6 | |
2015-01-31 | DecoderThread: make variables more local | Max Kellermann | 1 | -6/+3 | |
2015-01-31 | decoder/sndfile, ...: update API documentation | Max Kellermann | 9 | -13/+13 | |
2015-01-30 | decoder/DsdLib: fix integer overflow in ID3 size calculation | Max Kellermann | 1 | -2/+4 | |
2015-01-30 | decoder/DsdLib: check size before seeking | Max Kellermann | 1 | -4/+3 | |
2015-01-30 | decoder/DsdLib: don't use InputStream::GetOffset() after seeking | Max Kellermann | 1 | -3/+2 | |
We already know the offset. | |||||
2015-01-30 | decoder/DsdLib: pass offset_type t dsdlib_tag_id3() | Max Kellermann | 2 | -4/+2 | |
2015-01-29 | db/update/Walk: use std::unique_ptr instead of std::auto_ptr | Max Kellermann | 1 | -1/+1 | |
std::auto_ptr is deprecated, and std::unique_ptr is much better anyway. | |||||
2015-01-29 | Avoid integer overflow in MonotonicClock{S,MS,US} | PHO | 1 | -6/+6 | |
This is Darwin specific: the previous implementation was causing an integer overflow when base.numer is very large. On PPC Darwin, the timebase info is 1000000000/33330116 and this is too large for integer arithmetic. | |||||
2015-01-29 | Avoid integer overflow in MonotonicClock{S,MS,US} | PHO | 1 | -4/+4 | |
This is Darwin specific: the previous implementation was causing an integer overflow when base.numer is very large. On PPC Darwin, the timebase info is 1000000000/33330116 and this is too large for integer arithmetic. | |||||
2015-01-29 | decoder/DsdLib: use new[] to allocate the ID3 buffer | Max Kellermann | 1 | -3/+5 | |
Don't abort the process if there's not enough memory. This buffer is not important and can be large. | |||||
2015-01-29 | decoder/DsdLib: free ID3 buffer right after id3_tag_parse() | Max Kellermann | 1 | -5/+2 | |
Merge two free() calls. | |||||
2015-01-29 | decoder/DsdLib: raise ID3 tag limit to 1 MB | Max Kellermann | 1 | -1/+1 | |
A bug report was submitted with a 600 kB ID3 tag that could not be read by MPD. | |||||
2015-01-28 | output/fifo: use template AudioOutputWrapper | Max Kellermann | 1 | -47/+39 | |
2015-01-28 | StickerDatabase: convert the struct name to upper case | Max Kellermann | 7 | -19/+19 | |
2015-01-26 | Test the existence of strndup(3) before using it. | PHO | 1 | -5/+6 | |
This can eliminate the ad-hoc "#ifdef WIN32" and can also support other platforms lacking it as well (including Darwin 9). | |||||
2015-01-26 | {playlist,input}/despotify: remove defunct plugin | Max Kellermann | 9 | -668/+0 | |
2015-01-25 | pcm/SoxrResampler: move quality recipe names to table | Max Kellermann | 1 | -25/+23 | |
2015-01-23 | util/list: disable gcc5 warning | Max Kellermann | 1 | -0/+4 | |
This file has been removed in newer MPD versions, so don't care about it now. | |||||
2015-01-23 | ClientProcess: cast enum to int before passing to printf() | Max Kellermann | 1 | -3/+3 | |
Fixes gcc5 warning. | |||||
2015-01-22 | tag/Format: add %iso8601% | Max Kellermann | 1 | -0/+27 | |
2015-01-22 | ConfigFile: fix typo (parser breakage) | Max Kellermann | 1 | -2/+2 | |
2015-01-22 | util/format: allow upper case, digits and underscore in names | Max Kellermann | 1 | -1/+2 | |
2015-01-22 | util/format: move code to is_name_char() | Max Kellermann | 1 | -1/+7 | |
2015-01-22 | queue/PlaylistState: remove unused macro | Max Kellermann | 1 | -3/+0 | |
2015-01-22 | pcm/SoxrResampler: allow multi-threaded resampling | Max Kellermann | 1 | -1/+1 | |
2015-01-22 | pcm/SoxrResampler: add a global soxr_runtime_spec_t variable | Max Kellermann | 1 | -1/+5 | |
2015-01-22 | Config: add section "resampler" | Max Kellermann | 7 | -33/+125 | |
2015-01-22 | config/Block: add method IsEmpty() | Max Kellermann | 1 | -0/+5 | |
2015-01-21 | config/Param: split block-specific attributes to new struct ConfigBlock | Max Kellermann | 108 | -713/+851 | |
The old struct config_param remains only for top-level string options. | |||||
2015-01-21 | config/File: move code to ReadConfigParam() | Max Kellermann | 1 | -73/+82 | |
2015-01-21 | fs/io/BufferedReader: count line numbers | Max Kellermann | 3 | -26/+38 | |
Replaces the dirty code in config/ConfigFile.cxx. | |||||
2015-01-21 | config/File: use FileReader/BufferedReader instead of stdio | Max Kellermann | 1 | -28/+21 | |
2015-01-21 | config/Data: assign nullptr during iteration | Max Kellermann | 1 | -2/+3 | |
2015-01-21 | config/Option: convert to strictly-typed enum | Max Kellermann | 32 | -128/+149 | |
2015-01-21 | input/curl: work around format warning on WIN32 | Max Kellermann | 1 | -0/+3 | |
2015-01-21 | config/Param: make "line" signed | Max Kellermann | 3 | -7/+7 | |
2015-01-21 | ConfigFile: convert macros to constexpr | Max Kellermann | 1 | -2/+2 | |