Max Kellermann
|
a9a6a5041b
|
db/Configured: convert path to UTF-8 before injecting into configuration
|
2015-03-05 08:38:50 +01:00 |
|
Max Kellermann
|
59dd8ffbc6
|
PlaylistFile: use Path::ToUTF8() instead of PathToUTF8()
|
2015-03-05 08:37:00 +01:00 |
|
Max Kellermann
|
8f9fe1b11a
|
PlaylistFile: don't insert "file://" before absolute paths
This prefix is deprecated.
|
2015-03-05 08:36:17 +01:00 |
|
Max Kellermann
|
9ed0152cf2
|
unix/PidFile: use the UTF-8 path for error message
|
2015-03-05 08:09:08 +01:00 |
|
Max Kellermann
|
250332a8d5
|
util/StringUtil: reorder functions
|
2015-03-04 20:22:05 +01:00 |
|
Max Kellermann
|
39825c6622
|
util/ASCII: strip include guard
|
2015-03-04 20:05:39 +01:00 |
|
Max Kellermann
|
cee3070ca4
|
output/winmm: use StringStartsWith() instead of strstr()
|
2015-03-04 08:58:59 +01:00 |
|
Max Kellermann
|
cd08e5c7da
|
fs/io/FileOutputStream: use class FileDescriptor
|
2015-03-03 23:04:25 +01:00 |
|
Max Kellermann
|
dd4beea44c
|
system/FileDescriptor: Close() returns bool
|
2015-03-03 23:04:25 +01:00 |
|
Max Kellermann
|
5b48d59769
|
system/FileDescriptor: add "mode" parameter to Open()
|
2015-03-03 22:29:09 +01:00 |
|
Max Kellermann
|
4dec12fcfc
|
system/FileDescriptor: move O_NOCTTY|O_CLOEXEC to Open()
|
2015-03-03 22:20:51 +01:00 |
|
Max Kellermann
|
57ad3aca8e
|
input/file: use class FileReader
|
2015-03-03 21:48:45 +01:00 |
|
Max Kellermann
|
f677f42be7
|
system/FileDescriptor: remove bogus assertions
|
2015-03-03 21:48:45 +01:00 |
|
Max Kellermann
|
a5760670ef
|
fs/io/FileReader: add method GetFileInfo()
|
2015-03-03 21:41:11 +01:00 |
|
Max Kellermann
|
f04a3ec201
|
fs/io/FileReader: add move constructor
|
2015-03-03 21:41:10 +01:00 |
|
Max Kellermann
|
f402c5fe3c
|
input/file: pass UTF-8 URI to InputStream ctor
|
2015-03-03 21:17:56 +01:00 |
|
Max Kellermann
|
9352e25392
|
input/file: add missing fcntl.h include for posix_fadvise()
|
2015-03-03 21:17:47 +01:00 |
|
Max Kellermann
|
1c90b0c19d
|
*: change C-style prototypes, drop "(void)"
|
2015-03-03 20:05:08 +01:00 |
|
Max Kellermann
|
cd776ff1a8
|
system/FileDescriptor: fix WIN32 checks
|
2015-03-03 19:44:32 +01:00 |
|
Max Kellermann
|
40a587bbaf
|
system/FileDescriptor: new wrapper class for a file descriptor
|
2015-03-03 17:14:30 +01:00 |
|
Max Kellermann
|
818d729d8b
|
system/fd_util: remove unused functions
|
2015-03-03 17:07:52 +01:00 |
|
Max Kellermann
|
dd5daa0767
|
fs/io/FileReader: add method Seek()
|
2015-03-03 14:29:36 +01:00 |
|
Max Kellermann
|
ef5090c397
|
db/update/Container: convert vtrack name to FS charset
|
2015-03-03 13:20:43 +01:00 |
|
Max Kellermann
|
cf073de36c
|
storage/local: convert mangled URI to FS charset
|
2015-03-03 13:18:15 +01:00 |
|
Max Kellermann
|
f16054639b
|
storage/local: use PathTraitsFS typedefs
|
2015-03-03 13:12:54 +01:00 |
|
Max Kellermann
|
b0983e8708
|
fs/Traits: add Find()
|
2015-03-03 12:44:07 +01:00 |
|
Max Kellermann
|
0febb218ed
|
FileCommands: use Path::HasNewline()
|
2015-03-03 12:42:27 +01:00 |
|
Max Kellermann
|
dfcfeeb550
|
fs/Traits: use std::char_traits
|
2015-03-03 12:28:47 +01:00 |
|
Max Kellermann
|
820debf45a
|
util/StringUtil: add FindStringSuffix()
|
2015-03-03 11:29:31 +01:00 |
|
Max Kellermann
|
c19292c036
|
Util/StringUtil: use std::copy_n()
|
2015-03-02 22:35:59 +01:00 |
|
Max Kellermann
|
4ee81e6a3d
|
PlaylistFile: limit variable scope
|
2015-03-02 22:19:47 +01:00 |
|
Max Kellermann
|
87a8a3e22f
|
PlaylistFile: move memchr() call to class Path
|
2015-03-02 21:48:37 +01:00 |
|
Max Kellermann
|
e9125ef8e4
|
PlaylistFile: use PathTraitsFS typedefs
|
2015-03-02 21:47:33 +01:00 |
|
Max Kellermann
|
6ff394bcc9
|
StorageCommands: use PathTraitsUTF8 for protocol argument
|
2015-03-02 21:25:55 +01:00 |
|
Max Kellermann
|
7ce96585f5
|
fs/Path: add method GetSuffix()
Type-safe wrapper for uri_get_suffix().
|
2015-03-01 01:09:53 +01:00 |
|
Max Kellermann
|
41cc31c124
|
SongUpdate: use OpenArchiveInputStream() to open archive file
Don't pass Path::c_str() to tag_stream_scan() which requires a UTF-8
string.
|
2015-03-01 00:48:44 +01:00 |
|
Max Kellermann
|
605af61a0f
|
db/simple: eliminate UpdateFileInArchive() if archive API is disabled
Reduce some unnecessary overhead.
|
2015-03-01 00:25:30 +01:00 |
|
Max Kellermann
|
77e163e5b8
|
Mapper: use Path::IsAbsolute()
|
2015-02-28 23:50:18 +01:00 |
|
Max Kellermann
|
0e00b9009d
|
fs/Path: pass Path to Relative()
|
2015-02-28 23:45:16 +01:00 |
|
Max Kellermann
|
a6dd998d31
|
fs/AllocatedPath: use PathTraitsFS::Relative()
Eliminate duplicate code.
|
2015-02-28 23:30:53 +01:00 |
|
Max Kellermann
|
cdd0ccc67a
|
fs/Path: rename RelativeFS() to Relative()
|
2015-02-28 23:19:34 +01:00 |
|
Max Kellermann
|
a918821868
|
fs/Traits: add missing dereference in RelativePathImpl()
|
2015-02-28 23:19:34 +01:00 |
|
Max Kellermann
|
c637b96f10
|
Win32Main: use TCHAR where appropriate
|
2015-02-28 23:15:46 +01:00 |
|
Max Kellermann
|
44b9197354
|
Mapper: use class Path
|
2015-02-28 23:00:27 +01:00 |
|
Max Kellermann
|
7a8f96b1dd
|
FileCommands: use PathTraitsFS typedefs
|
2015-02-28 23:00:26 +01:00 |
|
Max Kellermann
|
f4f21f462d
|
fs/CheckFile: convert path to UTF-8 for error message
|
2015-02-28 23:00:26 +01:00 |
|
Max Kellermann
|
d09b8b5bd7
|
fs/FileInfo: use GetFileAttributesEx() on WIN32
|
2015-02-28 23:00:26 +01:00 |
|
Max Kellermann
|
ee327db517
|
fs/FileSystem: remove unused WIN32 port of StatFile()
|
2015-02-28 23:00:26 +01:00 |
|
Max Kellermann
|
90a61b6bab
|
fs/FileInfo: new library providing GetFileInfo()
Replaces StatFile(), with a portable data object.
|
2015-02-28 23:00:26 +01:00 |
|
Max Kellermann
|
00583bc4a8
|
FileCommands: skip special files completely
Previously, MPD printed the time stamp without printing the file
name. That made no sense.
|
2015-02-28 23:00:26 +01:00 |
|