summaryrefslogtreecommitdiff
path: root/src/RpcMethodImpl.h
Commit message (Collapse)AuthorAgeFilesLines
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-308/+236
|
* Add system.listMethods RPC methodTatsuhiro Tsujikawa2015-12-261-0/+11
| | | | | | | | 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
* Delay auth failures instead of PBKDF2Nils Maier2014-07-221-7/+2
| | | | Closes GH-256
* Check negative number from Integer::i() where it is not allowedTatsuhiro Tsujikawa2014-05-011-0/+4
|
* Add aria2.saveSession RPC methodTatsuhiro Tsujikawa2014-02-191-0/+11
| | | | | This method saves the current session to a file specified by --save-session option. This method returns "OK" if it succeeds.
* Implement new RPC authorization using --rpc-secret optionTatsuhiro Tsujikawa2014-02-021-0/+8
|
* Convert to autos and ranged loopsNils Maier2013-08-211-3/+2
|
* Use std::unique_ptr for ValueBase object hierarchyTatsuhiro Tsujikawa2013-07-111-48/+46
|
* Use CXX11_OVERRIDETatsuhiro Tsujikawa2013-07-061-37/+39
|
* DownloadContext::attrs_ now holds std::unique_ptrTatsuhiro Tsujikawa2013-06-231-2/+1
| | | | DownloadContext::getAttribute() returns a raw pointer.
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-48/+48
|
* Add changeGlobalOption, getGlobalOption, getGlobalOptions APITatsuhiro Tsujikawa2013-05-171-0/+2
|
* Add changeOption and DownloadHandle::getOption APITatsuhiro Tsujikawa2013-05-161-0/+5
| | | | | In aria2c.rst, define section label for "Input File" section so that it can be referenced from other document.
* Add removeDownload, pauseDownload and unpauseDownload API functionTatsuhiro Tsujikawa2013-05-011-0/+3
|
* Implement IndexedList::iteratorTatsuhiro Tsujikawa2013-03-031-3/+3
| | | | | It is dangerous to expose internal iterator to the outside, which is easily misused.
* Faster deletion of RequestGroup and DownloadResult listsTatsuhiro Tsujikawa2012-12-191-10/+12
|
* Made getMethodName() of RpcMethod subclass return const char*Tatsuhiro Tsujikawa2012-09-251-99/+66
|
* Added checkRequiredInteger() to check integer param is in valid range.Tatsuhiro Tsujikawa2012-02-261-4/+32
| | | | | Ensure that fileIndex in aria2.changeUri RPC method is greater than or equal to 1.
* Only accepts 32 bit integer values from int and i4 elements in XML-RPC.Tatsuhiro Tsujikawa2012-02-261-6/+6
| | | | | Fixed overflow in AbstractPaginationRpcMethod::getPaginationRange(). Fixes bug#3494165
* Use int or int32_t instead of size_t where suitableTatsuhiro Tsujikawa2011-12-091-7/+7
|
* Removed asString, asList, ... and use downcast<T> instead.Tatsuhiro Tsujikawa2011-09-261-1/+1
|
* Throw exception if parameter has wrong type in RPC method.Tatsuhiro Tsujikawa2011-09-251-17/+32
| | | | | | | Formally, depending on the method implementation, this kind of error is just ignored and parameter is skipped. Now aria2 responds error for these cases. The required parameter checking is also reworked along with this change.
* Added aria2.getGlobalStat RPC method.Tatsuhiro Tsujikawa2011-06-171-0/+12
| | | | | It returns overall download/upload speed and the number of active/stopped/waiting downloads.
* Renamed classes in abstract layer of RPC service from XmlRpc* to Rpc*.Tatsuhiro Tsujikawa2011-03-141-0/+586
Now JSON-RPC is available by default regardless of XML library. XML-RPC becomes available when XML library is available.