Commit Graph

330 Commits

Author SHA1 Message Date
Arvid Norberg 81c730fe54 fix torrent_handle.status in python binding 2011-03-05 02:31:12 +00:00
Arvid Norberg c38adc4183 fixed default values being set incorrectly in add_torrent_params through add_magnet_uri in python bindings 2011-02-28 05:52:39 +00:00
Arvid Norberg 6692f05655 added alerts for added and removed torrents 2011-02-01 03:25:40 +00:00
Arvid Norberg 1d8f768531 fixed python build with no deprecated functions 2011-01-23 18:41:15 +00:00
Arvid Norberg 2732a6bc47 move alert queue size limit into session_settings. make some alerts non-discardable (don't throw them out, even when the queue is full). Make session pause also pause all checking files. optimize rejecting incoming connections when the session is paused 2011-01-23 18:00:52 +00:00
Arvid Norberg ba0aed2282 initial support for DHT RSS feeds 2011-01-19 05:57:44 +00:00
Arvid Norberg c223291fb4 added support for RSS feeds 2011-01-18 03:41:54 +00:00
Arvid Norberg 284fc70cd0 fix threading in python binding for wait_for_alert 2011-01-16 22:26:15 +00:00
Arvid Norberg b49999b76e made the DHT implementation slightly more robust against routing table poisoning and node ID spoofing 2011-01-08 08:54:51 +00:00
Arvid Norberg 26053e4b76 support adding torrents by url to a .torrent file 2010-12-30 01:47:30 +00:00
Arvid Norberg fc0bd8066b use a python python dictionary for settings instead of session_settings object (in python bindings) 2010-12-26 08:03:02 +00:00
Arvid Norberg 2ce418f344 properly expose endpoints and addresses from alerts to python 2010-12-26 01:58:35 +00:00
Arvid Norberg 9c64be0f9c added some missing python bindings 2010-12-18 21:53:23 +00:00
Arvid Norberg f2416af718 added feature to turn off making outgoing connections for seeds 2010-12-17 03:20:36 +00:00
Arvid Norberg 8846fe4b93 one more python type converter 2010-12-15 08:30:04 +00:00
Arvid Norberg 8ce1b38cbc fixed python bindings for tcp::endpoint 2010-12-14 05:53:15 +00:00
Arvid Norberg 2e69366b02 reverted part of the file_storage API to match the previous one more closly 2010-11-29 05:44:29 +00:00
Arvid Norberg 6917410d20 expose some missing torrent_status fields to the python bindings 2010-11-25 03:07:40 +00:00
Arvid Norberg 894db973e8 optimized memory usage of torrent_info and file_storage 2010-11-24 23:49:22 +00:00
Arvid Norberg 8dbdd4ced4 expose set_alert_queue_size_limit to python 2010-11-15 05:34:52 +00:00
Arvid Norberg 8c404cc5c1 optimized memory usage of torrent_info 2010-11-15 05:10:36 +00:00
Arvid Norberg 415cd7fc4f fixed typos in python binding 2010-10-30 16:59:17 +00:00
Arvid Norberg 08a234f6a6 document peer turnover settings and update default settings to enable it. In trunk, make the peer turnover interval configurable as well 2010-10-30 15:59:57 +00:00
Arvid Norberg e4de1fc8b1 graceful disconnect mode which finishes transactions before disconnecting peers 2010-10-30 08:36:18 +00:00
Arvid Norberg 0d196d3c84 document the problem of the disk cache potentially modifying files after saving resume data. In trunk, add a flag to flush the cache in the same call as saving resume data 2010-10-29 02:21:43 +00:00
Arvid Norberg 7189fc6332 add default value for flags argument to add_files() in python bindings 2010-10-28 16:28:18 +00:00
Arvid Norberg e3e70d3412 python bindings updates and build fixes 2010-09-05 16:49:03 +00:00
Arvid Norberg 00efe29f9e python binding fixes 2010-08-22 16:45:12 +00:00
Arvid Norberg 0dbb04f75f fix python setup script for building windows distro 2010-08-21 19:47:48 +00:00
Arvid Norberg 0800513b2d updated setup.py to use msvc 9.0 (2008) 2010-08-04 17:07:01 +00:00
Arvid Norberg 9d56f3f459 restored default fail_limit to unlimited on all trackers 2010-08-03 03:00:54 +00:00
Arvid Norberg 3f922c13de fixed python binding build 2010-06-30 07:39:28 +00:00
Andrew Resch c2bc7b7a64 Add file_completed_alert to python bindings 2010-06-29 16:27:35 +00:00
Arvid Norberg df36088cab fixed add_node in python binding 2010-05-22 08:21:40 +00:00
Arvid Norberg 384bfdec48 added anonymous mode to disable some particular features that might give away the user's and the client's identity 2010-04-13 04:30:34 +00:00
Arvid Norberg b5efe1c92a added feature to ask a torrent if it needs to save its resume data or not 2010-04-12 00:36:31 +00:00
Arvid Norberg 600e280dda fixed python binding build 2010-04-01 16:48:33 +00:00
Arvid Norberg 7e851818b1 support more fine-grained torrent states between which peer sources it announces too 2010-03-29 00:34:04 +00:00
Arvid Norberg e22c6cdf62 stage the python module to the current directory to make running the test simpler 2010-03-28 02:06:50 +00:00
Arvid Norberg ae8e86e74a fixed python binding build 2010-03-06 17:50:19 +00:00
Arvid Norberg 29880b7e26 use a stricted condition when to enter end-game mode. Made it configurable in RC_0_15+ 2010-02-18 19:25:15 +00:00
Arvid Norberg 04d31cea6e support option to report redundant bytes or not to tracker as well as 'corrupt' argument 2010-02-18 06:45:07 +00:00
Arvid Norberg c050b22d8f optimized memory usage for torrent objects 2010-02-14 01:39:55 +00:00
Arvid Norberg 3f97cd5ecc documentation fixes and python binding updates 2010-02-11 04:51:41 +00:00
Arvid Norberg 3d5d9eb807 start torrent on incoming connection feature 2010-02-11 04:39:04 +00:00
Arvid Norberg fb47469834 experimental support for the BitTyrant choking algorithm 2010-02-09 03:04:41 +00:00
Arvid Norberg 3a9a133e55 fixed python binding 2010-02-08 05:31:00 +00:00
Arvid Norberg 8c02d04d2e UDP tracker optimization 2010-02-06 08:14:18 +00:00
Arvid Norberg 088f4bf700 improved LSD performance and made the interval configurable 2010-02-05 08:23:17 +00:00
Andrew Resch 172f6c2513 fixed big_number __init__ in python bindings 2010-01-31 23:16:56 +00:00
Arvid Norberg 5b747f58f7 add guided read cache and update tuning docs 2010-01-31 19:14:00 +00:00
Arvid Norberg ccf8b0278a added volatile read cache option 2010-01-30 03:50:17 +00:00
Arvid Norberg 2b86528e50 added info_hash to torrent_deleted_alert 2010-01-23 16:56:00 +00:00
Arvid Norberg a046850130 support disk I/O priority setting 2010-01-23 03:02:32 +00:00
Arvid Norberg ce18e3b907 reverted bad python binding change 2010-01-09 00:09:45 +00:00
Arvid Norberg cbf2526a8c added stats_alert reporting raw transfer stats per torrent every second 2010-01-02 14:16:35 +00:00
Arvid Norberg 3c262bcd52 added new announce_entry members to python bindings. Also excluded deprecated functions from the python bindings when built without them 2009-12-21 22:02:34 +00:00
Arvid Norberg a6ed83e7fe add load_state/save_state to python bindings and made them build 2009-12-05 07:24:22 +00:00
Arvid Norberg 130c6a9c55 fixed python binding typo in session_status and added some more documentation for file_storage 2009-11-11 05:28:28 +00:00
cristiangreco bba63021c0 configure.ac: drop dependencies on boost.filesystem and boost.thread libraries
and add some new files to makefiles.
2009-11-02 02:10:38 +00:00
Arvid Norberg 51ef057498 more unicode and wstring fixes 2009-10-29 18:12:43 +00:00
Arvid Norberg 33d6969684 fix build issues in python bindings 2009-10-29 06:45:46 +00:00
Arvid Norberg c418165e07 replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability) 2009-10-26 01:29:39 +00:00
Arvid Norberg 6c137d6ef6 announces torrents immediately to the DHT when it's started 2009-10-25 02:37:45 +00:00
Arvid Norberg 0e1183f45e added set_piece_hashes that takes a callback to the python binding 2009-10-02 01:26:31 +00:00
Arvid Norberg ea1761838a added torrent_status::finished_time 2009-09-30 17:21:59 +00:00
Arvid Norberg ba12527c5a added set_piece_deadline to the python binding 2009-09-25 15:03:24 +00:00
Arvid Norberg ef6e709ef6 added wait_for_alert to python binding 2009-09-25 14:35:28 +00:00
Arvid Norberg 35bca49c61 add torrent priority to adjust bandwidth allocation of torrent's peers 2009-09-13 02:24:25 +00:00
cristiangreco 2fd925a4ae Rewrite autotools build system (new configure.ac, changes for various
Makefile.am and fixed m4 scripts). Could still need some fixes.
2009-09-10 02:22:13 +00:00
Arvid Norberg 4c199b1876 added missing functions to python binding related to torrent creation 2009-08-28 03:46:19 +00:00
cg25 f283065cfc completely drop BOOST_MULTI_INDEX_DISABLE_SERIALIZATION define from all build
systems as multi_index is no more used in src/file_pool.cpp.
2009-08-21 20:19:55 +00:00
Andrew Resch c401c65dfb Add get_ip_filter() to session 2009-07-21 01:52:37 +00:00
Arvid Norberg ae3be201c4 reduced the number of floating point operations to better support systems with no FPU 2009-07-19 04:59:27 +00:00
Arvid Norberg b968f26273 updated python bindings to build 2009-07-16 07:10:58 +00:00
Arvid Norberg 8ee50045ca added support for uTorrent interpretation of multi-tracker torrents (off by default) 2009-06-28 20:21:55 +00:00
Andrew Resch 272e9e672d Remove un-necessary cast 2009-06-27 19:49:34 +00:00
Andrew Resch 277262b9b0 Add torrent_info.rename_file() to the python bindings 2009-06-27 01:50:10 +00:00
Andrew Resch c349203074 Add session.get_cache_status() to the python bindings 2009-06-25 23:05:12 +00:00
Andrew Resch 92d594f5c3 Remove 'max_outstanding_disk_bytes_per_connection' from the session_settings 2009-06-19 06:24:42 +00:00
Andrew Resch 25fb419a44 Fix some typos 2009-06-08 20:48:53 +00:00
Andrew Resch 7d01a17b17 Add some missing alerts and properties 2009-06-05 18:16:57 +00:00
Andrew Resch e19fb0548b Fix setting/getting trackers 2009-06-04 02:14:34 +00:00
Arvid Norberg c662f1c153 fix python bindings 2009-06-03 09:02:43 +00:00
Arvid Norberg 74f9d0aee8 remove docstrings.cpp reference in Jamfile 2009-06-01 02:53:08 +00:00
Andrew Resch 290942af33 Remove docstrings from python bindings 2009-05-31 21:39:38 +00:00
Andrew Resch 6626ed22a5 Fix typo 2009-05-31 20:55:10 +00:00
Andrew Resch 15f1ec0b0b Update and clean-up session.cpp in python bindings 2009-05-31 20:46:40 +00:00
Andrew Resch 3212c929ac Update python bindings session_settings 2009-05-31 20:06:47 +00:00
Andrew Resch 75d06a7a64 Add 'cache_size' and 'cache_expiry' session settings to the python bindings 2009-05-31 19:34:59 +00:00
Andrew Resch 6242ae051e added ability to give seeding torrents preference to active slots 2009-05-27 19:27:12 +00:00
Arvid Norberg 5874d32a34 updates to C bindings 2009-05-26 01:03:56 +00:00
Arvid Norberg 391bd37113 updated python bindings 2009-05-14 17:24:17 +00:00
Arvid Norberg e3f1b5a905 updated C bindings 2009-05-14 17:23:24 +00:00
Arvid Norberg bb9815713b updated python bindings with the recent API change 2009-05-03 16:38:27 +00:00
cg25 ecdf83547e Revert changeset introduced in r3424 and add a specific define to disable
boost.serialization for python bindings build.
2009-04-30 05:28:22 +00:00
Arvid Norberg 12dd8a8723 build windows python bindings with geoip support. fixes some warnings in msvc 2009-04-26 21:21:31 +00:00
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