summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix test failure with --enable-libaria2release-1.18.6Tatsuhiro Tsujikawa2014-07-142-3/+7
|
* Update bash_completionTatsuhiro Tsujikawa2014-07-131-1/+1
|
* Merge branch 'patch-1' of https://github.com/ITriskTI/aria2 into ↵Tatsuhiro Tsujikawa2014-07-131-430/+484
|\ | | | | | | ITriskTI-patch-1
| * Update aria2c.rstITriskTI2014-07-121-430/+484
| |
* | Bump up version number to 1.18.6Tatsuhiro Tsujikawa2014-07-121-1/+1
|/
* Fix compile error and warning with clangTatsuhiro Tsujikawa2014-07-124-11/+8
|
* Fix file length information in RPC response when length > 2GB is unknownTatsuhiro Tsujikawa2014-07-124-20/+26
| | | | | | | This commit fixes the bug that aria2.tellStopped RPC method returns total length and completedLength as 0 when file size is unknown in advance and turns out > 2GB in the end. This commit and addresses the performance degradation in this case.
* Update pre built distribution READMEsTatsuhiro Tsujikawa2014-07-112-2/+2
|
* Update NEWSTatsuhiro Tsujikawa2014-07-111-0/+175
|
* Merge crypto_* from upstreamNils Maier2014-07-112-17/+27
| | | | | | | Revert "Fix typo" This reverts commit 4dfd8b884775737f85783976958f4e976b65a5fb. Revert "MinGW: Fix compiler warning with -Wstrict-aliasing" This reverts commit 897f0e87f4bd69bf6703a12feb326aeba53b0dcd.
* makerelease-osx: Enable lto for selected libraries and aria2Nils Maier2014-07-111-8/+15
|
* makerelease-osx: Explìcit makeNils Maier2014-07-111-0/+1
|
* makerelease-osx: Update Sqlite3Nils Maier2014-07-111-3/+3
|
* makerelease-osx: Do not use implicit variables for CC/CXXNils Maier2014-07-111-2/+2
|
* MinGW: Fix compiler warning with -Wstrict-aliasingTatsuhiro Tsujikawa2014-07-101-7/+5
| | | | | | | The error message is: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
* Fix typoTatsuhiro Tsujikawa2014-07-101-1/+1
|
* MinGW: Fix compiler warning about winsock2.h and windows.hTatsuhiro Tsujikawa2014-07-102-1/+4
| | | | | | | | | | | This commit fixes following compiler warning with mingw compiler: In file included from common.h:63:0, from util_security.h:42, from util_security.cc:36: /usr/share/mingw-w64/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp] #warning Please include winsock2.h before windows.h
* Change bug report address to github issuesTatsuhiro Tsujikawa2014-07-091-1/+1
|
* MultiDiskAdaptor: Handle short readTatsuhiro Tsujikawa2014-07-021-5/+15
|
* Disard cache when checking checksumTatsuhiro Tsujikawa2014-07-0211-2/+58
| | | | This will slow down checksum checking but does not thrash cache.
* Compat with libuv 0.11 (Unstable)Nils Maier2014-07-011-0/+11
| | | | Fixes #241
* Drop WinMessageDigestImpl.Nils Maier2014-06-243-213/+11
| | | | | | | | | | The algorithms the `CryptProv` on Windows supports does not currently include SHA-224, so there is a "dark spot" in this implementation. Also on Win XP < SP3, most of the SHA-2 family is not actually supported. All other implementation provide support for MD5, SHA-1 and all of the SHA-2 family, hence drop the incomplete WinMessageDigest implementation in favor of any other supported implementation (at least the internal implementation is always available at compile-time).
* Fix big endianess support in InternalMessageDigest and PBKDF2Nils Maier2014-06-2411-611/+1402
| | | | | | | - Replace sha1/md5 implementation by ones from https://github.com/nmaier/crypto - Add endianess functionality fro https://github.com/nmaier/crypto Closes GH-239
* Merge pull request #242 from ORiON-/masterTatsuhiro Tsujikawa2014-06-221-1/+1
|\ | | | | typo fix.
| * typo fix.ORiON-2014-06-211-1/+1
|/ | | added missing space.
* Pause download only when RPC is enabledTatsuhiro Tsujikawa2014-06-212-4/+20
|
* Document --pause-metadata option in man pageTatsuhiro Tsujikawa2014-06-211-0/+11
|
* Add --pause-metadata optionTatsuhiro Tsujikawa2014-06-218-0/+62
| | | | | | | | | This option pauses downloads created as a result of metadata download. There are 3 types of metadata downloads in aria2: (1) downloading .torrent file. (2) downloading torrent metadata using magnet link. (3) downloading metalink file. These metadata downloads will generate downloads using their metadata. This option pauses these subsequent downloads.
* Improve compiler/platform/libs information in logsNils Maier2014-06-105-6/+154
| | | | | | | | | | Add and use usedCompilerAndPlatform(). This adds compiler information to INFO logs and the --version output, and may be helpful when trying to diagnose/reproduce user-reported problems. Also make INFO logs include usedLibs() output. Closes #235
* Fix use-after-free on exit with multi-file torrent download + DHTTatsuhiro Tsujikawa2014-06-0810-58/+216
| | | | | | | | | | | DefaultPieceStorage may be referenced by one of DHT task (e.g., DHTPeerLookupTask), after RequestGroup was deleted, and even after RequestGroupMan was deleted. DefaultPieceStorage has a reference to MultiDiskAdaptor which calls RequestGroupMan object on destruction. So when DHT task is destroyed, DefaultPieceStorage is destroyed, which in turn destroys MultiDiskAdaptor. DHT task is destroyed after RequestGroupMan was destroyed, MultiDiskAdaptor will use now freed RequestGroupMan object, this is use-after-free.
* Fix bug that zero length file is not opened when flushing cacheTatsuhiro Tsujikawa2014-06-081-0/+3
| | | | This bug was only seen when MultiDiskAdaptor was used.
* AnnounceList, AnnounceTier: Code cleanup using C++11 featuresTatsuhiro Tsujikawa2014-06-064-52/+52
|
* SocketRecvBuffer: Cleanup with C++11 featuresTatsuhiro Tsujikawa2014-06-052-12/+11
|
* Update README.androidTatsuhiro Tsujikawa2014-06-051-1/+1
|
* Small code cleanup for SocketBufferTatsuhiro Tsujikawa2014-06-052-33/+34
|
* util::parseIntSegments: Return SegList<int>Tatsuhiro Tsujikawa2014-06-0414-87/+72
|
* bittorrent::computeFastSet: Return std::vectorTatsuhiro Tsujikawa2014-06-044-18/+20
|
* DownloadContext, FileEntry: Use move semantics to path parameter in ctorTatsuhiro Tsujikawa2014-06-045-9/+9
|
* FileEntry::getUris: Return std::vector<std::string>Tatsuhiro Tsujikawa2014-06-045-49/+40
|
* Support PREF_DIR change for Metalink filesTatsuhiro Tsujikawa2014-06-0411-24/+87
| | | | | Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b, and now support changing PREF_DIR for Metalink downloads.
* Revert to existing "proper" coding styleTatsuhiro Tsujikawa2014-06-039-236/+235
| | | | | The rule is simple: don't try to change the coding style of the existing codebase.
* Fix assertion failure when dir option of paused HTTP/FTP download is changedTatsuhiro Tsujikawa2014-06-031-3/+12
| | | | | | | | | | | | When the directory is changed via aria2.changeOption RPC method, we directly change first FileEntry's path using FileEntry::setPath(). If there is no PREF_OUT option is given, basically file name is unknown, so we just set empty string and let the next run determine the correct file name and new directory is applied there. But previous code does not reset length property of FileEntry, so the unexpected code path is taken when unpaused and its path expects path is not empty string. This commit fixes this issue by setting length to 0 using FileEntry::setLength().
* Disable PBKDF2 load testNils Maier2014-05-311-2/+6
| | | | Closes #236
* Save session only when there is change since the last serializationTatsuhiro Tsujikawa2014-05-315-2/+117
| | | | | | | | | | | | | This is a slight optimization not to cause useless disk access. This only applies to saving session automatically (see --save-session-interval). aria2.saveSession and serialization at the end of the session are always performed as before. When serialization, we first check that whether there is any change since the last serialization. To do this, we first calculate hash value of serialized content without writing into file. Then compare this value to the value of last serialization. If they do not match, perform serialization.
* Revert "Save session only when there is change since the last serialization"Tatsuhiro Tsujikawa2014-05-313-51/+4
| | | | This reverts commit 1944d8db58555c08b5f069a2e987fcfdd5aad997.
* Save session only when there is change since the last serializationTatsuhiro Tsujikawa2014-05-303-4/+51
| | | | | | | This is a slight optimization not to cause useless disk access. This only applies to saving session automatically (see --save-session-interval). aria2.saveSession and serialization at the end of the session are always performed as before.
* Fix comment for conditionalTatsuhiro Tsujikawa2014-05-301-2/+2
|
* Damn typos (when RST2HTML)Nils Maier2014-05-301-1/+1
|
* Fix build without rst2html and without existing README.htmlNils Maier2014-05-301-2/+6
| | | | Fixes regression from #221
* Use _setmode to set binary mode in mingwNils Maier2014-05-294-4/+6
| | | | | The _CRT_fmode stuff was never working correctly anyway, and is entirely unsupported in mingw-w64 these days, it seems.