aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/io (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-25fs/io/FileOutputStream: fix wrong #ifdef WIN32Max Kellermann1-23/+3
2015-03-24Mapper: don't use C-style prototypesMax Kellermann1-1/+2
2015-03-24fs/io/FileOutputStream: add method Tell()Max Kellermann2-0/+20
2015-03-24fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctorMax Kellermann2-0/+12
2015-03-23fs/io/FileOutputStream: add class AppendFileOutputStreamMax Kellermann2-0/+67
2015-03-23fs/io/FileOutputStream: move code to new class BaseFileOutputStreamMax Kellermann2-49/+101
2015-03-23fs/io/FileOutputStream: make "path" constMax Kellermann1-1/+1
2015-03-23fs/io/BufferedOutputStream: add code commentsMax Kellermann2-0/+23
2015-03-17*: doxygen fixupsMax Kellermann1-1/+0
2015-03-03fs/io/FileOutputStream: use class FileDescriptorMax Kellermann2-19/+20
2015-03-03input/file: use class FileReaderMax Kellermann1-0/+6
2015-03-03fs/io/FileReader: add method GetFileInfo()Max Kellermann2-1/+25
2015-03-03fs/io/FileReader: add move constructorMax Kellermann1-0/+14
2015-03-03system/FileDescriptor: new wrapper class for a file descriptorMax Kellermann2-15/+12
2015-03-03fs/io/FileReader: add method Seek()Max Kellermann2-0/+28
2015-02-25fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error messageMax Kellermann2-7/+18
2015-02-10fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTINGMax Kellermann1-1/+1
Fixes yet another breakage of creating the database+state file on Windows.
2015-02-06fs/io/FileOutputStream: don't auto-delete file on WIN32Max Kellermann1-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-21fs/io/BufferedReader: count line numbersMax Kellermann2-2/+12
Replaces the dirty code in config/ConfigFile.cxx.
2015-01-14fs/io/FileOutputStream: add static method Create()Max Kellermann2-0/+13
2015-01-06fs/io/FileOutputStream: use O_TMPFILE if availableMax Kellermann2-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-05fs/io/File{Reader,OutputStream}: use OpenFile()Max Kellermann2-8/+7
2015-01-01Copyright year 2015Max Kellermann21-21/+21
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann2-4/+4
Simplify the definition of many build options.
2014-08-30*: add missing Compiler.h includesMax Kellermann7-0/+7
Necessary for "final" on gcc 4.6.
2014-08-11fs/io/TextFile: add method Check()Max Kellermann2-0/+16
2014-08-11fs/io/Reader: add "nonnull" attributeMax Kellermann1-0/+1
2014-08-11fs/io/TextFile: use AutoGunzipReaderMax Kellermann2-1/+23
Several MPD subsystems can now read gzipped files; for example, the database file can be gzipped.
2014-08-11fs/io/AutoGunzipReader: new classMax Kellermann2-0/+121
2014-08-11fs/io/PeekReader: new utility classMax Kellermann2-0/+112
2014-08-11fs/io/GzipOutputStream,GunzipReader: move zlib_domain to src/lib/zlib/Domain.cxxMax Kellermann4-8/+2
2014-08-08input/GunzipInputStream: new classMax Kellermann2-0/+171
2014-08-07fs/io/BufferedReader: new class to replace class TextFileMax Kellermann4-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-07fs/io/Reader: new interfaceMax Kellermann3-0/+216
2014-08-07fs/output, fs/TextFile: move to fs/io/Max Kellermann10-0/+820