Commit Graph

11510 Commits

Author SHA1 Message Date
arvidn 98c36d03ae travis uses 2 cores, build with -j2 (not -j3) 2019-11-20 15:10:05 +01:00
Arvid Norberg e3a4c9fffa enable parallel builds with ninja on appveyor 2019-11-19 17:02:54 +01:00
Arvid Norberg afb5d842ff test_resume fix 2019-11-19 01:46:39 +01:00
Arvid Norberg 5145664562 force python interpreter for mingw build on appveyor 2019-11-19 01:46:39 +01:00
Arvid Norberg f4ab272c5c attempt to fix warning 2019-11-19 01:46:39 +01:00
Arvid Norberg ad787d2a4f fix test_flags (for windows) 2019-11-19 01:46:39 +01:00
Arvid Norberg 8abd878ed4 fix creating directory in test_utp 2019-11-19 01:46:39 +01:00
Arvid Norberg fbb7c1e2e3 fix test_receive_buffer. print errors in test_utp.cpp 2019-11-19 01:46:39 +01:00
Arvid Norberg 54edd434f4 wait until python gets running to open its socket 2019-11-19 01:46:39 +01:00
Arvid Norberg 76f53297a9 update appveyor image and boost version. explicitly use python2 for test scripts (as the SSL behavior has changed in python 3 in non-trivial ways) 2019-11-19 01:46:39 +01:00
Arvid Norberg 48fa5343b5 add executor_type to socket_type 2019-11-14 11:55:48 +01:00
arvidn 6d441da9e5 fix warning comparing integers of different width 2019-11-14 11:55:14 +01:00
arvidn e5ba4fa640 fix documentation for add_port_mapping 2019-11-13 15:40:04 +01:00
arvidn 592544f30f fix some PVS studio warnings 2019-11-07 16:38:08 +00:00
arvidn 818cc1c495 set terminate handler in test framework to print stacktrace if called by test. Install signal handler on windows 2019-11-03 05:56:44 -08:00
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