Tatsuhiro Tsujikawa
38d4574355
Remove forEachMemFunSH in favor of for loop with auto
2013-06-22 19:04:52 +09:00
Tatsuhiro Tsujikawa
05d85e2965
Remove auto_delete in favor of std::unique_ptr
2013-06-22 18:51:29 +09:00
Tatsuhiro Tsujikawa
e791eb9ca3
Cleanup a2functional.h
...
Remove mem_fun_sh in favor of std::mem_fun. Remove unused functions.
Use std::mem_fn instead of mem_fun_sh
2013-06-22 17:53:39 +09:00
Tatsuhiro Tsujikawa
50dcd6394c
Use std::unique_ptr instead of std::shared_ptr
2013-06-22 15:49:41 +09:00
Tatsuhiro Tsujikawa
c330ac901d
Fix mingw32 compile error
2013-06-22 01:23:08 +09:00
Tatsuhiro Tsujikawa
07d270c87e
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
2013-06-22 01:10:38 +09:00
Tatsuhiro Tsujikawa
126a4bde61
Rewrite URI path component normalization
2013-06-19 00:15:37 +09:00
Tatsuhiro Tsujikawa
f022444d81
Join URI on redirect
2013-06-18 00:15:23 +09:00
Tatsuhiro Tsujikawa
4a106e7fcf
Send HAVE message to the peer which the piece is downloaded from
...
Historically, aria2 did not send HAVE message to the peer which the
piece is coming from, thinking it is obvious that the peer knows we
have the piece. But it is not obvious if one piece is download from
more than 1 peers (e.g., end game mode). So it is better to send HAVE
to all peers connected.
2013-06-13 21:42:33 +09:00
Tatsuhiro Tsujikawa
e3506b04fb
Revert 9eea959
only the parts which affect src/BtPieceMessage.cc
...
This is because we are not sure that peer has a piece just sending off
its block. It should be notified by the peer.
2013-06-13 21:34:08 +09:00
Tatsuhiro Tsujikawa
9eea959455
Improve peer bitfield and piece stat update
...
On HAVE message reception and PIECE message transmission, update peer
bitfield and piece stat only if current peer bitfield indicates it
does not have the piece.
2013-06-12 23:21:18 +09:00
Tatsuhiro Tsujikawa
4ff6a9f1d4
Do the same doc improvements to --follow-metalink
2013-06-12 21:37:30 +09:00
gt
75d3e6f4dd
Improvements to --follow-torrent=false documentation.
2013-06-11 23:49:09 +05:30
Tatsuhiro Tsujikawa
81e6b68443
Pass A2Gid by value, since it is uint64_t
2013-06-12 00:09:42 +09:00
Tatsuhiro Tsujikawa
f4085b310f
Update doc
2013-06-10 22:03:24 +09:00
Nils Maier
3b32dcb9f1
SessionSerializer: Truly unique URIs
...
Before, only spent uris where sanitized not to be contained within
remaining uris. Change this so that each uri in the
union(remaining,spent) get saved once at most.
The order of the uris will won't be changed, with remaining uris going
first followed by spent uris.
Also avoid copying the uri std::strings around during dupe checking,
usually resulting in better performance regarding CPU and space.
2013-06-10 00:58:28 +02:00
Tatsuhiro Tsujikawa
ca7c63aa7e
Update doc
2013-06-09 12:59:54 +09:00
Tatsuhiro Tsujikawa
e8b27b7017
libaria2.rst: Fix typo
2013-05-28 23:45:29 +09:00
Tatsuhiro Tsujikawa
232d31afaf
Add test for recent changes in SessionSerializer
2013-05-28 22:59:54 +09:00
Tatsuhiro Tsujikawa
d444a6cc9e
Make getOption RPC method return option for stopped downloads
2013-05-28 22:55:09 +09:00
Tatsuhiro Tsujikawa
fde376efbc
SessionSerializer: Save spent URIs as well as remaining ones
2013-05-28 21:44:17 +09:00
Tatsuhiro Tsujikawa
7669c72d03
Add unittest for DownloadResultDH
2013-05-27 22:04:44 +09:00
Tatsuhiro Tsujikawa
e4bf9b9cc5
Implement DownloadResultDH::getOption()/getOptions()
2013-05-27 21:45:33 +09:00
Tatsuhiro Tsujikawa
dc8ed34cb0
Update pre compiled build README
2013-05-26 16:17:12 +09:00
Tatsuhiro Tsujikawa
3616b75e8a
Fix redeclaration warning on opensolaris
2013-05-26 16:15:57 +09:00
Tatsuhiro Tsujikawa
91e0fdbc24
Remove clean-local not to remove generated man pages with `make clean`
...
Because we don't require sphinx-doc to build distributed archive, the
man pages are generated when making distribution. And We want to keep
the generated man pages with `make clean` there.
2013-05-26 01:14:00 +09:00
Tatsuhiro Tsujikawa
ce9eec5cb2
Include winsock2.h before windows.h
2013-05-25 23:28:28 +09:00
Tatsuhiro Tsujikawa
e760b3bd6e
Fix compiler warning with openssl
2013-05-25 23:27:56 +09:00
Tatsuhiro Tsujikawa
84769bce57
Fix compile error without message digest support
2013-05-25 22:38:57 +09:00
Tatsuhiro Tsujikawa
bc3b162569
Remove open_ member from BufferedFile and GZipFile
...
Just checking fp_ is sufficient.
2013-05-23 23:28:08 +09:00
Tatsuhiro Tsujikawa
b0799b6e46
Introduce IOFile abstract class to refactor BufferedFile and GZipFile
...
IOFile provides the same interface of old BufferedFile. It provides
extension points as pure virtual functions. Those functions are
implemented by 2 concrete subclasses: BufferedFile and GZipFile.
2013-05-23 23:12:32 +09:00
Tatsuhiro Tsujikawa
6c0fa43fa5
Update doc
2013-05-23 21:18:54 +09:00
Tatsuhiro Tsujikawa
db1106101d
Fix compile error without bittorrent support
2013-05-23 00:46:08 +09:00
Tatsuhiro Tsujikawa
b9436e4d12
Fix uninitialized values
2013-05-23 00:45:50 +09:00
Tatsuhiro Tsujikawa
b7a3976456
Fix position of parenthesis
2013-05-23 00:43:37 +09:00
Tatsuhiro Tsujikawa
42d3408b50
Add libaria2 tutorial
2013-05-21 23:53:21 +09:00
Nils Maier
e25c0955c5
Fix invalid reference return in IndexedListIterator
2013-05-19 18:02:44 +02:00
ITriskTI
8d2191e488
Update aria2c.rst
2013-05-18 15:45:51 +03:00
Tatsuhiro Tsujikawa
2ed68f7ea3
Don't install aria2.h when libaria2 is disabled
2013-05-18 19:36:25 +09:00
Tatsuhiro Tsujikawa
3aa63baa8c
Update NEWS for 1.17.1 release
2013-05-18 19:27:49 +09:00
Tatsuhiro Tsujikawa
798dd406f2
Match ru and pt doc style to en version
2013-05-18 19:06:15 +09:00
Tatsuhiro Tsujikawa
aca6b0b68c
Update doc style
2013-05-18 19:01:49 +09:00
Tatsuhiro Tsujikawa
61a830c905
Bump up version 1.17.1
2013-05-18 19:01:40 +09:00
Tatsuhiro Tsujikawa
bb194f6c6b
Add missing docs to EXTRA_DIST
2013-05-18 17:14:24 +09:00
Tatsuhiro Tsujikawa
93db904e48
Add reference marker to EXIT STATUS section
2013-05-18 16:37:58 +09:00
Tatsuhiro Tsujikawa
8b7bac60ec
Update libaria2.rst
2013-05-18 16:35:50 +09:00
Tatsuhiro Tsujikawa
8e347a69cc
Add doc about libaria2 in README.rst
2013-05-18 16:32:24 +09:00
Tatsuhiro Tsujikawa
0ed4fec8a8
Update libaria2.rst
2013-05-18 16:27:13 +09:00
Tatsuhiro Tsujikawa
b095292afb
Add examples directory to distribution
2013-05-18 16:26:37 +09:00
Tatsuhiro Tsujikawa
eeab47cca2
Update doc
2013-05-18 16:26:24 +09:00