Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | input/file: add missing fcntl.h include for posix_fadvise() | Max Kellermann | 2015-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | *: change C-style prototypes, drop "(void)" | Max Kellermann | 2015-03-03 | 28 | -53/+74 | |
| | | ||||||
* | | system/FileDescriptor: fix WIN32 checks | Max Kellermann | 2015-03-03 | 2 | -5/+5 | |
| | | ||||||
* | | system/FileDescriptor: new wrapper class for a file descriptor | Max Kellermann | 2015-03-03 | 14 | -124/+443 | |
| | | ||||||
* | | system/fd_util: remove unused functions | Max Kellermann | 2015-03-03 | 2 | -154/+0 | |
| | | ||||||
* | | fs/io/FileReader: add method Seek() | Max Kellermann | 2015-03-03 | 2 | -0/+28 | |
| | | ||||||
* | | db/update/Container: convert vtrack name to FS charset | Max Kellermann | 2015-03-03 | 1 | -1/+4 | |
| | | ||||||
* | | storage/local: convert mangled URI to FS charset | Max Kellermann | 2015-03-03 | 1 | -1/+5 | |
| | | ||||||
* | | storage/local: use PathTraitsFS typedefs | Max Kellermann | 2015-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | fs/Traits: add Find() | Max Kellermann | 2015-03-03 | 2 | -1/+21 | |
| | | ||||||
* | | FileCommands: use Path::HasNewline() | Max Kellermann | 2015-03-03 | 1 | -3/+3 | |
| | | ||||||
* | | fs/Traits: use std::char_traits | Max Kellermann | 2015-03-03 | 1 | -4/+6 | |
| | | ||||||
* | | util/StringUtil: add FindStringSuffix() | Max Kellermann | 2015-03-03 | 3 | -8/+27 | |
| | | ||||||
* | | Util/StringUtil: use std::copy_n() | Max Kellermann | 2015-03-02 | 1 | -1/+1 | |
| | | ||||||
* | | PlaylistFile: limit variable scope | Max Kellermann | 2015-03-02 | 1 | -2/+2 | |
| | | ||||||
* | | PlaylistFile: move memchr() call to class Path | Max Kellermann | 2015-03-02 | 2 | -2/+14 | |
| | | ||||||
* | | PlaylistFile: use PathTraitsFS typedefs | Max Kellermann | 2015-03-02 | 1 | -5/+6 | |
| | | ||||||
* | | StorageCommands: use PathTraitsUTF8 for protocol argument | Max Kellermann | 2015-03-02 | 1 | -1/+1 | |
| | | ||||||
* | | fs/Path: add method GetSuffix() | Max Kellermann | 2015-03-01 | 5 | -4/+14 | |
| | | | | | | | | Type-safe wrapper for uri_get_suffix(). | |||||
* | | SongUpdate: use OpenArchiveInputStream() to open archive file | Max Kellermann | 2015-03-01 | 4 | -1/+90 | |
| | | | | | | | | | | Don't pass Path::c_str() to tag_stream_scan() which requires a UTF-8 string. | |||||
* | | db/simple: eliminate UpdateFileInArchive() if archive API is disabled | Max Kellermann | 2015-03-01 | 2 | -2/+14 | |
| | | | | | | | | Reduce some unnecessary overhead. | |||||
* | | Mapper: use Path::IsAbsolute() | Max Kellermann | 2015-02-28 | 1 | -7/+7 | |
| | | ||||||
* | | fs/Path: pass Path to Relative() | Max Kellermann | 2015-02-28 | 3 | -5/+5 | |
| | | ||||||
* | | fs/AllocatedPath: use PathTraitsFS::Relative() | Max Kellermann | 2015-02-28 | 2 | -23/+3 | |
| | | | | | | | | Eliminate duplicate code. | |||||
* | | fs/Path: rename RelativeFS() to Relative() | Max Kellermann | 2015-02-28 | 4 | -4/+4 | |
| | | ||||||
* | | fs/Traits: add missing dereference in RelativePathImpl() | Max Kellermann | 2015-02-28 | 1 | -1/+1 | |
| | | ||||||
* | | Win32Main: use TCHAR where appropriate | Max Kellermann | 2015-02-28 | 1 | -4/+5 | |
| | | ||||||
* | | Mapper: use class Path | Max Kellermann | 2015-02-28 | 3 | -5/+10 | |
| | | ||||||
* | | FileCommands: use PathTraitsFS typedefs | Max Kellermann | 2015-02-28 | 1 | -2/+2 | |
| | | ||||||
* | | fs/CheckFile: convert path to UTF-8 for error message | Max Kellermann | 2015-02-28 | 1 | -6/+11 | |
| | | ||||||
* | | fs/FileInfo: use GetFileAttributesEx() on WIN32 | Max Kellermann | 2015-02-28 | 1 | -1/+49 | |
| | | ||||||
* | | fs/FileSystem: remove unused WIN32 port of StatFile() | Max Kellermann | 2015-02-28 | 1 | -5/+4 | |
| | | ||||||
* | | fs/FileInfo: new library providing GetFileInfo() | Max Kellermann | 2015-02-28 | 11 | -70/+171 | |
| | | | | | | | | Replaces StatFile(), with a portable data object. | |||||
* | | FileCommands: skip special files completely | Max Kellermann | 2015-02-28 | 1 | -0/+2 | |
| | | | | | | | | | | Previously, MPD printed the time stamp without printing the file name. That made no sense. | |||||
* | | storage/FileInfo: rename to StorageFileInfo | Max Kellermann | 2015-02-28 | 19 | -86/+95 | |
| | | ||||||
* | | fs/Path: make IsAbsolute() const | Max Kellermann | 2015-02-28 | 2 | -2/+2 | |
| | | ||||||
* | | fs/FileSystem: use GetFileAttributes() on WIN32 if possible | Max Kellermann | 2015-02-27 | 1 | -2/+20 | |
| | | ||||||
* | | fs/FileSystem: merge CheckAccess() into PathExists() | Max Kellermann | 2015-02-27 | 2 | -17/+7 | |
| | | | | | | | | | | PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies. | |||||
* | | fs/DirectoryReader: use FindFirstFile(), FindNextFile() on WIN32 | Max Kellermann | 2015-02-26 | 1 | -0/+85 | |
| | | ||||||
* | | fs/Traits: add constant CURRENT_DIRECTORY | Max Kellermann | 2015-02-25 | 3 | -2/+7 | |
| | | ||||||
* | | fs/AllocatedPath: add nullptr_t constructor | Max Kellermann | 2015-02-25 | 1 | -1/+3 | |
| | | ||||||
* | | fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs | Max Kellermann | 2015-02-25 | 6 | -21/+19 | |
| | | ||||||
* | | fs/FileSystem: remove unused FOpenModes | Max Kellermann | 2015-02-25 | 1 | -20/+0 | |
| | | ||||||
* | | fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error message | Max Kellermann | 2015-02-25 | 2 | -7/+18 | |
| | | ||||||
* | | db/ExcludeList: use the TextFile class instead of stdio.h | Max Kellermann | 2015-02-25 | 1 | -17/+24 | |
| | | ||||||
* | | configure.ac: enable STRICT mode on Windows | Max Kellermann | 2015-02-25 | 1 | -0/+1 | |
| | | ||||||
* | | util/DynamicFifoBuffer: adjust include guard | Max Kellermann | 2015-02-16 | 1 | -3/+3 | |
| | | ||||||
* | | net/StaticSocketAdress: new class wrapping struct sockaddr_storage | Max Kellermann | 2015-02-13 | 4 | -7/+204 | |
| | | ||||||
* | | system/ByteOrder: use GCC built-ins if available | Max Kellermann | 2015-02-12 | 1 | -6/+38 | |
| | | ||||||
* | | net/Resolver: relax size check in LocalAddressToString() | Max Kellermann | 2015-02-10 | 1 | -2/+20 | |
| | | | | | | | | Handles abstract sockets on Linux. |