Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 1 | -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 PathTraits | Max Kellermann | 2013-10-17 | 1 | -1/+2 |
| | |||||
* | fs/Path: move path_domain to Domain.hxx | Max Kellermann | 2013-10-17 | 1 | -0/+1 |
| | |||||
* | fs/Path: add method IsAbsolute() | Max Kellermann | 2013-10-14 | 1 | -1/+1 |
| | |||||
* | ConfigPath: return early on "~" | Max Kellermann | 2013-09-12 | 1 | -3/+6 |
| | | | | Previously, the pointer was moved to undefined memory. | ||||
* | ConfigPath: skip the slash of "~/" | Max Kellermann | 2013-09-12 | 1 | -3/+3 |
| | | | | Increment the "path" earlier. | ||||
* | ConfigPath: remove the "~/" from the constructed path | Max Kellermann | 2013-09-12 | 1 | -6/+9 |
| | | | | | This was building broken paths like "/home/foo/~/bar". Bug found by Maarten de Vries. | ||||
* | ConfigPath: simplify the duplicate tilde check | Max Kellermann | 2013-09-12 | 1 | -5/+5 |
| | |||||
* | ConfigPath: convert "home" variable to Path object | Max Kellermann | 2013-09-12 | 1 | -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 Kellermann | 2013-09-12 | 1 | -28/+48 |
| | |||||
* | ConfigPath: include cleanup | Max Kellermann | 2013-09-12 | 1 | -16/+0 |
| | |||||
* | Path: add FromUTF8() overload that returns an Error | Max Kellermann | 2013-09-12 | 1 | -6/+2 |
| | |||||
* | ConfigPath: move path_domain to system/Path.cxx | Max Kellermann | 2013-09-12 | 1 | -3/+0 |
| | |||||
* | conf.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -1/+2 |
| | | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies. | ||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 1 | -20/+16 |
| | | | | Replaces GLib's GError. | ||||
* | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 1 | -8/+17 |
| | | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller. | ||||
* | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 1 | -2/+2 |
| | |||||
* | utils: convert to C++ | Max Kellermann | 2013-04-09 | 1 | -0/+120 |