summaryrefslogtreecommitdiff
path: root/src/aria2api.cc
Commit message (Collapse)AuthorAgeFilesLines
* Enable IndentPPDirectivesTatsuhiro Tsujikawa2018-06-091-1/+1
|
* clang-formatTatsuhiro Tsujikawa2017-10-071-1/+2
|
* libaria2: Return last error code from DownloadHandle::getErrorCodeTatsuhiro Tsujikawa2017-08-301-1/+3
|
* Use default where possibleNils Maier2016-08-291-3/+3
|
* Add following to aria2.tellStatus response key as reverse link for followedByTatsuhiro Tsujikawa2016-03-051-0/+2
|
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-281/+221
|
* Replace timer facility with chrono libTatsuhiro Tsujikawa2015-06-091-2/+2
|
* Use std::make_shared and make_unique where possible, part 2Tatsuhiro Tsujikawa2014-09-131-4/+4
|
* New round of clang-modernizeNils Maier2014-05-291-5/+4
|
* Introduce PrefPtr typedefNils Maier2013-09-191-5/+5
|
* Convert most 0/NULL pointers to nullptrNils Maier2013-08-201-5/+5
| | | | Courtesy of llvm cpp11-migrate 3.3
* MultiUrlRequestFactory: Use std::unique_ptr for DownloadEngineTatsuhiro Tsujikawa2013-07-061-35/+19
|
* DownloadEngine:: Use std::unique_ptr for webSocketSessionMan_Tatsuhiro Tsujikawa2013-07-061-15/+10
| | | | | | Notifier::addDownloadEventListener now takes pointer to DownloadEventListener. Session holds unique_ptr to ApiCallbackDownloadEventListener object.
* Use CXX11_OVERRIDETatsuhiro Tsujikawa2013-07-061-42/+42
|
* DownloadEngine: Use std::unique_ptr for RequestGroupManTatsuhiro Tsujikawa2013-07-061-2/+2
|
* Fix compile errorTatsuhiro Tsujikawa2013-06-271-1/+1
|
* Return std::unique_ptr member as const refTatsuhiro Tsujikawa2013-06-261-4/+3
| | | | | Returning raw pointer has a risk that it may be stolen by std::shared_ptr in accident.
* Use std::mem_fn instead of std::mem_funTatsuhiro Tsujikawa2013-06-221-4/+4
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-60/+60
|
* Pass A2Gid by value, since it is uint64_tTatsuhiro Tsujikawa2013-06-121-8/+8
|
* Implement DownloadResultDH::getOption()/getOptions()Tatsuhiro Tsujikawa2013-05-271-12/+27
|
* Fix uninitialized valuesTatsuhiro Tsujikawa2013-05-231-1/+5
|
* Add getGlobalStat APITatsuhiro Tsujikawa2013-05-181-0/+15
|
* Don't return hidden option from DownloadHandle::getOption and getGlobalOptionTatsuhiro Tsujikawa2013-05-171-2/+12
|
* Rename KeyVals DownloadHandle::getOption() as getOptionsTatsuhiro Tsujikawa2013-05-171-2/+2
|
* Add changeGlobalOption, getGlobalOption, getGlobalOptions APITatsuhiro Tsujikawa2013-05-171-0/+50
|
* Add changeOption and DownloadHandle::getOption APITatsuhiro Tsujikawa2013-05-161-0/+83
| | | | | In aria2c.rst, define section label for "Input File" section so that it can be referenced from other document.
* Add addTorrent APITatsuhiro Tsujikawa2013-05-151-0/+44
|
* Remove NULL check for pref because pref is always non NULLTatsuhiro Tsujikawa2013-05-151-4/+0
|
* Add changePosition APITatsuhiro Tsujikawa2013-05-151-0/+12
|
* Use BtFileMode for TorrentAttribute::modeTatsuhiro Tsujikawa2013-05-151-3/+1
|
* Add DownloadHandle::getBtMetaInfo() APITatsuhiro Tsujikawa2013-05-141-0/+24
|
* Add download event callback API and its exampleTatsuhiro Tsujikawa2013-05-111-3/+16
|
* Make DownloadHandle::getNumPieces() return intTatsuhiro Tsujikawa2013-05-101-2/+2
|
* Add DownloadHandle::getInfohash() and getPieceLength()Tatsuhiro Tsujikawa2013-05-101-0/+28
|
* Change the way to receive resulting gids in addUri, addMetalinkTatsuhiro Tsujikawa2013-05-091-6/+10
|
* Add DownloadHandle::getNumFiles and getFile APITatsuhiro Tsujikawa2013-05-091-9/+43
|
* Add SessionConfig to store per Session configTatsuhiro Tsujikawa2013-05-041-11/+14
| | | | | | | sessionConfigSetKeepRunning() was removed and SessionConfig has keepRunning member instead. Signal handlers are now all prepared in MultiUrlRequestGroup object. Setting SessionConfig.useSignalHandler to false will avoid signal handler setup.
* Fix event polling not working with no downloads but keepRunning_ is trueTatsuhiro Tsujikawa2013-05-021-0/+9
|
* Suppress console output for none-standalone modeTatsuhiro Tsujikawa2013-05-021-0/+2
|
* Suppress console log output for library use, enclose Platform in try-catchTatsuhiro Tsujikawa2013-05-021-1/+7
| | | | Still need to suppress global::cerr and global::cout
* Don't exit on error in option_processingTatsuhiro Tsujikawa2013-05-021-1/+6
| | | | | Still it exits when -v or -h is given. They are now guarded by standalone variable and only do so when it is true.
* Add addMetalink API functionTatsuhiro Tsujikawa2013-05-021-0/+37
|
* Add sessionConfigSetKeepRunning and shutdown API functionTatsuhiro Tsujikawa2013-05-011-0/+19
| | | | | | Setting sessionConfigSetKeepRunning to true makes aria2 core keep running even if there is no download to perform, just like --enable-rpc option.
* Add removeDownload, pauseDownload and unpauseDownload API functionTatsuhiro Tsujikawa2013-05-011-0/+58
|
* Rename DOWNLOAD_STATUS as DownloadStatusTatsuhiro Tsujikawa2013-05-011-2/+2
|
* Add DownloadHandle::getFiles() API functionTatsuhiro Tsujikawa2013-05-011-0/+109
|
* Expose struct DownloadHandle interface to public API directlyTatsuhiro Tsujikawa2013-05-011-65/+0
|
* Rename gidToString as gidToHex, add hexToGid and isNullTatsuhiro Tsujikawa2013-04-301-1/+16
|
* Add accessors for DownloadHandleTatsuhiro Tsujikawa2013-04-301-0/+99
| | | | | | | Added downloadGetBitfield, downloadGetNumPieces, downloadGetConnections, downloadGetErrorCode, downloadGetFollowedBy, downloadGetBelongsTo and downloadGetDir functions.