Commit Graph

3327 Commits (72e76b48541da9085b2b599b9bf68858d9e84d8b)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 4747d003f7 Added test for inetNtop() 2011-10-18 22:57:59 +09:00
Tatsuhiro Tsujikawa 4f0a45abe2 Made toXml and toJson non-member function. 2011-10-18 00:55:58 +09:00
Tatsuhiro Tsujikawa e700d2bb1f Made LpdMessage struct 2011-10-18 00:47:14 +09:00
Tatsuhiro Tsujikawa fc4d38d236 Rewritten HttpProxyOptionHandler using uri::parse().
Removed test case where username is empty and resulted URI has empty
username in URI.
2011-10-18 00:40:43 +09:00
Tatsuhiro Tsujikawa 065fb3a6b8 HttpProxyOptionHandler: Enclose hostname with square brackets if
hostname is IPv6 numeric address.
2011-10-15 23:10:00 +09:00
Tatsuhiro Tsujikawa 2d6e087f58 Use /dev/urandom in generateRandomData() if available. 2011-10-13 23:12:05 +09:00
Tatsuhiro Tsujikawa dbb08c08ed Simplified IteratableChecksumValidator 2011-10-13 22:07:22 +09:00
Tatsuhiro Tsujikawa ba87268d1c Simplified IteratableChunkChecksumValidator 2011-10-13 22:05:18 +09:00
Tatsuhiro Tsujikawa 2f59ce0048 Renamed DownloadResult::bitfieldStr to bitfield and changed its
content from hex string to raw byte string.
2011-10-13 21:57:33 +09:00
Tatsuhiro Tsujikawa 6404f119e1 Renamed DownloadResult::infoHashStr to infoHash and changed its
contents from hex digest to raw byte string.
2011-10-13 21:52:08 +09:00
Tatsuhiro Tsujikawa 310e58bc62 Stored hash value as raw byte string, instead of hex digest. 2011-10-13 21:40:07 +09:00
Tatsuhiro Tsujikawa c2eb9d791a Edited NEWS 2011-10-10 12:23:25 +09:00
Tatsuhiro Tsujikawa 151a3b2551 Updated Russian, Greek and Brazilian Portuguese translation. Thanks to
all translators.
2011-10-09 21:25:47 +09:00
Tatsuhiro Tsujikawa 0fc9330748 Updated for 1.13.0 release. 2011-10-09 21:15:12 +09:00
Tatsuhiro Tsujikawa d83f42ef36 s/STD_INPUT_HANDLE/STD_OUTPUT_HANDLE/ 2011-10-05 22:52:03 +09:00
Tatsuhiro Tsujikawa f66c46e5c9 Updated Russian man page.
Thanks to ITriskTI for translation.
2011-10-02 16:16:55 +09:00
Tatsuhiro Tsujikawa 160edc857d Updated po templates 2011-10-02 16:15:31 +09:00
Tatsuhiro Tsujikawa 8938cef9b3 Made several messages translatable 2011-10-02 16:14:03 +09:00
Tatsuhiro Tsujikawa 6c49dfc379 Updated bash_completion 2011-10-01 23:36:07 +09:00
Tatsuhiro Tsujikawa a077ddd111 Fixed compile error with --without-libxml2 --without-libexpat 2011-09-28 23:41:22 +09:00
Tatsuhiro Tsujikawa 5ce9af94ce Check libgcrypt version is greater or equal to required version.
This will fixes Debian bug#642989.
2011-09-28 23:40:34 +09:00
Tatsuhiro Tsujikawa 9fb6edd60f Added --piece-length option to aria2rpc 2011-09-27 22:28:21 +09:00
Tatsuhiro Tsujikawa 303cffec8d Added getServers and forceRemove method to aria2rpc 2011-09-27 22:25:47 +09:00
Tatsuhiro Tsujikawa 7e7aeac3ff Added --piece-length option.
This option sets a piece length for HTTP/FTP downloads. This is the
boundary when aria2 splits a file. All splits occur at multiple of
this length. This option will be ignored in BitTorrent downloads.  It
will be also ignored if Metalink file contains piece hashes.
2011-09-27 21:48:41 +09:00
Tatsuhiro Tsujikawa 05104ba177 Removed asString, asList, ... and use downcast<T> instead. 2011-09-26 21:45:45 +09:00
Tatsuhiro Tsujikawa 374955da0d Throw exception if parameter has wrong type in RPC method.
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.
2011-09-25 23:36:00 +09:00
Tatsuhiro Tsujikawa fee9b95db3 Don't check readability of BitTorrent TCP socket.
Don't check readability of BitTorrent TCP socket to avoid flooding.
2011-09-11 00:54:33 +09:00
Tatsuhiro Tsujikawa 79c59dcbf4 Cleanup log message for binding server socket.
Cleaned up log message for binding server socket.  After binding
BitTorrent TCP port, add the socket to DownloadEngine to check
readability. This was missing for long time.
2011-09-11 00:13:09 +09:00
Tatsuhiro Tsujikawa b775b19366 Check socket is null or not before calling (add|delete)SocketForReadCheck. 2011-09-11 00:12:18 +09:00
Tatsuhiro Tsujikawa c408dbba72 Recognize tab as white space before option in -i list. 2011-08-28 00:40:23 +09:00
Tatsuhiro Tsujikawa a743bef220 Fixed output file path of tests. 2011-08-25 00:26:36 +09:00
Tatsuhiro Tsujikawa 72369c20c6 Updated bash_completion 2011-08-25 00:09:22 +09:00
Tatsuhiro Tsujikawa f25c89b53d Added usage of --stream-piece-selector=geom option. 2011-08-25 00:04:04 +09:00
Tatsuhiro Tsujikawa c7ac147287 Added PieceStorage::onDownloadIncomplete() virtual function.
In DefaultPieceStorage::onDownloadIncomplete(), we call
StreamPieceSelector::onBitfieldInit().
Added GeomStreamPieceSelectorTest.
2011-08-24 23:16:06 +09:00
Tatsuhiro Tsujikawa b94bf3355b getGeomMissingUnusedIndex: use index if isBitSet() is false.
In getGeomMissingUnusedIndex(), use index if isBitSet() is false
instead of finding isUseBitSet() == true and cancel.  Added doc for
getGeomMissingUnusedIndex(). Renamed confusing names in bitfield.h.
2011-08-24 22:59:00 +09:00
Tatsuhiro Tsujikawa a081f651a1 GeomStreamPieceSelector: Made base changeable and added offsetIndex
parameter.
2011-08-24 21:56:55 +09:00
Tatsuhiro Tsujikawa 7318c361bc Added geom parameter to --stream-piece-selector option. 2011-08-24 21:56:54 +09:00
Tatsuhiro Tsujikawa 201af99501 Added GeomStreamPieceSelector. 2011-08-24 21:56:54 +09:00
Tatsuhiro Tsujikawa 0f72cbab8a JsonTest: Added test case for decoding escaped chars 2011-08-24 21:55:54 +09:00
Tatsuhiro Tsujikawa 846b9b9283 Detect \b as \f as valid UTF-8 chars. 2011-08-24 21:55:32 +09:00
Tatsuhiro Tsujikawa 09ce8960fd Added completedLength response key in aria2.getFiles RPC method. 2011-08-23 18:47:27 +09:00
Tatsuhiro Tsujikawa 4a0ac702ab Added usage example for --checksum option. 2011-08-23 18:02:58 +09:00
Tatsuhiro Tsujikawa 91220f20ca Added #checksum help tag. 2011-08-23 17:59:38 +09:00
Tatsuhiro Tsujikawa 8346b71593 Added --checksum option to aria2rpc 2011-08-23 17:55:39 +09:00
Tatsuhiro Tsujikawa b7b5fac13c Updated usage of -V option. 2011-08-23 17:55:22 +09:00
Tatsuhiro Tsujikawa a1aa9da364 Documented --checksum option in man page. 2011-08-23 17:29:28 +09:00
Tatsuhiro Tsujikawa 401a217369 Added --checksum option.
Added --checksum=TYPE=DIGEST option. This option sets checksum. TYPE
is hash type. The supported hash type is listed in "Hash Algorithms"
in "aria2c -v". DIGEST is hex digest.  For example, setting sha-1
digest looks like this: sha-1=0192ba11326fe2298c8cb4de616f4d4140213838
This option applies only to HTTP(S)/FTP downloads.
2011-08-23 17:25:15 +09:00
Tatsuhiro Tsujikawa 8ec6cd1c44 Removed redundant MessageDigest::supports() call.
MessageDigest::supports() will be called from
MessageDigest::isValidHash() later in the function.
2011-08-23 17:23:46 +09:00
Tatsuhiro Tsujikawa 73f049bf9a Added --hash-check-only option to aria2rpc 2011-08-22 23:39:51 +09:00
Tatsuhiro Tsujikawa 461d49d2d9 Documented --hash-check-only option in man page. 2011-08-22 23:37:37 +09:00