Commit Graph

356 Commits (a433352b675bd6a258ad97c4f339055f08c443ed)

Author SHA1 Message Date
Nils Maier 322bd45cfb Check for sphinx-build during configure 2013-08-18 05:27:17 +02:00
Nils Maier a982dee961 Switch CA_BUNDLE to AC_DEFINE 2013-08-16 22:32:16 +02:00
Nils Maier 303f987ee9 Add --with-disk-cache configure option
Enables packagers more fine grained control over the default value
without having to mess with config files.

See GH-115
2013-08-16 22:31:56 +02:00
Nils Maier 90c39522a2 Libuv: Compatiblity fix with master 2013-08-16 22:29:14 +02:00
Tatsuhiro Tsujikawa 28d5c7408f Check that C++ compiler supports override keyword
If the compiler supports override, define CXX11_OVERRIDE as override,
otherwise define it as empty. Use CXX11_OVERRIDE instead of override.
2013-07-06 15:54:03 +09:00
Tatsuhiro Tsujikawa d1a17e5ef3 Use AX_CXX_COMPILE_STDCXX_11 macro to detect C++0x/C++11 support in compiler 2013-06-22 21:43:31 +09:00
Tatsuhiro Tsujikawa 07d270c87e Require -std=c++11 and use std::shared_ptr instead of SharedHandle 2013-06-22 01:10:38 +09:00
Tatsuhiro Tsujikawa 61a830c905 Bump up version 1.17.1 2013-05-18 19:01:40 +09:00
Tatsuhiro Tsujikawa 13e064e4e1 Add code to detect rst2html.py or rst2html 2013-05-17 21:38:51 +09:00
Tatsuhiro Tsujikawa 5bc5665c6a Support off64_t for Android build
Android NDK R8e does not provide ftruncate64, but bionic has the
assembler code to access kernel function. We borrowed those
ftruncate64.S files from android source code repository.  It turns out
that x86 asm.h in NDK R8e is also broken, so latest asm.h was also
borrowed.
2013-05-06 19:12:17 +09:00
Tatsuhiro Tsujikawa 774e1b8a10 Check zlib availability usin AC_CHECK_LIB
This is workaround for zlib 1.2.3 which does not come with pkg-config
file.
2013-05-05 17:31:41 +09:00
Tatsuhiro Tsujikawa 1b920e4011 Add --enable-libaria2 configure option
By default, libaria2 feature is disabled. Use --enable-libaria2
to enable it. libaria2 static build is also disabled by default.
Use --enable-static to enable it.
2013-05-05 00:37:11 +09:00
Tatsuhiro Tsujikawa 2bf2dba544 Merge branch 'libaria2' 2013-05-05 00:13:17 +09:00
Tatsuhiro Tsujikawa b886ade311 Merge branch 'mallocs' of https://github.com/nmaier/aria2 into nmaier-mallocs 2013-05-01 11:32:04 +09:00
Nils Maier cc8b006a8e mallocs: Remove bogus pkg-config _LDFLAGS lines 2013-04-30 21:55:13 +02:00
Tatsuhiro Tsujikawa db2e22132d Merge branch 'libuv-eventpoll' of https://github.com/nmaier/aria2 into nmaier-libuv-eventpoll 2013-04-30 14:53:42 +09:00
Nils Maier d2c1fbd792 Add configure support for linking tcmalloc_minimal and/or jemalloc
Both tcmalloc_minimal and jemalloc outperform the native malloc
implemention on Windows (MSVCRT) in terms of committed memory
consumption (~-30%) and performance (e.g. far less page faults, ~-60%),
depending, of course, on the actual workload.
The longer the download queue, the bigger the impact ;)

On *nix the picture is a little different... tcmalloc usually still
outperforms the native malloc implementation, but not that significantly
than on Windows. jemalloc however is only marginally better than recent
native Linux implementations, while it is already used by some BSD as the
native allocator.

tcmalloc is part of gperftools and very mature and tested by now. It
doesn't work on OSX in the default configuration, however.
http://code.google.com/p/gperftools/

jemalloc is the default allocator at least on FreeBSD and NetBSD and
used in Firefox.
http://www.canonware.com/jemalloc/index.html
2013-04-28 21:35:22 +02:00
Tatsuhiro Tsujikawa bbb978948d Add preliminary libtool files for libaria2 2013-04-25 11:38:26 +09:00
Tatsuhiro Tsujikawa e548a1a225 Add missing check for sigaction 2013-04-25 11:38:02 +09:00
Nils Maier 0cccc2d27a Libuv: Proper configure detection 2013-04-17 15:53:24 +02:00
Tatsuhiro Tsujikawa 71713709e5 Bump up version number to 1.17.0 2013-04-16 21:30:28 +09:00
Tatsuhiro Tsujikawa 994eb551f1 Append --static to pkg-config arguments when ARIA2_STATIC=yes 2013-04-13 00:47:38 +09:00
Nils Maier 9acd3df3cb LibUV: Implement LibuvEventPoll
LibUV event will use the best available polling method on a system, kind
of like aria2 does already with the different *EventPoll
implementations.
However, libuv may support different/newer polling mechanisms; for
example on Windows it will use IO Completion Ports which are superior to
select() ;)
2013-04-10 08:47:20 +02:00
Tatsuhiro Tsujikawa e6d75020ea Fix openssl build 2013-04-06 16:04:58 +09:00
Nils Maier 0bcbd947b4 AppleTLS: Implement AppleTLS and Apple Message Digest 2013-04-05 23:10:47 +02:00
Tatsuhiro Tsujikawa 7994894172 Don't add Windows native DLLs for Cygwin build 2013-04-05 00:58:26 +09:00
Tatsuhiro Tsujikawa b9fb15f884 Use GetAdaptersAddresses for Mingw 2013-03-31 18:02:46 +09:00
Tatsuhiro Tsujikawa d2a171b2cb Bump up version number to 1.16.5 2013-03-24 17:45:45 +09:00
Tatsuhiro Tsujikawa 0309d67aab Echo CC, CXX and CPP at the end of configure 2013-03-18 23:41:03 +09:00
Tatsuhiro Tsujikawa bf10925fc3 Bump up version number to 1.16.4 2013-03-06 00:51:33 +09:00
Nils Maier 4d6bf959a6 Make configure argument meaning more consistent and obvious.
Most other software uses --disable/--without for features it does build
or at least check by default.

Change aria2 configure options so that:
 * --enable-*: do not build by default, unless --enable specified
 * --disable-*: check and build by default, unless --disable specified
 * --with-*: do not use by default, unless --with specified
 * --without-*: check and use by default, unless without specified
2013-03-03 15:01:21 +01: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
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 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
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 d1c88fbabf Bump up version number to 1.16.3 2013-02-03 19:29:03 +09:00
Tatsuhiro Tsujikawa a503481701 Bump up version number to 1.16.2 2013-01-29 21:39:41 +09:00
Tatsuhiro Tsujikawa 8ba0d58ee1 Vectorized write for SocketBuffer to avoid small packet 2013-01-11 16:50:04 +09:00
Tatsuhiro Tsujikawa 3e656fd6d1 Bump up version number to 1.16.1 2012-12-07 01:02:36 +09:00
Tatsuhiro Tsujikawa 7e59e2dbb5 mingw32: Open file using _wsopen and added --enable-mmap support
I tried CreateFile but the subsequent ReadFile fails with Access
Denied if sparse file is read on NTFS. I mostly reverted previous
changes and use _wsopen with read/write share enabled instead of
CreateFile.

This change also includes --enable-mmap support for MinGW32
build. Memory mapped file may be useful for 64-bits OS and lots of
RAM. Currently, FlushViewOfFile is not called during the download, so
it is slightly vulnerable against sudden power loss. I found lots of
read when resuming download due to page fault. So for now it is useful
for the initial download. I recommend not to use
--file-allocation=prealloc with --enable-mmap for MinGW32, because it
triggers page faults even in the initial download. Anyway, the option
is experimental.
2012-12-01 19:38:30 +09:00
Tatsuhiro Tsujikawa e1c03e30dd Don't use AC_FUNC_MMAP
Don't use AC_FUNC_MMAP becaue it fails on some platforms (e.g.,
OpenWRT) which have mmap and it works in the way we use in aria2.
Instead use mmap in AC_CHECK_FUNCS list.
2012-11-25 22:50:25 +09:00
Tatsuhiro Tsujikawa f4f6ecda37 Bump up version number to 1.16.0 2012-10-31 16:47:26 +09:00
Tatsuhiro Tsujikawa 674581a8d6 Add -lstdc++ -lsupc++ in configure.ac not in android-config
Also make sure that those flags do not appear in libwslay LIBS.
2012-07-30 21:17:49 +09:00
Tatsuhiro Tsujikawa 4046f27ea9 Use system-wide certificates for SSL
Use system-wide certificates for SSL.  For GnuTLS it requires the
latest version, 3.0.20. OpenSSL had it for longer.  This means that if
SSL library is properly configured to locate system-wide certificates
store, the user don't have to use --ca-certificate option. Also
packagers don't have to use --with-ca-bundle configure option.

Patch from Cristian Morales Vega
2012-07-05 23:22:34 +09:00
Tatsuhiro Tsujikawa 62b988c8fc Added check for sys/types.h 2012-07-03 21:50:32 +09:00
Tatsuhiro Tsujikawa 19b07d05f1 Bump up version number to 1.15.2 2012-06-30 21:44:59 +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 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
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 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 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 fcbdecfd1e Conditional compile for WebSocket.
WebSocket support depends on Message Digest support.
2012-04-08 00:50:25 +09:00
Tatsuhiro Tsujikawa 9996d4ef4b Removed -lcrypto from mingw LIBS 2012-04-07 23:55:53 +09:00
Tatsuhiro Tsujikawa e5932879db Print pkg-config error if the module is not available 2012-04-07 21:43:03 +09:00
Tatsuhiro Tsujikawa 7e5814f0f9 Check with pkg-config only: c-ares, openssl, sqlite3 and zlib.
Removed --with-*-prefix configure option for c-ares, openssl, sqlite3,
zlib and expat. Use CPPFLAGS and/or PKG_CONFIG_PATH instead.
2012-04-07 21:30:32 +09:00
Tatsuhiro Tsujikawa 840ca5adb6 Check availability of pwd.h 2012-04-07 15:49:22 +09:00
Tatsuhiro Tsujikawa 332bda83b4 Enable TCP_NODELAY for WebSocket connection. 2012-03-21 02:08:18 +09:00
Tatsuhiro Tsujikawa bdd37fe3de Bump up version number to 1.15.0 2012-03-21 01:37:16 +09:00
Tatsuhiro Tsujikawa 6eb5283bca Added AC_CONFIG_MACRO_DIR 2012-03-21 00:49:52 +09:00
Tatsuhiro Tsujikawa 41c77ab852 Fixed autoreconf warning 2012-03-21 00:43:18 +09:00
Tatsuhiro Tsujikawa ac26124b59 Fixed `make distcheck` error 2012-03-20 22:43:06 +09:00
Tatsuhiro Tsujikawa f4e2c7f060 Added JSON-RPC over WebSocket.
Wslay library must be placed under deps/wslay.
2012-03-20 21:42:09 +09:00
Tatsuhiro Tsujikawa b8121faf93 Bump up version number to 1.14.2 2012-02-05 17:13:03 +09:00
Tatsuhiro Tsujikawa 57b2336e58 Bump up version number to 1.14.1 2012-01-08 17:52:25 +09:00
Tatsuhiro Tsujikawa 49f94e537c Bump up version number to 1.14.0 2011-12-18 17:17:02 +09:00
Tatsuhiro Tsujikawa 440f29aca3 Rewritten Metalink XML parser.
Now we don't strip white spaces while parsing Metalink V3 document.
Expat implementation does not included in this change.
2011-11-10 22:38:01 +09:00
Tatsuhiro Tsujikawa 5ce9af94ce Check libgcrypt version is greater or equal to required version.
This will fixes Debian bug#642989.
2011-09-28 23:40:34 +09:00
Tatsuhiro Tsujikawa 3c73b6e767 Eliminated inet_ntoa and inet_ntop. Use getnameinfo() instead. 2011-08-20 21:53:48 +09:00
Tatsuhiro Tsujikawa af46293ef9 Use utimes instead of utime if utimes is available. 2011-08-19 22:35:15 +09:00
Tatsuhiro Tsujikawa d309c425a3 Bump up version number to 1.13.0 2011-08-19 21:05:58 +09:00
Tatsuhiro Tsujikawa e76dc28f7f Added libnettle and libgmp support.
libnettle and libgmp is used by default. Old implementation uses
libgcrypt as default. If more and more Linux distributions offer
libnettle linked GnuTLS, then this change decrease library dependency
against libgcrypt and libgpg-error.  The current library detection for
libnettle and libgmp is very simple, just use AC_SEARCH_LIBS.
util::generateRandomData() was written using SimpleRandomizer, thus no
external library dependency from this function.
2011-08-11 02:29:14 +09:00
Tatsuhiro Tsujikawa a10cda2f17 Use global::cout to output string to stdout.
In MinGW32 build, global::cout is WinConsoleFile. When outputing to
console, it uses WriteConsoleW, so Unicode characters are written.
Fixed memory leak in WChar<->MultiByte conversion functions.  The
portion of code which uses std::cout is rewritten to use global::cout.
2011-08-09 23:33:55 +09:00
Tatsuhiro Tsujikawa 6f2b0a269d Bump up version number to 1.12.1 2011-07-23 19:25:42 +09:00
Tatsuhiro Tsujikawa 068fb5798d Bump up version number to 1.12.0 2011-06-21 22:42:31 +09:00
Tatsuhiro Tsujikawa b95f0928f7 Added Russian translation of man page contributed by ITriskTI. 2011-06-21 21:38:34 +09:00
Tatsuhiro Tsujikawa e958f5dab3 Implemented fast file allocation in MinGW32 build.
We use SetFilePointerEx and SetEndOfFile to allocate extents.  This
only works with NTFS. To enable this feature, --file-allocation=falloc
must be given.
2011-06-07 01:09:38 +09:00
Tatsuhiro Tsujikawa fbba1010ee Require gnutls >= 2.2.0 2011-05-20 20:45:09 +09:00
Tatsuhiro Tsujikawa 3ee4f372b7 Bump up version number to 1.11.2 2011-05-15 23:55:04 +09:00
Tatsuhiro Tsujikawa 3d87e4e43a Bump up version number to 1.11.1 2011-03-21 11:41:08 +09:00
Tatsuhiro Tsujikawa 09c120da9b Updated gettext to 0.18 2011-03-17 11:28:37 +09:00
Tatsuhiro Tsujikawa e00b5dcf1b Bump up version number to 1.11.0 2011-03-17 10:55:36 +09:00
Tatsuhiro Tsujikawa b21cce0002 Use pkg-config for libcares. Dropped c-ares pre-1.5 support. 2011-02-18 23:36:39 +09:00
Tatsuhiro Tsujikawa 395212f47f Replaced HAVE_LIBSSL with HAVE_OPENSSL 2011-02-18 22:43:50 +09:00
Tatsuhiro Tsujikawa 7230fbd2f7 Replaced HAVE_LIBZ with HAVE_ZLIB 2011-02-18 22:34:38 +09:00
Tatsuhiro Tsujikawa 5b62fa9ab1 Use PKG_CONFIG_PATH along with PKG_CHECK_MODULES in openssl.m4 and libz.m4.
Replaced LIBZ_LIB and LIBZ_CPPFLAGS with ZLIB_LIB and ZLIB_CFLAGS
respectively.
2011-02-18 21:51:23 +09:00
Tatsuhiro Tsujikawa 3f125dce21 Use LIBS and CPPFLAGS instead of substituting them individually per
library.
2011-02-18 18:53:53 +09:00
Tatsuhiro Tsujikawa 2ba2511dd5 Check presence of ar.
This change allows configure to find appropriate ar at cross compile.
2011-01-29 21:33:57 +09:00
Tatsuhiro Tsujikawa 91a4f2d210 Bump up version number to 1.10.9. 2011-01-10 12:51:52 +09:00
Tatsuhiro Tsujikawa 7a7c95fa15 Bump up version number to 1.10.8 2010-12-18 21:26:38 +09:00
Tatsuhiro Tsujikawa 479f71efaf Bump up version number to 1.10.7 2010-12-03 11:41:16 +09:00
Tatsuhiro Tsujikawa 7a3faa625b Check a2x, asciidoc presence and only build documents when they are
available.
2010-12-02 23:55:52 +09:00
Tatsuhiro Tsujikawa e39dd96171 Removed autogenerated files by automake/autoconf.
To generate these files, run 'autoreconf -i'.

Since libgnutls.m4 is no longer distributed, we removed
AM_PATH_LIBGNUTLS from configure.ac.
2010-11-27 23:31:17 +09:00
Tatsuhiro Tsujikawa 17e0d93ef0 2010-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.10.6
	* configure.ac
	* doc/aria2c.1.txt
2010-10-31 08:53:15 +00:00
Tatsuhiro Tsujikawa 6f189138c4 2010-10-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.10.5
	* configure.ac
	* doc/aria2c.1.txt
2010-10-19 14:50:54 +00:00
Tatsuhiro Tsujikawa f207f3cea5 2010-10-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.10.4
	* configure.ac
	* doc/aria2c.1.txt
2010-10-10 15:18:18 +00:00
Tatsuhiro Tsujikawa 5db7b123b5 2010-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use inet_ntoa if inet_ntop is not available. Since inet_ntoa does
	not handle IPv6 address, IPv6 support is limited in this
	case. Fixed unit test error under mingw32.
	* configure.ac
	* src/AsyncNameResolver.cc
	* src/SocketCore.cc
	* src/bittorrent_helper.cc
	* test/BittorrentHelperTest.cc
	* test/DHTMessageFactoryImplTest.cc
	* test/DHTRoutingTableDeserializerTest.cc
	* test/DHTRoutingTableSerializerTest.cc
	* test/DefaultBtAnnounceTest.cc
	* test/Metalink2RequestGroupTest.cc
	* test/UTPexExtensionMessageTest.cc
2010-10-04 14:33:49 +00:00
Tatsuhiro Tsujikawa 880c6b5498 2010-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated autoconf 2.67
	* configure.ac
2010-09-11 12:28:34 +00:00
Tatsuhiro Tsujikawa 350b6f616c 2010-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.10.3
	* configure.ac
	* doc/aria2c.1.txt
2010-09-11 12:23:12 +00:00
Tatsuhiro Tsujikawa 13cb9d5bfe 2010-08-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.10.2
	* configure.ac
	* doc/aria2c.1.txt
2010-08-31 13:52:40 +00:00
Tatsuhiro Tsujikawa a478cfecc4 2010-08-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number 1.10.1
	* configure.ac
	* doc/aria2c.1.txt
2010-08-25 12:38:21 +00:00
Tatsuhiro Tsujikawa 27e96877b7 2010-07-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten check for fallocate using AC_COMPILE_IFELSE.
	* configure.ac
	* m4/fallocate.m4
2010-07-27 14:37:25 +00:00
Tatsuhiro Tsujikawa 253c0ba353 2010-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that HAVE_SOME_FALLOCATE gets undefined if fallocate
	is not available even if posix_fallocate is available. This causes
	FallocFileAllocationIterator.cc is out of compile targets and
	linker error.
	* configure.ac
2010-07-26 12:20:19 +00:00
Tatsuhiro Tsujikawa e7ca63949c 2010-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.10.0
	* configure.ac
	* doc/aria2c.1.txt
2010-07-17 03:41:43 +00:00
Tatsuhiro Tsujikawa a5cc350dcf 2010-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
When allocating disk space, for Linux system with fallocate()
	system call, first check file system supports fallocate.  This
	just run fallocate with small chunk and see it succeeds or fails.
	If it succeeds, use fallocate() to allocate entire file otherwise
	fall back to traditional slower method: writing zeros. This
	behavior is enabled in --file-allocation=prealloc, so this is
	enabled by default for most modern Linux.
	* configure.ac
	* src/AbstractDiskWriter.cc
	* src/AbstractDiskWriter.h
	* src/AbstractSingleDiskAdaptor.cc
	* src/AdaptiveFileAllocationIterator.cc
	* src/AdaptiveFileAllocationIterator.h
	* src/DefaultPieceStorage.cc
	* src/DiskAdaptor.cc
	* src/DiskAdaptor.h
	* src/FallocFileAllocationIterator.cc
	* src/Makefile.am
	* src/MultiFileAllocationIterator.cc
	* src/OptionHandlerFactory.cc
	* test/FallocFileAllocationIteratorTest.cc
	* test/Makefile.am
2010-07-04 15:03:35 +00:00
Tatsuhiro Tsujikawa 1d8bceba2f 2010-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.9.5
	* configure.ac
	* doc/aria2c.1.txt
2010-06-28 12:17:36 +00:00
Tatsuhiro Tsujikawa fdf5c0109b 2010-06-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.9.4
	* configure.ac
	* doc/aria2c.1.txt
2010-06-01 12:56:21 +00:00
Tatsuhiro Tsujikawa 5cd6baa13e 2010-05-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.9.3.
	* configure.ac
2010-05-07 03:54:26 +00:00
Tatsuhiro Tsujikawa 2480b0efcc 2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.9.2
	* configure.ac
	* doc/aria2c.1.txt
2010-04-25 10:15:00 +00:00
Tatsuhiro Tsujikawa 5d636df361 2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added kqueue support. We use poll() for
	SocketCore::isReadable()/isWritable() when kqueue is used.
	* configure.ac
	* src/DownloadEngineFactory.cc
	* src/KqueueEventPoll.cc
	* src/KqueueEventPoll.h
	* src/Makefile.am
	* src/Makefile.in
	* src/OptionHandlerFactory.cc
	* src/main.cc
	* src/prefs.cc
	* src/prefs.h
2010-04-24 13:07:35 +00:00
Tatsuhiro Tsujikawa 9cf05b7115 2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added opensolaris port_associate() support.
	* src/DownloadEngineFactory.cc
	* src/Makefile.am
	* src/OptionHandlerFactory.cc
	* src/PortEventPoll.cc
	* src/PortEventPoll.h
	* src/SocketCore.cc
	* src/SocketCore.h
	* src/configure.ac
	* src/main.cc
	* src/prefs.cc
	* src/prefs.h
2010-04-21 14:31:44 +00:00
Tatsuhiro Tsujikawa 0ec50a8d50 2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Supported poll() for socket event notification.  --event-poll can
	take value "poll". Fixed the bug that timeout for
	SocketCore::isReadable()/isWritable() is ignored when epoll is
	used.
	* src/OptionHandlerFactory.cc
	* src/a2io.h
	* src/prefs.h
	* src/SocketCore.h
	* src/Makefile.am
	* src/main.cc
	* src/PollEventPoll.h
	* src/SocketCore.cc
	* src/DownloadEngineFactory.cc
	* src/PollEventPoll.cc
	* src/prefs.cc
	* configure.ac
2010-04-19 12:53:58 +00:00
Tatsuhiro Tsujikawa fb9590d176 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added AC_SEARCH_LIBS for inet_aton on opensolaris.  opensolaris
	needs -lnsl for inet_aton.
	* configure.ac
2010-04-14 13:59:10 +00:00
Tatsuhiro Tsujikawa 91e7127396 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Implemented clock_gettime() using mach_absolute_time in Mac OS X.
	* configure.ac
	* src/Makefile.am
	* src/a2time.h
	* src/clock_gettime_osx.cc
	* src/clock_gettime_osx.h
2010-04-13 16:06:59 +00:00
Tatsuhiro Tsujikawa 7e22cc38bb 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Implemented clock_gettime() using timeGetTime in mingw.
	* configure.ac
	* src/Makefile.am
	* src/a2time.h
	* src/clock_gettime_mingw.cc
	* src/clock_gettime_mingw.h
	* src/timespec.h
	* test/Makefile.am
2010-04-13 15:36:56 +00:00
Tatsuhiro Tsujikawa 6e9a25798c 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added nsl to search-libs for getaddrinfo on opensolaris
	* configure.ac
2010-04-11 15:57:45 +00:00
Tatsuhiro Tsujikawa f2697552ae 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error on opensolaris
	* configure.ac
	* src/Logger.h
	* src/GZipEncoder.h
2010-04-11 15:44:37 +00:00
Tatsuhiro Tsujikawa 0529e78187 2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use clock_gettime(CLOCK_MONOTONIC, ...) if it is available and
	usable to prevent from aria2 from being affected by system time
	change.
2010-04-11 08:28:22 +00:00
Tatsuhiro Tsujikawa f98319469f 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.9.1
	* configure.ac
2010-04-03 14:13:26 +00:00
Tatsuhiro Tsujikawa a7c2cafeac 2010-03-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.9.0
	* configure.ac
2010-03-08 15:03:02 +00:00
Tatsuhiro Tsujikawa 674eff7da3 2010-02-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print CXXFLAGS
	* configure.ac
2010-02-16 14:54:49 +00:00
Tatsuhiro Tsujikawa 34916ad0ea 2010-02-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.9.0a
	* configure.ac
	* doc/aria2c.1.txt
2010-02-14 08:40:02 +00:00
Tatsuhiro Tsujikawa 403e8c5754 2010-01-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.8.2
	* configure.ac
2010-01-28 15:06:10 +00:00
Tatsuhiro Tsujikawa c398a73343 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.8.1
	* configure.ac
2010-01-17 14:15:55 +00:00
Tatsuhiro Tsujikawa 62e4ae20f6 2010-01-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Run autoupdate
	* configure.ac
2010-01-06 15:01:27 +00:00
Tatsuhiro Tsujikawa 3465e87167 2009-12-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.8.0.
	* configure.ac
2009-12-27 03:20:53 +00:00
Tatsuhiro Tsujikawa b19e292157 2009-12-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that if --without-sqlite3 is given, pkg-config is
	not properly used in configure script and failed to detect gnutls.
	This is because explicit call of PKG_PROG_PKG_CONFIG is missing
	and the initialization of pkg-config is done in first occurrence
	of PKG_CHECK_MODULES which is not executed because it is inside of
	sqlite3.m4. Added explicit PKG_PROG_PKG_CONFIG call.
	* configure.ac
2009-12-16 12:04:40 +00:00
Tatsuhiro Tsujikawa 52f652d46d 2009-12-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.7.2
	* configure.ac
2009-12-12 12:59:22 +00:00
Tatsuhiro Tsujikawa 431b58196c 2009-12-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.7.1
	* configure.ac
2009-12-06 12:45:25 +00:00
Tatsuhiro Tsujikawa 80f832cd19 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.7.0
	* configure.ac
2009-12-05 11:46:50 +00:00
Tatsuhiro Tsujikawa d2816a2a19 2009-12-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
In configure script, if --with-PACKAGE and --enable-FEATURE are
	given and PACKAGE is missing in the system or FEATURE cannot be
	enabled, print error message and stop the script.
	* configure.ac
	* m4/aria2_arg.m4
2009-12-05 06:33:07 +00:00
Tatsuhiro Tsujikawa 4156debe5c 2009-12-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --interface option.  This feature binds sockets to given
	interface. You can specify interface name, IP address and
	hostname.
	* configure.ac
	* src/OptionHandlerFactory.cc
	* src/SocketCore.cc
	* src/SocketCore.h
	* src/main.cc
	* src/message.h
	* src/prefs.cc
	* src/prefs.h
	* src/usage_text.h
2009-12-03 14:41:08 +00:00
Tatsuhiro Tsujikawa b63cd3a82a 2009-10-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.6.3
	* configure.ac
2009-10-29 14:59:06 +00:00
Tatsuhiro Tsujikawa f92983cc81 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.6.2
	* configure.ac
2009-10-10 08:36:26 +00:00
Tatsuhiro Tsujikawa fb70a0e69c 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added AC_FUNC_STRTOD and AC_TYPE_PID_T.  Check function for pow,
	utime. Check header for utime.h.
	* configure.ac
2009-10-10 08:16:44 +00:00
Tatsuhiro Tsujikawa 1af73e306c 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use AC_FUNC_FORK. Replaced HAVE_FORK with HAVE_WORKING_FORK.
	* configure.ac
	* src/daemon.cc
2009-10-10 08:09:16 +00:00
Tatsuhiro Tsujikawa cb69cca675 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't set localedir manually. Leave it to autoconf.
	* configure.ac
	* src/Makefile.am
2009-10-10 08:03:27 +00:00
Tatsuhiro Tsujikawa f31fa015bb 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --install to ACLOCAL_AMFLAGS.
	Removed m4 from SUBDIRS.
	Updated automake 1.11 and autoconf 2.64.
	Replaced some obsolute macros with new one.
	* Makefile.am
	* configure.ac
	* m4/aria2_arg.m4
2009-10-10 07:54:39 +00:00
Tatsuhiro Tsujikawa 52e4d99384 2009-10-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed Makefile.am in m4 directory.
	* configure.ac
	* m4/ChangeLog
	* m4/Makefile.am
	* m4/Makefile.in
2009-10-10 07:29:12 +00:00
Tatsuhiro Tsujikawa 97b921ef17 2009-10-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.6.1
	* configure.ac
2009-10-06 13:11:39 +00:00
Ross Smith II 263aebc558 Add check for fork(), which is missing on MinGW
* src/daemon.cc
* configure.ac
2009-09-23 21:35:10 +00:00
Tatsuhiro Tsujikawa 6293908a9d 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added our own daemon() function for systems which desn't have
	daemon(3).
	* configure.ac
	* src/Makefile.am
	* src/daemon.cc
	* src/daemon.h
	* src/option_processing.cc
2009-09-19 09:05:20 +00:00
Tatsuhiro Tsujikawa 9eb3242216 2009-09-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.6.0.
	* configure.ac
2009-09-05 15:11:06 +00:00
Tatsuhiro Tsujikawa 2b290421d8 2009-08-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.5.2
	* configure.ac
2009-08-19 14:12:04 +00:00
Tatsuhiro Tsujikawa bbae39572d 2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.5.1
	* configure.ac
2009-07-26 13:57:51 +00:00
Tatsuhiro Tsujikawa 55a35ad2a2 2009-07-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Handle the situation where struct option.name is char *.
	* configure.ac
	* src/OptionParser.cc
2009-07-14 13:22:26 +00:00
Tatsuhiro Tsujikawa 0fdbf1b09c 2009-07-05 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.5.0
	* configure.ac
2009-07-05 09:20:18 +00:00
Tatsuhiro Tsujikawa 1f35ea536a 2009-06-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Bump up version number to 1.4.1.
	* configure.ac
2009-06-07 07:52:40 +00:00
Tatsuhiro Tsujikawa b60f5d7338 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed typo
	* configure.ac
2009-05-23 05:22:05 +00:00
Tatsuhiro Tsujikawa aafbe6f74b 2009-05-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Since upcoming libgnutls 2.8 doesn't have libgnutls-config, Check
	presence of libgnutls using pkg-config first. If it fails, fall
	back to old macro libgnutls.m4.
	* configure.ac
2009-05-23 05:20:21 +00:00