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  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								eb6a811279 
								
							
								 
							
						 
						
							
							
								
								Look for USERPROFILE and the combination of HOMEDRIVE and HOMEPATH to  
							
							 
							
							... 
							
							
							
							get user's home directory in MinGW32 build.
Usually HOME environment variable is defined in *nix like OSes, but
not in Windows. So in MinGW32 build, if HOME is not defined, we also
look for USERPROFILE and the combination of HOMEDRIVE and HOMEPATH. 
							
						 
						
							2011-02-12 18:38:13 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								22a6ec6a15 
								
							
								 
							
						 
						
							
							
								
								Fixed the bug that DownloadContext::basePath_ is not  
							
							 
							
							... 
							
							
							
							escaped. Percent-encode non UTF-8 strings in torrent file and Magnet
URI. 
							
						 
						
							2011-02-12 00:15:33 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								7f21099ee7 
								
							
								 
							
						 
						
							
							
								
								Documented that aria2 accepts ftp:// and https:// scheme in proxy URI.  
							
							 
							
							
							
						 
						
							2011-02-09 23:17:56 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								1a9d3b7711 
								
							
								 
							
						 
						
							
							
								
								Added Date, Expires and Cache-Control response header field to XML-RPC response headers.  
							
							 
							
							
							
						 
						
							2011-02-09 23:01:01 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								ffce1848ca 
								
							
								 
							
						 
						
							
							
								
								Don't retry peer lookup.  
							
							 
							
							... 
							
							
							
							We can handle shortage of peer by short interval. 
							
						 
						
							2011-02-08 23:39:44 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								aa4232ca8b 
								
							
								 
							
						 
						
							
							
								
								Use rp instead of res.  
							
							 
							
							
							
						 
						
							2011-02-08 23:14:13 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								4c2a9eb715 
								
							
								 
							
						 
						
							
							
								
								Documented --async-dns-server option in man page.  
							
							 
							
							
							
						 
						
							2011-02-08 23:13:22 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								297858280b 
								
							
								 
							
						 
						
							
							
								
								Moved PREF_ASYNC_DNS_SERVER to the next to PREF_ASYNC_DNS.  
							
							 
							
							
							
						 
						
							2011-02-08 23:08:44 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								f0682a98c0 
								
							
								 
							
						 
						
							
							
								
								Added --async-dns-server option.  
							
							 
							
							... 
							
							
							
							This option accepts comma separated list of DNS server address used in
asynchronous DNS resolver. Usually asynchronous DNS resolver reads DNS
server addresses from /etc/resolv.conf. When this option is used, it
uses DNS servers specified in this option instead of ones in
/etc/resolv.conf. You can specify both IPv4 and IPv6 address. This
option is useful when the system does not have /etc/resolv.conf and
user does not have the permission to create it. 
							
						 
						
							2011-02-08 23:05:40 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								cf546810e4 
								
							
								 
							
						 
						
							
							
								
								Don't call DownloadEngine::markBadIPAddress() when DNS query was timeout.  
							
							 
							
							
							
						 
						
							2011-02-08 22:46:22 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								af4e47329b 
								
							
								 
							
						 
						
							
							
								
								Call calculateStatistics() after global::wallclock.reset().  
							
							 
							
							... 
							
							
							
							Inside calculateStatistics(), global::wallclock is used and if
calculateStatistics() is called after waitData(), it may use quite old
global::wallclock value. 
							
						 
						
							2011-02-08 00:16:29 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								3574f6bd7d 
								
							
								 
							
						 
						
							
							
								
								Accept https:// and ftp:// in proxy options and environment variables.  
							
							 
							
							
							
						 
						
							2011-02-07 22:59:04 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								954d595ee8 
								
							
								 
							
						 
						
							
							
								
								Code cleanup  
							
							 
							
							
							
						 
						
							2011-02-07 21:43:38 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								97fde60f3e 
								
							
								 
							
						 
						
							
							
								
								Added upper limit of the number of peer added by each addPeer(vector) call.  
							
							 
							
							
							
						 
						
							2011-02-07 21:38:51 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								656f8cf901 
								
							
								 
							
						 
						
							
							
								
								Don't calculate maxPeerListSize based on --bt-max-peers.  
							
							 
							
							... 
							
							
							
							Always use MAX_PEER_LIST_SIZE by default. 
							
						 
						
							2011-02-07 00:22:06 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								6c44f6b8eb 
								
							
								 
							
						 
						
							
							
								
								Removed unused member variable peers_.  
							
							 
							
							
							
						 
						
							2011-02-07 00:19:07 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								8eb1de9ef8 
								
							
								 
							
						 
						
							
							
								
								Get peers from DHT more frequently when the size of peer list is 0.  
							
							 
							
							
							
						 
						
							2011-02-07 00:17:44 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								2666bc8170 
								
							
								 
							
						 
						
							
							
								
								Renamed MessageDigestHelper as message_digest_helper  
							
							 
							
							... 
							
							
							
							Static member variables in MessageDigestHelper class are now functions
under message_digest namespace. 
							
						 
						
							2011-02-05 23:38:51 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								38202a5565 
								
							
								 
							
						 
						
							
							
								
								Renamed MetalinkHelper as metalink_helper.  
							
							 
							
							... 
							
							
							
							Static member functions in MetalinkHelper class is now functions under
metalink namespace. 
							
						 
						
							2011-02-05 23:21:06 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								2373c62205 
								
							
								 
							
						 
						
							
							
								
								Moved some static member variables which are not exposed as public to unnamed namespace.  
							
							 
							
							
							
						 
						
							2011-02-05 23:08:03 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								8902c2a839 
								
							
								 
							
						 
						
							
							
								
								Rewritten DefaultPeerStorage::addPeer(const std::vector<SharedHandle<Peer> >&)  
							
							 
							
							
							
						 
						
							2011-01-31 23:00:05 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								27974108f0 
								
							
								 
							
						 
						
							
							
								
								Fixed overflow in the calculation of progress percentage for file  
							
							 
							
							... 
							
							
							
							allocation and hash check when off_t is 32bit. 
							
						 
						
							2011-01-30 23:28:10 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								be1e168082 
								
							
								 
							
						 
						
							
							
								
								Updated usage of --conditional-get option.  
							
							 
							
							
							
						 
						
							2011-01-29 23:24:28 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								1b9329c67c 
								
							
								 
							
						 
						
							
							
								
								Accept HTTP 304 reply as success when If-None-Match request-header  
							
							 
							
							... 
							
							
							
							field is specified using --header option.
When --conditional-get is used, --allow-overwrite is now required to
overwrite existing file. 
							
						 
						
							2011-01-29 23:19:10 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								7a6ec762ef 
								
							
								 
							
						 
						
							
							
								
								Added cast to time_t.  
							
							 
							
							
							
						 
						
							2011-01-29 21:36:00 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								2ba2511dd5 
								
							
								 
							
						 
						
							
							
								
								Check presence of ar.  
							
							 
							
							... 
							
							
							
							This change allows configure to find appropriate ar at cross compile. 
							
						 
						
							2011-01-29 21:33:57 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								b49a558c4e 
								
							
								 
							
						 
						
							
							
								
								Fixed compile error on 32bit systems.  
							
							 
							
							
							
						 
						
							2011-01-27 21:21:37 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								43dd3861a5 
								
							
								 
							
						 
						
							
							
								
								Updated copyright year.  
							
							 
							
							
							
						 
						
							2011-01-20 00:59:06 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								fe40876546 
								
							
								 
							
						 
						
							
							
								
								Added aria2.removeDownloadResult XML-RPC method.  
							
							 
							
							... 
							
							
							
							The method signature is aria2.removeDownloadResult(gid).  This method
removes completed/error/removed download denoted by gid from
memory. This method returns "OK" for success. 
							
						 
						
							2011-01-20 00:56:34 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								1ea01e84b2 
								
							
								 
							
						 
						
							
							
								
								Use IP address of data connection to connect to the remote server in  
							
							 
							
							... 
							
							
							
							passive mode. 
							
						 
						
							2011-01-20 00:30:01 +09:00  
						
					 
				
					
						
							
							
								 
								Tatsuhiro Tsujikawa
							
						 
						
							 
							
							
							
								
							
								1d71626bea 
								
							
								 
							
						 
						
							
							
								
								Supported multi-line HTTP header field value.  
							
							 
							
							... 
							
							
							
							See http://tools.ietf.org/html/rfc2616#section-4.2  
							
						 
						
							2011-01-20 00:25:01 +09:00