Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | lib/icu/Converter: add ICU-based backend | Max Kellermann | 2014-12-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | fs/Config: add HAVE_GLIB check | Max Kellermann | 2014-11-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | fs/Config: swap #if/#else | Max Kellermann | 2014-11-30 | 1 | -7/+7 | |
| | | | ||||||
* | | | fs/Charset: move code to wrapper class IcuConverter | Max Kellermann | 2014-11-30 | 1 | -64/+13 | |
| | | | | | | | | | | | | Prepare for a ICU-based backend without GLib. | |||||
* | | | fs/Charset: return std::string from PathFromUTF8() | Max Kellermann | 2014-11-30 | 4 | -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 internally | Max Kellermann | 2014-11-30 | 1 | -4/+4 | |
| | | | ||||||
* | | | fs/Charset: add DeinitFSCharset() | Max Kellermann | 2014-11-29 | 4 | -0/+19 | |
| | | | ||||||
* | | | fs/Charset: add macro HAVE_FS_CHARSET | Max Kellermann | 2014-11-29 | 4 | -3/+7 | |
| | | | ||||||
* | | | fs/Charset: return Error on SetFSCharset() failure | Max Kellermann | 2014-11-29 | 4 | -16/+33 | |
| | | | | | | | | | | | | Don't abort the process, let the caller decide instead. | |||||
* | | | fs/Config: remove bogus WIN32 check | Max Kellermann | 2014-11-29 | 1 | -1/+1 | |
| | | | ||||||
* | | | Compiler.h: exclude clang from GCC_CHECK_VERSION() | Max Kellermann | 2014-11-28 | 1 | -1/+1 | |
| | | | ||||||
* | | | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 2014-11-21 | 2 | -4/+4 | |
|/ / | | | | | | | Simplify the definition of many build options. | |||||
* | | Merge tag 'v0.18.18' into v0.19.x | Max Kellermann | 2014-11-18 | 1 | -1/+5 | |
|\| | ||||||
| * | Construct a Null AllocatedPath if the filename conversion into UTF8 failed | Florent Le Coz | 2014-11-11 | 1 | -1/+5 | |
| | | ||||||
* | | fs/Charset: work around clang's -Wunused-const-variable | Max Kellermann | 2014-10-25 | 1 | -1/+2 | |
| | | | | | | | | MPD_PATH_MAX_UTF8 is only used by GLib-specific code currently. | |||||
* | | fs/Traits: use value_type | Max Kellermann | 2014-10-10 | 1 | -4/+4 | |
| | | ||||||
* | | fs/AllocatedPath: add method Steal() | Max Kellermann | 2014-09-28 | 1 | -0/+8 | |
| | | ||||||
* | | fs/AllocatedPath: API documentation grammar fixes | Max Kellermann | 2014-09-28 | 1 | -5/+5 | |
| | | ||||||
* | | *: add missing Compiler.h includes | Max Kellermann | 2014-08-30 | 7 | -0/+7 | |
| | | | | | | | | Necessary for "final" on gcc 4.6. | |||||
* | | fs/io/TextFile: add method Check() | Max Kellermann | 2014-08-11 | 2 | -0/+16 | |
| | | ||||||
* | | fs/io/Reader: add "nonnull" attribute | Max Kellermann | 2014-08-11 | 1 | -0/+1 | |
| | | ||||||
* | | fs/io/TextFile: use AutoGunzipReader | Max Kellermann | 2014-08-11 | 2 | -1/+23 | |
| | | | | | | | | | | Several MPD subsystems can now read gzipped files; for example, the database file can be gzipped. | |||||
* | | fs/io/AutoGunzipReader: new class | Max Kellermann | 2014-08-11 | 2 | -0/+121 | |
| | | ||||||
* | | fs/io/PeekReader: new utility class | Max Kellermann | 2014-08-11 | 2 | -0/+112 | |
| | | ||||||
* | | fs/io/GzipOutputStream,GunzipReader: move zlib_domain to src/lib/zlib/Domain.cxx | Max Kellermann | 2014-08-11 | 4 | -8/+2 | |
| | | ||||||
* | | input/GunzipInputStream: new class | Max Kellermann | 2014-08-08 | 2 | -0/+171 | |
| | | ||||||
* | | fs/io/BufferedReader: new class to replace class TextFile | Max Kellermann | 2014-08-07 | 5 | -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 interface | Max Kellermann | 2014-08-07 | 3 | -0/+216 | |
| | | ||||||
* | | fs/output, fs/TextFile: move to fs/io/ | Max Kellermann | 2014-08-07 | 11 | -1/+1 | |
| | | ||||||
* | | fs/output/FileOutputStream: use open_cloexec() | Max Kellermann | 2014-08-07 | 1 | -3/+4 | |
| | | | | | | | | Support operating systems that don't have O_CLOEXEC. | |||||
* | | util/StringUtil: add StripRight() overload with "end" argument | Max Kellermann | 2014-08-07 | 1 | -4/+1 | |
| | | ||||||
* | | util/StringUtil: rename strchug_fast() to StripLeft() | Max Kellermann | 2014-08-07 | 1 | -3/+3 | |
| | | ||||||
* | | fs/StandardDirectory: pass writable string to ParseConfigLine() | Max Kellermann | 2014-08-07 | 1 | -8/+10 | |
| | | | | | | | | Eliminate the std::string overhead. | |||||
* | | fs/GzipOutputStream: new class wrapping zlib | Max Kellermann | 2014-08-06 | 2 | -0/+177 | |
| | | ||||||
* | | fs/OutputStream: new infrastructure for writing to files | Max Kellermann | 2014-07-30 | 6 | -0/+499 | |
| | | ||||||
* | | fs/StandardDirectory: look for cache dir in environment, not user-dirs | Mantas Mikulėnas | 2014-07-11 | 1 | -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 Kellermann | 2014-03-01 | 2 | -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 AllocatedPath | Max Kellermann | 2014-03-01 | 1 | -7/+1 | |
| | | ||||||
* | | Android: obtain music directory from ↵ | Max Kellermann | 2014-03-01 | 1 | -1/+14 | |
| | | | | | | | | Environment.getExternalStoragePublicDirectory() | |||||
* | | fs/Charset: use "UTF-8" instead of "utf-8" as the default value | Max Kellermann | 2014-02-23 | 1 | -2/+2 | |
| | | | | | | | | The upper-case name seems to be the canonical one. | |||||
* | | fs/TextFile: use custom allocation instead of GString | Max Kellermann | 2014-02-17 | 2 | -24/+29 | |
| | | ||||||
* | | fs/Charset: disable if GLib is disabled | Max Kellermann | 2014-02-17 | 3 | -2/+31 | |
| | | ||||||
* | | Mapper: move check_directory() to the filesystem library | Max Kellermann | 2014-02-07 | 2 | -0/+96 | |
| | | ||||||
* | | fs/Traits: add function Relative() | Max Kellermann | 2014-02-07 | 4 | -23/+61 | |
| | | | | | | | | Move code from Path::RelativeFS() and make it generic. | |||||
* | | fs/AllocatedPath: add conversion constructor from Path | Max Kellermann | 2014-01-30 | 1 | -0/+2 | |
| | | ||||||
* | | fs/DirectoryReader: GetEntry() returns Path, not AllocatedPath | Max Kellermann | 2014-01-30 | 1 | -3/+3 | |
| | | | | | | | | Reduce overhead, don't duplicate the string. | |||||
* | | fs/AllocatedPath: add Build() overlays with Path arguments | Max Kellermann | 2014-01-30 | 1 | -0/+10 | |
| | | ||||||
* | | Config*: move to config/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 | |
| | | ||||||
* | | copyright year 2014 | Max Kellermann | 2014-01-13 | 20 | -20/+20 | |
| | | ||||||
* | | fs: implemented standard directories API | Denis Krjuchkov | 2013-12-08 | 2 | -0/+358 | |
| | |