Commit Graph

797 Commits

Author SHA1 Message Date
arvidn 15f596ece8 in client_test, print performance counters to a separate file 2026-01-04 16:16:13 +01:00
Arvid Norberg b94ea71957 fix literal operator declaration 2025-03-04 02:36:58 +01:00
arvidn 87ee48b9ce client_test: support sorting torrents 2023-05-20 18:03:15 +02:00
arvidn 4d53f5a65c various minor improvements to client_test 2023-05-20 11:32:34 +02:00
arvidn 1499916bd4 support printing i2p destination for peers 2023-04-10 13:19:19 +02:00
arvidn 58170282b0 don't enable dht_privacy_lookup in client_test 2023-03-19 19:31:58 +01:00
arvidn 116b3739f0 separate only_if_modified flag to save_resume_data 2023-03-18 16:17:46 +01:00
arvidn 864787db4a improve behavior of save_resume_data() only_if_modified flag to avoid re-saving the resume data too frequently 2023-03-12 13:33:15 +01:00
arvidn 8e348e6634 slight client_test improvement, reducing one more round-trip to the network thread 2023-03-12 13:33:15 +01:00
arvidn 0efd129430 in client_test.cpp. fix issue where client_state could diverge from the active torrent 2023-02-26 16:07:05 +01:00
arvidn 2fcc721e90 fix client_state handling in client_test.cpp 2023-02-13 10:50:50 +01:00
arvidn be7e72bf8a make client_test use async post_trackers() instead of trackers() 2023-01-02 13:18:53 +01:00
arvidn 61ad52aefb add piece availability to client_test 2022-12-11 01:54:44 +01:00
arvidn 5915790721 add async download queue query, post_download_queue() 2022-12-11 01:54:44 +01:00
arvidn c251ec90f7 add async file_progress query, post_file_progress() 2022-12-11 01:54:44 +01:00
arvidn 034ac8362a add async peer_info query, post_peer_info() 2022-12-11 01:54:44 +01:00
arvidn 2741d67b7c simplify alert handling in client_test 2022-12-11 01:54:44 +01:00
arvidn e4de026c9a expose mmapped file_open_mode flag 2022-09-21 01:25:48 +02:00
arvidn 72c4ea7b85 improve printing downloading pieces in client_test 2022-09-03 20:06:59 +02: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 3eb2fd7fb9 add missing protocol version to tracker_reply_alert and tracker_error_alert 2022-05-26 11:24:02 +02:00
arvidn be8313e35e merge RC_1_2 into RC_2_0 2022-05-22 14:17:25 +02:00
arvidn d78dc1c201 remove unused priority field in http_connection 2022-05-11 12:26:21 +02:00
arvidn a45ead24b2 add write_through option to disk_io_write_mode, which will attempt to flush pieces to disk once they're validated (with msync). Also make disable_os_cache also flush write blocks and mark all cache blocks as cold 2022-02-17 12:16:11 +01:00
arvidn a7d039e8de hide peak transfer rate columns by default in client_test. use prefixes in buffer size columns to avoid exceeding their width 2021-12-11 23:32:44 +01:00
arvidn 1fd93349fa merged RC_1_2 into RC_2_0 2021-11-28 11:44:17 +01:00
arvidn 6eacc35552 include capital letters in client_tests parsing of drive-letters 2021-11-28 10:37:04 +01:00
arvidn 0914dcd6b6 avoid localtime() 2021-08-28 09:48:55 +02:00
arvidn fe5ca3a5e3 disable msvc warning 2021-07-15 13:50:30 -07:00
arvidn 9166f656dd support print legend in client_test 2021-07-15 13:50:30 -07:00
arvidn 208296b2a7 in client_test, don't print piece-bar and piece-matrix at the same time 2021-07-12 02:51:52 -07:00
arvidn 861a6082ee merged RC_1_2 into RC_2_0 2021-03-13 00:24:33 +01:00
arvidn 13ed2c8b2c expose the peer_info seed flag in client_test 2021-03-12 22:21:52 +01:00
arvidn 5609e80e01 minor fix to client_test 2021-03-12 22:21:52 +01:00
arvidn 10ee78a99b make client_test use fixed_slots_choker. Fix issue in allowed unchoke slots for fixed-slot choker when switching choking algorithm back and forth 2020-11-14 01:51:57 +01:00
Arvid Norberg 743c872995 factor out print_usage(), improve command line parsing 2020-11-13 00:39:48 +01:00
Arvid Norberg 2170309cac simplify get_torrent_status predicate 2020-11-13 00:39:48 +01:00
arvidn 5935f63ead update copyrights 2020-09-01 05:14:17 -07:00
arvidn f8ab79bb36 fix warnings in client_test example 2020-08-25 07:20:17 -07:00
arvidn 09c0989b51 improve type safety of session_view in example (and fix related warnings) 2020-08-25 07:20:17 -07:00
arvidn 0e70b009f9 fix warnings in tests 2020-08-25 07:20:17 -07:00
arvidn 661425c970 fix client_test warning 2020-08-22 11:21:53 -07:00
arvidn 10d06f2831 restore torrent_status::info_hash to be a sha1_hash, and deprecate it. Add the new, info_hash_t member as info_hashes 2020-08-16 08:27:20 -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 0b7ea81a28 add file_progress() overload that returns the vector 2020-06-13 07:28:37 -07:00
arvidn 9793c96229 add feature to client_test to exit when a torrent completes, to support automated tests 2020-06-07 11:14:28 -07:00
Arvid Norberg 392d8366b0 prefer lt:: namespace over libtorrent::, in examples 2020-06-03 22:01:37 +02:00
arvidn 6e9f05ab9f restore info_hash() API and name the v2 API info_hashes() 2020-05-30 14:00:24 +02:00
arvidn faa807c0f3 fix travis build 2020-04-10 00:26:15 +02:00