Commit Graph

26 Commits

Author SHA1 Message Date
Arvid Norberg 3809380aa5 use strong flag type in test_metadata_extension.cpp 2026-06-13 13:01:58 +02:00
Arvid Norberg 522df67432 test magnet links where the info-hash is updated 2026-06-13 12:12:51 +02:00
Arvid Norberg f51bffbd19 make torrent_info immutable to avoid copying it 2025-06-29 15:12:16 +02:00
Arvid Norberg b8c0dba4dd deprecate make_magnet_uri() overloads that take torrent_handle and torrent_info, in favor of add_torrent_params. Also deprecate web seeds being stored in torrent_info 2025-02-15 00:54:09 +01:00
arvidn d8faaeef2c merged RC_2_0 into master 2021-11-04 21:04:33 +01:00
arvidn 1a87a7afd5 make the token limit when parsing metadata from magnet files configurable 2021-10-23 00:16:27 +02:00
arvidn 2db8b54c08 update copyright headers in source files 2021-06-13 21:04:55 +02:00
arvidn c825113a40 use simulated disk in test_swarm 2021-05-07 08:48:58 +02:00
arvidn 0655bd4334 organize utility functions for sims a bit better 2021-01-24 23:28:03 +01:00
arvidn 1bee8333ee move merkle trees into the torrent object, where they belong. Expose them via torrent_info and torrent_handle 2020-10-23 09:49:21 +02: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
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 a6c85496b5 make parse_magnet_uri return the add_torrent_params instead of of taking an in-out parameter 2017-10-15 04:29:53 +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
Arvid Norberg 8ebbad19d4 deprecate add_torrent_params::url field. use parse_magnet_uri instead (#1864)
deprecate add_torrent_params::url field. use parse_magnet_uri instead
2017-03-29 02:16:07 -04: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
Arvid Norberg 118d06b780 remove deprecated extensions lt_trackers and metadata_transfer (#941) 2016-07-24 23:39:56 -04:00
Arvid Norberg 717ed8bd3b Msvc warnings (#822)
fix msvc warnings in python bindings and simulations
2016-06-18 19:24:27 -04:00
arvidn d505f93d7a port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
arvidn b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
arvidn 7f24fb41ef fix test_metadata_extension 2015-08-22 08:09:09 +02:00
arvidn 225b82d9a0 move test_trackers_extensions over to a simulation and some minor metadata extension and tracker re-announce fixes 2015-08-13 23:07:04 -04:00
arvidn f2455c8689 made test_metadata_extension a bit more reliable 2015-08-10 10:02:01 -04:00
arvidn a75699eff1 move test_metadata_extension to a simulation instead of a live test 2015-08-10 09:17:41 -04:00