aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann42-42/+42
2014-12-26fs/Traits, ...: work around -Wtautological-pointer-compareMax Kellermann1-0/+16
New in clang 3.6.
2014-12-26util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compareMax Kellermann2-0/+12
New in clang 3.6.
2014-12-02fs/Path: add methods GetBase() and GetDirectoryName()Max Kellermann2-0/+46
2014-12-01lib/icu/Converter: add ICU-based backendMax Kellermann1-1/+1
2014-11-30fs/Config: add HAVE_GLIB checkMax Kellermann1-1/+1
2014-11-30fs/Config: swap #if/#elseMax Kellermann1-7/+7
2014-11-30fs/Charset: move code to wrapper class IcuConverterMax Kellermann1-64/+13
Prepare for a ICU-based backend without GLib.
2014-11-30fs/Charset: return std::string from PathFromUTF8()Max Kellermann4-31/+9
Don't expose pointer that requires the caller to invoke g_free(), because that's GLib-only.
2014-11-30fs/Charset: use macro HAVE_FS_CHARSET internallyMax Kellermann1-4/+4
2014-11-29fs/Charset: add DeinitFSCharset()Max Kellermann4-0/+19
2014-11-29fs/Charset: add macro HAVE_FS_CHARSETMax Kellermann4-3/+7
2014-11-29fs/Charset: return Error on SetFSCharset() failureMax Kellermann4-16/+33
Don't abort the process, let the caller decide instead.
2014-11-29fs/Config: remove bogus WIN32 checkMax Kellermann1-1/+1
2014-11-28Compiler.h: exclude clang from GCC_CHECK_VERSION()Max Kellermann1-1/+1
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann2-4/+4
Simplify the definition of many build options.
2014-11-11Construct a Null AllocatedPath if the filename conversion into UTF8 failedFlorent Le Coz1-1/+5
2014-10-25fs/Charset: work around clang's -Wunused-const-variableMax Kellermann1-1/+2
MPD_PATH_MAX_UTF8 is only used by GLib-specific code currently.
2014-10-10fs/Traits: use value_typeMax Kellermann1-4/+4
2014-09-28fs/AllocatedPath: add method Steal()Max Kellermann1-0/+8
2014-09-28fs/AllocatedPath: API documentation grammar fixesMax Kellermann1-5/+5
2014-08-30*: add missing Compiler.h includesMax Kellermann7-0/+7
Necessary for "final" on gcc 4.6.
2014-08-11fs/io/TextFile: add method Check()Max Kellermann2-0/+16
2014-08-11fs/io/Reader: add "nonnull" attributeMax Kellermann1-0/+1
2014-08-11fs/io/TextFile: use AutoGunzipReaderMax Kellermann2-1/+23
Several MPD subsystems can now read gzipped files; for example, the database file can be gzipped.
2014-08-11fs/io/AutoGunzipReader: new classMax Kellermann2-0/+121
2014-08-11fs/io/PeekReader: new utility classMax Kellermann2-0/+112
2014-08-11fs/io/GzipOutputStream,GunzipReader: move zlib_domain to src/lib/zlib/Domain.cxxMax Kellermann4-8/+2
2014-08-08input/GunzipInputStream: new classMax Kellermann2-0/+171
2014-08-07fs/io/BufferedReader: new class to replace class TextFileMax Kellermann5-58/+179
The new class is pluggable, to prepare for gzipped database files. For now, the TextFile class remains, and will be refactored away later.
2014-08-07fs/io/Reader: new interfaceMax Kellermann3-0/+216
2014-08-07fs/output, fs/TextFile: move to fs/io/Max Kellermann11-1/+1
2014-08-07fs/output/FileOutputStream: use open_cloexec()Max Kellermann1-3/+4
Support operating systems that don't have O_CLOEXEC.
2014-08-07util/StringUtil: add StripRight() overload with "end" argumentMax Kellermann1-4/+1
2014-08-07util/StringUtil: rename strchug_fast() to StripLeft()Max Kellermann1-3/+3
2014-08-07fs/StandardDirectory: pass writable string to ParseConfigLine()Max Kellermann1-8/+10
Eliminate the std::string overhead.
2014-08-06fs/GzipOutputStream: new class wrapping zlibMax Kellermann2-0/+177
2014-07-30fs/OutputStream: new infrastructure for writing to filesMax Kellermann6-0/+499
2014-07-11fs/StandardDirectory: look for cache dir in environment, not user-dirsMantas Mikulėnas1-3/+15
The XDG cache directory is part of the "base directories" spec like $XDG_CONFIG_HOME, not "user directories".
2014-03-01fs/StandardDirectory: add GetUserCacheDir()Max Kellermann2-0/+21
Move code from CreateConfiguredDatabase() and add XDG support. This implements an automatic Linux fallback for the setting "db_file" if none was specified.
2014-03-01java/File: add method ToAbsolutePath() returning AllocatedPathMax Kellermann1-7/+1
2014-03-01Android: obtain music directory from ↵Max Kellermann1-1/+14
Environment.getExternalStoragePublicDirectory()
2014-02-23fs/Charset: use "UTF-8" instead of "utf-8" as the default valueMax Kellermann1-2/+2
The upper-case name seems to be the canonical one.
2014-02-17fs/TextFile: use custom allocation instead of GStringMax Kellermann2-24/+29
2014-02-17fs/Charset: disable if GLib is disabledMax Kellermann3-2/+31
2014-02-07Mapper: move check_directory() to the filesystem libraryMax Kellermann2-0/+96
2014-02-07fs/Traits: add function Relative()Max Kellermann4-23/+61
Move code from Path::RelativeFS() and make it generic.
2014-01-30fs/AllocatedPath: add conversion constructor from PathMax Kellermann1-0/+2
2014-01-30fs/DirectoryReader: GetEntry() returns Path, not AllocatedPathMax Kellermann1-3/+3
Reduce overhead, don't duplicate the string.
2014-01-30fs/AllocatedPath: add Build() overlays with Path argumentsMax Kellermann1-0/+10