Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-03-05 | fs/Traits: enable _UNICODE on Windows | Max Kellermann | 1 | -1/+43 | |
Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems. | |||||
2015-02-25 | fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs | Max Kellermann | 1 | -8/+7 | |
2015-02-09 | fs/Charset: convert #ifdef to regular "if" | Max Kellermann | 1 | -3/+5 | |
2015-02-08 | fs/Charset: change FixSeparators() API to use std::string&& | Max Kellermann | 1 | -11/+6 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-12-26 | util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compare | Max Kellermann | 1 | -0/+6 | |
New in clang 3.6. | |||||
2014-11-30 | fs/Charset: move code to wrapper class IcuConverter | Max Kellermann | 1 | -64/+13 | |
Prepare for a ICU-based backend without GLib. | |||||
2014-11-30 | fs/Charset: return std::string from PathFromUTF8() | Max Kellermann | 1 | -2/+2 | |
Don't expose pointer that requires the caller to invoke g_free(), because that's GLib-only. | |||||
2014-11-30 | fs/Charset: use macro HAVE_FS_CHARSET internally | Max Kellermann | 1 | -4/+4 | |
2014-11-29 | fs/Charset: add DeinitFSCharset() | Max Kellermann | 1 | -0/+5 | |
2014-11-29 | fs/Charset: add macro HAVE_FS_CHARSET | Max Kellermann | 1 | -1/+1 | |
2014-11-29 | fs/Charset: return Error on SetFSCharset() failure | Max Kellermann | 1 | -8/+19 | |
Don't abort the process, let the caller decide instead. | |||||
2014-10-25 | fs/Charset: work around clang's -Wunused-const-variable | Max Kellermann | 1 | -1/+2 | |
MPD_PATH_MAX_UTF8 is only used by GLib-specific code currently. | |||||
2014-02-23 | fs/Charset: use "UTF-8" instead of "utf-8" as the default value | Max Kellermann | 1 | -2/+2 | |
The upper-case name seems to be the canonical one. | |||||
2014-02-17 | fs/Charset: disable if GLib is disabled | Max Kellermann | 1 | -0/+17 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-12-05 | fs/Charset.cxx: replace \ with / when converting path to UTF-8 on Windows | Denis Krjuchkov | 1 | -3/+24 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -2/+0 | |
2013-10-28 | *: use nullptr instead of NULL | Max Kellermann | 1 | -3/+3 | |
2013-10-17 | fs/Charset: GetFSCharset() returns "utf-8" by default | Max Kellermann | 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. | |||||
2013-10-17 | fs/Charset: default filesystem charset is UTF-8 | Max Kellermann | 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. | |||||
2013-10-17 | fs/Charset: don't allow nullptr arguments | Max Kellermann | 1 | -2/+3 | |
2013-10-17 | fs/Path: move configuration code to Config.cxx | Max Kellermann | 1 | -145/+34 | |
2013-10-17 | fs/Path: move path_domain to Domain.hxx | Max Kellermann | 1 | -3/+1 | |
2013-10-17 | fs/Path: make fs_charset static | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Limits: convert macro to "constexpr" | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Path: move MPD_PATH_MAX to Limits.hxx | Max Kellermann | 1 | -1/+2 | |
2013-10-15 | gcc.h: rename to Compiler.h | Max Kellermann | 1 | -1/+1 | |
2013-10-15 | *: use WIN32 instead of G_OS_WIN32 | Max Kellermann | 1 | -3/+3 | |
2013-10-14 | fs/Path: add separator constants/functions | Max Kellermann | 1 | -2/+19 | |
2013-10-14 | fs/Path: add method RelativeFS() | Max Kellermann | 1 | -0/+22 | |
Move code from map_fs_to_utf8(). | |||||
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -5/+5 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-10-02 | filesystem/Path: use std::string | Max Kellermann | 1 | -0/+20 | |
2013-09-12 | Path: add FromUTF8() overload that returns an Error | Max Kellermann | 1 | -0/+13 | |
2013-09-12 | ConfigPath: move path_domain to system/Path.cxx | Max Kellermann | 1 | -0/+3 | |
2013-09-05 | mpd_error.h: remove obsolete header | Max Kellermann | 1 | -2/+2 | |
Migrate the remaining callers to FatalError(). | |||||
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+1 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-01-28 | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 1 | -3/+0 | |
required | |||||
2013-01-28 | Path: convert remaining funcs to methods, keep fs_charset as std::string | Denis Krjuchkov | 1 | -16/+10 | |
2013-01-28 | Path: merge utf8_to_fs_charset() into Path::FromUTF8() | Denis Krjuchkov | 1 | -3/+2 | |
2013-01-28 | Path: convert fs_charset_to_utf8() to static method Path::ToUTF8() | Denis Krjuchkov | 1 | -14/+21 | |
2013-01-28 | Path: introduce MPD_PATH_MAX_UTF8 | Denis Krjuchkov | 1 | -0/+10 | |
2013-01-26 | Path: ToUTF() returns std::string | Denis Krjuchkov | 1 | -0/+12 | |
2013-01-22 | Path: move to fs subdirectory | Denis Krjuchkov | 1 | -1/+1 | |
2013-01-17 | path: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-10 | path: move code to IsSupportedCharset() | Max Kellermann | 1 | -6/+15 | |
2013-01-10 | path: make the "win_charset" buffer static | Max Kellermann | 1 | -1/+1 | |
It is illegal to use it after going out of scope. | |||||
2011-10-23 | path: autodetect filesystem encoding on Win32 | Denis Krjuchkov | 1 | -0/+16 | |
WinAPI explicitly declares filesystem encoding. It can be determined by GetACP(). Use that instead of Glib routine that always "detects" UTF-8 on Win32, which is incorrect for MPD case. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-09-25 | eliminate g_error() usage | Thomas Jansen | 1 | -1/+2 | |
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007. |