Commit Graph

9177 Commits

Author SHA1 Message Date
Arvid Norberg eaea4a81cc modernize: remove redundant smart ptr get(), use fixed-width integer types (#900) 2016-07-10 07:31:58 -04:00
Arvid Norberg fcac8c10ef i2p_stream cleanup (#899) 2016-07-10 01:24:06 -04:00
Arvid Norberg e801d2e6de modernize replace deprecated headers (#897) 2016-07-09 23:17:55 -04:00
Arvid Norberg 48298e1670 modernize use nullptr (python binding) (#896) 2016-07-09 22:36:14 -04:00
Arvid Norberg e782783814 modernize use override (#895) 2016-07-09 20:10:38 -04:00
Arvid Norberg 770935cd46 modernize-use-nullptr (#894) 2016-07-09 16:26:26 -04:00
arvidn 5be93752de fix warning 2016-07-09 13:49:46 -04:00
arvidn 3abd024ecc fix warning 2016-07-09 10:31:48 -04:00
arvidn 76bb6db1ab fixup 2016-07-09 02:34:50 -04:00
arvidn 2df81d0927 Merge branch 'RC_1_1' 2016-07-09 02:21:39 -04:00
Steven Siloti f0d7ec3954 refactor optimistic unchoke extension API (#888)
refactor optimistic unchoke extension API. The new interface is more efficient to implement and only allows extensions to affect the unchoke order in cases where the last unchoked timestamp is equal.
This is safer because it prevents extensions from overriding the round-robin ordering of optimistic unchokes.
2016-07-07 08:34:52 -04:00
Arvid Norberg e079d0291e fix filename escaping when repairing torrents with broken web seeds (#892)
fix filename escaping when repairing torrents with broken web seeds
2016-07-07 02:22:15 -04:00
Arvid Norberg 52b934530e cleanup appveyor and .travis scripts (#890)
Cleanup appveyor and .travis scripts
2016-07-06 13:52:15 -04:00
arvidn 98af1cd54e merged RC_1_1 into master 2016-07-05 18:03:06 -04:00
Arvid Norberg eeb91cb803 Reduce appveyor builds 1.1 (#883)
reduce the number of times libtorrent is built on appveyor and travis
2016-07-05 11:25:31 -04:00
Arvid Norberg c299149dc0 fix cppcheck (#887)
fix cppcheck
2016-07-05 08:42:11 -04:00
Arvid Norberg 3ec48ec5b4 support CryptoAPI on windows, for SHA-1 hashing (#882)
support CryptoAPI on windows, for SHA-1 hashing. don't always use openssl in test build configurations
2016-07-05 08:40:09 -04:00
Arvid Norberg cbb6f47f36 make some types movable (#885) 2016-07-04 18:19:55 -04:00
Arvid Norberg d9c091f888 run through auto-tools initialization on travis (#886)
run through auto-tools initialization on travis
2016-07-04 17:08:16 -04:00
Steven Siloti e0c0b14e6c limit crypto messages to 1MB (#884)
limit crypto messages to 1MB
2016-07-04 02:48:13 -04:00
Arvid Norberg 66416963eb fix python binding linking on msvc (#878) 2016-07-03 23:30:52 -04:00
Arvid Norberg 34a2a7f7d4 add static_asserts to alert_cast (#881) 2016-07-03 15:07:20 -04:00
Arvid Norberg cf65f85dc3 fix file_completed_alert (#880) 2016-07-03 14:48:18 -04:00
arvidn 75dca7116f fix configure.ac typo 2016-07-03 11:52:02 -04:00
Arvid Norberg 33117ce5b2 extend link compatibility check to export-extra configurations (#876)
extend link compatibility check to export-extra configurations
2016-07-03 11:42:57 -04:00
arvidn 777a0838ce make test_recheck more robust 2016-07-02 22:32:35 -04:00
Arvid Norberg 44c048f4f5 fix seed mode and suggest mode (#871)
fix resume data when combining seed-mode with suggest-mode
2016-07-02 16:20:12 -04:00
arvidn f0ef07a9c5 improve robustness of remap-gather test 2016-07-02 15:50:13 -04:00
Arvid Norberg 103d574cb0 build and run all tests in macOS (#859)
build and run all tests in macOS. fix test build invocation on travis. remove bdecode_benchmark
2016-07-02 00:41:48 -04:00
Arvid Norberg 1facf0eef6 clean-up more defines (#872)
clean-up more defines. remove TORRENT_DEBUG and TORRENT_DISABLE_INVARIANT_CHECKS (instead use TORRENT_USE_ASSERTS and TORRENT_USE_INVARIANT_CHECKS)
2016-07-01 19:46:59 -04:00
Alden Torres afed2a8f40 removed big-obj flag when using mingw32 (#875) 2016-07-01 17:27:51 -04:00
Alden Torres fdcf98c247 dont force search of libcrypto in /usr/lib (#873) 2016-07-01 02:13:31 -04:00
arvidn f5bb8c4b77 improve test robustness 2016-07-01 00:24:52 -04:00
Alden Torres 07f78264e3 android supports fdatasync since 2.3 (#874) 2016-07-01 00:13:03 -04:00
Alden Torres 39e971c2ce added support for arm crc32c and changed to test in arm 32 bits (#869)
added support for arm crc32c and changed to test in arm 32 bits
2016-06-30 11:37:55 -04:00
arvidn e27f7e2b67 use git clone depth 1 on travis 2016-06-29 21:17:38 -04:00
Arvid Norberg 3ab0623980 Merge pull request #866 from arvidn/peer-log
print peer logs directly into the allocation
2016-06-29 19:50:01 -04:00
Arvid Norberg 7ed980659f Merge pull request #867 from glassez/storage11
Move storage "file-by-file" (#632)
2016-06-29 19:41:58 -04:00
Arvid Norberg 97ad7510af minor refactoring to move-storage patch (#680)
minor refactoring to move-storage patch
2016-06-29 20:05:28 +03:00
Vladimir Golovnev faef995cdc Move storage "file-by-file" (#632)
When moving storage for a torrent, only move files belonging to the torrent, one by one.
2016-06-29 20:05:16 +03:00
arvidn 08aebd2729 format more log messages in alert constructors 2016-06-29 02:02:46 -04:00
arvidn 55d8b0625f fix 2016-06-29 02:02:46 -04:00
arvidn b1e36a53e3 print peer logs directly into the allocation 2016-06-29 02:02:46 -04:00
Alden Torres 40c343be93 fixed macro assert around assert_torrent_refcount (#868) 2016-06-28 13:42:18 -04:00
Alden Torres ecb64a53a9 backport of popcnt asm for x86 and gcc/clang (#864)
backport of popcnt asm for x86 and gcc/clang
2016-06-28 00:34:21 -04:00
Arvid Norberg a675682b6c some cleanup of TORRENT_DEBUG defines (#863)
some cleanup of TORRENT_DEBUG defines
2016-06-27 22:28:51 -04:00
Alden Torres f7515edc8b added neon support for popcount (#861)
added neon support for popcount
2016-06-27 18:51:43 -04:00
Alden Torres 9233edae4e using popcnt asm for x86 and gcc/clang (#862) 2016-06-27 18:51:00 -04:00
terry zhao 1a3e75b50a fix msvc-8.0 build (#860) 2016-06-27 13:46:15 -04:00
Arvid Norberg 31b2a03005 some optimizations (#858)
allow disk I/O callback objects to be moved into disk io jobs
2016-06-27 01:02:00 -04:00