Commit Graph

11495 Commits

Author SHA1 Message Date
arvidn 271bc55694 update SSL test certificates 2019-11-03 05:56:22 -08:00
arvidn ca7e20fe5f fix type of allocation_mode in client_test 2019-10-31 10:30:01 +01:00
arvidn cc710671c8 fix sonarcloud integration 2019-10-31 07:37:57 +01:00
Pavel Pimenov a6baefa197 client_test: add set_torrent_params 2019-10-31 07:37:30 +01:00
arvidn 47dede4f7e back-port missing include for GCC 10 2019-10-30 15:02:44 +01:00
Steven Siloti b26629885b fix storing udp port mappings in listen_socket_t 2019-10-23 15:50:37 +02:00
arvidn 28a627a3a3 fix settings default value doc generation. Apply documentation fix from Sig7 2019-10-20 21:59:03 +02:00
arvidn 729102c280 fixed division by zero in anti-leech choker 2019-10-20 12:59:55 +02:00
arvidn 39e2e4d3dc fix torrent_info::swap 2019-10-18 13:38:39 +02:00
arvidn c8f3063f25 fix SSL test 2019-10-15 10:22:19 +02:00
arvidn 9115c8c28d update travis OSX image to the latest version 2019-10-15 10:22:19 +02:00
arvidn 4b8f8d7e92 honor proper object lifetime rules 2019-09-28 22:11:54 +02:00
arvidn 9c970550e3 fix clang warning on empty statements by fixing the test macros 2019-09-24 01:28:43 +02:00
arvidn 3168de21f9 fix the tools/test_coverage.sh script 2019-09-16 06:25:17 -06:00
Arvid Norberg 08b6a112c0 fix the asserts=on and invariant-checks=on default build. Right now you can't change them in debug builds. Just make those defaults when building tests and examples. Also enable debug-iterators by default in tests and examples 2019-09-16 00:21:53 -06:00
Arvid Norberg b9a3ba1b37 improve sanitizer feature in Jamfile, that detects which compiler is used. don't enable msvc-debug iterators explicitly, as it breaks release builds. They are enabled by default in debug builds anyway 2019-09-15 15:48:58 -06:00
Arvid Norberg 2f5fd13a59 put default build configuration for tests in a variable, to avoid repetition. Make all tests built as individual executables again 2019-09-15 15:48:31 -06:00
Arvid Norberg 96bec628e7 simplify travis script by putting all common bjam command line arguments in a variable 2019-09-15 08:28:49 -06:00
arvidn dee84280dc fix run_benchmark.py 2019-09-15 09:29:13 +02:00
arvidn beea1eb731 fix over-eager TORRENT_ABI_VERSION check in test_bencoding 2019-09-15 05:53:49 +02:00
arvidn f995c68377 restore client_test feature to exit after a specified number of loops (useful for automated tests) 2019-09-13 22:42:20 +02:00
arvidn d08fa164d2 fix issue where pieces would be hashed despite disable_hash_checks was set 2019-09-13 22:38:18 +02:00
arvidn d1e0e8701b documentation improvements 2019-09-13 14:31:20 +02:00
arvidn 961417814b WIP: fix to be less likely to hammer web seeds 2019-09-12 16:57:07 +02:00
arvidn 5ce0f43bb1 fix default to enable asserts when building debug 2019-09-10 15:44:17 +02:00
arvidn 7a27a0430b improve peer logging a bit more. specifically around merging requests, sending merged requests and connecting web seeds 2019-09-10 12:23:36 +02:00
arvidn 77be259938 improve peer logging 2019-09-08 19:02:09 +02:00
arvidn 7878f68370 add some missing documentation. undeprecate error_file_metadata ahead of master undeprecating it 2019-09-08 10:51:46 +02:00
Arvid Norberg 47bd25230c fix travis osx build 2019-09-07 17:30:48 +02:00
arvidn 9b1607a63c fix updating of is_finished torrent status, when changing piece priorities 2019-09-07 10:45:25 +02:00
arvidn a3440e54bb make aux::session_settings thread-safe. this allows all threads to share the same settings object, which has low contention and is rarely updated 2019-09-01 03:41:36 +02:00
arvidn c0c4c2083a avoid comparing unrelated pointer in the DHT routing table (which is UB) 2019-08-31 12:54:00 +02:00
arvidn d5b56ca187 capture return value from placement new, to explicitly make the pointer point to the new object 2019-08-28 23:58:25 +02:00
arvidn 9b6d49d539 explicitly use integer division in python script. make minimize.sh script fail on errors, instead of silently ignoring them 2019-08-23 17:31:13 +02:00
arvidn baeb959054 bump version to 1.2.2 2019-08-23 13:39:22 +02:00
arvidn b2c3b4dbf8 add spaces around user defined literal suffix operators 2019-08-21 14:23:46 +02:00
arvidn e8543ecf54 remove empty statements and fix integral promotion warning 2019-08-20 14:36:03 +02:00
arvidn af5fe587c0 fix regression in left= reporting to trackers when adding a seeding torrent 2019-08-19 13:49:25 +02:00
arvidn b97ac317f6 improved peer_conn fuzzer 2019-08-17 22:16:38 +02:00
arvidn 07ab3b9739 add feature to create an affinity to pick adjecent pieces aligned to 4MiB extents. It's an attempt to improve disk I/O, by writing larger contiguous ranges of bytes. It's off by default. 2019-08-17 12:32:47 +02:00
arvidn ffd4b39b09 improve hack in file_storage::symlink 2019-08-13 21:30:23 +02:00
Arvid Norberg ff113a262c make it a bit more likely to split the last bucket in the DHT routing table 2019-08-12 15:08:49 -07:00
Arvid Norberg e97f7659c8 use macro for number of corse for bjam -j invocation 2019-08-07 20:48:57 -07:00
Arvid Norberg bfe0e1f27d hide some internal functions. error if namespaces are preceded by whitespace (as the docs generation script requires them to start at the beginning of the line) 2019-08-07 20:48:26 -07:00
Arvid Norberg f40ecac4dd improve testing on appveyor. revert appveyor image 2019-08-06 21:55:47 -07:00
Arvid Norberg f23f96ea1f fix win32 test stdout redirection 2019-08-06 21:55:47 -07:00
Andrei Kurushin d4ddc416b3 backport RC_1_2: unban 51.x.x.x from dht darknet list 2019-08-02 08:01:34 -07:00
Arvid Norberg 03ffc04e39 back port fixing GCC warnings 2019-08-02 06:21:07 -07:00
Arvid Norberg bd0d011536 make test_dht deterministic 2019-07-31 19:04:29 -07:00
Arvid Norberg a869af0f92 add CII badge to README 2019-07-30 11:16:34 -07:00