Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |