aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-29db/update/Walk: use std::unique_ptr instead of std::auto_ptrMax Kellermann1-1/+1
std::auto_ptr is deprecated, and std::unique_ptr is much better anyway.
2015-01-29Avoid integer overflow in MonotonicClock{S,MS,US}PHO1-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-29decoder/DsdLib: use new[] to allocate the ID3 bufferMax Kellermann1-3/+5
Don't abort the process if there's not enough memory. This buffer is not important and can be large.
2015-01-29decoder/DsdLib: free ID3 buffer right after id3_tag_parse()Max Kellermann1-5/+2
Merge two free() calls.
2015-01-29decoder/DsdLib: raise ID3 tag limit to 1 MBMax Kellermann1-1/+1
A bug report was submitted with a 600 kB ID3 tag that could not be read by MPD.
2015-01-28output/fifo: use template AudioOutputWrapperMax Kellermann1-47/+39
2015-01-28StickerDatabase: convert the struct name to upper caseMax Kellermann7-19/+19
2015-01-26Test the existence of strndup(3) before using it.PHO1-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 pluginMax Kellermann9-668/+0
2015-01-25pcm/SoxrResampler: move quality recipe names to tableMax Kellermann1-25/+23
2015-01-23util/list: disable gcc5 warningMax Kellermann1-0/+4
This file has been removed in newer MPD versions, so don't care about it now.
2015-01-23ClientProcess: cast enum to int before passing to printf()Max Kellermann1-3/+3
Fixes gcc5 warning.
2015-01-22tag/Format: add %iso8601%Max Kellermann1-0/+27
2015-01-22ConfigFile: fix typo (parser breakage)Max Kellermann1-2/+2
2015-01-22util/format: allow upper case, digits and underscore in namesMax Kellermann1-1/+2
2015-01-22util/format: move code to is_name_char()Max Kellermann1-1/+7
2015-01-22queue/PlaylistState: remove unused macroMax Kellermann1-3/+0
2015-01-22pcm/SoxrResampler: allow multi-threaded resamplingMax Kellermann1-1/+1
2015-01-22pcm/SoxrResampler: add a global soxr_runtime_spec_t variableMax Kellermann1-1/+5
2015-01-22Config: add section "resampler"Max Kellermann7-33/+125
2015-01-22config/Block: add method IsEmpty()Max Kellermann1-0/+5
2015-01-21config/Param: split block-specific attributes to new struct ConfigBlockMax Kellermann108-713/+851
The old struct config_param remains only for top-level string options.
2015-01-21config/File: move code to ReadConfigParam()Max Kellermann1-73/+82
2015-01-21fs/io/BufferedReader: count line numbersMax Kellermann3-26/+38
Replaces the dirty code in config/ConfigFile.cxx.
2015-01-21config/File: use FileReader/BufferedReader instead of stdioMax Kellermann1-28/+21
2015-01-21config/Data: assign nullptr during iterationMax Kellermann1-2/+3
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann32-128/+149
2015-01-21input/curl: work around format warning on WIN32Max Kellermann1-0/+3
2015-01-21config/Param: make "line" signedMax Kellermann3-7/+7
2015-01-21ConfigFile: convert macros to constexprMax Kellermann1-2/+2
2015-01-21config/Data: add method Clear()Max Kellermann3-3/+33
Move code from config_global_finish().
2015-01-21ConfigData: rename header fileMax Kellermann3-2/+2
2015-01-21config/Param: make constructor "explicit"Max Kellermann1-1/+1
2015-01-21ConfigData: move struct config_param to Param.hxxMax Kellermann33-107/+136
2015-01-21ConfigData: rename struct block_param to BlockParamMax Kellermann5-14/+14
2015-01-21ConfigData: move struct block_param to Block.?xxMax Kellermann4-61/+113
2015-01-21thread/Name: include stdio.h if HAVE_PRCTLMax Kellermann1-1/+4
Caused a build failure with uClibc because snprintf() was not available.
2015-01-21pcm/SoxrResampler: use a global soxr_quality_spec_t variableMax Kellermann1-6/+7
2015-01-21pcm/SoxrResampler: soxr_parse_converter() returns unsigned longMax Kellermann1-13/+18
2015-01-21pcm/SoxrResampler: add constant SOXR_DEFAULT_QUALITYMax Kellermann1-1/+3
2015-01-21pcm/SoxrResampler: fix indentMax Kellermann1-1/+1
2015-01-16MixerAll: restore "null" mixer volume from state fileMax Kellermann1-1/+2
2015-01-15db/plugins/ProxyDatabasePlugin: add "keepalive" parameterJoshua Wise1-0/+6
2015-01-15util/CharUtil: minor API documentation fixMax Kellermann1-1/+1
2015-01-14output/recorder: dynamic file nameMax Kellermann5-9/+610
2015-01-14output/recorder: move code to encoder/ToOutputStream.cxxMax Kellermann3-17/+75
2015-01-14fs/io/FileOutputStream: add static method Create()Max Kellermann3-4/+15
2015-01-13fs/AllocatedPath: add operator==Max Kellermann1-0/+10
2015-01-12DetachedSong: remove obsolete friend declarationMax Kellermann1-1/+0
2015-01-09output/null: convert struct to classMax Kellermann1-1/+4