| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Do not close stdout and stderr | Tatsuhiro Tsujikawa | 2023-09-18 | 1 | -1/+3 |
| | | |||||
| * | BufferedFile: Flush content on close | Tatsuhiro Tsujikawa | 2018-02-12 | 1 | -0/+6 |
| | | |||||
| * | Use stdin for *NIX as well | Tatsuhiro Tsujikawa | 2016-11-26 | 1 | -6/+6 |
| | | | | | | | We thought that we can use /dev/stdin for *NIX, but some variants, like Android, does not have one or root permission is required. Just like we do for Windows build, we just use stdin if /dev/stdin is used. | ||||
| * | make clang-format using clang-format-3.6 | Tatsuhiro Tsujikawa | 2015-12-27 | 1 | -37/+19 |
| | | |||||
| * | mingw32: Fix bug that aria2 does not read piped stdin | Tatsuhiro Tsujikawa | 2014-07-30 | 1 | -1/+3 |
| | | |||||
| * | Convert most 0/NULL pointers to nullptr | Nils Maier | 2013-08-20 | 1 | -1/+1 |
| | | | | | Courtesy of llvm cpp11-migrate 3.3 | ||||
| * | Remove open_ member from BufferedFile and GZipFile | Tatsuhiro Tsujikawa | 2013-05-23 | 1 | -7/+7 |
| | | | | | Just checking fp_ is sufficient. | ||||
| * | Introduce IOFile abstract class to refactor BufferedFile and GZipFile | Tatsuhiro Tsujikawa | 2013-05-23 | 1 | -73/+19 |
| | | | | | | | 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. | ||||
| * | Support for gzipped -i and --save-session | Nils Maier | 2013-03-02 | 1 | -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 function | Nils Maier | 2013-03-02 | 1 | -6/+2 |
| | | | | | This stuff breaks in some compiler (configurations) | ||||
| * | Fixed segmentation fault if fp_ is NULL | Tatsuhiro Tsujikawa | 2012-12-11 | 1 | -2/+2 |
| | | |||||
| * | Console color output | Tatsuhiro Tsujikawa | 2012-12-08 | 1 | -2/+8 |
| | | | | | Log level and download result string is now colored. | ||||
| * | Fixed compile error with mingw | Tatsuhiro Tsujikawa | 2012-10-31 | 1 | -1/+1 |
| | | |||||
| * | Made BufferedFile ctor take const char* args | Tatsuhiro Tsujikawa | 2012-09-25 | 1 | -9/+13 |
| | | |||||
| * | Added BufferedFile::getLine() to make reading one line more flexible. | Tatsuhiro Tsujikawa | 2012-02-29 | 1 | -0/+22 |
| | | | | | Fixes bug#3495336 | ||||
| * | Use global::cout to output string to stdout. | Tatsuhiro Tsujikawa | 2011-08-09 | 1 | -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 Tsujikawa | 2011-08-07 | 1 | -0/+20 |
| | | |||||
| * | Read aria2.conf using BufferedFile | Tatsuhiro Tsujikawa | 2011-08-07 | 1 | -0/+16 |
| | | | | | Read aria2.conf using BufferedFile. Added BufferedFile::transfer(). | ||||
| * | Removed feof from operator unspecified_bool_type. Added eof(). | Tatsuhiro Tsujikawa | 2011-08-07 | 1 | -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 Tsujikawa | 2011-08-06 | 1 | -0/+100 |
