Commit Graph

118 Commits

Author SHA1 Message Date
arvidn 550d3c7d9f update copyright headers 2022-06-22 21:42:55 +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 9b957f6268 use user defined literal for piece_index_t in tests 2021-03-22 14:08:53 +01:00
arvidn e185832c74 merged RC_1_2 into RC_2_0 2020-12-20 20:56:22 +01:00
arvidn f4d58ae4b3 fix time_now_string to not use a global variable for the returned string 2020-12-19 23:59:07 +01:00
arvidn 5935f63ead update copyrights 2020-09-01 05:14:17 -07:00
arvidn b75249934f merged RC_1_2 into RC_2_0 2020-08-20 20:42:11 +02:00
arvidn a80f458ab8 fix missing header in test_fast_extension.cpp 2020-08-20 09:12:41 -07:00
arvidn 32975be1d0 restore add_torrent_params::info_hash and use add_torrent_params::info_hashes for the new v1 and v2 type 2020-08-16 08:27:20 -07:00
arvidn 7471847cda merge RC_1_2 into RC_2_0 2020-07-23 07:44:05 +02:00
arvidn 4ebcf8de4b clean up seed-mode with resume data, and ensure we leave seed-mode if there are missing files. Also ensure there's no torrent_finished_alert when setting the seed_mode flag but files are missing 2020-07-21 14:28:22 -07:00
arvidn 3914684dba merged RC_1_2 into RC_2_0 2020-07-09 18:18:58 +02:00
Arvid Norberg 357e941b71 fix assert when receiving a dht port message from a peer that did not advertise support for it, before sending the bitfield 2020-07-06 22:27:13 +02:00
arvidn 6e9f05ab9f restore info_hash() API and name the v2 API info_hashes() 2020-05-30 14:00:24 +02:00
Arvid Norberg efd619ebc2 mere RC_1_2 into master 2020-03-27 02:43:21 +01:00
arvidn edf6660820 add build option to disable share-mode 2020-03-22 15:36:04 -07:00
arvidn 3e47161820 move session_params into its own header/cpp pair 2019-11-30 21:40:01 +01:00
arvidn 07971cd3e5 unify the internal namespace to be called aux, not detail 2019-08-29 00:15:07 +02:00
arvidn d3f7a363c2 update copyright year 2019-08-29 00:13:04 +02:00
Steven Siloti 86be4287d3 add info hash type 2019-08-10 09:28:38 -07:00
arvidn dece2d9947 fix build with boost-1.70 (i.e. adapt to asio changes) 2019-04-21 20:44:12 +02:00
Arvid Norberg 76c2794923 fix build with boost-1.70 (#3788)
fix build with boost 1.70.0 Fix #3683
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-04-19 20:56:19 +02:00
arvidn cff805e021 more io_service -> io_context fixes 2019-02-11 20:19:08 +01:00
arvidn d140d1e20d update addresses 2019-02-11 20:19:08 +01:00
arvidn d0e95ea698 replace io_service with io_context 2019-02-11 20:19:08 +01:00
arvidn 1f9178f882 clean up test_fast_extension to use span 2018-11-21 10:08:01 +01:00
arvidn 8841c58435 improve interoperability between bdecode_node and entry (for encoding). Make it possible to construct an entry from a bdecode_node. move comparison operators out of entry to support implicit conversions from bdecode_node 2018-11-18 22:54:36 +01:00
arvidn 5383854768 make span's and sha1_hash's index and size types signed (instead of unsigned). Specifically std::ptrdiff_t. In line with the direction of gsl span and reduce signed->unsigned casts 2018-11-16 14:06:22 +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 b3856d3027 narrow the scope affected by TORRENT_DISABLE_EXTENSIONS to only disable the user extensions, but always support the extension message and the built-in extensions, like lt_donthave and seed_mode 2018-07-26 09:31:49 +02:00
arvidn dfb3f03c73 modernize test_fast_extension a bit 2018-07-19 23:55:56 +02:00
arvidn fe612ca167 replace the TORRENT_CFG ABI check with inline namespaces around the symbol that can change ABI based on build configuration options 2018-05-13 19:25:17 +02:00
Alden Torres 4abeacdf33 fixing warnings in tests code, part8 2018-01-31 01:14:23 +01:00
Alden Torres 6d5b90968b fixing warnings in tests code, part4 2018-01-27 09:18:26 +01:00
Alden Torres 7262118177 fixing warnings in tests code, part2 (#2718) 2018-01-23 19:23:57 +01:00
arvidn 7b06a5ee6e merged RC_1_1 into master 2017-12-13 12:36:35 +01:00
arvidn fe6473039c fix rate limit utp feature 2017-12-11 08:40:35 -05:00
arvidn 90ccd5180f merged RC_1_1 into master 2017-12-07 18:31:16 +01:00
arvidn f81a20a035 fix loading resume data when in seed mode 2017-12-03 23:43:55 +01:00
arvidn c4659bc345 convert peer_flags and peer_source_flags to type-safe flags 2017-07-17 10:22:32 -07: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 4eb5155263 use span<> for peer_connection::send_buffer 2017-04-25 23:02:32 -04: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
Arvid Norberg 64ad4f5c96 enable warnings when building tests (#1880) 2017-04-02 14:22:17 -04:00
Alden Torres 3803661863 moved alloca.hpp to private aux_ and size refactor (#1634)
moved alloca.hpp to private aux_ and size refactor
2017-01-27 12:43:34 -05:00
Arvid Norberg 57f52adc88 various cleanup (#1497)
* various cleanup

* fix

* cleanup
2017-01-06 01:39:01 -05:00
arvidn a087a283de make tests print to stdout instead of stderr 2017-01-02 11:28:41 -05:00