Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-03-25 | fs/io/FileOutputStream: fix wrong #ifdef WIN32 | Max Kellermann | 1 | -23/+3 | |
2015-03-24 | Mapper: don't use C-style prototypes | Max Kellermann | 1 | -1/+2 | |
2015-03-24 | fs/io/FileOutputStream: add method Tell() | Max Kellermann | 2 | -0/+20 | |
2015-03-24 | fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctor | Max Kellermann | 2 | -0/+12 | |
2015-03-23 | fs/io/FileOutputStream: add class AppendFileOutputStream | Max Kellermann | 2 | -0/+67 | |
2015-03-23 | fs/io/FileOutputStream: move code to new class BaseFileOutputStream | Max Kellermann | 2 | -49/+101 | |
2015-03-23 | fs/io/FileOutputStream: make "path" const | Max Kellermann | 1 | -1/+1 | |
2015-03-23 | fs/io/BufferedOutputStream: add code comments | Max Kellermann | 2 | -0/+23 | |
2015-03-17 | *: doxygen fixups | Max Kellermann | 1 | -1/+0 | |
2015-03-03 | fs/io/FileOutputStream: use class FileDescriptor | Max Kellermann | 2 | -19/+20 | |
2015-03-03 | input/file: use class FileReader | Max Kellermann | 1 | -0/+6 | |
2015-03-03 | fs/io/FileReader: add method GetFileInfo() | Max Kellermann | 2 | -1/+25 | |
2015-03-03 | fs/io/FileReader: add move constructor | Max Kellermann | 1 | -0/+14 | |
2015-03-03 | system/FileDescriptor: new wrapper class for a file descriptor | Max Kellermann | 2 | -15/+12 | |
2015-03-03 | fs/io/FileReader: add method Seek() | Max Kellermann | 2 | -0/+28 | |
2015-02-25 | fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error message | Max Kellermann | 2 | -7/+18 | |
2015-02-10 | fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTING | Max Kellermann | 1 | -1/+1 | |
Fixes yet another breakage of creating the database+state file on Windows. | |||||
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. | |||||
2015-01-21 | fs/io/BufferedReader: count line numbers | Max Kellermann | 2 | -2/+12 | |
Replaces the dirty code in config/ConfigFile.cxx. | |||||
2015-01-14 | fs/io/FileOutputStream: add static method Create() | Max Kellermann | 2 | -0/+13 | |
2015-01-06 | fs/io/FileOutputStream: use O_TMPFILE if available | Max Kellermann | 2 | -7/+67 | |
The Linux feature allows writing new files to an invisible file, and then replace the old file. This preserves the old file if we get interrupted by some event. | |||||
2015-01-05 | fs/io/File{Reader,OutputStream}: use OpenFile() | Max Kellermann | 2 | -8/+7 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 21 | -21/+21 | |
2014-11-21 | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 2 | -4/+4 | |
Simplify the definition of many build options. | |||||
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 | 4 | -57/+177 | |
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 | 10 | -0/+820 | |