Commit Graph

5164 Commits

Author SHA1 Message Date
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
Tatsuhiro Tsujikawa
938481bfe9 Update NEWS 2016-10-16 17:27:36 +09:00
Tatsuhiro Tsujikawa
a41cc63779 mingw: Update third-party libraries 2016-10-16 17:20:18 +09:00
Tatsuhiro Tsujikawa
9cdfd4bb8a android: Update third-party libraries 2016-10-16 17:11:28 +09:00
Tatsuhiro Tsujikawa
3740a2aef8 Update bash_completion 2016-10-16 17:06:03 +09:00
Tatsuhiro Tsujikawa
f58081a6f6 Bump up version number to 1.28.0 2016-10-16 17:01:35 +09:00
Tatsuhiro Tsujikawa
57843a0732 Update AUTHORS 2016-10-16 17:00:55 +09:00
Tatsuhiro Tsujikawa
df19921b83 Merge branch 'clang-format-3.9' 2016-10-15 19:07:24 +09:00
Tatsuhiro Tsujikawa
aa4ea8889c clang-format-3.9 2016-10-15 19:02:54 +09:00
Tatsuhiro Tsujikawa
a7fcf83bdf Update .clang-format to clang-format-3.9 2016-10-15 19:02:42 +09:00
Tatsuhiro Tsujikawa
54e465194b Merge pull request #750 from ITriskTI/patch-1
Update aria2c.rst
2016-09-29 22:53:49 +09:00
ITriskTI
7be69be3b4 Update aria2c.rst 2016-09-29 16:28:18 +03:00
Tatsuhiro Tsujikawa
bed7411819 Merge pull request #749 from juanfra684/patch-1
Restore LTLIBINTL in src/Makefile.am
2016-09-29 22:07:17 +09:00
Juan Francisco Cantero Hurtado
206d6fc062 Restore LTLIBINTL in src/Makefile.am 2016-09-29 01:02:06 +02:00
Tatsuhiro Tsujikawa
ae78d7f7d0 Enable --keep-unfinished-download-result by default 2016-09-26 22:07:35 +09:00
Tatsuhiro Tsujikawa
e31f537ac5 Update copyright year to 2016 2016-09-26 21:56:38 +09:00
Tatsuhiro Tsujikawa
55f311a908 Add --keep-unfinished-download-result option
This option keeps unfinished download results even if doing so exceeds
--max-download-result. This is useful if all unfinished downloads must
be saved in session file (see --save-session option). Please keep in
mind that there is no upper bound to the number of unfinished download
result to keep.  User should use this option only when they know the
total number of downloads in advance.
2016-09-24 11:42:43 +09:00
Tatsuhiro Tsujikawa
c3aedf480d Fix -Wexpansion-to-defined warning with clang-3.9
The error message was:

warning: macro expansion producing 'defined' has undefined behavior
[-Wexpansion-to-defined]

http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html
2016-09-19 22:10:21 +09:00
Tatsuhiro Tsujikawa
a31e73d902 Fix bug that file name is not logged with --conditional-get 2016-09-17 17:21:42 +09:00
Tatsuhiro Tsujikawa
561d49d6e5 Bump up version number to 1.27.1 2016-09-17 09:10:08 +09:00
Tatsuhiro Tsujikawa
812136dd8b Update NEWS 2016-09-17 09:09:13 +09:00
Tatsuhiro Tsujikawa
cfaec39be1 Add missing libssl_compat.h to SRCS 2016-09-17 09:05:52 +09:00
Tatsuhiro Tsujikawa
16797b5264 clang-format 2016-09-16 21:52:58 +09:00
Tatsuhiro Tsujikawa
cf96bec654 Update sqlite3 for mingw build 2016-09-16 21:26:57 +09:00
Tatsuhiro Tsujikawa
f6043488e4 Update AUTHORS 2016-09-16 21:19:52 +09:00
Tatsuhiro Tsujikawa
0a00e84cc7 Bump up version number to 1.27.0 2016-09-16 21:17:58 +09:00
Tatsuhiro Tsujikawa
2cd90f02de Update NEWS 2016-09-16 21:17:44 +09:00
Nils Maier
356c3dc164 Hard-disable openssl in osx build
Closes #739
2016-09-06 16:01:58 +02:00
Tatsuhiro Tsujikawa
8cdcb71308 Fix possible cause of crash after metadata download 2016-09-05 22:44:40 +09:00
Tatsuhiro Tsujikawa
3af50e5140 Fix log message 2016-09-05 21:04:30 +09:00