Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-11-30 | fs/Charset: return std::string from PathFromUTF8() | Max Kellermann | 1 | -20/+1 | |
Don't expose pointer that requires the caller to invoke g_free(), because that's GLib-only. | |||||
2014-11-29 | fs/Charset: add macro HAVE_FS_CHARSET | Max Kellermann | 1 | -1/+1 | |
2014-11-28 | Compiler.h: exclude clang from GCC_CHECK_VERSION() | Max Kellermann | 1 | -1/+1 | |
2014-11-11 | Construct a Null AllocatedPath if the filename conversion into UTF8 failed | Florent Le Coz | 1 | -1/+5 | |
2014-02-17 | fs/Charset: disable if GLib is disabled | Max Kellermann | 1 | -0/+10 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-12-05 | fs/AllocatedPath.cxx: don't use g_path_get_dirname | Denis Krjuchkov | 1 | -1/+1 | |
2013-12-05 | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 1 | -3/+3 | |
2013-12-03 | fs/AllocatedPath: use PathTraits::BuildFS | Denis Krjuchkov | 1 | -6/+0 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -1/+0 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -18/+19 | |
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | |||||
2013-10-17 | fs/Path: move definitions to struct PathTraits | Max Kellermann | 1 | -8/+3 | |
2013-10-17 | fs/Path: move configuration code to Config.cxx | Max Kellermann | 1 | -112/+5 | |
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. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -0/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy. | |||||
2009-02-20 | path: don't export path_set_fs_charset() | Max Kellermann | 1 | -1/+2 | |
The function path_set_fs_charset() is only used in path.c. | |||||
2009-02-20 | path: validate configured character set | Max Kellermann | 1 | -0/+11 | |
2009-01-25 | use config_get_string() instead of config_get_param() | Max Kellermann | 1 | -5/+2 | |
config_get_string() is easier to use than config_get_param() because it unpacks the config_param struct. | |||||
2009-01-17 | conf: no CamelCase, part I | Max Kellermann | 1 | -1/+2 | |
Renamed functions, types, variables. | |||||
2009-01-08 | path: include cleanup | Max Kellermann | 1 | -1/+0 | |
2009-01-08 | path: allocate buffer in fs_charset conversion functions | Max Kellermann | 1 | -19/+10 | |
Don't use fixed static buffers. GLib allocates a new string for us anyway, let's just return this one instead of copying it. |