Commit Graph

3350 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
6ea1b68db1 Added SocketBuffer::pushStrSwap 2011-11-05 17:28:48 +09:00
Tatsuhiro Tsujikawa
4dad3ded15 Use SocketBuffer::pushBytes instead of pushStr in MSEHandshake. 2011-11-05 17:03:38 +09:00
Tatsuhiro Tsujikawa
5e2a8b2d4c Fixed bug that some information such as port number is lost if
redirect URI contains only path component.
2011-11-05 13:16:45 +09:00
Tatsuhiro Tsujikawa
0b515d7204 Use uri::UriStruct in Request.h 2011-11-05 13:00:40 +09:00
Tatsuhiro Tsujikawa
7d68c40a77 Made decoderawstring return pair of iterators, not string. 2011-11-05 12:15:34 +09:00
Tatsuhiro Tsujikawa
d1d4903665 Rewritten bencode2::decode functions 2011-11-05 12:01:57 +09:00
Tatsuhiro Tsujikawa
d305432ec0 Code cleanup. Avoid std::string temporaries. 2011-11-05 01:26:09 +09:00
Tatsuhiro Tsujikawa
1d56c17225 Code cleanup. Avoid std::string temporaries. 2011-11-05 01:11:04 +09:00
Tatsuhiro Tsujikawa
150c1ab0c3 Code cleanup 2011-11-05 00:45:09 +09:00
Tatsuhiro Tsujikawa
5c88f61269 Added util::istartsWith() 2011-11-05 00:33:35 +09:00
Tatsuhiro Tsujikawa
79876af88f Removed util::endsWith(a, b). Added util::iendsWith() 2011-11-05 00:25:24 +09:00
Tatsuhiro Tsujikawa
601ec0f44a Removed util::startsWith(a, b) 2011-11-04 23:43:32 +09:00
Tatsuhiro Tsujikawa
f84d2253b2 Rewritten util::split and added its iterator version.
Iterator based functions util::startsWith, util::endsWith,
util::streq, util::strieq were added.
2011-11-04 22:27:58 +09:00
Tatsuhiro Tsujikawa
6267676e8b util::divide now takes iterators as arguments. 2011-11-03 23:09:03 +09:00
Tatsuhiro Tsujikawa
118626afc4 util::percentDecode now takes iterators as arguments. 2011-11-03 19:27:29 +09:00
Tatsuhiro Tsujikawa
0e55fdf594 Code cleanup 2011-11-03 18:59:56 +09:00
Tatsuhiro Tsujikawa
84bc2c7ae8 Use std::string::append instead of appending std::string() temporaries. 2011-11-03 18:56:47 +09:00
Tatsuhiro Tsujikawa
9bb914b76e Changed parse*Int functions so that it accepts iterators. 2011-11-03 18:51:31 +09:00
Tatsuhiro Tsujikawa
6ef91d60b3 Rewritten util::stripIter(), which now returns pair of iterator. 2011-11-03 16:19:21 +09:00
Tatsuhiro Tsujikawa
e8d4deecad Rewritten HttpHeader::fill() 2011-11-03 00:31:27 +09:00
Tatsuhiro Tsujikawa
14eee59ac4 Updated doc for aria2.changeOption and aria2.changeGlobalOption. 2011-11-02 21:42:54 +09:00
Tatsuhiro Tsujikawa
d9833743d9 Use merged option values. 2011-11-02 00:32:58 +09:00
Tatsuhiro Tsujikawa
1a418b518c --index-out option is now available in aria2.changeOption.
--index-out option is now available in aria2.changeOption if a
download is waiting/paused in queue.
2011-11-02 00:27:31 +09:00
Tatsuhiro Tsujikawa
f884ad8339 Rewritten parseIndexPath. Renamed createIndexPathMap as createIndexPaths. 2011-11-02 00:18:39 +09:00
Tatsuhiro Tsujikawa
701a2d6ff8 --dir and --out option is now available in aria2.changeOption.
--dir and --out option is now available in aria2.changeOption if a
download is waiting/paused in queue.
2011-11-02 00:01:25 +09:00
Tatsuhiro Tsujikawa
9a51cc356b Changed interface of BtRegistry.
BtRegistry now uses SharedHandle<BtObject> instead of BtObject.
2011-11-01 23:13:13 +09:00
Tatsuhiro Tsujikawa
a88a8b4ed1 Removed default value from deprecated --metalink-servers option. 2011-10-31 23:06:51 +09:00
Tatsuhiro Tsujikawa
22a3e44d36 SegList: Don't allow copying 2011-10-31 23:04:37 +09:00
Tatsuhiro Tsujikawa
57b37db8a1 --max-connection-per-server option is now available in aria2.changeOption.
--max-connection-per-server option is now available in
aria2.changeOption if a download is waiting/paused in queue.
2011-10-31 22:43:05 +09:00
Tatsuhiro Tsujikawa
9e2624a265 Apply PREF_MAX_CONNECTION_PER_SERVER to BitTorrent WEB Seeding hosts. 2011-10-31 22:05:56 +09:00
Tatsuhiro Tsujikawa
e2e711fba8 Reuse in-flight and pooled URIs when a download is paused. 2011-10-31 21:53:24 +09:00
Tatsuhiro Tsujikawa
4532881eb6 Code cleanup 2011-10-30 22:39:29 +09:00
Tatsuhiro Tsujikawa
84b19f154a Deprecated --metalink-server option. Use --split option instead. 2011-10-30 21:36:36 +09:00
Tatsuhiro Tsujikawa
fc7af71aa8 --split option is now available in aria2.changeOption.
--split option is now available in aria2.changeOption if a download is
waiting/paused in queue.
2011-10-30 19:23:27 +09:00
Tatsuhiro Tsujikawa
1d9e673a68 --select-file option is now available in aria2.changeOption
--select-file option is now available in aria2.changeOption if a
download is waiting/paused in queue.
2011-10-30 19:13:40 +09:00
Tatsuhiro Tsujikawa
4552bb8c21 Code cleanup 2011-10-30 15:11:22 +09:00
Tatsuhiro Tsujikawa
4a455b5afe Removed IntSequence and Sequence<T> 2011-10-30 15:08:44 +09:00
Tatsuhiro Tsujikawa
95586f594f Use SegList<int> instead of IntSequence in Metalink2RequestGroup. 2011-10-30 15:04:15 +09:00
Tatsuhiro Tsujikawa
a6ea8531e7 Code cleanup 2011-10-30 14:42:19 +09:00
Tatsuhiro Tsujikawa
4be395117d Use SegList<int> instead of IntSequence. 2011-10-30 14:25:36 +09:00
Tatsuhiro Tsujikawa
e9b86f2f43 Use SegList<int> instead of IntSequence in PeerListenCommand::bindPort() 2011-10-30 13:07:48 +09:00
Tatsuhiro Tsujikawa
d1667ea246 sgl.normalize() must be called before DownloadContext::setFileFilter() call.
sgl.normalize() was removed from DownloadContext::setFileFilter().
2011-10-30 00:51:06 +09:00
Tatsuhiro Tsujikawa
9b62a6e1fe Made max value of --select-file to 65535 2011-10-30 00:45:10 +09:00
Tatsuhiro Tsujikawa
e23e9a4a65 Code cleanup 2011-10-30 00:13:08 +09:00
Tatsuhiro Tsujikawa
5749647ae5 Use SegList<int> instead of IntSequence in DownloadContext::setFileFilter() 2011-10-29 23:33:48 +09:00
Tatsuhiro Tsujikawa
78c3bcd199 Added SegList<T>, replacement of Sequence<T> 2011-10-29 21:51:58 +09:00
Tatsuhiro Tsujikawa
695c65eb86 --lowest-speed-limit option is now available in aria2.changeOption.
--lowest-speed-limit option is now available in aria2.changeOption if
a download is waiting/paused in queue.
2011-10-29 19:11:22 +09:00
Tatsuhiro Tsujikawa
95c7cb9f3e --checksum option is now available in aria2.changeOption.
--checksum option is now available in aria2.changeOption if download
  is waiting/paused in queue.
2011-10-29 19:08:04 +09:00
Tatsuhiro Tsujikawa
7cba24e8b2 Options for -i list is now available in aria2.changeOption.
Options for -i list, except for PREF_CHECKSUM, PREF_DIR, PREF_DRY_RUN,
PREF_INDEX_OUT, PREF_LOWEST_SPEED_LIMIT,
PREF_MAX_CONNECTION_PER_SERVER, PREF_METALINK_BASE_URI, PREF_OUT,
PREF_PIECE_LENGTH, PREF_SELECT_FILE, PREF_SPLIT, PREF_PAUSE and
PREF_PARAMETERIZED_URI, are available in aria2.changeOption if the
download is waiting state, including paused downloads.
2011-10-29 18:50:52 +09:00
Tatsuhiro Tsujikawa
0ba6f8c352 Use same domain-match algorithm for no-proxy and netrc.
Now "example.org" does not domain-match ".example.org" in both
functions.
2011-10-29 00:16:46 +09:00