aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigPath.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ConfigPath: use std::stringMax Kellermann2013-10-191-6/+5
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-16/+16
| | | | | | | 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 PathTraitsMax Kellermann2013-10-171-1/+2
|
* fs/Path: move path_domain to Domain.hxxMax Kellermann2013-10-171-0/+1
|
* fs/Path: add method IsAbsolute()Max Kellermann2013-10-141-1/+1
|
* ConfigPath: return early on "~"Max Kellermann2013-09-121-3/+6
| | | | Previously, the pointer was moved to undefined memory.
* ConfigPath: skip the slash of "~/"Max Kellermann2013-09-121-3/+3
| | | | Increment the "path" earlier.
* ConfigPath: remove the "~/" from the constructed pathMax Kellermann2013-09-121-6/+9
| | | | | This was building broken paths like "/home/foo/~/bar". Bug found by Maarten de Vries.
* ConfigPath: simplify the duplicate tilde checkMax Kellermann2013-09-121-5/+5
|
* ConfigPath: convert "home" variable to Path objectMax Kellermann2013-09-121-9/+11
| | | | | Use Path::FromUTF8() for the g_get_home_dir() return value instead of assuming it's already FS charset.
* ConfigPath: move code to GetHome()Max Kellermann2013-09-121-28/+48
|
* ConfigPath: include cleanupMax Kellermann2013-09-121-16/+0
|
* Path: add FromUTF8() overload that returns an ErrorMax Kellermann2013-09-121-6/+2
|
* ConfigPath: move path_domain to system/Path.cxxMax Kellermann2013-09-121-3/+0
|
* conf.h: remove obsolete headerMax Kellermann2013-09-051-1/+2
| | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies.
* util/Error: new error passing libraryMax Kellermann2013-09-041-20/+16
| | | | Replaces GLib's GError.
* ConfigPath: return a Path objectMax Kellermann2013-08-071-8/+17
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* *: use gcc.h macros instead of GLibMax Kellermann2013-08-041-2/+2
|
* utils: convert to C++Max Kellermann2013-04-091-0/+120