Commit Graph

3467 Commits (aa944f4ef6a3ceaaf8b6068727d93898860e01f1)

Author SHA1 Message Date
Tatsuhiro Tsujikawa aa944f4ef6 Guarded include of stdint.h and inttypes.h 2012-07-04 00:00:24 +09:00
Tatsuhiro Tsujikawa 98e1c6c580 Code cleanup 2012-07-03 21:56:26 +09:00
Tatsuhiro Tsujikawa 62b988c8fc Added check for sys/types.h 2012-07-03 21:50:32 +09:00
Sergey Zolotarev 1c39b9474e Fixed ssize_t error on MinGW 2012-07-03 17:44:48 +06:00
ITriskTI 238c3128de Update master 2012-06-30 23:22:36 +03:00
Tatsuhiro Tsujikawa d765dbb2f5 Quoted .metalink, .meta4 and .torrent with '"' in man page
This is because when generating man page, if a word starting '.' is
put in the beginning of the line, it will be treated as macro.  This
sounds like docutils bug, but it will not be fixed soon, so we do this
as a workaround.
2012-06-30 21:56:44 +09:00
Tatsuhiro Tsujikawa 19b07d05f1 Bump up version number to 1.15.2 2012-06-30 21:44:59 +09:00
Tatsuhiro Tsujikawa 9db057c6bc Use script-helper in android-release 2012-06-30 01:02:46 +09:00
Tatsuhiro Tsujikawa 7e95dcdc02 Added README and release script for mingw build 2012-06-30 00:53:48 +09:00
Tatsuhiro Tsujikawa fc0e378e29 Added README and release helper script for Android build 2012-06-29 23:54:38 +09:00
Tatsuhiro Tsujikawa 5d3b6801b1 Changed default Peer ID prefix
The new Peer ID prefix is "A2-$MAJOR-$MINOR-$MICRO-", where $MAJOR,
$MINOR and $MICRO are the major version, the minor version and the
micro version respectively. For instance, 1.15.2 release of aria2 will
use "A2-1-15-2-".
2012-06-29 23:38:12 +09:00
Tatsuhiro Tsujikawa 0c8ec9c325 Merged Android build scripts 2012-06-29 00:51:13 +09:00
Tatsuhiro Tsujikawa f1017d5def Don't percent-decode filename value in Content-Disposition.
We only percent-decode filename* value in Content-Disposition because
the encoding is fully specified. But since filename value is not, so
we just accept it as is.
2012-06-28 23:18:50 +09:00
Tatsuhiro Tsujikawa c30ea8adeb Don't sum in-flight piece which does not intersect filtered ranges
When calculating completed length, don't sum the completed length of
piece which does not intersect filtered ranges.
2012-06-27 23:28:57 +09:00
Tatsuhiro Tsujikawa 68f225de0b Use stack allocation+reference instead of pointer for BufferedFile 2012-06-27 01:38:27 +09:00
Tatsuhiro Tsujikawa a6775db3ca Fixed segmentation fault when logger failed to open log file 2012-06-27 01:38:18 +09:00
Tatsuhiro Tsujikawa 3ce6070107 Added enable-mmap to -i list option. Sorted -i list option list. 2012-06-27 01:10:06 +09:00
Tatsuhiro Tsujikawa c2dc79b859 Fixed format glitch in README 2012-06-27 01:05:35 +09:00
Tatsuhiro Tsujikawa 49e111944f Updated po templates 2012-06-27 01:01:28 +09:00
Tatsuhiro Tsujikawa 77a30f1578 Added mingw-config to EXTRA_DIST 2012-06-27 01:00:15 +09:00
Tatsuhiro Tsujikawa d1545949f7 Documented ARIA2_STATIC and how to cross-compile mingw build in README 2012-06-27 00:50:53 +09:00
Tatsuhiro Tsujikawa 357ea80a5c Added configure script wrapper for mingw-w64 cross-compiler.
This script is used to build official Windows build.
2012-06-27 00:27:14 +09:00
Tatsuhiro Tsujikawa e26d3bbe04 Added ARIA2_STATIC precious variable to configure option.
To build statically linked aria2 binary, give ARIA2_STATIC=yes to
configure, like this:

$ ./configure ARIA2_STATIC=yes
2012-06-27 00:06:27 +09:00
Tatsuhiro Tsujikawa 16d395779a Removed static_cast<int64>()s where they are unnecessary 2012-06-25 23:44:52 +09:00
Tatsuhiro Tsujikawa 1b874268a0 Use int64_t instead of off_t
Some classes such as DiskAdaptor, DiskWriter, FileAllocationIterator
and ChecksumValidator are left unchanged.
2012-06-25 23:35:24 +09:00
Tatsuhiro Tsujikawa 4b03634f36 Use PRId64 for int64_t format specifier 2012-06-25 22:43:33 +09:00
Tatsuhiro Tsujikawa 3620d271af Process as many messages as possible in recv buffer 2012-06-25 21:37:55 +09:00
Tatsuhiro Tsujikawa e816c5eee4 Rewritten PeerConnection::receiveMessage()
The old implementation calls at least 2 read(2) (4bytes length and
payload) to receive the message. This change will read as many bytes
as possible in one read(2) call. BtPieceMessage::data_ is now just a
const pointer to the internal buffer of PeerConnection.
2012-06-25 21:35:52 +09:00
Tatsuhiro Tsujikawa aa34c077cb Merge pull request #20 from ITriskTI/patch-1
Update /doc/manual-src/ru/aria2c.rst
2012-06-25 05:33:30 -07:00
ITriskTI 539a87d584 Update master 2012-06-24 17:05:43 +03:00
Tatsuhiro Tsujikawa 8bbf279ba3 Documented --enable-mmap in man page 2012-06-24 17:02:48 +09:00
Tatsuhiro Tsujikawa 73b75186c7 Handle the case when MINGW32 vsnprintf returns -1
MINGW32 vsnprintf returns -1 if output is truncated.  Increased buffer
for vsnprintf in WinConsoleFile and fmt.
2012-06-24 16:56:34 +09:00
Tatsuhiro Tsujikawa 96720b297d Added --enable-mmap option.
If this option is used, map files into memory using mmap(2).  This
option is experimental.
2012-06-24 16:28:04 +09:00
Tatsuhiro Tsujikawa 38426d744b Code cleanup 2012-06-23 17:50:27 +09:00
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