aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/icu/Init.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-06-10lib/icu/Init: call u_init() and u_cleanup()Max Kellermann1-0/+14
Make valgrind happy.
2014-06-10lib/icu: add IcuInit(), IcuFinish()Max Kellermann1-5/+11
2014-02-07fs/Traits: add function Relative()Max Kellermann1-22/+0
Move code from Path::RelativeFS() and make it generic.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov1-2/+2
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-63/+1
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-17fs/Path: move definitions to struct PathTraitsMax Kellermann1-8/+3
2013-10-17fs/Path: move configuration code to Config.cxxMax Kellermann1-112/+5
2013-10-17fs/Path: move path_domain to Domain.hxxMax Kellermann1-3/+1
2013-10-17fs/Path: make fs_charset staticMax Kellermann1-1/+1
2013-10-17fs/Limits: convert macro to "constexpr"Max Kellermann1-1/+1
2013-10-17fs/Path: move MPD_PATH_MAX to Limits.hxxMax Kellermann1-1/+2
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-10-15*: use WIN32 instead of G_OS_WIN32Max Kellermann1-3/+3
2013-10-14fs/Path: add separator constants/functionsMax Kellermann1-2/+19
2013-10-14fs/Path: add method RelativeFS()Max Kellermann1-0/+22
Move code from map_fs_to_utf8().
2013-10-02Log: new logging library APIMax Kellermann1-5/+5
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-10-02filesystem/Path: use std::stringMax Kellermann1-0/+20
2013-09-12Path: add FromUTF8() overload that returns an ErrorMax Kellermann1-0/+13
2013-09-12ConfigPath: move path_domain to system/Path.cxxMax Kellermann1-0/+3
2013-09-05mpd_error.h: remove obsolete headerMax Kellermann1-2/+2
Migrate the remaining callers to FatalError().
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+1
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-01-28Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov1-3/+0
required
2013-01-28Path: convert remaining funcs to methods, keep fs_charset as std::stringDenis Krjuchkov1-16/+10
2013-01-28Path: merge utf8_to_fs_charset() into Path::FromUTF8()Denis Krjuchkov1-3/+2
2013-01-28Path: convert fs_charset_to_utf8() to static method Path::ToUTF8()Denis Krjuchkov1-14/+21
2013-01-28Path: introduce MPD_PATH_MAX_UTF8Denis Krjuchkov1-0/+10
2013-01-26Path: ToUTF() returns std::stringDenis Krjuchkov1-0/+12
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-17path: convert to C++Max Kellermann1-2/+2
2013-01-10path: move code to IsSupportedCharset()Max Kellermann1-6/+15
2013-01-10path: make the "win_charset" buffer staticMax Kellermann1-1/+1
It is illegal to use it after going out of scope.
2011-10-23path: autodetect filesystem encoding on Win32Denis Krjuchkov1-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-29copyright year 2011Max Kellermann1-1/+1
2010-09-25eliminate g_error() usageThomas Jansen1-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-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-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-13all: Update copyright header.Avuton Olrich1-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-20path: don't export path_set_fs_charset()Max Kellermann1-1/+2
The function path_set_fs_charset() is only used in path.c.
2009-02-20path: validate configured character setMax Kellermann1-0/+11
2009-01-25use config_get_string() instead of config_get_param()Max Kellermann1-5/+2
config_get_string() is easier to use than config_get_param() because it unpacks the config_param struct.
2009-01-17conf: no CamelCase, part IMax Kellermann1-1/+2
Renamed functions, types, variables.
2009-01-08path: include cleanupMax Kellermann1-1/+0
2009-01-08path: allocate buffer in fs_charset conversion functionsMax Kellermann1-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.
2009-01-04path, tag: don't allocate GError for charset conversionMax Kellermann1-10/+4
Pass NULL instead of &error to g_convert(). We're not interested in the error object.
2009-01-04path: removed pfx_dir()Max Kellermann1-17/+0
Use GLib's g_build_filename() instead of pfx_dir().
2009-01-03don't include utils.h when it isn't usedMax Kellermann1-1/+0
2008-12-29path: use GLib loggingMax Kellermann1-5/+7
2008-12-29removed os_compat.hMax Kellermann1-1/+2
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
2008-12-02replaced mpd_likely/mpd_unlikely by G_LIKELY/G_UNLIKELYThomas Jansen1-1/+1
We want to remove gcc.h eventually. This takes care of all the G_LIKELY/G_UNLIKELY macros.