aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* fs/Path: add method GetSuffix()Max Kellermann2015-03-014-2/+12
| | | | Type-safe wrapper for uri_get_suffix().
* SongUpdate: use OpenArchiveInputStream() to open archive fileMax Kellermann2015-03-013-1/+89
| | | | | Don't pass Path::c_str() to tag_stream_scan() which requires a UTF-8 string.
* db/simple: eliminate UpdateFileInArchive() if archive API is disabledMax Kellermann2015-03-012-2/+14
| | | | Reduce some unnecessary overhead.
* Mapper: use Path::IsAbsolute()Max Kellermann2015-02-281-7/+7
|
* fs/Path: pass Path to Relative()Max Kellermann2015-02-283-5/+5
|
* fs/AllocatedPath: use PathTraitsFS::Relative()Max Kellermann2015-02-282-23/+3
| | | | Eliminate duplicate code.
* fs/Path: rename RelativeFS() to Relative()Max Kellermann2015-02-284-4/+4
|
* fs/Traits: add missing dereference in RelativePathImpl()Max Kellermann2015-02-281-1/+1
|
* Win32Main: use TCHAR where appropriateMax Kellermann2015-02-281-4/+5
|
* Mapper: use class PathMax Kellermann2015-02-283-5/+10
|
* FileCommands: use PathTraitsFS typedefsMax Kellermann2015-02-281-2/+2
|
* fs/CheckFile: convert path to UTF-8 for error messageMax Kellermann2015-02-281-6/+11
|
* fs/FileInfo: use GetFileAttributesEx() on WIN32Max Kellermann2015-02-281-1/+49
|
* fs/FileSystem: remove unused WIN32 port of StatFile()Max Kellermann2015-02-281-5/+4
|
* fs/FileInfo: new library providing GetFileInfo()Max Kellermann2015-02-2810-70/+170
| | | | Replaces StatFile(), with a portable data object.
* FileCommands: skip special files completelyMax Kellermann2015-02-281-0/+2
| | | | | Previously, MPD printed the time stamp without printing the file name. That made no sense.
* storage/FileInfo: rename to StorageFileInfoMax Kellermann2015-02-2818-82/+91
|
* fs/Path: make IsAbsolute() constMax Kellermann2015-02-282-2/+2
|
* fs/FileSystem: use GetFileAttributes() on WIN32 if possibleMax Kellermann2015-02-271-2/+20
|
* fs/FileSystem: merge CheckAccess() into PathExists()Max Kellermann2015-02-272-17/+7
| | | | | PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies.
* fs/DirectoryReader: use FindFirstFile(), FindNextFile() on WIN32Max Kellermann2015-02-261-0/+85
|
* fs/Traits: add constant CURRENT_DIRECTORYMax Kellermann2015-02-253-2/+7
|
* fs/AllocatedPath: add nullptr_t constructorMax Kellermann2015-02-251-1/+3
|
* fs/{Allocated,}Path,Charset: use PathTraitsFS typedefsMax Kellermann2015-02-256-21/+19
|
* fs/FileSystem: remove unused FOpenModesMax Kellermann2015-02-251-20/+0
|
* fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error messageMax Kellermann2015-02-252-7/+18
|
* db/ExcludeList: use the TextFile class instead of stdio.hMax Kellermann2015-02-251-17/+24
|
* util/DynamicFifoBuffer: adjust include guardMax Kellermann2015-02-161-3/+3
|
* net/StaticSocketAdress: new class wrapping struct sockaddr_storageMax Kellermann2015-02-133-7/+203
|
* system/ByteOrder: use GCC built-ins if availableMax Kellermann2015-02-121-6/+38
|
* net/Resolver: relax size check in LocalAddressToString()Max Kellermann2015-02-101-2/+20
| | | | Handles abstract sockets on Linux.
* net/Resolver: move code to LocalAddressToString()Max Kellermann2015-02-101-8/+16
|
* net/SocketAddress: light wrapper for struct sockaddrMax Kellermann2015-02-1013-66/+198
|
* system/{Resolver,Socket{Error,Util}}: move to new library libnet.aMax Kellermann2015-02-1012-9/+9
|
* Listen: add "override"Max Kellermann2015-02-101-2/+2
|
* event/ServerSocket: remove obsolete macro DEFAULT_PORTMax Kellermann2015-02-101-2/+0
|
* event/ServerSocket: remove obsolete typedefMax Kellermann2015-02-101-6/+0
|
* fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTINGMax Kellermann2015-02-101-1/+1
| | | | | Fixes yet another breakage of creating the database+state file on Windows.
* command/{Queue,File}Commands: drop "file:///" prefix for absolute pathsMax Kellermann2015-02-092-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.
* fs/Charset: convert #ifdef to regular "if"Max Kellermann2015-02-091-3/+5
|
* fs/Charset: change FixSeparators() API to use std::string&&Max Kellermann2015-02-081-11/+6
|
* Listen: remove C-style "void"Max Kellermann2015-02-071-1/+2
|
* Merge tag 'v0.19.9'Max Kellermann2015-02-062-1/+12
|\
| * fs/io/FileOutputStream: don't auto-delete file on WIN32Max Kellermann2015-02-061-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.
| * TagBuilder: allow adding duplicate tag types in Complement()Max Kellermann2015-02-061-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().
* | SongPrint: let CPP concatenate string literalsMax Kellermann2015-02-061-2/+2
| |
* | tag/Rva2: convert pointers to referencesMax Kellermann2015-02-041-9/+9
| |
* | tag/Rva2: rename struct rva2_data to CamelCaseMax Kellermann2015-02-041-6/+6
| |
* | tag/Rva2: make enum rva2_channel strictly-typedMax Kellermann2015-02-041-12/+12
| |
* | lib/upnp/Discovery: remove locking from ExpireDevices()Max Kellermann2015-02-032-7/+6
| |