Commit Graph

3433 Commits (5fc1b1ad297e78de9e0d596146780f05e0d643ab)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 5fc1b1ad29 Rewritten HTTP header parser 2012-06-23 17:34:20 +09:00
Tatsuhiro Tsujikawa 5a0a62c5f4 Added CORS preflight request support.
This change is based on the patch from binux.
2012-06-23 16:26:17 +09:00
Tatsuhiro Tsujikawa 9ba65aea1d Rewritten ChunkedDecodingStreamFilter 2012-06-18 23:42:46 +09:00
Tatsuhiro Tsujikawa f3a5aa3bef Renamed clean as doclean in Makefile for manuals.
This will prevent `make clean` in unpacked archive from removing
aria2c.1. We don't want to remove them by `make clean` because to
generate aria2c.1, user has to install Sphinx. That is why we
distribute aria2c.1 in the archive.
2012-05-27 18:51:27 +09:00
Tatsuhiro Tsujikawa 6b3aa97cdb Updated Brazilian Portuguese translation. Thanks to all translators. 2012-05-27 17:41:18 +09:00
Tatsuhiro Tsujikawa d917f40c6d Updated po templates 2012-05-27 17:21:59 +09:00
Tatsuhiro Tsujikawa 3027a8a2f5 Updated NEWS for 1.15.1 release 2012-05-27 17:20:10 +09:00
Tatsuhiro Tsujikawa 0ba12fdc32 Removed outdated README.txt 2012-05-19 23:07:19 +09:00
Tatsuhiro Tsujikawa b05959ec92 Updated README.rst.
Added section which describes building documentation using Sphinx.
Several documentaiton updates.
2012-05-19 22:36:28 +09:00
Tatsuhiro Tsujikawa afcd95dec7 Return appropriate HTTP status code on RPC failure.
In this change, we return 404 if the request path is neither /json-rpc
nor /rpc. If XML feature is not enabled and /rpc is requested, return
404.  If XML parser failed, return 400. JSON parser failure has been
handled well in the existing code.
2012-05-19 18:36:57 +09:00
Tatsuhiro Tsujikawa 8ebba32fd9 Change manual build dir to doc/manual-src/*/_build. Drop html install.
Sphinx HTML markups are beautiful, but it uses many asset files, such
as stylesheets, javascripts and images.  While it is no problem to
upload them in web site, but distributing and installing them in
individual user have some problems.  For example, Sphinx uses same
assets for generated sites, so if many applications uses Sphinx
generated docs and they are installed in the PC, it is huge waste of
the disk space. I'm also not comfortable to copy HTML trees to the
install directory using 'cp -r' command.  I seeked other format like
pdf and texi which Sphinx can generate but annoyingly they all convert
'--' into en-dash and there is no workaround to disable it. So I
decided to drop HTML manual from distribution and installation.  For
users who want to HTML version manual, see it online:
http://aria2.sourceforge.net/manual/en/html/
2012-05-19 18:08:01 +09:00
Tatsuhiro Tsujikawa 68eb1b6737 Ignore unacceptable options in RPC request instead of throwing error.
This change allows RPC client to send same options for the different
type of downloads.
2012-05-17 22:52:39 +09:00
Tatsuhiro Tsujikawa 7785ea8c4b Code cleanup 2012-05-16 23:28:19 +09:00
Tatsuhiro Tsujikawa 0e5ae22f73 Fixed memory leak 2012-05-16 23:28:07 +09:00
Tatsuhiro Tsujikawa 0d507bba00 Merge branch 'master' of https://github.com/ITriskTI/aria2 into itriskti 2012-05-16 23:07:23 +09:00
Tatsuhiro Tsujikawa 92c518a2ba Moved parseAsyncDNSServers() to AsyncNameResolver.cc and refactored.
The parseAsyncDNSServers() now uses net::getBinAddr() internally,
which makes the function simpler. Also added unit test.
2012-05-16 23:05:09 +09:00
Tatsuhiro Tsujikawa 36051cca5e Handle sockaddr_in.sin_len and sockaddr_in6.sin6_len
Check sockaddr_in.sin_len and sockaddr_in6.sin6_len are available and
assign values to them properly.  This change fixes unit test error and
most error related to getnameinfo() on netbsd.
2012-05-16 22:43:25 +09:00
ITriskTI 8019ad602a Fixed typo 2012-05-15 18:24:59 +03:00
Tatsuhiro Tsujikawa 448f03fa7e Moved doc before test in SUBDIRS
With this change we can see the test results more easily.
2012-05-14 01:22:24 +09:00
Tatsuhiro Tsujikawa ca60020fa4 Removed dependency on inet_aton
Implemented inetPton as a replacement of inet_aton. inetPton is
implemented using net::getBinAddr.

This change fixes bug#3525424.
2012-05-14 01:17:50 +09:00
Tatsuhiro Tsujikawa 06405ce97b Removed aria2c.rst from the prerequisites of $(HTML)
$(HTML) is the root directory of html documents and since we don't
remove $(HTML) when re-building htmls, it is useless to use aria2c.rst
as a prerequisites.
2012-05-13 16:59:55 +09:00
Tatsuhiro Tsujikawa 19798f09ae Fixed typo 2012-05-12 19:33:33 +09:00
Tatsuhiro Tsujikawa 3640374f66 Bump up version number to 1.15.1 2012-05-12 19:30:51 +09:00
Tatsuhiro Tsujikawa 57519611ff Added --with-bashcompletiondir configure option.
By default, bash_completion file named aria2c is installed to the
directory $prefix/share/doc/aria2/bash_completion.  To change the
install directory of the file, use --with-bashcompletiondir option.
2012-05-12 19:19:57 +09:00
Tatsuhiro Tsujikawa b4f3f41464 Fixed `make distcheck` error 2012-05-12 19:19:38 +09:00
Tatsuhiro Tsujikawa a1d5d5ef9d Added aria2c.rst to EXTRA_DIST 2012-05-10 01:06:26 +09:00
Tatsuhiro Tsujikawa 5323fa1029 Honor DESTDIR when installing HTML version manual.
Generate HTML version manual on `make install`.
2012-05-08 01:10:46 +09:00
Tatsuhiro Tsujikawa a998e32f95 Call ERR_clear_error() before OpenSSL I/O functions.
Use ERR_get_error() with ERR_error_string().
2012-05-08 01:02:18 +09:00
Tatsuhiro Tsujikawa c046573ab8 Fixed typo and nits 2012-04-23 21:14:19 +09:00
Tatsuhiro Tsujikawa 927499d98f Merge pull request #16 from ITriskTI/master
Fixed some bugs
2012-04-23 05:10:16 -07:00
ITriskTI 4d17715b66 Update doc/manual-src/ru/index.rst 2012-04-23 03:26:38 +03:00
ITriskTI 3c5753baf2 fixed some bugs 2012-04-23 03:24:30 +03:00
Tatsuhiro Tsujikawa 003aaf4a09 Converted README.asciidoc into README.rst 2012-04-22 23:27:32 +09:00
Tatsuhiro Tsujikawa eec761ec43 Removed old manual page sources. 2012-04-22 21:26:25 +09:00
Tatsuhiro Tsujikawa 4a5f2b6f9f Use Sphinx for aria2 manual page documentation.
The source files for manual pages are placed under doc/manual-src.
The built manual pages are placed under doc/manual.
When installed, manual pages are placed under $(docdir)/manual/.
2012-04-22 21:21:26 +09:00
Tatsuhiro Tsujikawa d16071d108 Fixed the bug which prevents --bt-lpd-interface from working.
Fixes bug#3520125
2012-04-22 18:35:43 +09:00
Tatsuhiro Tsujikawa a0912d9e4a Use noinst_HEADERS instead of EXTRA_DIST for wslay public headers. 2012-04-09 23:01:01 +09:00
Tatsuhiro Tsujikawa 713f210a7e Updated German and Russian translations. Thanks to all translators. 2012-04-08 22:51:59 +09:00
Tatsuhiro Tsujikawa c1ef86fd58 Updated po templates 2012-04-08 22:50:12 +09:00
Tatsuhiro Tsujikawa 59d0796527 Updated README 2012-04-08 22:47:45 +09:00
Tatsuhiro Tsujikawa e2091b5b41 Fixed missing wslay.h and wslayver.h in distribution 2012-04-08 21:55:27 +09:00
Tatsuhiro Tsujikawa f5d3cd1bb0 Updated copyright year 2012-04-08 21:43:00 +09:00
Tatsuhiro Tsujikawa 9d5e173645 Don't install wslay 2012-04-08 21:42:22 +09:00
Tatsuhiro Tsujikawa 62f40b8f96 Added missing deps/wslay/examples/Makefile 2012-04-08 21:25:59 +09:00
Tatsuhiro Tsujikawa aee28c8b0d Fixed compile warning with clang 2012-04-08 19:22:23 +09:00
Tatsuhiro Tsujikawa 1e0068e4d4 WebSocket: Check keyword string in comma separeted values in HTTP
header field.
2012-04-08 19:00:07 +09:00
Tatsuhiro Tsujikawa c648ca0c5c Include common.h from a2algo.h and a2functional.h 2012-04-08 18:59:06 +09:00
Tatsuhiro Tsujikawa 7a30204109 Updated NEWS for 1.15.0 release 2012-04-08 18:24:25 +09:00
Tatsuhiro Tsujikawa 52826433d9 Fixed typo 2012-04-08 17:51:01 +09:00
Tatsuhiro Tsujikawa 9e8676af2c Disable IPv6 by default only if MinGW 32bit build. 2012-04-08 17:45:33 +09:00