aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v0.19.x'Max Kellermann2014-12-263-0/+28
|\
| * fs/Traits, ...: work around -Wtautological-pointer-compareMax Kellermann2014-12-261-0/+16
| | | | | | | | New in clang 3.6.
| * Merge branch 'v0.18.x' into v0.19.xMax Kellermann2014-12-262-0/+12
| |\
| | * util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compareMax Kellermann2014-12-262-0/+12
| | | | | | | | | | | | New in clang 3.6.
* | | fs/Path: add methods GetBase() and GetDirectoryName()Max Kellermann2014-12-022-0/+46
| | |
* | | lib/icu/Converter: add ICU-based backendMax Kellermann2014-12-011-1/+1
| | |
* | | fs/Config: add HAVE_GLIB checkMax Kellermann2014-11-301-1/+1
| | |
* | | fs/Config: swap #if/#elseMax Kellermann2014-11-301-7/+7
| | |
* | | fs/Charset: move code to wrapper class IcuConverterMax Kellermann2014-11-301-64/+13
| | | | | | | | | | | | Prepare for a ICU-based backend without GLib.
* | | fs/Charset: return std::string from PathFromUTF8()Max Kellermann2014-11-304-31/+9
| | | | | | | | | | | | | | | Don't expose pointer that requires the caller to invoke g_free(), because that's GLib-only.
* | | fs/Charset: use macro HAVE_FS_CHARSET internallyMax Kellermann2014-11-301-4/+4
| | |
* | | fs/Charset: add DeinitFSCharset()Max Kellermann2014-11-294-0/+19
| | |
* | | fs/Charset: add macro HAVE_FS_CHARSETMax Kellermann2014-11-294-3/+7
| | |
* | | fs/Charset: return Error on SetFSCharset() failureMax Kellermann2014-11-294-16/+33
| | | | | | | | | | | | Don't abort the process, let the caller decide instead.
* | | fs/Config: remove bogus WIN32 checkMax Kellermann2014-11-291-1/+1
| | |
* | | Compiler.h: exclude clang from GCC_CHECK_VERSION()Max Kellermann2014-11-281-1/+1
| | |
* | | configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann2014-11-212-4/+4
|/ / | | | | | | Simplify the definition of many build options.
* | Merge tag 'v0.18.18' into v0.19.xMax Kellermann2014-11-181-1/+5
|\|
| * Construct a Null AllocatedPath if the filename conversion into UTF8 failedFlorent Le Coz2014-11-111-1/+5
| |
* | fs/Charset: work around clang's -Wunused-const-variableMax Kellermann2014-10-251-1/+2
| | | | | | | | MPD_PATH_MAX_UTF8 is only used by GLib-specific code currently.
* | fs/Traits: use value_typeMax Kellermann2014-10-101-4/+4
| |
* | fs/AllocatedPath: add method Steal()Max Kellermann2014-09-281-0/+8
| |
* | fs/AllocatedPath: API documentation grammar fixesMax Kellermann2014-09-281-5/+5
| |
* | *: add missing Compiler.h includesMax Kellermann2014-08-307-0/+7
| | | | | | | | Necessary for "final" on gcc 4.6.
* | fs/io/TextFile: add method Check()Max Kellermann2014-08-112-0/+16
| |
* | fs/io/Reader: add "nonnull" attributeMax Kellermann2014-08-111-0/+1
| |
* | fs/io/TextFile: use AutoGunzipReaderMax Kellermann2014-08-112-1/+23
| | | | | | | | | | Several MPD subsystems can now read gzipped files; for example, the database file can be gzipped.
* | fs/io/AutoGunzipReader: new classMax Kellermann2014-08-112-0/+121
| |
* | fs/io/PeekReader: new utility classMax Kellermann2014-08-112-0/+112
| |
* | fs/io/GzipOutputStream,GunzipReader: move zlib_domain to src/lib/zlib/Domain.cxxMax Kellermann2014-08-114-8/+2
| |
* | input/GunzipInputStream: new classMax Kellermann2014-08-082-0/+171
| |
* | fs/io/BufferedReader: new class to replace class TextFileMax Kellermann2014-08-075-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.
* | fs/io/Reader: new interfaceMax Kellermann2014-08-073-0/+216
| |
* | fs/output, fs/TextFile: move to fs/io/Max Kellermann2014-08-0711-1/+1
| |
* | fs/output/FileOutputStream: use open_cloexec()Max Kellermann2014-08-071-3/+4
| | | | | | | | Support operating systems that don't have O_CLOEXEC.
* | util/StringUtil: add StripRight() overload with "end" argumentMax Kellermann2014-08-071-4/+1
| |
* | util/StringUtil: rename strchug_fast() to StripLeft()Max Kellermann2014-08-071-3/+3
| |
* | fs/StandardDirectory: pass writable string to ParseConfigLine()Max Kellermann2014-08-071-8/+10
| | | | | | | | Eliminate the std::string overhead.
* | fs/GzipOutputStream: new class wrapping zlibMax Kellermann2014-08-062-0/+177
| |
* | fs/OutputStream: new infrastructure for writing to filesMax Kellermann2014-07-306-0/+499
| |
* | fs/StandardDirectory: look for cache dir in environment, not user-dirsMantas Mikulėnas2014-07-111-3/+15
| | | | | | | | | | The XDG cache directory is part of the "base directories" spec like $XDG_CONFIG_HOME, not "user directories".
* | fs/StandardDirectory: add GetUserCacheDir()Max Kellermann2014-03-012-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.
* | java/File: add method ToAbsolutePath() returning AllocatedPathMax Kellermann2014-03-011-7/+1
| |
* | Android: obtain music directory from ↵Max Kellermann2014-03-011-1/+14
| | | | | | | | Environment.getExternalStoragePublicDirectory()
* | fs/Charset: use "UTF-8" instead of "utf-8" as the default valueMax Kellermann2014-02-231-2/+2
| | | | | | | | The upper-case name seems to be the canonical one.
* | fs/TextFile: use custom allocation instead of GStringMax Kellermann2014-02-172-24/+29
| |
* | fs/Charset: disable if GLib is disabledMax Kellermann2014-02-173-2/+31
| |
* | Mapper: move check_directory() to the filesystem libraryMax Kellermann2014-02-072-0/+96
| |
* | fs/Traits: add function Relative()Max Kellermann2014-02-074-23/+61
| | | | | | | | Move code from Path::RelativeFS() and make it generic.
* | fs/AllocatedPath: add conversion constructor from PathMax Kellermann2014-01-301-0/+2
| |