summaryrefslogtreecommitdiff
path: root/src/GZipFile.h
Commit message (Collapse)AuthorAgeFilesLines
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-1/+3
|
* Use CXX11_OVERRIDETatsuhiro Tsujikawa2013-07-061-10/+10
|
* Fix redeclaration warning on opensolarisTatsuhiro Tsujikawa2013-05-261-2/+2
|
* Remove open_ member from BufferedFile and GZipFileTatsuhiro Tsujikawa2013-05-231-2/+0
| | | | Just checking fp_ is sufficient.
* Introduce IOFile abstract class to refactor BufferedFile and GZipFileTatsuhiro Tsujikawa2013-05-231-12/+13
| | | | | | IOFile provides the same interface of old BufferedFile. It provides extension points as pure virtual functions. Those functions are implemented by 2 concrete subclasses: BufferedFile and GZipFile.
* GZipFile: Move buf_, buflen_ to initializer listTatsuhiro Tsujikawa2013-03-031-1/+1
|
* Rewrite GZipFile::vprintf()Tatsuhiro Tsujikawa2013-03-031-1/+3
| | | | | | MINGW does not have vasprintf(), so we use _vscprintf() and vsnprintf(). We want to reuse buffer, so for non-MINGW we use vsnprintf() with retrying doubling buffer size if output is truncated.
* Support for gzipped -i and --save-sessionNils Maier2013-03-021-0/+71
Saved sessions may very large, as in hundreds and even thousands of megabyte when dealing with large queues. Add support to save and reload sessions to gzipped files, when libz is available. The session serializer will output gzipped contents when the file ends with .gz, while the input file reader (UriListParser) will accept whatever is thrown at it.