Commit Graph

2896 Commits (dc8ed34cb014a0bdf22168fc73563086c8d8d1f2)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 3616b75e8a Fix redeclaration warning on opensolaris 2013-05-26 16:15:57 +09:00
Tatsuhiro Tsujikawa ce9eec5cb2 Include winsock2.h before windows.h 2013-05-25 23:28:28 +09:00
Tatsuhiro Tsujikawa e760b3bd6e Fix compiler warning with openssl 2013-05-25 23:27:56 +09:00
Tatsuhiro Tsujikawa 84769bce57 Fix compile error without message digest support 2013-05-25 22:38:57 +09:00
Tatsuhiro Tsujikawa bc3b162569 Remove open_ member from BufferedFile and GZipFile
Just checking fp_ is sufficient.
2013-05-23 23:28:08 +09:00
Tatsuhiro Tsujikawa b0799b6e46 Introduce IOFile abstract class to refactor BufferedFile and GZipFile
IOFile provides the same interface of old BufferedFile. It provides
extension points as pure virtual functions. Those functions are
implemented by 2 concrete subclasses: BufferedFile and GZipFile.
2013-05-23 23:12:32 +09:00
Tatsuhiro Tsujikawa 6c0fa43fa5 Update doc 2013-05-23 21:18:54 +09:00
Tatsuhiro Tsujikawa db1106101d Fix compile error without bittorrent support 2013-05-23 00:46:08 +09:00
Tatsuhiro Tsujikawa b9436e4d12 Fix uninitialized values 2013-05-23 00:45:50 +09:00
Tatsuhiro Tsujikawa b7a3976456 Fix position of parenthesis 2013-05-23 00:43:37 +09:00
Nils Maier e25c0955c5 Fix invalid reference return in IndexedListIterator 2013-05-19 18:02:44 +02:00
Tatsuhiro Tsujikawa 2ed68f7ea3 Don't install aria2.h when libaria2 is disabled 2013-05-18 19:36:25 +09:00
Tatsuhiro Tsujikawa 93db904e48 Add reference marker to EXIT STATUS section 2013-05-18 16:37:58 +09:00
Tatsuhiro Tsujikawa a4b29ac2f7 Add getGlobalStat API 2013-05-18 15:41:40 +09:00
Tatsuhiro Tsujikawa c688f51f2e Don't return hidden option from DownloadHandle::getOption and getGlobalOption 2013-05-17 23:06:34 +09:00
Tatsuhiro Tsujikawa 45506573a8 Rename KeyVals DownloadHandle::getOption() as getOptions 2013-05-17 23:00:37 +09:00
Tatsuhiro Tsujikawa 06377d77c9 Add changeGlobalOption, getGlobalOption, getGlobalOptions API 2013-05-17 22:56:21 +09:00
Tatsuhiro Tsujikawa 7ac096c3c0 Merge branch 'signals-again' of https://github.com/nmaier/aria2 into nmaier-signals-again 2013-05-17 21:19:42 +09:00
Nils Maier b7ef53b13d OSX (now) needs signal.h for sigaction 2013-05-17 01:48:53 +02:00
Nils Maier 51ddcaf5b1 AppleTLS: Properly support Snow Leopard (10.6)
Tested on 10.6.8 + XCode 4.2 (llvm-gcc-4.2, clang)
2013-05-17 01:42:01 +02:00
Tatsuhiro Tsujikawa c7c4d46672 Add changeOption and DownloadHandle::getOption API
In aria2c.rst, define section label for "Input File" section so that
it can be referenced from other document.
2013-05-16 23:09:19 +09:00
Tatsuhiro Tsujikawa 8e8fb9ee36 Add addTorrent API 2013-05-15 23:29:28 +09:00
Tatsuhiro Tsujikawa a8ef703b89 Update doc 2013-05-15 22:58:55 +09:00
Tatsuhiro Tsujikawa a4a4a10490 Remove NULL check for pref because pref is always non NULL 2013-05-15 22:51:35 +09:00
Tatsuhiro Tsujikawa fc0982587b Release elements in routineCommands_ on destruction 2013-05-15 22:50:51 +09:00
Tatsuhiro Tsujikawa cef6db17ba Add changePosition API 2013-05-15 00:50:55 +09:00
Tatsuhiro Tsujikawa 4f5d26a0c7 Use BtFileMode for TorrentAttribute::mode 2013-05-15 00:09:51 +09:00
Tatsuhiro Tsujikawa 5dcc2b7842 Add DownloadHandle::getBtMetaInfo() API 2013-05-14 23:00:21 +09:00
Tatsuhiro Tsujikawa b0b5e0df38 Enable multicast loopback in Bt LPD 2013-05-14 21:45:27 +09:00
Tatsuhiro Tsujikawa e350df2d75 Add download event callback API and its example 2013-05-11 19:40:24 +09:00
Tatsuhiro Tsujikawa 1c571f196a Refactor Notifier interface to accept DownloadEventListener interface
WebSocketSessionMan now implements DownloadEventListener and is added
to Notifier. It becomes member variable of DownloadEngine.  The event
constant for download event is defined in aria2.h so that we can add
event callback API later.
2013-05-11 18:50:03 +09:00
Tatsuhiro Tsujikawa 9f4f888e39 Make DownloadHandle::getNumPieces() return int 2013-05-10 21:52:46 +09:00
Tatsuhiro Tsujikawa 1a953d5f93 Add DownloadHandle::getInfohash() and getPieceLength() 2013-05-10 21:51:41 +09:00
Tatsuhiro Tsujikawa 1b6827b060 Revert d50021d045
It is safe to use prealloc for default, because of legacy fs (e.g.,
vfat) usage in Android.
2013-05-10 21:14:03 +09:00
Tatsuhiro Tsujikawa c056f747c6 Install libaria2.pc only when libaria2 is enabled 2013-05-10 21:12:30 +09:00
Tatsuhiro Tsujikawa 233501f768 Enable TLS1.1 with gnutls build 2013-05-10 00:49:06 +09:00
Tatsuhiro Tsujikawa fb31e44d60 Change error code -1 to just negative error code 2013-05-10 00:08:36 +09:00
Tatsuhiro Tsujikawa 16635f94ea Make DownloadHandle class 2013-05-10 00:00:36 +09:00
Tatsuhiro Tsujikawa ca6b46db84 Generate libaria2 API doc from aria2.h 2013-05-09 23:49:30 +09:00
Tatsuhiro Tsujikawa 8940d2aafd Change the way to receive resulting gids in addUri, addMetalink 2013-05-09 21:28:24 +09:00
Tatsuhiro Tsujikawa b733431ac4 Add DownloadHandle::getNumFiles and getFile API 2013-05-09 00:48:41 +09:00
Tatsuhiro Tsujikawa d50021d045 Use trunc as default value for --file-allocation on Android build 2013-05-06 19:31:40 +09:00
Tatsuhiro Tsujikawa 4c139eb039 Add TAG_DEPRECATED in DeprecatedOptionHandler ctor 2013-05-06 19:24:13 +09:00
Tatsuhiro Tsujikawa 512f87f4ff Fix compiler warning 2013-05-06 19:23:17 +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 3a4acead2d Reset global::globalHaltRequested to 0 in MultiUrlRequestInfo::prepare() 2013-05-05 17:47:14 +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 22b3e0a4ae Fix PREF_QUIET is set to A2_V_TRUE even if standalone is true 2013-05-05 00:05:41 +09:00
Tatsuhiro Tsujikawa ebfc5f55e5 Add SessionConfig to store per Session config
sessionConfigSetKeepRunning() was removed and SessionConfig has
keepRunning member instead. Signal handlers are now all prepared in
MultiUrlRequestGroup object. Setting SessionConfig.useSignalHandler to
false will avoid signal handler setup.
2013-05-04 23:56:19 +09:00