aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-13net/StaticSocketAdress: new class wrapping struct sockaddr_storageMax Kellermann3-7/+203
2015-02-12system/ByteOrder: use GCC built-ins if availableMax Kellermann1-6/+38
2015-02-10net/Resolver: relax size check in LocalAddressToString()Max Kellermann1-2/+20
Handles abstract sockets on Linux.
2015-02-10net/Resolver: move code to LocalAddressToString()Max Kellermann1-8/+16
2015-02-10net/SocketAddress: light wrapper for struct sockaddrMax Kellermann13-66/+198
2015-02-10system/{Resolver,Socket{Error,Util}}: move to new library libnet.aMax Kellermann12-9/+9
2015-02-10Listen: add "override"Max Kellermann1-2/+2
2015-02-10event/ServerSocket: remove obsolete macro DEFAULT_PORTMax Kellermann1-2/+0
2015-02-10event/ServerSocket: remove obsolete typedefMax Kellermann1-6/+0
2015-02-10fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTINGMax Kellermann1-1/+1
Fixes yet another breakage of creating the database+state file on Windows.
2015-02-09command/{Queue,File}Commands: drop "file:///" prefix for absolute pathsMax Kellermann2-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-09fs/Charset: convert #ifdef to regular "if"Max Kellermann1-3/+5
2015-02-08fs/Charset: change FixSeparators() API to use std::string&&Max Kellermann1-11/+6
2015-02-07Listen: remove C-style "void"Max Kellermann1-1/+2
2015-02-06fs/io/FileOutputStream: don't auto-delete file on WIN32Max Kellermann1-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-06SongPrint: let CPP concatenate string literalsMax Kellermann1-2/+2
2015-02-06TagBuilder: allow adding duplicate tag types in Complement()Max Kellermann1-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-04tag/Rva2: convert pointers to referencesMax Kellermann1-9/+9
2015-02-04tag/Rva2: rename struct rva2_data to CamelCaseMax Kellermann1-6/+6
2015-02-04tag/Rva2: make enum rva2_channel strictly-typedMax Kellermann1-12/+12
2015-02-03lib/upnp/Discovery: remove locking from ExpireDevices()Max Kellermann2-7/+6
2015-02-02lib/upnp/Discovery: apply naming conventionMax Kellermann5-42/+42
2015-02-01output/sles: use AudioOutputWrapper::Create()Max Kellermann1-4/+6
2015-01-31DecoderThread: make variables more localMax Kellermann1-6/+3
2015-01-31decoder/sndfile, ...: update API documentationMax Kellermann9-13/+13
2015-01-30decoder/DsdLib: fix integer overflow in ID3 size calculationMax Kellermann1-2/+4
2015-01-30decoder/DsdLib: check size before seekingMax Kellermann1-4/+3
2015-01-30decoder/DsdLib: don't use InputStream::GetOffset() after seekingMax Kellermann1-3/+2
We already know the offset.
2015-01-30decoder/DsdLib: pass offset_type t dsdlib_tag_id3()Max Kellermann2-4/+2
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-29Avoid integer overflow in MonotonicClock{S,MS,US}PHO1-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-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