| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | clang-format | Tatsuhiro Tsujikawa | 2016-03-26 | 1 | -1/+1 |
| | | |||||
| * | Added support for a dynamic management of the number of concurrent downloads ↵ | oliviercommelarbre | 2016-03-16 | 1 | -1/+5 |
| | | | | | as a function of the overall bandwidth observed | ||||
| * | Add following to aria2.tellStatus response key as reverse link for followedBy | Tatsuhiro Tsujikawa | 2016-03-05 | 1 | -0/+11 |
| | | |||||
| * | Add "seeder" key to tellStatus RPC response | Tatsuhiro Tsujikawa | 2016-02-03 | 1 | -4/+9 |
| | | |||||
| * | make clang-format using clang-format-3.6 | Tatsuhiro Tsujikawa | 2015-12-27 | 1 | -501/+491 |
| | | |||||
| * | Fix compile error on travis | Tatsuhiro Tsujikawa | 2015-12-26 | 1 | -1/+1 |
| | | |||||
| * | Add system.listMethods RPC method | Tatsuhiro Tsujikawa | 2015-12-26 | 1 | -0/+18 |
| | | | | | | | | | system.listMethods just returns the available RPC method names. It can be executed without secret token, because it just returns the method names, and does not alter anything. See GH-437 | ||||
| * | Send the last error message as part of tellStatus RPC response | Jarda Snajdr | 2015-11-18 | 1 | -0/+4 |
| | | |||||
| * | Use user-defined literals for time units | Tatsuhiro Tsujikawa | 2015-06-21 | 1 | -2/+2 |
| | | |||||
| * | Replace timer facility with chrono lib | Tatsuhiro Tsujikawa | 2015-06-09 | 1 | -4/+4 |
| | | |||||
| * | Don't send back rpc-secret option value in aria2.getGlobalOption RPC method | Tatsuhiro Tsujikawa | 2015-03-13 | 1 | -1/+1 |
| | | |||||
| * | Remove request pre-authorization again | Nils Maier | 2014-07-22 | 1 | -4/+0 |
| | | |||||
| * | Delay auth failures instead of PBKDF2 | Nils Maier | 2014-07-22 | 1 | -46/+65 |
| | | | | | Closes GH-256 | ||||
| * | Fix use-after-free on exit with multi-file torrent download + DHT | Tatsuhiro Tsujikawa | 2014-06-08 | 1 | -0/+6 |
| | | | | | | | | | | | | 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. | ||||
| * | util::parseIntSegments: Return SegList<int> | Tatsuhiro Tsujikawa | 2014-06-04 | 1 | -3/+2 |
| | | |||||
| * | Support PREF_DIR change for Metalink files | Tatsuhiro Tsujikawa | 2014-06-04 | 1 | -10/+23 |
| | | | | | | Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b, and now support changing PREF_DIR for Metalink downloads. | ||||
| * | Fix assertion failure when dir option of paused HTTP/FTP download is changed | Tatsuhiro Tsujikawa | 2014-06-03 | 1 | -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(). | ||||
| * | Authorize RPC multicalls only once. | Nils Maier | 2014-05-20 | 1 | -2/+10 |
| | | | | | | Cache the auth status afterwards and just assume the token still matches (within the same request, of course). | ||||
| * | Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always | Nils Maier | 2014-04-17 | 1 | -10/+2 |
| | | |||||
| * | Fix some warnings | Nils Maier | 2014-04-13 | 1 | -1/+0 |
| | | |||||
| * | Add aria2.saveSession RPC method | Tatsuhiro Tsujikawa | 2014-02-19 | 1 | -0/+18 |
| | | | | | | This method saves the current session to a file specified by --save-session option. This method returns "OK" if it succeeds. | ||||
| * | Add numStoppedTotal key to aria2.getGlobalStat() RPC method response | Tatsuhiro Tsujikawa | 2014-02-15 | 1 | -0/+2 |
| | | | | | | | | It shows the number of stopped downloads in the current session and not capped by --max-download-result option. On the other hand, the existing numStopped key also shows the number of stopped downloads, but it is capped by --max-download-result option. | ||||
| * | Code cleanup | Tatsuhiro Tsujikawa | 2013-11-10 | 1 | -47/+47 |
| | | |||||
| * | Introduce PrefPtr typedef | Nils Maier | 2013-09-19 | 1 | -2/+2 |
| | | |||||
| * | Convert to autos and ranged loops | Nils Maier | 2013-08-21 | 1 | -17/+12 |
| | | |||||
| * | Rewrite RPC method factory function | Tatsuhiro Tsujikawa | 2013-07-11 | 1 | -2/+1 |
| | | |||||
| * | Use std::unique_ptr for ValueBase object hierarchy | Tatsuhiro Tsujikawa | 2013-07-11 | 1 | -264/+252 |
| | | |||||
| * | BtRegistry: Use std::unique_ptr for BtObject | Tatsuhiro Tsujikawa | 2013-07-06 | 1 | -10/+8 |
| | | |||||
| * | DownloadEngine: Use std::unique_ptr for RequestGroupMan | Tatsuhiro Tsujikawa | 2013-07-06 | 1 | -1/+1 |
| | | |||||
| * | Use std::unique_ptr for MessageDigest | Tatsuhiro Tsujikawa | 2013-07-03 | 1 | -1/+1 |
| | | |||||
| * | Rewrite util::divide | Tatsuhiro Tsujikawa | 2013-06-25 | 1 | -2/+1 |
| | | |||||
| * | Wrap Command object in std::unique_ptr | Tatsuhiro Tsujikawa | 2013-06-23 | 1 | -3/+4 |
| | | |||||
| * | DownloadContext::attrs_ now holds std::unique_ptr | Tatsuhiro Tsujikawa | 2013-06-23 | 1 | -4/+3 |
| | | | | | DownloadContext::getAttribute() returns a raw pointer. | ||||
| * | Require -std=c++11 and use std::shared_ptr instead of SharedHandle | Tatsuhiro Tsujikawa | 2013-06-22 | 1 | -158/+158 |
| | | |||||
| * | Make getOption RPC method return option for stopped downloads | Tatsuhiro Tsujikawa | 2013-05-28 | 1 | -5/+10 |
| | | |||||
| * | Add changeGlobalOption, getGlobalOption, getGlobalOptions API | Tatsuhiro Tsujikawa | 2013-05-17 | 1 | -31/+34 |
| | | |||||
| * | Add changeOption and DownloadHandle::getOption API | Tatsuhiro Tsujikawa | 2013-05-16 | 1 | -79/+77 |
| | | | | | | In aria2c.rst, define section label for "Input File" section so that it can be referenced from other document. | ||||
| * | Add changePosition API | Tatsuhiro Tsujikawa | 2013-05-15 | 1 | -4/+4 |
| | | |||||
| * | Use BtFileMode for TorrentAttribute::mode | Tatsuhiro Tsujikawa | 2013-05-15 | 1 | -2/+2 |
| | | |||||
| * | Add removeDownload, pauseDownload and unpauseDownload API function | Tatsuhiro Tsujikawa | 2013-05-01 | 1 | -26/+24 |
| | | |||||
| * | Implement IndexedList::iterator | Tatsuhiro Tsujikawa | 2013-03-03 | 1 | -5/+5 |
| | | | | | | It is dangerous to expose internal iterator to the outside, which is easily misused. | ||||
| * | Remove PeerStorage::getActivePeers() and add getUsedPeers() instead | Tatsuhiro Tsujikawa | 2013-01-26 | 1 | -6/+7 |
| | | | | | | PeerStorage::getUsedPeers() returns non-active peers, so caller must call Peer::isActive() to get active peers. | ||||
| * | Faster deletion of RequestGroup and DownloadResult lists | Tatsuhiro Tsujikawa | 2012-12-19 | 1 | -20/+18 |
| | | |||||
| * | Use 64 bits random bytes as GID | Tatsuhiro Tsujikawa | 2012-12-16 | 1 | -29/+47 |
| | | | | | | | | | | | This change replaces the current 64 bit sequential GID with 64 bits random bytes GID in an attempt to support persistent GID. Internally, the GID is stored as uint64_t. For human representation and RPC interface, GID is represented as 16 bytes hex string. For console readout, 16 bytes are too long, so it is abbreviated to first 6 bytes. When querying GID in RPC calls, user can speicfy the prefix of GID as long as the prefix is shared by more than 1 GID entries. | ||||
| * | Simplified TransferStat struct | Tatsuhiro Tsujikawa | 2012-10-26 | 1 | -3/+3 |
| | | |||||
| * | Reworked download/upload statistics calculation | Tatsuhiro Tsujikawa | 2012-10-25 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | The old implementation calculates download/upload statistics for a RequestGroup by summing up all PeerStat objects. For global statistics, those are summed together. This clearly incurs runtime penalty and we introduced some kind of caching which updates statistics every 250ms but it did not work right. This change removes all these aggregation code, and instead makes RequestGroup and RequestGroupMan objects hold NetStat object and download/upload bytes are directly calculated by thier own NetStat. This is far more simplar than the old way and less runtime penalty and brings more accuracy. | ||||
| * | Added --rpc-save-upload-metadata option | Tatsuhiro Tsujikawa | 2012-10-16 | 1 | -27/+36 |
| | | | | | | | | | | | If true is given, which is default, save the uploaded torrent or metalink metadata in the directory specified by --dir option. The filename consists of SHA1-hash hex string of metadata plus extension. For torrent, the extension is '.torrent'. For metalink, it is '.meta4'. If false is given to this option, the downloads added by aria2.addTorrent or aria2.addMetalink will not be saved by --save-session option. | ||||
| * | Removed trailing spaces | Tatsuhiro Tsujikawa | 2012-10-01 | 1 | -3/+3 |
| | | |||||
| * | Handle OptionHandlers as raw pointer | Tatsuhiro Tsujikawa | 2012-09-27 | 1 | -2/+2 |
| | | |||||
| * | Use nothrow version of parseInt, parseUInt and parseLLInt | Tatsuhiro Tsujikawa | 2012-09-27 | 1 | -1/+6 |
| | | |||||
