Commit Graph

150 Commits

Author SHA1 Message Date
arvidn 3a6b331c50 improve checking and testing of max piece size 2023-11-14 22:55:29 +01:00
arvidn 550d3c7d9f update copyright headers 2022-06-22 21:42:55 +02:00
arvidn 743f48199c load_torrent 2022-06-15 13:06:53 +02:00
arvidn 276a63afea random cleanup 2022-06-06 16:34:41 +02:00
arvidn 85b9b729df unify default limits when loading torrents in torrent_info constructor 2022-05-30 20:58:38 +02:00
arvidn 5b9578785b add asynchronous overload of torrent_handle::add_piece() 2022-05-24 17:19:14 +02:00
arvidn 5e32fa0e69 fix typo in test_torrent 2021-08-29 17:42:01 +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 7bc69bdb96 improve piece-picker pad-file granularity to bytes (from blocks) 2021-06-13 11:14:37 +02:00
arvidn c37c48a1cf fix (deprecated) use of add_torrent_params::info_hash 2021-04-18 22:23:56 +02:00
arvidn 9b957f6268 use user defined literal for piece_index_t in tests 2021-03-22 14:08:53 +01:00
arvidn de8e69a795 simplify tests by defining a user defined literal for file_index_t 2021-03-21 03:32:58 +01:00
Arvid Norberg 31622459fd update copyright 2020-11-14 20:25:15 +01:00
arvidn d2c9a23f24 merged RC_1_2 into RC_2_0 2020-09-28 09:35:52 +02:00
AllSeeingEyeTolledEweSew 982d585b39 Update and clarify docs around torrent_handle::is_valid(). Closes #5112 2020-09-26 06:20:47 -07:00
arvidn 1c8b2af74c merged RC_1_2 into RC_2_0 2020-09-26 12:30:50 +02:00
arvidn 0fb476b064 fix issue in add_piece() called multiple times 2020-09-21 14:39:33 -07:00
arvidn 5935f63ead update copyrights 2020-09-01 05:14:17 -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
Arvid Norberg 62f9a0ed74 make create_torrent fail rather than produce invalid torrents. By default, create a torrent corresponding to which hashes were set 2020-06-10 02:49:03 -07:00
Arvid Norberg 392d8366b0 prefer lt:: namespace over libtorrent::, in examples 2020-06-03 22:01:37 +02:00
arvidn a2d59a00b2 merged RC_1_2 into master 2020-04-13 23:51:43 +02:00
arvidn c825320df8 fix issue in reading resume data 2020-04-11 15:04:39 +02:00
arvidn a799ffb1a4 merge RC_1_2 into master 2020-04-05 18:38:45 +02:00
arvidn 983b1d6422 provide better names for alert_category_t constants 2020-04-04 15:06:02 -07:00
arvidn 101ab5e650 replace the existing userdata field, instead of adding a new clientdata 2019-12-30 19:30:37 +01:00
Arvid Norberg 8483237c32 merged RC_1_2 into master 2019-12-05 11:59:55 +01:00
arvidn b5790b982b fix issue of rapid calls to file_priority() clobbering each other 2019-12-04 22:04:13 +01:00
arvidn 3e47161820 move session_params into its own header/cpp pair 2019-11-30 21:40:01 +01:00
arvidn fbcee7a667 merged RC_1_2 into master 2019-11-26 02:29:06 +01:00
arvidn a53d090313 fix handling of torrents with too large pieces 2019-11-25 02:46:55 +01:00
arvidn f0cd5dc086 merge RC_1_2 into master 2019-09-26 00:03:29 +02:00
arvidn 9c970550e3 fix clang warning on empty statements by fixing the test macros 2019-09-24 01:28:43 +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 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
Steven Siloti 1a7ccf240f generate v2 metadata 2019-08-10 09:28:38 -07:00
arvidn 17c293d592 factor out calculation of number of pieces for a file_storage into its own function 2019-08-10 09:28:38 -07:00
arvidn f323276044 remove support for adding torrents by file:// URL 2019-04-23 20:52:39 +02:00
arvidn 90941dd39a remove deprecated feature to add torrent via HTTP URL 2019-04-23 09:05:14 +02:00
arvidn b2e681d5da merged RC_1_2 into master 2019-03-18 19:12:14 +01:00
Alden Torres 620eb39f2c missing changes 2019-03-11 14:38:26 +01:00
arvidn 381d5a3c5d add support for creating symlinks, for torrents with symlinks in them 2019-03-05 22:53:56 +01:00
arvidn 3fb05d77d8 fix warnings 2018-10-20 20:56:26 +02:00
Arvid Norberg 1a27ff7107 parse_magnet_uri simplification 2018-10-05 11:01:45 +02: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