aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Charset.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lib/icu/{Converter,Collate}: return AllocatedStringMax Kellermann2015-06-251-2/+10
|
* lib/icu/Win32: wrappers for WideCharToMultiByte(), MultiByteToWideChar()Max Kellermann2015-06-231-28/+8
|
* fs/Charset: hard-code Windows to ACPMax Kellermann2015-06-221-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 WindowsMax Kellermann2015-03-051-1/+43
| | | | | Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems.
* fs/{Allocated,}Path,Charset: use PathTraitsFS typedefsMax Kellermann2015-02-251-8/+7
|
* fs/Charset: convert #ifdef to regular "if"Max Kellermann2015-02-091-3/+5
|
* fs/Charset: change FixSeparators() API to use std::string&&Max Kellermann2015-02-081-11/+6
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* Merge branch 'v0.19.x'Max Kellermann2014-12-261-0/+6
|\
| * Merge branch 'v0.18.x' into v0.19.xMax Kellermann2014-12-261-0/+6
| |\
| | * util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compareMax Kellermann2014-12-261-0/+6
| | | | | | | | | | | | New in clang 3.6.
* | | fs/Charset: move code to wrapper class IcuConverterMax Kellermann2014-11-301-64/+13
| | | | | | | | | | | | Prepare for a ICU-based backend without GLib.
* | | fs/Charset: return std::string from PathFromUTF8()Max Kellermann2014-11-301-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 internallyMax Kellermann2014-11-301-4/+4
| | |
* | | fs/Charset: add DeinitFSCharset()Max Kellermann2014-11-291-0/+5
| | |
* | | fs/Charset: add macro HAVE_FS_CHARSETMax Kellermann2014-11-291-1/+1
| | |
* | | fs/Charset: return Error on SetFSCharset() failureMax Kellermann2014-11-291-8/+19
|/ / | | | | | | Don't abort the process, let the caller decide instead.
* | fs/Charset: work around clang's -Wunused-const-variableMax Kellermann2014-10-251-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 valueMax Kellermann2014-02-231-2/+2
| | | | | | | | The upper-case name seems to be the canonical one.
* | fs/Charset: disable if GLib is disabledMax Kellermann2014-02-171-0/+17
| |
* | copyright year 2014Max Kellermann2014-01-131-1/+1
| |
* | fs/Charset.cxx: replace \ with / when converting path to UTF-8 on WindowsDenis Krjuchkov2013-12-051-3/+24
| |
* | include cleanup using iwyuMax Kellermann2013-11-281-2/+0
|/
* *: use nullptr instead of NULLMax Kellermann2013-10-281-3/+3
|
* fs/Charset: GetFSCharset() returns "utf-8" by defaultMax Kellermann2013-10-171-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-8Max Kellermann2013-10-171-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 argumentsMax Kellermann2013-10-171-2/+3
|
* fs/Path: move configuration code to Config.cxxMax Kellermann2013-10-171-0/+113