Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-12-02 | fs/Path: add methods GetBase() and GetDirectoryName() | Max Kellermann | 1 | -0/+18 | |
2014-02-07 | fs/Traits: add function Relative() | Max Kellermann | 1 | -1/+3 | |
Move code from Path::RelativeFS() and make it generic. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-12-05 | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 1 | -4/+4 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -2/+0 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -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-17 | fs/Path: move definitions to struct PathTraits | Max Kellermann | 1 | -52/+5 | |
2013-10-17 | fs/Path: include clenaup | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Charset: don't allow nullptr arguments | Max Kellermann | 1 | -2/+2 | |
2013-10-17 | fs/Path: move configuration code to Config.cxx | Max Kellermann | 1 | -20/+2 | |
2013-10-17 | fs/Path: move path_domain to Domain.hxx | Max Kellermann | 1 | -2/+0 | |
2013-10-17 | fs/Path: include cleanup | Max Kellermann | 1 | -1/+0 | |
2013-10-17 | fs/Path: move MPD_PATH_MAX to Limits.hxx | Max Kellermann | 1 | -13/+0 | |
2013-10-15 | gcc.h: rename to Compiler.h | Max Kellermann | 1 | -1/+1 | |
2013-10-14 | fs/Path: add method IsAbsolute() | Max Kellermann | 1 | -0/+31 | |
2013-10-14 | fs/Path: add separator constants/functions | Max Kellermann | 1 | -0/+29 | |
2013-10-14 | fs/Path: add method RelativeFS() | Max Kellermann | 1 | -0/+9 | |
Move code from map_fs_to_utf8(). | |||||
2013-10-14 | fs/Path: add method data() | Max Kellermann | 1 | -0/+9 | |
2013-10-02 | filesystem/Path: use std::string | Max Kellermann | 1 | -78/+23 | |
2013-09-12 | Path: add FromUTF8() overload that returns an Error | Max Kellermann | 1 | -0/+5 | |
2013-09-12 | ConfigPath: move path_domain to system/Path.cxx | Max Kellermann | 1 | -0/+2 | |
2013-02-02 | Path.hxx: add GetDirectoryName() method | Denis Krjuchkov | 1 | -0/+9 | |
2013-01-28 | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 1 | -4/+1 | |
required | |||||
2013-01-28 | Path: convert remaining funcs to methods, keep fs_charset as std::string | Denis Krjuchkov | 1 | -6/+10 | |
2013-01-28 | Path: merge utf8_to_fs_charset() into Path::FromUTF8() | Denis Krjuchkov | 1 | -10/+2 | |
2013-01-28 | Path: convert fs_charset_to_utf8() to static method Path::ToUTF8() | Denis Krjuchkov | 1 | -8/+10 | |
2013-01-26 | Path: define MPD_PATH_MAX to 260 on Windows | Denis Krjuchkov | 1 | -1/+3 | |
2013-01-26 | Path: ToUTF() returns std::string | Denis Krjuchkov | 1 | -8/+5 | |
2013-01-22 | Path: move to fs subdirectory | Denis Krjuchkov | 1 | -2/+2 | |
2013-01-18 | Path: new class "Path" wraps filesystem path strings | Max Kellermann | 1 | -0/+207 | |
2013-01-17 | path: convert to C++ | Max Kellermann | 1 | -6/+8 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
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 | -2/+0 | |
The function path_set_fs_charset() is only used in path.c. | |||||
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 | -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-04 | path: removed pfx_dir() | Max Kellermann | 1 | -12/+0 | |
Use GLib's g_build_filename() instead of pfx_dir(). | |||||
2008-12-29 | removed os_compat.h | Max Kellermann | 1 | -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-05 | path: no CamelCase | Max Kellermann | 1 | -4/+4 | |
Rename variables and functions. | |||||
2008-10-31 | path: removed sanitizePathDup() | Max Kellermann | 1 | -3/+0 | |
We don't need to sanitize the path, because the mapper already checks for malformed paths. | |||||
2008-10-31 | path: moved playlist_dir to mapper.c | Max Kellermann | 1 | -9/+0 | |
Added the function map_spl_utf8_to_fs() which replaces utf8_to_fs_playlist_path(). | |||||
2008-10-31 | added prefix to header macros | Max Kellermann | 1 | -2/+2 | |
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD. | |||||
2008-10-20 | path: removed pathcpy_trunc() | Max Kellermann | 1 | -6/+0 | |
There was only one user of pathcpy_trunc(), which can be eliminated. | |||||
2008-10-20 | path: replaced parent_path() with g_path_get_dirname() | Max Kellermann | 1 | -10/+0 | |
Again, GLib's version is more robust than ours. | |||||
2008-10-20 | path: replaced mpd_basename() with g_path_get_basename() | Max Kellermann | 1 | -8/+0 | |
GLib's g_path_get_basename() is much more reliable than mpd_basename(). The latter could be tricked into an assertion failure. | |||||
2008-10-15 | mapper: moved musicDir initialization from path.c | Max Kellermann | 1 | -5/+0 | |
Moved the musicDir variable and its initialization code from path.c to mapper.c. | |||||
2008-09-29 | path: add mpd_basename() function | Eric Wong | 1 | -0/+8 | |
This is like basename(3) but with predictable semantics independent of C library or build options used. This is also much more strict and does not account for trailing slashes (mpd should never deal with trailing slashes on internal functions). | |||||
2008-04-12 | clean up CPP includes | Max Kellermann | 1 | -1/+0 | |
Try to only include headers which are really needed. We should particularly check all "headers including other headers". The long-term goal is to have a manageable, small API for plugins (decoders, output) without so many mpd internals cluttering the namespace. git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f | |||||
2008-02-05 | fix -Wconst warnings | Max Kellermann | 1 | -5/+5 | |
[ew: cleaned up the dirty union hack a bit] Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f |