Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-02-06 | fs/io/FileOutputStream: don't auto-delete file on WIN32 | Max Kellermann | 1 | -0/+2 | |
The file handle is never reset to INVALID_HANDLE_VALUE, and thus the destructor will assume the operation shall be cancelled and will delete the temporary file. This was a major breakage for saving the database file and the state file. | |||||
2014-12-26 | fs/Traits, ...: work around -Wtautological-pointer-compare | Max Kellermann | 1 | -0/+16 | |
New in clang 3.6. | |||||
2014-12-26 | util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compare | Max Kellermann | 2 | -0/+12 | |
New in clang 3.6. | |||||
2014-11-11 | Construct a Null AllocatedPath if the filename conversion into UTF8 failed | Florent Le Coz | 1 | -1/+5 | |
2014-10-25 | fs/Charset: work around clang's -Wunused-const-variable | Max Kellermann | 1 | -1/+2 | |
MPD_PATH_MAX_UTF8 is only used by GLib-specific code currently. | |||||
2014-10-10 | fs/Traits: use value_type | Max Kellermann | 1 | -4/+4 | |
2014-09-28 | fs/AllocatedPath: add method Steal() | Max Kellermann | 1 | -0/+8 | |
2014-09-28 | fs/AllocatedPath: API documentation grammar fixes | Max Kellermann | 1 | -5/+5 | |
2014-08-30 | *: add missing Compiler.h includes | Max Kellermann | 7 | -0/+7 | |
Necessary for "final" on gcc 4.6. | |||||
2014-08-11 | fs/io/TextFile: add method Check() | Max Kellermann | 2 | -0/+16 | |
2014-08-11 | fs/io/Reader: add "nonnull" attribute | Max Kellermann | 1 | -0/+1 | |
2014-08-11 | fs/io/TextFile: use AutoGunzipReader | Max Kellermann | 2 | -1/+23 | |
Several MPD subsystems can now read gzipped files; for example, the database file can be gzipped. | |||||
2014-08-11 | fs/io/AutoGunzipReader: new class | Max Kellermann | 2 | -0/+121 | |
2014-08-11 | fs/io/PeekReader: new utility class | Max Kellermann | 2 | -0/+112 | |
2014-08-11 | fs/io/GzipOutputStream,GunzipReader: move zlib_domain to src/lib/zlib/Domain.cxx | Max Kellermann | 4 | -8/+2 | |
2014-08-08 | input/GunzipInputStream: new class | Max Kellermann | 2 | -0/+171 | |
2014-08-07 | fs/io/BufferedReader: new class to replace class TextFile | Max Kellermann | 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. | |||||
2014-08-07 | fs/io/Reader: new interface | Max Kellermann | 3 | -0/+216 | |
2014-08-07 | fs/output, fs/TextFile: move to fs/io/ | Max Kellermann | 11 | -1/+1 | |
2014-08-07 | fs/output/FileOutputStream: use open_cloexec() | Max Kellermann | 1 | -3/+4 | |
Support operating systems that don't have O_CLOEXEC. | |||||
2014-08-07 | util/StringUtil: add StripRight() overload with "end" argument | Max Kellermann | 1 | -4/+1 | |
2014-08-07 | util/StringUtil: rename strchug_fast() to StripLeft() | Max Kellermann | 1 | -3/+3 | |
2014-08-07 | fs/StandardDirectory: pass writable string to ParseConfigLine() | Max Kellermann | 1 | -8/+10 | |
Eliminate the std::string overhead. | |||||
2014-08-06 | fs/GzipOutputStream: new class wrapping zlib | Max Kellermann | 2 | -0/+177 | |
2014-07-30 | fs/OutputStream: new infrastructure for writing to files | Max Kellermann | 6 | -0/+499 | |
2014-07-11 | fs/StandardDirectory: look for cache dir in environment, not user-dirs | Mantas Mikulėnas | 1 | -3/+15 | |
The XDG cache directory is part of the "base directories" spec like $XDG_CONFIG_HOME, not "user directories". | |||||
2014-03-01 | fs/StandardDirectory: add GetUserCacheDir() | Max Kellermann | 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. | |||||
2014-03-01 | java/File: add method ToAbsolutePath() returning AllocatedPath | Max Kellermann | 1 | -7/+1 | |
2014-03-01 | Android: obtain music directory from ↵ | Max Kellermann | 1 | -1/+14 | |
Environment.getExternalStoragePublicDirectory() | |||||
2014-02-23 | fs/Charset: use "UTF-8" instead of "utf-8" as the default value | Max Kellermann | 1 | -2/+2 | |
The upper-case name seems to be the canonical one. | |||||
2014-02-17 | fs/TextFile: use custom allocation instead of GString | Max Kellermann | 2 | -24/+29 | |
2014-02-17 | fs/Charset: disable if GLib is disabled | Max Kellermann | 3 | -2/+31 | |
2014-02-07 | Mapper: move check_directory() to the filesystem library | Max Kellermann | 2 | -0/+96 | |
2014-02-07 | fs/Traits: add function Relative() | Max Kellermann | 4 | -23/+61 | |
Move code from Path::RelativeFS() and make it generic. | |||||
2014-01-30 | fs/AllocatedPath: add conversion constructor from Path | Max Kellermann | 1 | -0/+2 | |
2014-01-30 | fs/DirectoryReader: GetEntry() returns Path, not AllocatedPath | Max Kellermann | 1 | -3/+3 | |
Reduce overhead, don't duplicate the string. | |||||
2014-01-30 | fs/AllocatedPath: add Build() overlays with Path arguments | Max Kellermann | 1 | -0/+10 | |
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -1/+1 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 20 | -20/+20 | |
2013-12-08 | fs: implemented standard directories API | Denis Krjuchkov | 2 | -0/+358 | |
2013-12-08 | TextFile: move to fs subsystem | Denis Krjuchkov | 2 | -0/+138 | |
2013-12-05 | fs/FileSystem.hxx: don't define CheckAccess() with mode on Windows | Denis Krjuchkov | 1 | -8/+2 | |
2013-12-05 | fs/FileSystem.hxx: add CheckAccess without mode parameter | Denis Krjuchkov | 1 | -0/+14 | |
2013-12-05 | fs/Traits.cxx: don't return drive path without trailing separator | Denis Krjuchkov | 1 | -0/+4 | |
2013-12-05 | fs/Traits.hxx: introduce PathTraitsXXX::IsDrive function | Denis Krjuchkov | 1 | -2/+16 | |
2013-12-05 | fs/Charset.cxx: replace \ with / when converting path to UTF-8 on Windows | Denis Krjuchkov | 1 | -3/+24 | |
2013-12-05 | fs/Traits.hxx: add shorter forms of PathTraitsXXX::Build() | Denis Krjuchkov | 1 | -0/+10 | |
2013-12-05 | fs/Traits.hxx: add PathTraitsUTF8::GetLength for consistency | Denis Krjuchkov | 1 | -0/+5 | |
2013-12-05 | fs/AllocatedPath.cxx: don't use g_path_get_dirname | Denis Krjuchkov | 1 | -1/+1 | |
2013-12-05 | fs/Traits: implement GetBase/GetParent/Build using templates | Denis Krjuchkov | 2 | -22/+88 | |