Commit Graph

1128 Commits

Author SHA1 Message Date
Arvid Norberg 27401c9f44 add high_priority flag to tracker announcements, to put them at the front of the queue. This can be done manually in force_reannounce() or will happen automatically as part of connection-boost 2025-12-29 02:01:22 +01:00
arvidn 60b09be37e fix python binding for notify_callback to hold the GIL when destructing 2025-12-27 22:18:01 +01:00
arvidn 89bf9f7ccb update CMakeList.txt 2025-12-27 22:18:01 +01:00
Arvid Norberg 883569e195 don't link against libboost_system explicitly, as it's deprecated. It's a header-only library now 2025-09-08 16:54:23 +02:00
xavier2k6 bb00170ea2 Python bindings: Revise supported python versions
* Drop support for Python <3.9 (EOL)
* Add Python 3.12 & 3.13 support
* Updated URL for "supported python versions"
* Remove PyEval_InitThreads() call for Python 3.7 and later as Python calls it automatically now.
This removes a deprecation warning when using Python 3.9.
https://docs.python.org/3/c-api/init.html#c.PyEval_InitThreads
2025-05-11 09:25:49 +02:00
Arvid Norberg 21cbbf74ee support find_torrent() for v2 torrents 2025-03-30 14:18:06 +02:00
xavier2k6 5ba1f46ae1 Fix typos 2025-01-24 20:06:54 +01:00
arvidn 7f12b05da6 homebrew is in /opt/homebrew now 2025-01-23 02:15:01 +01:00
xavier2k6 790b6629f6 Fix some typos 2024-09-29 14:13:46 +02:00
arvidn 5824e63d51 fix EXT_SUFFIX issue 2024-06-13 13:22:04 +02:00
arvidn 31003b7c8d fix setup.py to not use distutils (as it has been removed in python 3.12) 2024-03-11 16:34:35 +01:00
arvidn 1a00267990 bump version for future release 2024-02-20 00:48:50 +01:00
arvidn 74bc93a37a bump version to 2.0.10 2024-02-19 13:14:14 +01:00
Radu Carpa 5ce4c51647 add ssl_listen_port to python bindings 2023-09-14 10:54:47 +02:00
Radu Carpa 29b6dce8e1 add set_ssl_certificate_buffer to python bindings 2023-09-14 10:54:47 +02:00
arvidn 7208996832 rely on RVO in C++20 2023-08-26 01:20:45 +02:00
arvidn 13009ef066 add python binding 2023-08-24 14:36:15 +02:00
luzpaz 63373cf012 Fixes various typos
Found via `codespell -q 3 -S "*.pem,*.torrent,./docs/hunspell,./src/puff.cpp" -L bu,fo,folx,ihs,ot,readd,requestor,te`
2023-08-24 07:52:41 +02:00
arvidn b82b350b38 Updated numerous repo addresses & revs of pre-commit-hooks. on behalf of @xavier2k6 2023-07-04 12:42:28 +02:00
arvidn 73089332ab fix missing python converter for dht::announce_flags_t 2023-05-27 09:18:23 +02:00
arvidn 4d0b6c7433 bump 2.0 version to 2.0.9 2023-05-22 08:26:07 +02:00
arvidn 6a10f62743 add python binding for peer_info::i2p_destination 2023-04-10 13:19:19 +02:00
arvidn 116b3739f0 separate only_if_modified flag to save_resume_data 2023-03-18 16:17:46 +01:00
Jigen 02884d367b i2p_socket flag (#7301)
* i2p_socket flag 
Make i2p_socket flag available to python.
Use case: Python clients can use it to distinguish i2p peers from regular ones.
2023-02-12 10:23:29 +01:00
arvidn 4629245993 remove residual code from supporting builds without exceptions 2023-02-01 13:45:54 +01:00
arvidn c5be3bd998 fix python bindings to not trigger asserts, but add run-time checks 2023-01-21 16:00:19 +01:00
arvidn e1bd11b916 add missing python bindings for async torrent_handle operations 2023-01-03 02:29:16 +01:00
arvidn 758c1037ee add async piece availibility query, post_piece_availibility() 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 28213fd2f2 bump brew python version to 3.11 in CI 2022-11-28 06:59:38 +01:00
arvidn b09d346bca update setup.py to match (sort of) RC_1_2 2022-10-21 10:11:21 +02:00
arvidn 175fa33bdc bump version to 2.0.8 2022-10-16 21:29:23 +02:00
arvidn a11a6479cc merged RC_1_2 into RC_2_0 2022-10-16 16:37:29 +02:00
arvidn db7002e4ef add write_torrent_file_buf() overload for generating .torrent files 2022-09-30 23:41:54 +02:00
arvidn 9c4d073413 python binding for generate_buf() 2022-09-30 20:54:08 +02:00
arvidn e4de026c9a expose mmapped file_open_mode flag 2022-09-21 01:25:48 +02:00
arvidn 74d82a0cd7 tweak pad file placement to match reference implementation (tail-padding) 2022-09-15 13:01:59 +02:00
AllSeeingEyeTolledEweSew 67f0b06bb4 bump boost versions and windows-* runner for cibuildwheel 2022-09-14 20:14:31 +02:00
AllSeeingEyeTolledEweSew 0106578b00 use --project-config=<temp> where supported 2022-09-14 14:06:19 +02:00
AllSeeingEyeTolledEweSew 3d96b52c13 move version declaration from setup.py to setup.cfg 2022-09-14 14:06:19 +02:00
AllSeeingEyeTolledEweSew 94dd128ee6 make configure_from_autotools controlled by setup.cfg. delete duplicate and add some helpful logs 2022-09-14 14:06:19 +02:00
AllSeeingEyeTolledEweSew 1833bbcf75 un-deprecate --cxxstd. use default value from setup.cfg and always pass cxxstd= (depending on b2 version) 2022-09-14 14:06:19 +02:00
arvidn e17fdee2ed merged RC_1_2 into RC_2_0 2022-09-09 11:04:41 +02:00
AllSeeingEyeTolledEweSew 268e37f5ad Backport setup.py from master (RC_2_0 only) 2022-09-09 10:57:43 +02:00
AllSeeingEyeTolledEweSew b19479bdc1 use toolset=darwin by default on macos 2022-09-09 09:24:31 +02:00
AllSeeingEyeTolledEweSew ec033fcaff Backport setup.py formatting from master (RC_1_2 only) 2022-09-08 16:35:32 +02:00
arvidn 0061352077 merged RC_1_2 into RC_2_0 2022-09-08 02:35:27 +02:00
AllSeeingEyeTolledEweSew 4a9204a68e bump python version to 3.7 in CI and docs 2022-09-05 18:11:32 +02:00