Commit Graph

4010 Commits (38d457435534fd06d6278feaf3d9efd471a19746)

Author SHA1 Message Date
Tatsuhiro Tsujikawa f3876ad9ab Update libaria2ex.cc to use latest API 2013-05-18 16:13:56 +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 13e064e4e1 Add code to detect rst2html.py or rst2html 2013-05-17 21:38:51 +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 0adc4b795e Add gid option to Input File section 2013-05-16 23:15:23 +09: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 be4c9aa95e Test failure without Metalink and BitTorrent support 2013-05-15 23:31:49 +09:00
Tatsuhiro Tsujikawa 8e8fb9ee36 Add addTorrent API 2013-05-15 23:29:28 +09:00
Tatsuhiro Tsujikawa 4e8742597a Add aria2api unit tests 2013-05-15 22:59:26 +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 390ad710f1 Update copyright year in aria2c.rst 2013-05-11 22:35:19 +09:00
Tatsuhiro Tsujikawa 771af11212 Update doc theme 2013-05-11 21:05:40 +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 01d2cb197c Fix doc 2013-05-10 00:06:50 +09:00
Tatsuhiro Tsujikawa 742f8cc822 Document theme change
Need to change ru and pt as well
2013-05-10 00:01:19 +09:00
Tatsuhiro Tsujikawa 16635f94ea Make DownloadHandle class 2013-05-10 00:00:36 +09:00
Tatsuhiro Tsujikawa 370584a12b Update doc 2013-05-09 23:59:50 +09:00
Tatsuhiro Tsujikawa f2c2f08585 Support @class, fix execution failure 2013-05-09 23:59:22 +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 e4996e563b Use getFile(index) API 2013-05-09 00:49:16 +09:00
Tatsuhiro Tsujikawa b733431ac4 Add DownloadHandle::getNumFiles and getFile API 2013-05-09 00:48:41 +09:00
Tatsuhiro Tsujikawa 1f38699d32 Add libaria2 multi-threaded GUI examle program using wx 2013-05-09 00:24:45 +09:00
Tatsuhiro Tsujikawa 81359a7065 Add libaria2 examples 2013-05-07 00:46:29 +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 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