67 Commits

Author SHA1 Message Date
Arvid Norberg 69001184e1 transition more test facilities to use add_torrent_params and load_torrent_buffer() instead of the deprecated use of torrent_info 2025-02-13 16:19:50 +01:00
arvidn 278443352d Merge branch 'RC_2_0' 2024-10-01 11:12:16 +02:00
arvidn 5f7cf4b926 improve debug facilities of swarm simulations, by saving each each individual peers log 2024-07-27 10:57:46 +02:00
arvidn 2e70c27abb merged RC_2_0 into master 2022-12-11 13:19:11 +01:00
ntfs.hard a58400b3fb Clarify printf argument flags 2022-10-22 22:15:28 +02:00
arvidn 3e35422a96 merged RC_2_0 into master 2022-10-16 03:42:22 +02:00
arvidn 227b34fc23 add uTP test exercising a stalled socket 2022-10-16 01:28:55 +02:00
arvidn 964ffc57ba merge RC_2_0 into master 2022-06-23 08:07:28 +02:00
arvidn c01e6fa767 merged RC_2_0 into master 2022-03-12 15:04:31 +01:00
arvidn 0c403745fd test merge RC_1_2 into RC_2_0 2022-02-27 18:44:22 +01:00
arvidn d92ba1561f use a namespace for unit test framework globals rather than reserved identifiers 2022-02-27 17:54:16 +01:00
arvidn 2db8b54c08 update copyright headers in source files 2021-06-13 21:04:55 +02:00
arvidn 83e6ac718e merged RC_2_0 into master 2021-05-24 01:53:14 +02:00
arvidn 5715583c4a merged RC_1_2 into RC_2_0 2021-05-23 12:00:32 +02:00
arvidn e2d4bd8042 fix setup_swarm debug logging 2021-05-23 11:23:51 +02:00
arvidn 4365e17c7b debug facilicty in setup_swarm 2021-05-21 13:11:05 +02:00
arvidn ebae801c09 merged RC_2_0 into master 2021-05-07 09:42:50 +02:00
arvidn c825113a40 use simulated disk in test_swarm 2021-05-07 08:48:58 +02:00
arvidn face5f0b93 add simulated disk I/O to the simulations, and use it in test_transfers. Add tests exercising the disk full condition, and ensure an auto-managed torrent will eventually recover, once there is disk space available 2021-05-05 14:24:03 +02:00
arvidn b40801a3a3 merge RC_2_0 into master 2021-01-30 14:35:30 +01:00
arvidn fa53a4d723 merged RC_1_2 into RC_2_0 2021-01-26 23:17:05 +01:00
arvidn dfb9dbfeb6 prevent a time-out because no incoming requests have been received, when we're still waiting to respond to previous requests 2021-01-25 14:53:14 +01:00
arvidn 0655bd4334 organize utility functions for sims a bit better 2021-01-24 23:28:03 +01:00
Arvid Norberg 0c24a771db improve uTP simulations, to prevent regressions 2021-01-23 02:59:01 +01:00
Alden Torres 5a0936b4b3 moved deadline_timer.hpp and debug.hpp to aux (#5857) 2021-01-13 16:27:55 +01:00
Alden Torres 999035a200 moved random.hpp to aux 2021-01-11 23:58:31 +01:00
arvidn 5cbdfa2557 merged RC_1_2 into master 2020-05-13 14:28:23 +02:00
arvidn 232b2e0758 tweak rate based choker to increase rate threashold by 2 kiB/s. Improve documentation 2020-05-10 10:56:01 +02:00
Arvid Norberg ae1d4f581f merged RC_1_2 into master 2019-09-07 17:34:10 +02:00
arvidn 9b1607a63c fix updating of is_finished torrent status, when changing piece priorities 2019-09-07 10:45:25 +02:00
arvidn 9263496d5f merged RC_1_2 into master 2019-02-19 18:41:21 +01:00
arvidn 7f2a78d0c9 make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
arvidn 3494961a68 some work on getting simulations to work 2019-02-11 20:19:08 +01:00
arvidn bb51dcdbb9 move dht_settings into its own header cpp file-pair and dht_settings into the dht namespace 2017-09-04 22:38:16 +02:00
arvidn e19736f925 fix simulation tests to make them not use deprecated functions 2017-07-26 18:00:03 -07:00
arvidn d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
arvidn 79d7ae3638 separate path and filesystem functions out into its own translation unit/header file pair, separating it from the file and directory class 2017-04-11 18:07:55 -04:00
arvidn 0c7e86078b merged RC_1_1 into master 2017-01-08 10:18:41 -05:00
Arvid Norberg 5d1fb97b14 fix torrent_status test (#1499)
fix torrent_status and tracker interval test
2017-01-08 09:51:01 -05:00
Arvid Norberg 57f52adc88 various cleanup (#1497)
* various cleanup

* fix

* cleanup
2017-01-06 01:39:01 -05:00
arvidn 2a999e1ea7 merge RC_1_1 into master 2016-11-03 23:58:35 -04:00
Arvid Norberg f5c7a49d61 remove incorrect deleted-storages assert and add some more test coverage in test_metadata_extensions (#1286) 2016-11-03 19:39:42 -04:00
arvidn 6c805bd06d simplify print statements in tests 2016-10-09 20:23:45 -04:00
Alden Torres 3faa771843 removed use of boost::bind and boost::scoped_array (#1053) 2016-09-01 09:43:53 -04:00
Alden Torres bf0008933a refactor to use std::shared_ptr with peer_connection, core and tests (#1050) 2016-08-31 21:42:18 -04:00
arvidn 8c8c3d5587 replace boost::function with std::function 2016-08-13 07:07:26 -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
Arvid Norberg 717ed8bd3b Msvc warnings (#822)
fix msvc warnings in python bindings and simulations
2016-06-18 19:24:27 -04:00
Arvid Norberg ed077c8358 use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
2016-06-18 14:01:38 -04:00
Arvid Norberg c0fb61c5d7 replace the suggest-read-cache logic with something much simpler (#815)
replace the suggest-read-cache logic with something much simpler that doesn't schedule regular jobs and doesn't query the disk cache
2016-06-15 13:29:54 -04:00