Tatsuhiro Tsujikawa
c1a0b33515
Add constexpr if possible
2017-01-09 17:37:40 +09:00
Tatsuhiro Tsujikawa
6abf2388cc
Merge pull request #823 from aria2/fix-getrandom-assertion-failure
...
Fix assertion failure in SimpleRandomizer::getRandomBytes
2017-01-07 16:35:46 +09:00
Tatsuhiro Tsujikawa
e2dc0902bb
Fix assertion failure in SimpleRandomizer::getRandomBytes
...
errno might not be initialized to 0, and we may get both rv == -1 and
errno != ENOSYS. This leads to assertion failure. Since
getrandom_linux always returns -1 on failure, checking errno is
useless in this function.
2017-01-06 22:22:14 +09:00
Tatsuhiro Tsujikawa
5d2742da15
Merge pull request #821 from ITriskTI/patch-1
...
Update aria2c.rst
2017-01-01 10:04:05 +09:00
ITriskTI
12798e778e
Update aria2c.rst
2016-12-31 18:50:16 +03:00
Tatsuhiro Tsujikawa
b5d64230ba
Cast to unsigned char before passing it as uint32_t
2016-12-31 14:28:11 +09:00
Tatsuhiro Tsujikawa
b9e51e9b15
Merge branch 'Jimmy-Z-master'
2016-12-31 14:17:37 +09:00
Tatsuhiro Tsujikawa
2efc5a9288
Document --content-disposition-default-utf8 opiton
2016-12-31 14:11:12 +09:00
JimmyZ
da730478af
new option content-disposition-default-utf8
2016-12-31 14:11:12 +09:00
Tatsuhiro Tsujikawa
f542f84b83
Update NEWS
2016-12-15 22:59:19 +09:00
Tatsuhiro Tsujikawa
8d41656662
Bump up version number to 1.30.0
2016-12-15 22:40:34 +09:00
Tatsuhiro Tsujikawa
f42a4362f5
Update AUTHORS
2016-12-15 22:38:31 +09:00
Tatsuhiro Tsujikawa
388ae843ca
`make clang-format`
2016-12-15 22:37:19 +09:00
Tatsuhiro Tsujikawa
18a51ce314
We are not bothered by NDK zlib anymore
2016-12-15 22:34:49 +09:00
Tatsuhiro Tsujikawa
0ec2db9f34
Fix typo
2016-12-15 22:34:27 +09:00
Tatsuhiro Tsujikawa
46460c8137
configure: Don't stop when cppunit is not found
2016-12-15 22:33:52 +09:00
Tatsuhiro Tsujikawa
834bce71d2
android: We build zlib in ourselves
2016-12-15 22:33:01 +09:00
Tatsuhiro Tsujikawa
fdeb75dbc3
mingw: Use sqlite 3.15.2
2016-12-15 22:10:53 +09:00
Tatsuhiro Tsujikawa
b76435fe77
Fix bug that --disable-websocket causes build error
2016-12-10 20:58:57 +09:00
Tatsuhiro Tsujikawa
ec02ae65bb
Merge pull request #798 from aria2/fix-optimize-concurrent-downloads-lower-bound
...
Fix bug that lower bound of optimize-concurrent-downloads becomes 1
2016-12-09 00:26:43 +09:00
Tatsuhiro Tsujikawa
ddc1f1bfda
Fix bug that lower bound of optimize-concurrent-downloads becomes 1
2016-12-05 21:18:31 +09:00
Tatsuhiro Tsujikawa
4233474471
Update doc
2016-12-04 14:23:03 +09:00
Tatsuhiro Tsujikawa
4473b870f4
Merge pull request #795 from aria2/show-dht-nodes
...
Print DHT nodes with -S option
2016-12-04 10:32:30 +09:00
Tatsuhiro Tsujikawa
7a089ae04a
Merge pull request #794 from aria2/fix-dht-node-resolv
...
Take into account address family when resolving DHT node address
2016-12-04 10:31:53 +09:00
Tatsuhiro Tsujikawa
b24a3c3c2e
Merge pull request #786 from aria2/use-stdin
...
Use stdin for *NIX as well
2016-12-04 10:30:13 +09:00
Tatsuhiro Tsujikawa
c679390392
Print DHT nodes with -S option
2016-12-03 16:27:29 +09:00
Tatsuhiro Tsujikawa
3d5c76800d
Take into account address family when resolving DHT node address
2016-12-03 16:18:14 +09:00
Tatsuhiro Tsujikawa
3b75514db4
Merge pull request #787 from ITriskTI/patch-1
...
Update aria2c.rst
2016-11-27 10:43:31 +09:00
ITriskTI
d9f2f1c684
Update aria2c.rst
2016-11-27 00:01:27 +03:00
Tatsuhiro Tsujikawa
e4f3d633c1
Use stdin for *NIX as well
...
We thought that we can use /dev/stdin for *NIX, but some variants,
like Android, does not have one or root permission is required. Just
like we do for Windows build, we just use stdin if /dev/stdin is used.
2016-11-26 22:42:20 +09:00
Tatsuhiro Tsujikawa
d0a0645836
We already replaced "-" with DEV_STDIN in LocalFilePathOptionHandler
2016-11-26 22:16:18 +09:00
Tatsuhiro Tsujikawa
380e5aa451
Merge branch 'user-home-variable-expansion'
2016-11-26 16:28:59 +09:00
Tatsuhiro Tsujikawa
14e995d2bc
Allow block device file to -i option
2016-11-26 16:26:33 +09:00
Tatsuhiro Tsujikawa
bebd602ba7
Fix bug that HAVE_LIBEXPAT is not defined
2016-11-26 16:20:59 +09:00
Tatsuhiro Tsujikawa
9df50804d4
Merge pull request #772 from aria2/refactor-wintls-write
...
WinTLS: Rewrite writeData
2016-11-23 22:57:58 +09:00
Tatsuhiro Tsujikawa
c087ab1ba1
Merge pull request #773 from mgorny/pkgconfig
...
configure: Use pkg-config to find libs whenever possible
2016-11-23 22:57:29 +09:00
Tatsuhiro Tsujikawa
63f47cbbc5
Document about ${HOME} expansion
2016-11-23 22:52:27 +09:00
Tatsuhiro Tsujikawa
9214e72501
Expand ${HOME} to user's home directory in several options
...
The following options implement this substitution:
* --ca-certificate
* --certificate
* --dht-file-path
* --dht-file-path6
* --dir
* --input-file
* --load-cookies
* --log
* --metalink-file
* --netrc-path
* --on-bt-download-complete
* --on-download-complete
* --on-download-error
* --on-download-start
* --on-download-stop
* --on-download_pause
* --out
* --private-key
* --rpc-certificate
* --rpc-private-key
* --save-cookies
* --save-session
* --server-stat-if
* --server-stat-of
* --torrent-file
2016-11-23 22:45:17 +09:00
Tatsuhiro Tsujikawa
9d58ad912a
Document that libaria2 is not thread safe
2016-11-16 22:10:42 +09:00
Tatsuhiro Tsujikawa
e12693c027
Update NEWS
2016-11-15 23:04:31 +09:00
Tatsuhiro Tsujikawa
10e7830050
Update third-party libraries
2016-11-15 22:54:06 +09:00
Tatsuhiro Tsujikawa
dd5a3b672c
Bump up version number to 1.29.0
2016-11-15 21:19:20 +09:00
Michał Górny
02985711df
configure: Use pkg-config to find libs whenever possible
...
Use pkg-config to find cppunit, libxml2 and expat. All those libraries
provide pkg-config files, and in all of those cases the pkg-config macro
is superior to the custom macros used currently.
The advantages of pkg-config files include:
- Explicit static linking support via --static. Currently, e.g.
'xml2-config --libs' prints all libraries needed for static linking when
doing dynamic linking unnecessary, resulting in unnecessary direct deps.
- Better cross-build support. You don't have to build the additional
*-config tools for target.
- Better multilib support. Per-ABI pkgconfig directories are commonly
supported while packages usually fail to look for per-CHOST *-config
variants.
- Better override support. The current macros allow little to no
result overrides, the pkg-config macros let you pass FOO_CFLAGS
and FOO_LIBS manually.
- Cleaner version checks. The code used in libxml.m4 is really creepy.
2016-11-12 22:13:48 +01:00
Tatsuhiro Tsujikawa
d974c935cd
WinTLS: Rewrite writeData
...
We re-wrote WinTLSSession::writeData. The major points are:
* Buffer is now preallocated once handshake is finished. Previously,
they are allocated each time when we send one TLS record.
* Schannel uses header, body and trailer for each secBuffer. Now we
send them off at once using WSASend which is windows counterpart of
sendv. Previously, we do memmove if some of them are truncated.
* We don't try to send application data in
WinTLSSession::closeConnection, since semantically we need same
application data used to create TLS record before. Using 0 length
data to finish sending buffered data looks like a hack.
2016-11-12 22:20:41 +09:00
Tatsuhiro Tsujikawa
d289dc1108
WinTLS: Fix busy loop on write error
2016-11-09 23:08:25 +09:00
Tatsuhiro Tsujikawa
b4010a52c8
Merge pull request #766 from aria2/support-1xx
...
Support 1xx non-final response
2016-11-03 17:28:45 +09:00
Tatsuhiro Tsujikawa
2df30b1447
Support 1xx non-final response
2016-11-03 16:29:04 +09:00
Tatsuhiro Tsujikawa
a9a60cef1b
Merge pull request #765 from aria2/update-wslay
...
Update wslay
2016-11-02 23:33:49 +09:00
Tatsuhiro Tsujikawa
fb380d4016
Update wslay
2016-11-02 22:41:36 +09:00
Tatsuhiro Tsujikawa
90452ae11b
Don't download piece which is filtered out (e.g., --select-file)
...
This commit fixes the bug that piece which is not requested by
--select-file is downloaded in multi-file WebSeeding.
2016-10-26 22:40:00 +09:00