Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | AllocatedPath.hxx: use move constructor | Denis Krjuchkov | 2013-12-03 | 1 | -1/+1 | |
| | ||||||
* | fs/AllocatedPath: use PathTraits::BuildFS | Denis Krjuchkov | 2013-12-03 | 2 | -10/+14 | |
| | ||||||
* | fs/Traits.hxx: implement BuildFS() method | Denis Krjuchkov | 2013-12-03 | 2 | -0/+35 | |
| | ||||||
* | fs/Traits.hxx: move definition of AllocatedPath::string to PathTraits | Denis Krjuchkov | 2013-12-03 | 2 | -2/+2 | |
| | ||||||
* | fs/Traits.hxx: add GetLengthFS() | Denis Krjuchkov | 2013-12-03 | 1 | -0/+6 | |
| | | | | | There is no GetLengthUTF8() because strlen or std::string::size() could be used instead. | |||||
* | fs/AllocatedPath.hxx: add FromFS(std::string) method | Denis Krjuchkov | 2013-12-03 | 1 | -0/+11 | |
| | ||||||
* | fs/Traits.hxx: don't use g_path_is_absolute | Denis Krjuchkov | 2013-12-03 | 1 | -9/+7 | |
| | ||||||
* | fs/Traits.hxx: simplify code | Denis Krjuchkov | 2013-12-03 | 1 | -7/+3 | |
| | | | | | - Move definition of SEPARATOR_UTF8 out of #ifdef - Remove duplicated check in IsSeparatorUTF8 | |||||
* | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 7 | -16/+0 | |
| | ||||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 2 | -7/+7 | |
| | ||||||
* | GetBaseUTF8 | Max Kellermann | 2013-10-21 | 2 | -0/+62 | |
| | ||||||
* | fs/AllocatedPath: don't include glib.h | Max Kellermann | 2013-10-21 | 1 | -4/+0 | |
| | ||||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 7 | -174/+392 | |
| | | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | |||||
* | fs/Path: move definitions to struct PathTraits | Max Kellermann | 2013-10-17 | 4 | -90/+129 | |
| | ||||||
* | fs/Path: include clenaup | Max Kellermann | 2013-10-17 | 1 | -1/+1 | |
| | ||||||
* | fs/Charset: GetFSCharset() returns "utf-8" by default | Max Kellermann | 2013-10-17 | 2 | -3/+3 | |
| | | | | | | If fs_charset is empty, i.e. we're using the default "utf-8", GetFSCharset() should return exactly that instead of an empty std::string. | |||||
* | fs/Charset: default filesystem charset is UTF-8 | Max Kellermann | 2013-10-17 | 2 | -6/+7 | |
| | | | | | Implement a fast path for UTF-8 which leaves fs_charset empty, and don't assign a value to fs_charset if there's no configuration. | |||||
* | fs/Charset: don't allow nullptr arguments | Max Kellermann | 2013-10-17 | 3 | -7/+8 | |
| | ||||||
* | fs/Path: move configuration code to Config.cxx | Max Kellermann | 2013-10-17 | 6 | -132/+271 | |
| | ||||||
* | fs/Path: move path_domain to Domain.hxx | Max Kellermann | 2013-10-17 | 4 | -5/+50 | |
| | ||||||
* | fs/Path: make fs_charset static | Max Kellermann | 2013-10-17 | 1 | -1/+1 | |
| | ||||||
* | fs/Path: include cleanup | Max Kellermann | 2013-10-17 | 1 | -1/+0 | |
| | ||||||
* | fs/Limits: convert macro to "constexpr" | Max Kellermann | 2013-10-17 | 3 | -12/+11 | |
| | ||||||
* | fs/Path: move MPD_PATH_MAX to Limits.hxx | Max Kellermann | 2013-10-17 | 4 | -14/+42 | |
| | ||||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 2 | -2/+2 | |
| | ||||||
* | *: use WIN32 instead of G_OS_WIN32 | Max Kellermann | 2013-10-15 | 1 | -3/+3 | |
| | ||||||
* | fs/Path: add method IsAbsolute() | Max Kellermann | 2013-10-14 | 1 | -0/+31 | |
| | ||||||
* | fs/Path: add separator constants/functions | Max Kellermann | 2013-10-14 | 2 | -2/+48 | |
| | ||||||
* | fs/Path: add method RelativeFS() | Max Kellermann | 2013-10-14 | 2 | -0/+31 | |
| | | | | Move code from map_fs_to_utf8(). | |||||
* | fs/Path: add method data() | Max Kellermann | 2013-10-14 | 1 | -0/+9 | |
| | ||||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -5/+5 | |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
* | filesystem/Path: use std::string | Max Kellermann | 2013-10-02 | 2 | -78/+43 | |
| | ||||||
* | Path: add FromUTF8() overload that returns an Error | Max Kellermann | 2013-09-12 | 2 | -0/+18 | |
| | ||||||
* | ConfigPath: move path_domain to system/Path.cxx | Max Kellermann | 2013-09-12 | 2 | -0/+5 | |
| | ||||||
* | mpd_error.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -2/+2 | |
| | | | | Migrate the remaining callers to FatalError(). | |||||
* | conf.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -1/+1 | |
| | | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
* | os/FileSystem: disable mkfifo() wrapper on WIN32 | Max Kellermann | 2013-08-07 | 1 | -0/+4 | |
| | ||||||
* | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 1 | -0/+6 | |
| | | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller. | |||||
* | Makefile.am: move sources to libsystem.a | Max Kellermann | 2013-08-07 | 1 | -1/+1 | |
| | ||||||
* | DirectoryReader: rename Failed() to HasFailed() for consistency with TextFile | Denis Krjuchkov | 2013-05-05 | 1 | -4/+4 | |
| | ||||||
* | Path.hxx: add GetDirectoryName() method | Denis Krjuchkov | 2013-02-02 | 1 | -0/+9 | |
| | ||||||
* | FileSystem.hxx: add FOpen modes for appending files | Denis Krjuchkov | 2013-02-02 | 1 | -0/+10 | |
| | ||||||
* | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 2013-01-28 | 2 | -7/+1 | |
| | | | | required | |||||
* | Path: convert remaining funcs to methods, keep fs_charset as std::string | Denis Krjuchkov | 2013-01-28 | 2 | -22/+20 | |
| | ||||||
* | Path: merge utf8_to_fs_charset() into Path::FromUTF8() | Denis Krjuchkov | 2013-01-28 | 2 | -13/+4 | |
| | ||||||
* | Path: convert fs_charset_to_utf8() to static method Path::ToUTF8() | Denis Krjuchkov | 2013-01-28 | 2 | -22/+31 | |
| | ||||||
* | Path: introduce MPD_PATH_MAX_UTF8 | Denis Krjuchkov | 2013-01-28 | 1 | -0/+10 | |
| | ||||||
* | Path: define MPD_PATH_MAX to 260 on Windows | Denis Krjuchkov | 2013-01-26 | 1 | -1/+3 | |
| | ||||||
* | Path: ToUTF() returns std::string | Denis Krjuchkov | 2013-01-26 | 2 | -8/+17 | |
| | ||||||
* | Path: move to fs subdirectory | Denis Krjuchkov | 2013-01-22 | 2 | -0/+395 | |
| |