aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Charset.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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