Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fs/Charset: hard-code Windows to ACP | Max Kellermann | 2015-06-22 | 1 | -0/+2 |
| | | | | | | Don't define HAVE_FS_CHARSET, and make GetFSCharset() return "ACP" instead of "UTF-8". Ignore the configuration setting, which had no effect anyway. | ||||
* | fs/Traits: enable _UNICODE on Windows | Max Kellermann | 2015-03-05 | 1 | -1/+43 |
| | | | | | Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems. | ||||
* | fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs | Max Kellermann | 2015-02-25 | 1 | -8/+7 |
| | |||||
* | fs/Charset: convert #ifdef to regular "if" | Max Kellermann | 2015-02-09 | 1 | -3/+5 |
| | |||||
* | fs/Charset: change FixSeparators() API to use std::string&& | Max Kellermann | 2015-02-08 | 1 | -11/+6 |
| | |||||
* | Copyright year 2015 | Max Kellermann | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | Merge branch 'v0.19.x' | Max Kellermann | 2014-12-26 | 1 | -0/+6 |
|\ | |||||
| * | Merge branch 'v0.18.x' into v0.19.x | Max Kellermann | 2014-12-26 | 1 | -0/+6 |
| |\ | |||||
| | * | util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compare | Max Kellermann | 2014-12-26 | 1 | -0/+6 |
| | | | | | | | | | | | | New in clang 3.6. | ||||
* | | | fs/Charset: move code to wrapper class IcuConverter | Max Kellermann | 2014-11-30 | 1 | -64/+13 |
| | | | | | | | | | | | | Prepare for a ICU-based backend without GLib. | ||||
* | | | fs/Charset: return std::string from PathFromUTF8() | Max Kellermann | 2014-11-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Don't expose pointer that requires the caller to invoke g_free(), because that's GLib-only. | ||||
* | | | fs/Charset: use macro HAVE_FS_CHARSET internally | Max Kellermann | 2014-11-30 | 1 | -4/+4 |
| | | | |||||
* | | | fs/Charset: add DeinitFSCharset() | Max Kellermann | 2014-11-29 | 1 | -0/+5 |
| | | | |||||
* | | | fs/Charset: add macro HAVE_FS_CHARSET | Max Kellermann | 2014-11-29 | 1 | -1/+1 |
| | | | |||||
* | | | fs/Charset: return Error on SetFSCharset() failure | Max Kellermann | 2014-11-29 | 1 | -8/+19 |
|/ / | | | | | | | Don't abort the process, let the caller decide instead. | ||||
* | | fs/Charset: work around clang's -Wunused-const-variable | Max Kellermann | 2014-10-25 | 1 | -1/+2 |
| | | | | | | | | MPD_PATH_MAX_UTF8 is only used by GLib-specific code currently. | ||||
* | | fs/Charset: use "UTF-8" instead of "utf-8" as the default value | Max Kellermann | 2014-02-23 | 1 | -2/+2 |
| | | | | | | | | The upper-case name seems to be the canonical one. | ||||
* | | fs/Charset: disable if GLib is disabled | Max Kellermann | 2014-02-17 | 1 | -0/+17 |
| | | |||||
* | | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
| | | |||||
* | | fs/Charset.cxx: replace \ with / when converting path to UTF-8 on Windows | Denis Krjuchkov | 2013-12-05 | 1 | -3/+24 |
| | | |||||
* | | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 1 | -2/+0 |
|/ | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 1 | -3/+3 |
| | |||||
* | fs/Charset: GetFSCharset() returns "utf-8" by default | Max Kellermann | 2013-10-17 | 1 | -2/+2 |
| | | | | | | 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 | 1 | -0/+6 |
| | | | | | 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 | 1 | -2/+3 |
| | |||||
* | fs/Path: move configuration code to Config.cxx | Max Kellermann | 2013-10-17 | 1 | -0/+113 |