aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/io (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fs/io/FileOutputStream: fix wrong #ifdef WIN32Max Kellermann2015-03-251-23/+3
|
* Mapper: don't use C-style prototypesMax Kellermann2015-03-241-1/+2
|
* fs/io/FileOutputStream: add method Tell()Max Kellermann2015-03-242-0/+20
|
* fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctorMax Kellermann2015-03-242-0/+12
|
* fs/io/FileOutputStream: add class AppendFileOutputStreamMax Kellermann2015-03-232-0/+67
|
* fs/io/FileOutputStream: move code to new class BaseFileOutputStreamMax Kellermann2015-03-232-49/+101
|
* fs/io/FileOutputStream: make "path" constMax Kellermann2015-03-231-1/+1
|
* fs/io/BufferedOutputStream: add code commentsMax Kellermann2015-03-232-0/+23
|
* *: doxygen fixupsMax Kellermann2015-03-171-1/+0
|
* fs/io/FileOutputStream: use class FileDescriptorMax Kellermann2015-03-032-19/+20
|
* input/file: use class FileReaderMax Kellermann2015-03-031-0/+6
|
* fs/io/FileReader: add method GetFileInfo()Max Kellermann2015-03-032-1/+25
|
* fs/io/FileReader: add move constructorMax Kellermann2015-03-031-0/+14
|
* system/FileDescriptor: new wrapper class for a file descriptorMax Kellermann2015-03-032-15/+12
|
* fs/io/FileReader: add method Seek()Max Kellermann2015-03-032-0/+28
|
* fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error messageMax Kellermann2015-02-252-7/+18
|
* fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTINGMax Kellermann2015-02-101-1/+1
| | | | | Fixes yet another breakage of creating the database+state file on Windows.
* Merge tag 'v0.19.9'Max Kellermann2015-02-061-0/+2
|\
| * fs/io/FileOutputStream: don't auto-delete file on WIN32Max Kellermann2015-02-061-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 numbersMax Kellermann2015-01-212-2/+12
| | | | | | | | Replaces the dirty code in config/ConfigFile.cxx.
* | fs/io/FileOutputStream: add static method Create()Max Kellermann2015-01-142-0/+13
| |
* | fs/io/FileOutputStream: use O_TMPFILE if availableMax Kellermann2015-01-062-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 Kellermann2015-01-052-8/+7
| |
* | Copyright year 2015Max Kellermann2015-01-0121-21/+21
| |
* | configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann2014-11-212-4/+4
|/ | | | Simplify the definition of many build options.
* *: 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-074-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 interfaceMax Kellermann2014-08-073-0/+216
|
* fs/output, fs/TextFile: move to fs/io/Max Kellermann2014-08-0710-0/+820