Commit Graph

93 Commits

Author SHA1 Message Date
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
5b2dd0771b additional tests for loading v2 torrents with empty files 2021-04-23 16:25:31 +02:00
44d4f74c95 add sha256_hash type. add __hash__ member to info_hash_t. add torrent_info constructor overload for a sha256_hash 2021-04-16 00:57:26 +02:00
80affa04f8 make the default build for libtorrent be cxxstd=14 2021-04-10 15:05:08 +02:00
af7a96c1df add security audit documentation 2021-03-28 23:37:08 +02:00
72b9e05f58 raise the severity of peers sending invalid messages to 'peer_error'. Simplify m_upload_only to just record the explicit upload-only state communicated via the extension message. Implied upload only is moved to the upload_only() query. Add simulations for peer connection tests. Mostly for have-all, have-none and bitfields, and some simple invalid requests. This will serve as a platform to add more sophisticated tests. 2021-03-27 21:25:48 +01:00
506f1f93c6 bump version 2021-03-22 00:58:51 +01:00
76fbfd9051 generate convenience header libtorrent/libtorrent.hpp 2021-02-06 21:17:21 +01:00
ac1b534643 merged RC_1_2 into RC_2_0 2021-01-18 09:57:35 +01:00
857a121cfe rely on b2 using all cores by default. simplify scripts to not pass -j 2021-01-07 15:46:49 +01:00
ec9e7ad284 bump version to 2.0.2 2021-01-07 03:16:34 +01:00
d246096ca7 remove travis. update contributing guideline 2021-01-04 19:30:49 +01:00
bb92f6673c merged RC_1_2 into RC_2_0 2021-01-04 14:03:36 +01:00
f726d10891 merged RC_1_2 into RC_2_0 2020-12-03 02:55:59 +01:00
2658c3658c add unit test for store_buffer 2020-11-30 11:30:51 +01:00
37a165def3 add posix_part_file, specific to posix_storage. It uses fopen/fclose and is not thread safe 2020-11-18 03:07:39 +01:00
373b9f8931 bump version to 2.0.1 2020-11-14 20:25:15 +01:00
49ddf02dd0 separate the directory class from file.cpp, into its own file 2020-09-16 05:59:33 -07:00
8ab7b8258b separate directory class from file.hpp. use fopen/fclose/fread in torrent_info, instead of file class. introduce a light abstraction around FILE* 2020-09-12 08:56:50 -07:00
5bdea2c995 split test_hash_picker to have merkle_tree tests in its own file 2020-09-11 17:22:13 -07:00
67a142e7e6 remove boost header included for backwards compatibility with old boost versions 2020-08-31 08:47:48 -07:00
5034d6454a merged RC_1_2 into RC_2_0 2020-08-30 10:38:07 +02:00
dadddb178a add missing includes and missing windows-specific headers to tarball 2020-08-27 06:07:57 -07:00
0f235540d8 fix torrent round-trip for v2 torrents in create_torrent 2020-08-12 00:18:47 -07:00
29f01cd281 remove ConvertUTF.cpp 2020-08-11 14:01:39 -07:00
dde30990ee address model doesn't seem to propagate up the dependency tree, so move it to the leafs 2020-08-11 02:00:36 -07:00
be254588b6 clarify ed25519 license 2020-08-09 06:04:31 -07:00
bfb2b7fed4 fix missing cmake build files in dist target 2020-07-31 17:50:31 -07:00
9a31c45d3c move all images into the img directory 2020-07-24 06:47:47 -07:00
004d4c878a update sidebar 2020-07-24 06:47:47 -07:00
183e5d2997 split documentation into smaller files 2020-07-24 06:47:47 -07:00
fa3b617314 Overhaul CSS styling for documentation 2020-07-24 06:47:47 -07:00
ec00ae2bdc add libtorrent logo 2020-07-24 06:47:47 -07:00
6a4260e589 update features document to reflect changes in 2.0 2020-07-07 16:17:14 +02:00
a221bfedd5 add bare-bones disk-io stress test tool 2020-07-03 21:33:43 +02:00
97b417efec fix validation of file root hashes that are small enough to not have a piece_layer entry. The may not be zero. extend tests 2020-06-10 16:36:57 -07:00
488d5f461b merged RC_1_2 into master 2020-05-31 01:00:28 +02:00
0dbaf8f00b put back storage.hpp with an error message 2020-05-30 14:00:24 +02:00
eddc6a84e7 merged RC_1_2 into master 2020-05-30 00:41:48 +02:00
c7f81bd447 factor out file merkle trees 2020-05-24 21:02:10 +02:00
087d5fb555 remove deprecated lazy_entry and lazy_bdecode 2020-05-14 20:01:42 +02:00
49a720d665 add missing test torrents to tarball 2020-05-13 17:59:31 +02:00
5cbdfa2557 merged RC_1_2 into master 2020-05-13 14:28:23 +02:00
ddc589a691 Updated Makefile and Makefile.am 2020-05-12 12:51:27 +02:00
a9368e2373 add a DHT tool to issue sample_infohashes DHT messages, to collect samples from the DHT 2020-04-10 15:39:40 +02:00
9e7c236d9c fix travis build on osx 2020-04-06 16:12:31 -07:00
f0a2e11748 moved alert_manager to aux 2020-03-27 12:08:14 -07:00
36dfac757a moved internal disk types and files to aux, minor cleanup 2020-03-26 01:29:49 -07:00
d91e749fc0 moving resolver related types and files to aux 2020-03-23 16:46:04 -07:00
f71b0a1134 moving bandwidth related types and files to aux 2020-03-23 03:38:20 -07:00