Tatsuhiro Tsujikawa
93b1a2b0b0
Fixed typo
2011-03-20 14:39:36 +09:00
Tatsuhiro Tsujikawa
7679302965
Updated Russian translation. Thanks to all translators.
2011-03-19 00:00:42 +09:00
Tatsuhiro Tsujikawa
46ac6c5df5
Updated po templates.
2011-03-18 23:58:43 +09:00
Tatsuhiro Tsujikawa
d8585fd6eb
Updated doc
2011-03-18 22:45:25 +09:00
Tatsuhiro Tsujikawa
c1c3f2d77a
Return text/javascript as Content-Type if jsoncallback is given.
2011-03-18 22:43:01 +09:00
Tatsuhiro Tsujikawa
e0b42f2795
Updated doc for 1.11.0 release
2011-03-18 21:00:00 +09:00
Tatsuhiro Tsujikawa
3d2fa5954e
Rewritten SocketBuffer::BufEntry and SocketBuffer::send()
2011-03-18 17:20:37 +09:00
Tatsuhiro Tsujikawa
18d51a3e20
Removed logging RPC request.
2011-03-17 16:09:22 +09:00
Tatsuhiro Tsujikawa
46eced8ada
Fixed compile error and unit test error without SSL library.
2011-03-17 16:08:39 +09:00
Tatsuhiro Tsujikawa
821dbbff1f
Fixed compile error with --disable-bittorrent
2011-03-17 16:02:35 +09:00
Tatsuhiro Tsujikawa
6e818a06dc
Replaced gid_t with a2_gid_t cause gid_t is commonly used as group ID.
2011-03-17 12:17:46 +09:00
Tatsuhiro Tsujikawa
09c120da9b
Updated gettext to 0.18
2011-03-17 11:28:37 +09:00
Tatsuhiro Tsujikawa
e00b5dcf1b
Bump up version number to 1.11.0
2011-03-17 10:55:36 +09:00
Tatsuhiro Tsujikawa
fbbd7d993e
Updated bash_completion
2011-03-17 01:29:49 +09:00
Tatsuhiro Tsujikawa
b9a37f48cf
Updated doc.
2011-03-16 16:56:33 +09:00
Tatsuhiro Tsujikawa
73572712d8
Use .meta4 instead of .metalink as suffix when saving metalink XML
...
uploaded by RPC.
2011-03-16 16:55:38 +09:00
Tatsuhiro Tsujikawa
4f3542a931
Documented error code 30.
2011-03-16 13:32:28 +09:00
Tatsuhiro Tsujikawa
5f58e5ac33
Updated README
2011-03-16 13:30:09 +09:00
Tatsuhiro Tsujikawa
69316358cf
Renamed XML-RPC Interface section as RPC Interface. Documented
...
JSON-RPC.
2011-03-16 12:56:20 +09:00
Tatsuhiro Tsujikawa
046bee87a2
Code cleanup
2011-03-16 12:56:03 +09:00
Tatsuhiro Tsujikawa
15730aa560
Fixed the bug that JSONP callback function name is not encoded
...
properly.
2011-03-16 12:55:12 +09:00
Tatsuhiro Tsujikawa
dfdf98d2f7
Fixed segmentation fault when JSON-RPC request cannot be parsed or is
...
invalid.
2011-03-16 12:53:40 +09:00
Tatsuhiro Tsujikawa
f999c2bcae
Added test for JSON-RPC GET request without params parameter.
2011-03-16 12:51:43 +09:00
Tatsuhiro Tsujikawa
bb9ad97c5c
Allow empty params in GET request.
2011-03-16 12:50:39 +09:00
Tatsuhiro Tsujikawa
da0ab67324
Delegate jsonRpc_ to child method in system.multicall.
2011-03-16 00:29:39 +09:00
Tatsuhiro Tsujikawa
e874a5c56a
Updated man page according to the changes in RPC related options.
2011-03-14 21:12:06 +09:00
Tatsuhiro Tsujikawa
3ddb68f340
Deprecated --enable-xml-rpc and --xml-rpc-* option. Introduced
...
--enable-rpc and --rpc-* option instead.
--enable-xml-rpc and --xml-rpc-* option can be used but warning
message will be shown. The help tag #xml-rpc was replaced with #rpc.
2011-03-14 21:02:25 +09:00
Tatsuhiro Tsujikawa
f0cfbb21c1
Renamed classes in abstract layer of RPC service from XmlRpc* to Rpc*.
...
Now JSON-RPC is available by default regardless of XML library.
XML-RPC becomes available when XML library is available.
2011-03-14 16:38:54 +09:00
Tatsuhiro Tsujikawa
5a1fb3875f
Added XmlRpcResponseTest. Set null as id if id is not sent.
...
Removed unused XmlRpcResponse::toJsonBatch(). Set default value false
to gzip argument of xmlrpc::toJsonBatch().
2011-03-14 15:31:26 +09:00
Tatsuhiro Tsujikawa
bf01bb84b6
Added JSONP support. Callback query parameter is "jsoncallback".
2011-03-14 00:57:05 +09:00
Tatsuhiro Tsujikawa
feb4e2e53a
Hide operator<<(char c);
2011-03-14 00:54:14 +09:00
Tatsuhiro Tsujikawa
b46e7a953b
encodeJsonAll: Fixed stream error when gzip=true.
2011-03-14 00:53:16 +09:00
Tatsuhiro Tsujikawa
8a9fa9a692
Added JSON-RPC 2.0 batch call.
2011-03-10 00:56:37 +09:00
Tatsuhiro Tsujikawa
bc7ac15d7e
Fixed error message in json::decode()
2011-03-10 00:54:07 +09:00
Tatsuhiro Tsujikawa
7338a25035
Added initial JSON-RPC support.
...
JSON-RPC is enabled using --enable-xml-rpc. We are implementing
JSON-RPC based on JSON-RPC 2.0 draft spec.
2011-03-09 23:07:27 +09:00
Tatsuhiro Tsujikawa
d541b350d2
Set DEFAULT_REFRESH_INTERVAL 1000 to update console readout more
...
smoothly.
2011-02-26 23:16:48 +09:00
Tatsuhiro Tsujikawa
59f251ba14
Fixed rounding error in DownloadEngine::run().
...
This fixes the bug that executeCommand() with Command::STATUS_ALL is
not called in every interval correctly because of rounding error in
timer.
2011-02-25 22:58:51 +09:00
Tatsuhiro Tsujikawa
f8f651e8db
Refresh buckets at DHT initialization without checking serialized
...
time.
Checking serialized time does not work if you stop aria2 as soon as it
started DHT. The serialized time in dht.dat will be updated, but
buckets are not updated and still old. When you restart aria2 again,
it does not refresh buckets because serialized time is recent.
2011-02-25 22:39:14 +09:00
Tatsuhiro Tsujikawa
655b59e350
Retry get_peers if connection is low.
...
To eliminate unresponsive node, we have to contact them 5
times. Therefore the maximum number of retry is 10. It is very
annoying when it takes some time to get first peer, so retry quickly
(5 seconds delay).
2011-02-25 00:34:50 +09:00
Tatsuhiro Tsujikawa
f16aef227d
Fixed compile error with c-ares 1.7.0
2011-02-19 01:57:16 +09:00
Tatsuhiro Tsujikawa
b21cce0002
Use pkg-config for libcares. Dropped c-ares pre-1.5 support.
2011-02-18 23:36:39 +09:00
Tatsuhiro Tsujikawa
bf74f8f009
Renamed libz.m4 as zlib.m4
2011-02-18 22:44:53 +09:00
Tatsuhiro Tsujikawa
395212f47f
Replaced HAVE_LIBSSL with HAVE_OPENSSL
2011-02-18 22:43:50 +09:00
Tatsuhiro Tsujikawa
7230fbd2f7
Replaced HAVE_LIBZ with HAVE_ZLIB
2011-02-18 22:34:38 +09:00
Tatsuhiro Tsujikawa
5b62fa9ab1
Use PKG_CONFIG_PATH along with PKG_CHECK_MODULES in openssl.m4 and libz.m4.
...
Replaced LIBZ_LIB and LIBZ_CPPFLAGS with ZLIB_LIB and ZLIB_CFLAGS
respectively.
2011-02-18 21:51:23 +09:00
Tatsuhiro Tsujikawa
3f125dce21
Use LIBS and CPPFLAGS instead of substituting them individually per
...
library.
2011-02-18 18:53:53 +09:00
Tatsuhiro Tsujikawa
d3d1293974
Check the availability of ares_set_servers and ares_addr_node.
2011-02-18 01:04:11 +09:00
Tatsuhiro Tsujikawa
8386013296
Updated doc about recent change for aria2.addTorrent and
...
aria2.addMetalink XML-RPC method.
2011-02-16 01:02:06 +09:00
Tatsuhiro Tsujikawa
1698b2c7b1
Save downloads added by aria2.addTorrent or aria2.addMetalink in
...
--save-session file.
Uploaded data are saved as file named hex string of sha1 hash of
uploaded data plus extension(".torrent" for torrent and ".metalink"
for metalink). For example,
0a3893293e27ac0490424c06de4d09242215f0a6.torrent. The directory where
these files are saved is specified by --dir option. These file paths
are written in --save-session file.
2011-02-16 00:44:23 +09:00
Tatsuhiro Tsujikawa
a21fb350a0
Fixed the bug that causes segmentation fault when unpause RequestGroup
...
which has resolved BtDependency.
2011-02-14 00:36:52 +09:00