aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Path.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-03fs/Traits: add Find()Max Kellermann1-1/+1
2015-03-02PlaylistFile: move memchr() call to class PathMax Kellermann1-0/+10
2015-03-01fs/Path: add method GetSuffix()Max Kellermann1-0/+3
Type-safe wrapper for uri_get_suffix().
2015-02-28fs/Path: pass Path to Relative()Max Kellermann1-2/+2
2015-02-28fs/Path: rename RelativeFS() to Relative()Max Kellermann1-1/+1
2015-02-28fs/Path: make IsAbsolute() constMax Kellermann1-1/+1
2015-02-25fs/{Allocated,}Path,Charset: use PathTraitsFS typedefsMax Kellermann1-3/+3
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-12-02fs/Path: add methods GetBase() and GetDirectoryName()Max Kellermann1-0/+18
2014-02-07fs/Traits: add function Relative()Max Kellermann1-1/+3
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-4/+4
2013-11-28include cleanup using iwyuMax Kellermann1-2/+0
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-87/+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-17fs/Path: move definitions to struct PathTraitsMax Kellermann1-52/+5
2013-10-17fs/Path: include clenaupMax Kellermann1-1/+1
2013-10-17fs/Charset: don't allow nullptr argumentsMax Kellermann1-2/+2
2013-10-17fs/Path: move configuration code to Config.cxxMax Kellermann1-20/+2
2013-10-17fs/Path: move path_domain to Domain.hxxMax Kellermann1-2/+0
2013-10-17fs/Path: include cleanupMax Kellermann1-1/+0
2013-10-17fs/Path: move MPD_PATH_MAX to Limits.hxxMax Kellermann1-13/+0
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann1-0/+31
2013-10-14fs/Path: add separator constants/functionsMax Kellermann1-0/+29
2013-10-14fs/Path: add method RelativeFS()Max Kellermann1-0/+9
Move code from map_fs_to_utf8().
2013-10-14fs/Path: add method data()Max Kellermann1-0/+9
2013-10-02filesystem/Path: use std::stringMax Kellermann1-78/+23
2013-09-12Path: add FromUTF8() overload that returns an ErrorMax Kellermann1-0/+5
2013-09-12ConfigPath: move path_domain to system/Path.cxxMax Kellermann1-0/+2
2013-02-02Path.hxx: add GetDirectoryName() methodDenis Krjuchkov1-0/+9
2013-01-28Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov1-4/+1
required
2013-01-28Path: convert remaining funcs to methods, keep fs_charset as std::stringDenis Krjuchkov1-6/+10
2013-01-28Path: merge utf8_to_fs_charset() into Path::FromUTF8()Denis Krjuchkov1-10/+2
2013-01-28Path: convert fs_charset_to_utf8() to static method Path::ToUTF8()Denis Krjuchkov1-8/+10
2013-01-26Path: define MPD_PATH_MAX to 260 on WindowsDenis Krjuchkov1-1/+3
2013-01-26Path: ToUTF() returns std::stringDenis Krjuchkov1-8/+5
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-2/+2
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-0/+207
2013-01-17path: convert to C++Max Kellermann1-6/+8
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
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-2/+0
The function path_set_fs_charset() is only used in path.c.
2009-01-08path: include cleanupMax Kellermann1-1/+0
2009-01-08path: allocate buffer in fs_charset conversion functionsMax Kellermann1-2/+12
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: removed pfx_dir()Max Kellermann1-12/+0
Use GLib's g_build_filename() instead of pfx_dir().
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-11-05path: no CamelCaseMax Kellermann1-4/+4
Rename variables and functions.
2008-10-31path: removed sanitizePathDup()Max Kellermann1-3/+0
We don't need to sanitize the path, because the mapper already checks for malformed paths.
2008-10-31path: moved playlist_dir to mapper.cMax Kellermann1-9/+0
Added the function map_spl_utf8_to_fs() which replaces utf8_to_fs_playlist_path().