Commit Graph

77 Commits

Author SHA1 Message Date
Arvid Norberg bfecc673fd fix race in session_handle::wait_for_alert(). The alert pointer it returned could become invalid immediately, not safe to dereference. Update its signature 2026-04-29 20:31:34 +02:00
Arvid Norberg 22a96baa40 fix flaky python test 2026-04-28 08:49:33 +02:00
Arvid Norberg 8f8120ad71 address python tests using deprecated functions 2026-04-27 14:34:33 +02:00
Arvid Norberg 03da18b708 explicitly flush the error message in TORRENT_ASSERT_PRECOND to make sure it's visible before terminating the process. Fix incorrect python test 2026-04-21 14:05:04 +02:00
Arvid Norberg cd8c96e111 local_connection is deprecated, use outgoing_connection 2026-04-12 19:00:03 +02:00
Arvid Norberg 4cadfa6140 fix roundtrip of renamed_files 2026-03-21 14:04:01 +01:00
Arvid Norberg 19898eead8 python bindings 2026-03-15 23:17:52 +01:00
Arvid Norberg f639f78463 expose the current upload- and download rate limits per torrent in torrent_status. These fields can now be queried via an asynchronous request (post_torrent_updates()) 2026-03-15 01:19:26 +01:00
Arvid Norberg 28d1558c07 Merge branch 'RC_2_0' 2026-03-05 07:38:04 +01:00
Arvid Norberg 4263da263a fix alert_test.py 2026-01-20 16:36:33 +01:00
arvidn 15ac737cd2 support IPv6 in python tests 2025-07-14 21:34:23 -07:00
Arvid Norberg f51bffbd19 make torrent_info immutable to avoid copying it 2025-06-29 15:12:16 +02:00
arvidn ae7a5e1086 bump python version on ubuntu runner to 3.12 2025-01-24 13:36:53 +01:00
arvidn 1d644d19cb update name, listen_succeeded_alert_socket_type_t 2024-10-01 15:53:15 +02:00
arvidn 8e53eba82f Merge branch 'RC_2_0' 2023-08-26 11:15:27 +02:00
arvidn 95c386b10a merged RC_2_0 into master 2023-04-01 08:53:33 +02:00
arvidn 6371168c38 add need_save_resume field to torrent_status, with the resume data flags indicating which aspects of a torrent have changed since the last resume data was saved. Also make only_if_modified flag a combination of the other flags. 2023-03-23 13:02:57 +01:00
arvidn 52ad1941a9 merged RC_2_0 into master 2023-02-25 11:38:08 +01:00
arvidn 0e8563a7f3 update python bindings run-time checks of indices 2023-01-22 02:36:32 +01:00
arvidn ca66b5fe07 merged RC_2_0 into master 2023-01-22 02:36:27 +01:00
arvidn cbc4352f30 merge RC_2_0 into master 2023-01-19 14:53:58 +01:00
arvidn 258fd0f87f fix python tests when disabling deprecated functions 2022-12-17 22:21:23 +01:00
arvidn d95551cfce Update python bindings for new create_torrent API 2022-10-09 08:23:43 +02:00
arvidn d52be4fa99 make python binding build without deprecated functions 2022-09-27 15:34:42 +02:00
arvidn 326abbb4ba test 2022-09-19 02:55:17 +02:00
arvidn f7e04af45d merged RC_2_0 into master 2022-09-18 23:56:48 +02:00
arvidn 11c54617fa merged RC_2_0 into master 2022-09-10 23:06:37 +02:00
arvidn 3f402c9616 type hints 2022-05-22 13:55:56 +02:00
arvidn 7cfab674fd fix skipping of client_test python test on non-linux 2022-05-22 13:55:56 +02:00
arvidn ba36f8cf50 fixup alert python test 2022-04-11 23:36:25 +02:00
arvidn def8033809 fix python ip_filter test 2021-12-07 08:26:40 +01:00
AllSeeingEyeTolledEweSew 39a44036d1 Add an https tracker test 2021-10-02 08:33:42 +02:00
AllSeeingEyeTolledEweSew a33d1b2efe Clean up tests for python demo scripts 2021-09-12 09:03:05 +02:00
AllSeeingEyeTolledEweSew ba2b2d393d Loosen restrictions on error categories 2021-09-12 09:02:33 +02:00
AllSeeingEyeTolledEweSew c7fb2c5524 Deprecate some classes 2021-09-04 23:28:08 +02:00
AllSeeingEyeTolledEweSew 9ad9d82fe0 Add session.session_state() 2021-09-04 23:26:23 +02:00
AllSeeingEyeTolledEweSew 3a8eb6262c Make TorrentDeleteFailedAlertTest work in more environments 2021-09-04 23:19:49 +02:00
AllSeeingEyeTolledEweSew 7838e90d69 Ensure write_session_params always returns a dict entry 2021-08-18 18:08:29 +02:00
AllSeeingEyeTolledEweSew 0ecd04ca12 Use working ed25519 keys for mutable item tests 2021-08-18 18:07:21 +02:00
AllSeeingEyeTolledEweSew 62e8030e29 Refactor DHT alert tests to reduce flakiness 2021-08-18 18:07:21 +02:00
AllSeeingEyeTolledEweSew 3a35e1583d Fix dht_[im]mutable_item_alert.item to just be the item 2021-08-18 18:07:21 +02:00
AllSeeingEyeTolledEweSew dbb733467e Removed some unused tests 2021-08-07 20:24:46 -07:00
AllSeeingEyeTolledEweSew 0ec312e340 Fix deprecated session.add_torrent form to prevent crash 2021-08-07 18:24:22 -07:00
AllSeeingEyeTolledEweSew 8b386b6786 Fix bindings for members of picker_log_alert 2021-08-05 08:32:28 -07:00
AllSeeingEyeTolledEweSew 5cda75fdfc Enable tests after #6162 was merged to master 2021-08-05 08:30:52 -07:00
AllSeeingEyeTolledEweSew c12daee705 Add sha256 bounds/type checking similar to sha1 2021-08-05 08:30:30 -07:00
AllSeeingEyeTolledEweSew 17259c7dbf Remove binding for session_params.ext_state 2021-08-03 01:15:47 -07:00
AllSeeingEyeTolledEweSew d2edc5ba52 Deprecate use of bytes with paths in file_storage 2021-08-03 01:13:19 -07:00
AllSeeingEyeTolledEweSew 62435fc27d Fixup fingerprint and its deprecations 2021-08-03 01:12:53 -07:00
AllSeeingEyeTolledEweSew f0864b3836 Deprecate sha1_hash('str') 2021-08-02 09:32:13 -07:00