Commit Graph

110 Commits

Author SHA1 Message Date
luzpaz 63373cf012 Fixes various typos
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
arvidn eb3c455777 simplify handling of compact tracker responses for i2p trackers 2023-04-10 13:19:19 +02:00
arvidn 550d3c7d9f update copyright headers 2022-06-22 21:42:55 +02:00
arvidn 276a63afea random cleanup 2022-06-06 16:34:41 +02:00
arvidn e42bfa20cf merged RC_1_2 into RC_2_0 2021-08-22 12:26:21 +02:00
arvidn 5869c78bc0 work around new windows restriction of which ports are allowed to be used in tests 2021-08-22 09:59:02 +02:00
arvidn 5ae5c04eb0 fix test_tracker 2021-07-23 11:52:32 -07:00
Arvid Norberg 3b96033dff merged RC_1_2 into RC_2_0 2020-10-09 14:47:14 +02:00
arvidn d622951256 add build option to disable human readable strings in alerts. The idea is to save a bit more space for builds that don't need to produce human readable logs 2020-10-09 11:53:21 +02:00
Arvid Norberg 14e334879b add wrapper around std::ofstream to simplify tests that creates files 2020-09-15 10:37:49 -07:00
arvidn 5935f63ead update copyrights 2020-09-01 05:14:17 -07:00
arvidn 84186c6c2a factor out ip address helpers from broadcast_socket and move broadcast socket into the test support library, as it's only used by tests now 2020-01-23 23:59:01 +01:00
arvidn a8c41c0c31 merge RC_1_2 into master 2020-01-19 09:58:24 +01:00
arvidn 88d9c05e3c expand IPv4 in expand_unspecified_address 2020-01-19 08:27:33 +01:00
arvidn 4ceb2ea467 limit tracker announces and SOCKS5 connection attempts to listen_socket_t that actually can reach the target 2020-01-19 08:27:33 +01:00
arvidn 3e47161820 move session_params into its own header/cpp pair 2019-11-30 21:40:01 +01:00
arvidn 013fb6bc6a improve type-safety of tracker_request, along with general modernization 2019-10-19 13:38:19 +02:00
arvidn d3f7a363c2 update copyright year 2019-08-29 00:13:04 +02:00
Steven Siloti 575eb32c71 announce hybrid torrents on both v1 and v2 infohashes 2019-08-10 09:28:38 -07:00
arvidn 87a689a0ad merged RC_1_2 into master 2019-03-30 17:22:46 +01:00
arvidn 5260128933 minor improvement to test_tracker. fix test output redirection on windows. tweak starting of web server in tests 2019-03-28 00:22:05 +01:00
arvidn f509df655d update naked news to make_unique 2019-02-22 10:48:50 +01:00
arvidn 7e13b34158 fix build i2p=on,off configurations 2018-12-07 13:36:53 +01:00
arvidn 109db58641 merge RC_1_1 into master 2018-09-25 21:33:29 -07:00
arvidn 6c4d1b9143 back-port the patch to split up the progress_notification alert_mask into three new categories, file-, piece- and block progress 2018-09-24 08:52:30 -07:00
Arvid Norberg b90564d418 remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
arvidn b750b6cc2c deprecate (and disable) the force-proxy setting. Instead, always use the proxy when set, never fall back on circumventing it 2018-07-08 18:26:47 +02:00
Alden Torres 9b1e79660f removed unnecessary parentheses around min/max, added some const modifier (#2926) 2018-04-11 15:19:00 +02:00
arvidn 9696082355 merged RC_1_1 into master 2018-02-25 09:36:12 +01:00
d-komarov b922ea86c9 Fix some tests
* Fix test_remove_torrent fails when torrent is downloaded too quick
* Fix typo when printing session alerts
* Fix test_lsd and test_upnp on multi-homed systems
* Fix test_tracker 'connect_alert' predicate
2018-02-19 23:23:15 +01:00
Alden Torres 6d5b90968b fixing warnings in tests code, part4 2018-01-27 09:18:26 +01:00
arvidn 4d32d45100 merged RC_1_1 into master 2017-12-16 14:21:22 +01:00
arvidn d52763805c back-port the tracker timeout test from master 2017-12-16 13:54:15 +01:00
arvidn b00b3184c0 some minor i2p cleanups 2017-12-08 09:57:21 +01:00
arvidn 90ccd5180f merged RC_1_1 into master 2017-12-07 18:31:16 +01:00
arvidn 9d37fbd1f7 disable tests requiring logging when building with logging disabled 2017-11-24 07:50:06 +01:00
arvidn d8ea7fc5eb merged RC_1_1 into master 2017-11-23 01:17:43 +01:00
arvidn 1593916e62 fix ipv6 udp tracker test 2017-11-23 00:05:08 +01:00
arvidn eac3fbceda fix stout redirection in test framework 2017-11-23 00:05:08 +01:00
arvidn 95c8c3018a use span in gzip, http_parser and http_connection 2017-09-04 22:33:38 +02:00
arvidn 4947602a2f make add_torrent_params::flags_t an enum class and move it out into its own header 2017-07-17 01:05:31 -07:00
arvidn 73942de97a carve out peer_list_entry into also being deprecated (it was only used by deprecated functions and some tests) 2017-07-16 19:20:29 -07:00
Steven Siloti a693565df0 hack to get test_stop_tracker_timeout working 2017-04-30 08:11:56 -04:00
Steven Siloti fd50630020 announce to trackers for all listen interfaces 2017-04-30 08:11:56 -04:00
arvidn d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
Alden Torres 735214a806 avoid connections to trackers when the event is stopped and stop_tracker_timeout <= 0 (#1932) 2017-04-22 18:33:26 -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
Arvid Norberg 64ad4f5c96 enable warnings when building tests (#1880) 2017-04-02 14:22:17 -04:00
Arvid Norberg 827372f9ab fix master build after merge (#1813)
fix master build after merge
2017-03-15 07:15:36 -04:00
arvidn 3a1379ef1e merged RC_1_1 into master 2017-03-14 12:55:13 -04:00