Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error message | Max Kellermann | 2015-02-25 | 2 | -7/+18 |
| | |||||
* | fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTING | Max Kellermann | 2015-02-10 | 1 | -1/+1 |
| | | | | | Fixes yet another breakage of creating the database+state file on Windows. | ||||
* | Merge tag 'v0.19.9' | Max Kellermann | 2015-02-06 | 1 | -0/+2 |
|\ | |||||
| * | fs/io/FileOutputStream: don't auto-delete file on WIN32 | Max Kellermann | 2015-02-06 | 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. | ||||
* | | fs/io/BufferedReader: count line numbers | Max Kellermann | 2015-01-21 | 2 | -2/+12 |
| | | | | | | | | Replaces the dirty code in config/ConfigFile.cxx. | ||||
* | | fs/io/FileOutputStream: add static method Create() | Max Kellermann | 2015-01-14 | 2 | -0/+13 |
| | | |||||
* | | fs/io/FileOutputStream: use O_TMPFILE if available | Max Kellermann | 2015-01-06 | 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. | ||||
* | | fs/io/File{Reader,OutputStream}: use OpenFile() | Max Kellermann | 2015-01-05 | 2 | -8/+7 |
| | | |||||
* | | Copyright year 2015 | Max Kellermann | 2015-01-01 | 21 | -21/+21 |
| | | |||||
* | | configure.ac: add macro MPD_ENABLE_AUTO_PKG | Max Kellermann | 2014-11-21 | 2 | -4/+4 |
|/ | | | | Simplify the definition of many build options. | ||||
* | *: 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 | 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. | ||||
* | 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 | 10 | -0/+820 |