Commit Graph

283 Commits

Author SHA1 Message Date
cg25 a79932c9fd optionally set specific installation parameters in makefile for python bindings 2009-04-12 10:54:12 +00:00
cg25 b59c93392a strip unneeded cflag in setup.py for python bindings 2009-04-12 00:00:24 +00:00
Arvid Norberg 1ed9e6d2f8 more C bindings and added getters for max_uploads on session and torrent 2009-04-07 15:55:05 +00:00
Arvid Norberg 49a4a62168 added start of C API library in bindings 2009-04-06 04:55:15 +00:00
Arvid Norberg 1ed7e222f8 added documentation to explain how paused and auto_managed are overridden by resume_data. Added a mechanism to trunk to ignore the resume data for those two settings. Updated documentation in trunk to include more fields in the resume data. Fixed broken links in the trunk docs 2009-03-21 04:33:53 +00:00
Arvid Norberg a4fca76eff python binding build fixes (BBv2) 2009-03-02 05:43:56 +00:00
Arvid Norberg c51471c563 fixed python binding build warning 2009-03-02 05:23:25 +00:00
Arvid Norberg a080fdc8fa python binding fix for file_storage 2009-03-01 08:13:26 +00:00
Arvid Norberg 8ce5774307 added missing python bindign for create_torrent 2009-02-21 08:39:26 +00:00
Arvid Norberg bed92597a9 fix for building the python bindings with boost-build 2009-02-20 08:58:36 +00:00
Arvid Norberg 63a2522014 fixed some warnings 2009-02-13 07:13:03 +00:00
Andrew Resch 11c21f2abe Add a std::pair to tuple converter
Add 'outgoing_ports' to session_settings
2009-01-24 05:29:23 +00:00
Arvid Norberg 2454919be3 fixed typo in python binding 2009-01-21 23:41:26 +00:00
Andrew Resch d60a5399bf Add *_proxy() methods 2009-01-02 21:23:43 +00:00
Arvid Norberg 24668058fc added -fPIC and -fvisibility=hidden as features for cleaner Jamfile (and to make the propagation work for boost_system) 2008-12-20 23:30:53 +00:00
Arvid Norberg 3d34d30afb use -fvisibility=hidden for darwin and gcc toolkits 2008-12-20 21:12:39 +00:00
Arvid Norberg ba1de6ea99 added session::id() to python binding 2008-12-15 08:03:47 +00:00
Arvid Norberg 4b01a8fe61 added read_piece() to python binding 2008-12-15 07:49:05 +00:00
Arvid Norberg 76d9c80182 added missing functions to python bindings 2008-12-14 20:51:22 +00:00
Arvid Norberg b47f965c85 added torrent_handle::read_piece(). #441 2008-12-14 19:47:02 +00:00
Arvid Norberg f992053171 expose add_piece to the python bindings 2008-12-13 04:09:53 +00:00
Arvid Norberg e69b2b8bee fixed python bindings to have the recently added wpath overloads 2008-12-13 03:44:18 +00:00
Arvid Norberg 8cd106833d fix python bindings Jamfile to properly build with -fPIC 2008-12-12 18:44:18 +00:00
Arvid Norberg eda4032a93 fixed mistake in setup.py.in 2008-12-05 17:10:56 +00:00
Arvid Norberg da93e19c5d make setup.py print a friendly error message if it was not configured with boost.python instead of failing to build 2008-12-05 16:57:37 +00:00
Arvid Norberg ea7715988c made windows build of python bindings optimize for space 2008-11-30 08:33:54 +00:00
Arvid Norberg 18d3744adb added python converter from unicode to path 2008-11-30 00:17:21 +00:00
Arvid Norberg 09b3a865ef fixed compiler flags in pkg-config file and made header files not depend on the NDEBUG define 2008-11-29 21:33:21 +00:00
Arvid Norberg 0836ceec0b more setup.py fixed for windows build 2008-11-24 00:38:26 +00:00
Arvid Norberg 36b29053f9 fixed windows python bindings build. Made setup.py build with boost-build on windows, to be able to generate a windows binary installer for the python bindings 2008-11-23 20:41:24 +00:00
cg25 f40e605ae3 Minor fixes to the new build system for python bindings. 2008-11-22 13:17:40 +00:00
Andrew Resch 177e53516a Add session_settings::rate_limit_ip_overhead to the python bindings 2008-11-22 09:00:54 +00:00
Arvid Norberg 9d148d6816 fixed simple_clien.py example 2008-11-21 18:04:59 +00:00
Arvid Norberg 340476f45b fixed client.py example 2008-11-21 17:54:04 +00:00
Arvid Norberg 551a1bec2c merged in [2962] from RC_0_14 2008-11-21 04:09:34 +00:00
Arvid Norberg 723aba6c24 solved issue with pausing checking torrents. Introduced a new state, checkin_resume_data, which a torrent is in while waiting for the disk io thread to verify the resume data, but before it has been determined wheter it should be queued for checking or not 2008-11-19 00:46:48 +00:00
Andrew Resch 83b1f7ad91 Fix building in windows 2008-10-30 20:56:54 +00:00
Andrew Resch e9dd8ce050 Fix building bindings when TORRENT_NO_DEPRECATE is defined
Add 'performance_alert' to the bindings
2008-10-28 06:29:30 +00:00
Arvid Norberg 5ab28ed37f added back the old add_torrent function, made optional parameters actually optional in the new add_torrent functions 2008-10-28 02:34:14 +00:00
Arvid Norberg 2c4ee11f30 added -fPIC to python binding jamfile when building libtorrent, since it's a python module linking statically against libtorrent 2008-10-25 20:40:34 +00:00
Andrew Resch 9c3677794b Add smart_ban to python binding extensions 2008-10-19 06:03:37 +00:00
Andrew Resch 90e5407772 Fix segfault in python bindings when passing None to torrent_info() 2008-10-17 19:35:52 +00:00
Arvid Norberg c0f82a730e updated setup.py and documentation for python bindings (thanks will guaraldi) 2008-10-17 07:42:17 +00:00
Andrew Resch f5dda8dae5 Add torrent_handle::file_priorities to python bindings 2008-10-08 12:41:55 +00:00
Arvid Norberg c65919f43d setup.py works on mac with boost 1.35 now. Still needs work to be portable 2008-10-04 20:57:48 +00:00
Andrew Resch 983148834f Fix ip_filter::access in the python bindings 2008-10-04 20:02:47 +00:00
Arvid Norberg b8ce56f3ee added first version of setup.py for the python bindings 2008-10-04 08:26:21 +00:00
Andrew Resch ff41246c42 update client.py 2008-10-02 06:49:52 +00:00
Andrew Resch 5ca35b8ef3 update simple_client.py 2008-10-02 06:37:54 +00:00
Andrew Resch f8862302cc Add magnet_uri.cpp to the jamfile 2008-10-02 05:00:40 +00:00
Andrew Resch acdcb262af update session constructor in python bindings to support 'flags' 2008-10-01 02:07:55 +00:00
Andrew Resch ea11e415dc add torrent_info::metadata and metadata_size to python bindings 2008-09-30 18:41:43 +00:00
Andrew Resch 0670ed9d0e update python bindings 2008-09-30 16:05:08 +00:00
Andrew Resch 892a953a21 add tracker_error_alert::msg to bindings 2008-09-29 23:12:11 +00:00
Andrew Resch 4189e0b697 add peer_info::progress 2008-09-25 20:39:06 +00:00
Andrew Resch 027952f69d Add create_ut_metadata_plugin() to bindings 2008-09-14 18:34:58 +00:00
Andrew Resch ba60d4818b Register to_python converter for shared_ptr<entry> 2008-09-14 18:34:08 +00:00
Andrew Resch e46d4768ee Add magnet_uri to the python bindings 2008-09-09 14:03:35 +00:00
Andrew Resch 5ebea74e33 Remove 'connecting_to_tracker' state from bindings 2008-08-25 03:54:07 +00:00
Arvid Norberg 59767d0e61 python bindings and examples fixes 2008-08-18 12:29:01 +00:00
Andrew Resch 0488e0c43a Add session_settings::peer_tos to bindings 2008-07-30 06:52:54 +00:00
Andrew Resch 5e290275d2 Add session::settings() and ability to set outgoing_ports in session 2008-07-30 05:31:22 +00:00
Arvid Norberg 86d8b54f5b fix build for FreeBSD 2008-07-17 22:27:04 +00:00
Arvid Norberg ff6cbbc6b6 added torrent_handle::clear_error() to retry a torrent that is in an error state (torrent_status::error is set) 2008-07-12 17:00:52 +00:00
Arvid Norberg 9bf25d1006 changed the definition of file_progress and deprecated the old function. Python bindings only exposes the new one 2008-07-12 13:38:22 +00:00
Andrew Resch 066fb98864 Update alerts in python bindings 2008-07-09 12:34:26 +00:00
Arvid Norberg e576babbb8 changed the alerts to have categories and to be filtered with a bitmask instead of having a severity and be filtered by a severity level. 2008-07-06 12:22:56 +00:00
Andrew Resch b93d3cf7c1 Add state_changed_alert to python bindings 2008-07-03 23:47:48 +00:00
Andrew Resch d6743037b3 Add session pause and resume to python bindings 2008-07-01 21:11:30 +00:00
Arvid Norberg af0ebb519c added copyright notices in files missing them 2008-07-01 18:59:13 +00:00
Arvid Norberg d2a12a5e44 fixed python binding bugs and updated to work with latest api updates 2008-07-01 16:02:17 +00:00
Arvid Norberg 13766dc855 Jamfile updates to add the option to link statically or dynamically against the boost libraries 2008-06-28 08:59:25 +00:00
cg25 ff3e80c42f Removed svn:executable property from {c,h}pp files in branches/RC_0_13 and
trunk.
2008-06-25 14:15:21 +00:00
Andrew Resch fa195aa2e2 Update queue settings 2008-06-21 19:03:35 +00:00
Andrew Resch 4d021f4cea Add error to torrent_status 2008-06-12 09:19:02 +00:00
Andrew Resch 3ea075f169 Add torrent_resumed alert 2008-06-08 05:14:40 +00:00
Andrew Resch 840f9be276 Python bindings update 2008-06-08 02:04:30 +00:00
Andrew Resch 737824eb60 Add force_recheck to the bindings 2008-06-07 21:02:14 +00:00
Andrew Resch d433ec93a0 Fix python bindings build 2008-06-07 18:59:19 +00:00
Andrew Resch cffb933aaa Fix issue with is_auto_managed and queue_position 2008-06-04 05:16:31 +00:00
Andrew Resch 70fb14e11c Update bindings to include queueing and file_renamed_alert 2008-06-02 21:18:50 +00:00
Andrew Resch 867e6c2009 Fix python bindings 2008-06-02 17:39:11 +00:00
Arvid Norberg a198073296 fixed python binding Jamfile 2008-05-20 00:59:23 +00:00
Arvid Norberg 39108056cd python binding Jamfile fix 2008-05-15 08:31:13 +00:00
Arvid Norberg 431dedda3e boost python fix 2008-05-15 07:47:36 +00:00
Arvid Norberg 0ed87e4c59 updated python binding to match the recently changed torrent_info. reintroduced add_node 2008-05-15 07:37:34 +00:00
Arvid Norberg 7644b1de65 fixes to python binding Jamfile 2008-05-15 06:49:38 +00:00
Arvid Norberg a26632696c python binding fixes 2008-05-13 22:23:22 +00:00
Arvid Norberg 64cb8696cd Jamfile fixes for the python bindings to work with system installed boost libraries 2008-05-08 01:53:05 +00:00
Andrew Resch e533ed3010 Update python bindings to use new add_torrent() method and fix
building
2008-05-01 05:37:04 +00:00
Andrew Resch 81e73a0c65 Sync up alerts in the python bindings 2008-04-29 21:43:11 +00:00
Andrew Resch 19b88b1a65 Add tracker_error_alert to python bindings 2008-04-24 09:45:50 +00:00
Andrew Resch 9e63383458 Fix #300 add session.find_torrent() and session.get_torrents() to
python bindings.
Fix session.load_asnum_db() and session.load_country_db()
2008-04-20 20:12:33 +00:00
Andrew Resch 73d9db3877 Fix torrent_handle.cpp in python bindings to compile. 2008-04-15 22:32:53 +00:00
Andrew Resch 9d397a3834 Fix peer_plugin.cpp in python bindings to compile. 2008-04-15 01:16:09 +00:00
Andrew Resch 937a794746 Expose torrent_deleted_alert in the python bindings. 2008-04-13 20:07:23 +00:00
Andrew Resch ca872a0e82 Revert last. 2008-04-13 02:47:41 +00:00
Andrew Resch d825c1d5bd Add torrent_resumed torrent alert. 2008-04-13 02:34:18 +00:00
Andrew Resch 31bd3b1550 Expose torrent_handle::is_finished() 2008-04-13 02:15:56 +00:00
Arvid Norberg 57d75e120a initial support for GeoIP (only AS mappings for now) 2008-04-05 04:53:22 +00:00
Arvid Norberg 483da2483e python binding update 2008-03-28 21:37:35 +00:00
Arvid Norberg 2b144d7ac7 python binding update 2008-03-28 17:29:39 +00:00
Arvid Norberg bfa7dd7b75 updated python bindings 2008-03-27 18:14:52 +00:00
Arvid Norberg 7ea28d9982 added default arguments to remove_torrent in the python binding 2008-03-10 07:31:56 +00:00
Arvid Norberg 034681c7ec python bindings fixes 2008-03-10 03:19:57 +00:00
Arvid Norberg 3427e4548c made the python bindings build 2008-02-17 21:17:43 +00:00
Arvid Norberg 9210c920b2 applied patch to expose add_dht_router in the python binding. #276 2008-02-17 21:12:06 +00:00
Arvid Norberg 900cbc956f applied python binding patch to expose ip_filter. #275 2008-02-17 20:55:03 +00:00
Arvid Norberg 00d5625b7e applied python binding patch for scraping trackers (fixes #226) 2007-12-15 23:26:38 +00:00
Arvid Norberg f44e16813f applied patch in #203. adds python bindings to start and stop local service discovery 2007-11-16 20:00:17 +00:00
Arvid Norberg 5c61005eac python binding fix 2007-10-15 09:06:36 +00:00
Arvid Norberg ba48c629fb python bindings updates. Thanks andar 2007-10-15 05:37:35 +00:00
Arvid Norberg 056b9709ac updated python bindings 2007-08-27 10:31:35 +00:00
Arvid Norberg f7fb6778a6 applied python binding patch from Josh Davis-Ryan 2007-07-23 03:07:15 +00:00
Arvid Norberg 852331e50d fixed python Jamfile to build a shared library 2007-06-15 05:31:58 +00:00
Arvid Norberg 46bf2970fb fixes to remote peer download rate etimation 2007-06-14 21:47:00 +00:00
Arvid Norberg 3e4a136be7 fixed python binding Jamfile 2007-06-13 04:22:06 +00:00
Arvid Norberg 6ff2d8accf udpated docs and fixed python binding issues 2007-06-11 03:28:07 +00:00
Arvid Norberg 92f4792ee7 updated python bindings 2007-06-08 23:57:22 +00:00
Arvid Norberg 2053104e24 added proxy_settings and removed fields from session_settings to make the python bindings more up to date 2007-04-30 17:27:21 +00:00
Arvid Norberg 05714ab5aa fixes get_download_queue in python binding 2007-04-19 17:56:12 +00:00
Arvid Norberg 6186e3fce7 attempt to fix #12 2007-04-19 01:26:23 +00:00
Arvid Norberg 6b0f60e73d added support for sparse files in python binding. potential fix for boost path name check 2007-04-18 23:06:11 +00:00
Arvid Norberg 01c9cc04cd fixed lock in python binding 2007-04-09 01:35:23 +00:00
Arvid Norberg fa85e3848f the client test for the python bindings are now attempting to use extensions, it doesn't seem to work properly yet though 2007-04-09 00:48:26 +00:00
Arvid Norberg 516d8b72f6 fixed python bindings for recent api updates and added support for extensions 2007-04-07 03:37:23 +00:00
Arvid Norberg 3a9b1488e0 merged boost 1.34 fix from 0.12rc branch 2007-03-18 01:59:00 +00:00
Arvid Norberg df46401c9c added docs for python binding. Fixed warning in python binding. 2007-02-20 04:32:13 +00:00
Daniel Wallin ae2b0afafb Fixed float -> int conversion of parameters. 2007-01-11 17:33:43 +00:00
Daniel Wallin 8cf5c01ba0 Added console driver for *nix. 2007-01-10 19:58:54 +00:00
Daniel Wallin ba44509c2a added minimal binding for peer_connection 2007-01-10 16:54:55 +00:00
Daniel Wallin ce3bb57e61 fixed typo 2007-01-10 16:51:12 +00:00
Daniel Wallin aa3ce54455 Python binding initial checkin. 2007-01-10 16:11:43 +00:00