Commit Graph

3440 Commits (3a6f39ca7a1e0b6946c4c72f7fa37dbe6c382121)

Author SHA1 Message Date
Tatsuhiro Tsujikawa ca634a82bd Add bittorrent key to aria2.tellStopped status 2016-04-17 21:06:41 +09:00
Tatsuhiro Tsujikawa 2e0e8ed0e5 Amend 2016-04-15 23:54:10 +09:00
Tatsuhiro Tsujikawa 302bdfd9a0 Merge branch 'RpcTellStatus-Hashing' of https://github.com/kkartaltepe/aria2 into kkartaltepe-RpcTellStatus-Hashing 2016-04-15 23:33:26 +09:00
Tatsuhiro Tsujikawa 8fc28a9e43 clang-format 2016-04-15 23:31:00 +09:00
Tatsuhiro Tsujikawa cf1dd06d03 Merge branch 'system.listNotifications' of https://github.com/sonnyp/aria2 into sonnyp-system.listNotifications 2016-04-15 23:26:38 +09:00
Tatsuhiro Tsujikawa 437d4aa776 Fix compile error with Android NDK 2016-04-15 23:09:54 +09:00
Tatsuhiro Tsujikawa a474183bd3 clang-format 2016-04-15 23:09:54 +09:00
Tatsuhiro Tsujikawa ce868d75bd Fix issues reported by coverity 2016-04-13 19:20:19 +09:00
Sonny Piers d3f16a5711 system.listNotifications RPC method 2016-04-08 18:09:50 +02:00
Tatsuhiro Tsujikawa 395b8e93c5 Make single-etnry metalink download with multi-file torrent work 2016-03-27 19:29:19 +09:00
Tatsuhiro Tsujikawa d64089632e Merge branch 'master' into random-webseeding 2016-03-26 17:20:27 +09:00
Tatsuhiro Tsujikawa a7cd943a06 clang-format 2016-03-26 00:35:16 +09:00
Tatsuhiro Tsujikawa 2a8522f6a5 Attemp to fix compile error 2016-03-26 00:32:00 +09:00
Kurt Kartaltepe 2417225023 Report CheckIntegrity info in tellStatus
- Adds verifiedLength to tellStatus. Reports the length of data that has
been verified of the current RequestGroup being verified.
- Adds verifyPending to tellStatus. Reports if the RequestGroup has a
verification of integrity pending.

Closes #561
2016-03-22 23:38:38 -05:00
Tatsuhiro Tsujikawa f316c94710 Ignore floating number in torrent file 2016-03-17 23:28:28 +09:00
Tatsuhiro Tsujikawa bf3d95c5d1 Give advanced tag to optimize-concurrent-downloads option 2016-03-16 22:11:51 +09:00
Tatsuhiro Tsujikawa db5af2cec3 Fit into 80 columns 2016-03-16 21:40:42 +09:00
Tatsuhiro Tsujikawa 60d0cb0e24 Remove trailing white spaces 2016-03-16 21:25:43 +09:00
oliviercommelarbre 9e05371fb6 Added support for a dynamic management of the number of concurrent downloads as a function of the overall bandwidth observed 2016-03-16 21:22:49 +09:00
Tatsuhiro Tsujikawa f0f1b8ef47 clang-format-3.6 2016-03-15 23:49:56 +09:00
Tatsuhiro Tsujikawa 4595aa75e1 SessionSerializer: Fix bug that pause=true is added to wrong item
This change also defers writing metadata download to the location
where first its follower download is written.
2016-03-13 16:11:29 +09:00
Tatsuhiro Tsujikawa 21754fa103 Add following to aria2.tellStatus response key as reverse link for followedBy 2016-03-05 14:20:42 +09:00
Tatsuhiro Tsujikawa 74811ddaff mingw: Add warning for falloc 2016-03-03 22:19:57 +09:00
Nils Maier fc490ac05c Update ciphers in AppleTLS
Also enable fast start while at it
2016-03-03 06:17:46 +01:00
Tatsuhiro Tsujikawa 8985d66e71 Fix compile error without TLS support 2016-02-23 01:37:38 +09:00
Athmane Madjoudj c275b6f297 Remove trailing spaces 2016-02-17 00:12:24 +01:00
Athmane Madjoudj 1849ccfbba Add support for using gnutls system wide crypto policy 2016-02-17 00:11:23 +01:00
Tatsuhiro Tsujikawa a6970895ac clang-format 2016-02-16 00:20:12 +09:00
Tatsuhiro Tsujikawa 8d30869966 Fix compile error with --disable-bittorrent 2016-02-15 23:54:51 +09:00
Tatsuhiro Tsujikawa 8684923344 Merge branch 'patch-2' of https://github.com/kwkam/aria2 into kwkam-patch-2 2016-02-13 17:13:25 +09:00
kwkam 04eacf05e7 Update WinConsoleFile.cc
add blank line
2016-02-13 16:03:41 +08:00
kwkam 1c573c9708 src/WinConsoleFile.cc: fix colour
Try to make it less confusing
2016-02-13 16:01:41 +08:00
Tatsuhiro Tsujikawa c245c5ecc6 Fix compile error with clang and --enable-werror 2016-02-13 16:33:47 +09:00
kwkam 25ae17b490 src/WinConsoleFile.cc: fix colour
Set default foreground/background colour correctly
2016-02-12 14:24:04 +08:00
Tatsuhiro Tsujikawa 5e48e01bf9 Don't inherit file descriptor to child process
For non-Mingw32 build, set FD_CLOEXEC to file descriptors which live
beyond function scope.  For Mingw32 build, just pass false to
bInheritHandles parameter of CreateProcessW.
2016-02-08 00:09:17 +09:00
Tatsuhiro Tsujikawa 25615fcb17 Add "seeder" key to tellStatus RPC response 2016-02-03 22:21:37 +09:00
Tatsuhiro Tsujikawa 2a4d39b7e8 Don't add C++11 switch flags to CXXFLAGS 2016-01-30 19:14:38 +09:00
Tatsuhiro Tsujikawa e4d4eabd85 Use std::make_unique if C++14 is used 2016-01-30 19:13:41 +09:00
Tatsuhiro Tsujikawa cf2fa33fe0 WinTLS: Fix hang because of buffered received data
WinTLSSession buffers received decrypted data into its own buffer.  If
read is requested, it copies the data from its buffer.  But if
requested buffer size is less than decrypted buffer, some of the data
is left in the buffer.  Previously, we had no facility to check the
existence of this pending data.  If this data is the last requested
data from remote server, we may end up waiting for read event even if
we have already data in our buffer, which may cause hang.  This commit
fixes this issue by introducing function to return the buffered length
in TLSSession.  SocketCore also provides the same function, which
delegates to TLSSession object.
2016-01-30 00:17:54 +09:00
Tatsuhiro Tsujikawa 8f51793b19 Add --max-mmap-limit option
Set the maximum file size to enable mmap (see --enable-mmap
option). The file size is determined by the sum of all files contained
in one download. For example, if a download contains 5 files, then
file size is the total size of those files. If file size is strictly
greater than the size specified in this option, mmap will be disabled.
2016-01-29 00:14:30 +09:00
Tatsuhiro Tsujikawa fc95a91eb6 mingw: Use SetFileValidData to make --file-allocation=falloc work 2016-01-28 23:15:04 +09:00
Tatsuhiro Tsujikawa 25243da039 mingw: Add formatLastError as wrapper function for FormatMessage 2016-01-28 22:25:46 +09:00
Tatsuhiro Tsujikawa ad6d799b98 Retry with 504 status code 2016-01-26 15:49:05 +09:00
Tatsuhiro Tsujikawa 8203ee3d0d Increase DHT transaction ID from 2 to 4 bytes to avoid conflict 2016-01-23 12:39:42 +09:00
Tatsuhiro Tsujikawa dda0b62fb9 Add --enable-werror option to configure to enable warning flags 2016-01-22 23:22:46 +09:00
Tatsuhiro Tsujikawa f6fc952486 Don't modify user variables (e.g., CFLAGS, LIBS, etc) 2016-01-22 22:27:39 +09:00
Tatsuhiro Tsujikawa 6da1e9989c migw: Fix build failure 2016-01-22 22:19:55 +09:00
Tatsuhiro Tsujikawa d648062851 Replace sourforge reference to the new site 2016-01-22 09:09:58 +09:00
Tatsuhiro Tsujikawa 5892291c55 clang-format-3.6 2016-01-21 23:16:58 +09:00
Tatsuhiro Tsujikawa aaab5bbc74 Improve error message when loading pkcs12 file failed 2016-01-21 23:13:13 +09:00