aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-03storage/local: use PathTraitsFS typedefsMax Kellermann1-1/+1
2015-03-03fs/Traits: add Find()Max Kellermann2-1/+21
2015-03-03FileCommands: use Path::HasNewline()Max Kellermann1-3/+3
2015-03-03fs/Traits: use std::char_traitsMax Kellermann1-4/+6
2015-03-03util/StringUtil: add FindStringSuffix()Max Kellermann3-8/+27
2015-03-02Util/StringUtil: use std::copy_n()Max Kellermann1-1/+1
2015-03-02PlaylistFile: limit variable scopeMax Kellermann1-2/+2
2015-03-02PlaylistFile: move memchr() call to class PathMax Kellermann2-2/+14
2015-03-02PlaylistFile: use PathTraitsFS typedefsMax Kellermann1-5/+6
2015-03-02StorageCommands: use PathTraitsUTF8 for protocol argumentMax Kellermann1-1/+1
2015-03-01fs/Path: add method GetSuffix()Max Kellermann4-2/+12
Type-safe wrapper for uri_get_suffix().
2015-03-01SongUpdate: use OpenArchiveInputStream() to open archive fileMax Kellermann3-1/+89
Don't pass Path::c_str() to tag_stream_scan() which requires a UTF-8 string.
2015-03-01db/simple: eliminate UpdateFileInArchive() if archive API is disabledMax Kellermann2-2/+14
Reduce some unnecessary overhead.
2015-02-28Mapper: use Path::IsAbsolute()Max Kellermann1-7/+7
2015-02-28fs/Path: pass Path to Relative()Max Kellermann3-5/+5
2015-02-28fs/AllocatedPath: use PathTraitsFS::Relative()Max Kellermann2-23/+3
Eliminate duplicate code.
2015-02-28fs/Path: rename RelativeFS() to Relative()Max Kellermann4-4/+4
2015-02-28fs/Traits: add missing dereference in RelativePathImpl()Max Kellermann1-1/+1
2015-02-28Win32Main: use TCHAR where appropriateMax Kellermann1-4/+5
2015-02-28Mapper: use class PathMax Kellermann3-5/+10
2015-02-28FileCommands: use PathTraitsFS typedefsMax Kellermann1-2/+2
2015-02-28fs/CheckFile: convert path to UTF-8 for error messageMax Kellermann1-6/+11
2015-02-28fs/FileInfo: use GetFileAttributesEx() on WIN32Max Kellermann1-1/+49
2015-02-28fs/FileSystem: remove unused WIN32 port of StatFile()Max Kellermann1-5/+4
2015-02-28fs/FileInfo: new library providing GetFileInfo()Max Kellermann10-70/+170
Replaces StatFile(), with a portable data object.
2015-02-28FileCommands: skip special files completelyMax Kellermann1-0/+2
Previously, MPD printed the time stamp without printing the file name. That made no sense.
2015-02-28storage/FileInfo: rename to StorageFileInfoMax Kellermann18-82/+91
2015-02-28fs/Path: make IsAbsolute() constMax Kellermann2-2/+2
2015-02-27fs/FileSystem: use GetFileAttributes() on WIN32 if possibleMax Kellermann1-2/+20
2015-02-27fs/FileSystem: merge CheckAccess() into PathExists()Max Kellermann2-17/+7
PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies.
2015-02-26fs/DirectoryReader: use FindFirstFile(), FindNextFile() on WIN32Max Kellermann1-0/+85
2015-02-25fs/Traits: add constant CURRENT_DIRECTORYMax Kellermann3-2/+7
2015-02-25fs/AllocatedPath: add nullptr_t constructorMax Kellermann1-1/+3
2015-02-25fs/{Allocated,}Path,Charset: use PathTraitsFS typedefsMax Kellermann6-21/+19
2015-02-25fs/FileSystem: remove unused FOpenModesMax Kellermann1-20/+0
2015-02-25fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error messageMax Kellermann2-7/+18
2015-02-25db/ExcludeList: use the TextFile class instead of stdio.hMax Kellermann1-17/+24
2015-02-16util/DynamicFifoBuffer: adjust include guardMax Kellermann1-3/+3
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