Commit Graph

3830 Commits (19b5b7e214a3d29e1579af4504ba5c90e1dc3e36)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 6b55f5d393 Do changes in 8aa1db6 in other places which include signal.h 2013-03-03 13:41:03 +09:00
Tatsuhiro Tsujikawa 7c66d1952a Merge branch 'mingw-signal' of https://github.com/nmaier/aria2 into nmaier-mingw-signal 2013-03-03 13:28:51 +09:00
Tatsuhiro Tsujikawa 122e5929c1 SessionSerializer: Remove check fp because it is always true 2013-03-03 13:20:54 +09:00
Tatsuhiro Tsujikawa f4469b79aa SessionSerializer crash when filename length is less than 3 2013-03-03 13:19:52 +09:00
Tatsuhiro Tsujikawa 910e40f128 Fix missing value in serialized pause option 2013-03-03 13:17:49 +09:00
Nils Maier 1596e83a83 Document -i/--save-session gzip behaviour 2013-03-02 15:48:26 +01:00
Nils Maier f2f8b14047 Support for gzipped -i and --save-session
Saved sessions may very large, as in hundreds and even thousands of
megabyte when dealing with large queues.
Add support to save and reload sessions to gzipped files, when libz is
available.

The session serializer will output gzipped contents when the file ends
with .gz, while the input file reader (UriListParser) will accept
whatever is thrown at it.
2013-03-02 15:48:26 +01:00
Nils Maier b0556a7519 Do not use a virtual varargs function
This stuff breaks in some compiler (configurations)
2013-03-02 15:48:26 +01:00
Nils Maier 8aa1db682b Check for sys/signal.h and/or signal.h
mingw-w64 does not actually have sys/signal.h, while OSX currently has a
broken signal.h
Better check the presence of both and use sys/signal.h if present, else
signal.h
2013-03-02 15:09:54 +01:00
Nils Maier 7f6a446750 Hygiene: Fix some clang warnings, mostly unused private members. 2013-03-01 13:17:52 +01:00
Nils Maier 62f842579d Fix bustage on OSX with ./configure CC=cc CXX=c++ (clang) 2013-03-01 12:43:40 +01:00
Tatsuhiro Tsujikawa e4bd910d43 Update doc 2013-02-26 23:43:52 +09:00
Tatsuhiro Tsujikawa 704eebfac6 Use std::remove_if 2013-02-26 23:43:20 +09:00
Tatsuhiro Tsujikawa 7f805df4f0 Use std::remove_if 2013-02-26 22:59:28 +09:00
Tatsuhiro Tsujikawa 4ac4fdf1e9 Use same port number for IPv4 and IPv6 DHT 2013-02-26 22:44:19 +09:00
Tatsuhiro Tsujikawa 33037982dc Improve log message for server socket 2013-02-26 22:44:15 +09:00
Tatsuhiro Tsujikawa dfac717dbf Merge branch 'fix-initial-rq-leak' of https://github.com/nmaier/aria2 into nmaier-fix-initial-rq-leak 2013-02-26 21:56:37 +09:00
Nils Maier d1301b8697 Do not reference RequestGroups longer than necessary
There is an initial vector of SharedHandle<RequestGroup> to seed the
DownloadEngine. This vector was however kept alive via main.cc ->
MultiUrlRequestInfo up until the program exits, hence effetively leaking
all initial RequestGroups and associated object instances.

Hence, as a matter of dirty-workaround, drop the contents of that initial
vector as soon as it is not required any longer.
2013-02-26 10:49:24 +01:00
Nils Maier 11b9f3ebe2 Detect console with on Windows
Signed-off-by: Nils Maier <maierman@web.de>
2013-02-25 20:47:43 +01:00
Tatsuhiro Tsujikawa a49397ed19 Fix infinite loop when size of downloadResults_ exceeds maxDownloadResult_ 2013-02-25 21:42:54 +09:00
Tatsuhiro Tsujikawa 2aeb7137d0 Log host and port when unexpected or unknown UDP tracker reply is received 2013-02-25 01:14:27 +09:00
Tatsuhiro Tsujikawa d68741697a Support UDP tracker
It shares UDP listening port with IPv4 DHT. At the moment, in order to
enable UDP tracker support, enable IPv4 DHT.
2013-02-25 00:56:49 +09:00
Tatsuhiro Tsujikawa b782a56b1c Show correct end byte in error message when HTTP response range is not ok
Previously, unless HTTP pipelining is enabled, end byte in that
message is always 0. With this change, it shows correct end byte sent
to the HTTP server.
2013-02-23 15:37:35 +09:00
Tatsuhiro Tsujikawa 73f4db883c Update copyright year in version text 2013-02-21 01:39:08 +09:00
Tatsuhiro Tsujikawa 67fa274578 Add test when instance-length is 0 2013-02-21 00:42:37 +09:00
Tatsuhiro Tsujikawa 38fc5de154 doc: Specify static file explicitly 2013-02-19 23:34:28 +09:00
Tatsuhiro Tsujikawa e8491b989b Add Portuguese manual
This translation is based on aria2 version 1.15.2 manual.
Contributed by Gilberto dos Santos Alves
2013-02-19 23:22:22 +09:00
Tatsuhiro Tsujikawa 4095b2ec6b Update doc 2013-02-19 22:14:18 +09:00
Tatsuhiro Tsujikawa 7c2404db5e Set language=ru in ru/conf.py.in 2013-02-18 00:33:02 +09:00
Tatsuhiro Tsujikawa 68919a2412 Update doc css 2013-02-18 00:31:51 +09:00
Tatsuhiro Tsujikawa b3acf4d393 Rewrite cookie_helper::reverseDomainLevel() 2013-02-16 22:51:58 +09:00
Tatsuhiro Tsujikawa 61665d2c26 Set sa_mask when setting signal handler 2013-02-14 21:51:30 +09:00
Tatsuhiro Tsujikawa 8e3ae3b76c Use _exit() instead of exit() where appropriate 2013-02-14 01:01:06 +09:00
Tatsuhiro Tsujikawa 45a128a7e8 Add test for saving finished download with force-save option 2013-02-04 21:56:48 +09:00
Tatsuhiro Tsujikawa 3fc45edaa7 Fix bug that active downloads are not saved with --save-session-interval 2013-02-04 21:50:09 +09:00
Tatsuhiro Tsujikawa d1c88fbabf Bump up version number to 1.16.3 2013-02-03 19:29:03 +09:00
Tatsuhiro Tsujikawa b86da6b7b2 Update NEWS 2013-02-03 19:28:14 +09:00
Tatsuhiro Tsujikawa 98e7018599 Fix failure to set TCP_NODELAY on Windows
On Windows setting TCP_NODELAY after non-blocking connect fails
at least on Windows 7.
2013-02-03 19:09:06 +09:00
Tatsuhiro Tsujikawa 1c9cfccac4 Fix invalid iterator handling when deleting RequestGroup 2013-02-03 18:18:28 +09:00
Tatsuhiro Tsujikawa 0a4b21e33b makerelease: Provide ANDROID_HOME from outside 2013-02-03 00:19:50 +09:00
Tatsuhiro Tsujikawa 85cd65a664 Add debug log for aligned cache write 2013-02-02 21:28:52 +09:00
Tatsuhiro Tsujikawa 13975f66a2 test: Add missing filelist2.txt to EXTRA_DIST 2013-02-02 21:22:18 +09:00
Tatsuhiro Tsujikawa b9ee9a1195 doc: Customize theme 2013-02-02 20:57:35 +09:00
Tatsuhiro Tsujikawa 561f0b3e29 Use std::deque instead of std::list in IndexedList
We choose faster iteration over rare slower deletion in the middle.
2013-02-01 00:03:47 +09:00
Tatsuhiro Tsujikawa 643e7222b0 Update NEWS 2013-01-29 22:35:03 +09:00
Tatsuhiro Tsujikawa 1639ca5b5b Update bash_completion 2013-01-29 22:22:15 +09:00
Tatsuhiro Tsujikawa a503481701 Bump up version number to 1.16.2 2013-01-29 21:39:41 +09:00
Tatsuhiro Tsujikawa de9697fc47 Fix compiler warning 2013-01-29 21:38:58 +09:00
Tatsuhiro Tsujikawa e583717144 Increase MAX_PEER_LIST_SIZE to 512
We definitely need some tests to determine this value.
2013-01-28 21:36:52 +09:00
ITriskTI f8cb9b67de Update and fixed some bugs 2013-01-27 21:12:55 +03:00