summaryrefslogtreecommitdiff
path: root/src/BufferedFile.cc
Commit message (Collapse)AuthorAgeFilesLines
* Support for gzipped -i and --save-sessionNils Maier2013-03-021-7/+7
| | | | | | | | | | | 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.
* Do not use a virtual varargs functionNils Maier2013-03-021-6/+2
| | | | This stuff breaks in some compiler (configurations)
* Fixed segmentation fault if fp_ is NULLTatsuhiro Tsujikawa2012-12-111-2/+2
|
* Console color outputTatsuhiro Tsujikawa2012-12-081-2/+8
| | | | Log level and download result string is now colored.
* Fixed compile error with mingwTatsuhiro Tsujikawa2012-10-311-1/+1
|
* Made BufferedFile ctor take const char* argsTatsuhiro Tsujikawa2012-09-251-9/+13
|
* Added BufferedFile::getLine() to make reading one line more flexible.Tatsuhiro Tsujikawa2012-02-291-0/+22
| | | | Fixes bug#3495336
* Use global::cout to output string to stdout.Tatsuhiro Tsujikawa2011-08-091-0/+5
| | | | | | | In MinGW32 build, global::cout is WinConsoleFile. When outputing to console, it uses WriteConsoleW, so Unicode characters are written. Fixed memory leak in WChar<->MultiByte conversion functions. The portion of code which uses std::cout is rewritten to use global::cout.
* Added printf and flush method to BufferedFile.Tatsuhiro Tsujikawa2011-08-071-0/+20
|
* Read aria2.conf using BufferedFileTatsuhiro Tsujikawa2011-08-071-0/+16
| | | | Read aria2.conf using BufferedFile. Added BufferedFile::transfer().
* Removed feof from operator unspecified_bool_type. Added eof().Tatsuhiro Tsujikawa2011-08-071-1/+6
| | | | | In BufferedFile, removed feof from operator unspecified_bool_type. EOF can be queried separately using newly added eof().
* Added fopen/fread/fwrite/fgets wrapper class.Tatsuhiro Tsujikawa2011-08-061-0/+100