| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
| |
Courtesy of llvm cpp11-migrate 3.3
|
| |
|
|
| |
Just checking fp_ is sufficient.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
This stuff breaks in some compiler (configurations)
|
| | |
|
| |
|
|
| |
Log level and download result string is now colored.
|
| | |
|
| | |
|
| |
|
|
| |
Fixes bug#3495336
|
| |
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
Read aria2.conf using BufferedFile. Added BufferedFile::transfer().
|
| |
|
|
|
| |
In BufferedFile, removed feof from operator unspecified_bool_type. EOF
can be queried separately using newly added eof().
|
| |
|