Commit Graph

176 Commits

Author SHA1 Message Date
arvidn 442979c318 support filtering which parts of session state are loaded by load_state() 2016-03-06 16:35:49 -05:00
arvidn cc8066bf11 properly deprecated adding torrents by http url 2016-02-21 11:31:42 -05:00
arvidn 516db1fc97 fix python binding 2016-02-20 12:51:06 -05:00
arvidn 190fb4cfa9 attempt to fix python bindings on windows 2016-01-14 02:26:36 -05:00
Andrew Resch 6552138ae5 Add session.post_session_stats() to python bindings 2016-01-11 22:52:10 -08:00
Andrew Resch fc72c41556 Fix error with no converter for boost::shared_ptr<libtorrent::alert> 2016-01-10 19:57:20 -08:00
Andrew Resch a0770a087a Fix python 3 compatibility 2016-01-10 19:53:54 -08:00
arvidn f44fb4c660 extend python binding unit test and fix bugs in it 2016-01-06 00:17:51 -05:00
arvidn 49b24d4cd0 fix python bindings 2016-01-05 01:32:04 -05:00
arvidn d9278c3da4 merge RC_1_0 fix for python binding 2016-01-02 22:56:19 -05:00
arvidn 4aaa8ca4a9 silence msvc performance warnings. introduce more override and finals 2015-11-19 23:37:45 -05:00
j a16b8f374b python bindings: fix dht_put/get_mutable_item
- accept strings for public/private keys,
  its not possible to pass boost::arrarys
- sign data passed to dht_put_mutalbe_item
2015-11-09 04:49:49 +01:00
arvidn 51c6079c42 add stop-when-ready feature, to support checking torrents without starting the download afterwards 2015-10-04 13:08:23 -04:00
arvidn a00e5aa6c7 forward port patch to have resume data web seeds override .torrent file web seeds, and a flag to merge them 2015-09-30 00:41:41 -04:00
arvidn b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
arvidn 17c5759829 disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings 2015-09-06 22:55:41 -04:00
Alden Torres 922c5e898e Moved 'allow_threading_guard guard' to the right place. 2015-07-12 11:05:06 -04:00
Alden Torres 3058cdb705 No need of function wrapping in python bindings for DHT get/put operations. 2015-07-12 10:37:16 -04:00
Alden Torres a856ae6e9b Added dht_get_peers and dht_announce at session level.
Refactored dht_put_item to dht_put_immutable_item in session_impl since the get operations are not overloaded (consistency).
Added allow_threading_guard to add_dht_node python binding.
Making dht_put_item in session returns a zeroed hash if TORRENT_DISABLE_DHT (avoid unnecessary calculation and it's more consistent).
Added missing DHT operations to the python binding.
Added missing allow_threading_guard to add_dht_node in the python binding.
2015-07-12 10:37:16 -04:00
arvidn f36d360b8b merged fix from RC_1_0 2015-06-17 17:40:38 -04:00
arvidn 4461ae2ba4 fix python binding build without deprecated functions 2015-06-08 17:56:18 -04:00
arvidn aa6598b2e6 don't return an internal session_settings type from the session, return a settings_pack instead 2015-06-07 00:23:30 -04:00
Arvid Norberg 34f6b1ca19 merged RC_1_0 into trunk 2015-05-30 17:41:38 +00:00
Arvid Norberg 02b3a5e515 another python binding fix 2015-04-04 19:27:40 +00:00
Arvid Norberg 013ed36f09 landed alert_queue feature branch into trunk 2015-04-03 20:15:48 +00:00
Arvid Norberg 6c1df7eb55 landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node 2015-03-12 05:20:12 +00:00
Arvid Norberg 431fa2ac55 fix python binding build (and expose the new dht stats alert) 2015-01-18 21:36:24 +00:00
Arvid Norberg 35b41858cf deprecated session_status and session::status() in favor of performance counters 2015-01-04 21:31:02 +00:00
Arvid Norberg 0961a3d1ba fix python build without deprecated functions 2015-01-02 11:48:04 +00:00
Arvid Norberg 9c2472f7bb fix build with deprecated functions disabled 2014-10-05 19:32:29 +00:00
Arvid Norberg d296960efa fix build with verbose logging 2014-10-04 19:54:12 +00:00
Arvid Norberg eb32b1fef1 merged changes from RC_1_0 2014-09-12 22:38:07 +00:00
Arvid Norberg ddb133e055 merged changes from RC_1_0 2014-08-31 21:17:32 +00:00
Arvid Norberg 83c0a4e519 build fixes 2014-08-27 07:50:36 +00:00
Arvid Norberg bdd1c65399 merged changes from RC_1_0 2014-08-27 07:47:39 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 6ed95d7f82 support storing save_path in resume data 2014-06-12 22:39:41 +00:00
Arvid Norberg fd6623fa5c the python bindings should not use types internal to libtorrent (fixes shared library linking) 2014-03-25 06:23:10 +00:00
Arvid Norberg 369b1777d1 fix build 2014-03-17 03:41:35 +00:00
Arvid Norberg 87f08265bc some more fixes around TORRENT_DISABLE_EXTENSIONS 2013-12-21 06:20:16 +00:00
Arvid Norberg 9395186a7d merged python binding fix from RC_0_16 2013-10-10 05:53:44 +00:00
Arvid Norberg 50f98c124f some python bindings fixes 2013-08-27 16:04:19 +00:00
Arvid Norberg f10bedf035 merged python binding fix from RC_0_16 2013-07-17 14:27:02 +00:00
Arvid Norberg fd44cdbba5 merged python binding fix from RC_0_16 2013-05-05 18:08:03 +00:00
Arvid Norberg ea98a7050e merged python fix from RC_0_16 2013-05-04 03:59:52 +00:00
Arvid Norberg f01169a68d merged python binding update from RC_0_16 2013-05-03 08:24:26 +00:00
Arvid Norberg 360af45e63 merged python binding fix from RC_0_16 2013-01-20 20:42:12 +00:00
Arvid Norberg c29b019291 merged python binding fix from RC_0_16 2013-01-04 17:52:35 +00:00
Arvid Norberg 5a102e3c75 merged python binding fix from RC_0_16 2012-12-31 03:15:50 +00:00
Arvid Norberg 40805503d6 merged python binding fix from RC_0_16 2012-12-14 04:38:44 +00:00
Arvid Norberg cfcd817545 merged fix from RC_0_16 2012-12-12 17:59:12 +00:00
Arvid Norberg 5077c06c4a merged (python) fixes from RC_0_16 2012-11-23 20:43:42 +00:00
Arvid Norberg 6142acb4be merged python fix from RC_0_16 2012-11-03 04:38:45 +00:00
Arvid Norberg 134fa7b0fb merged python fix from RC_0_16 2012-10-19 05:18:48 +00:00
Arvid Norberg 7974e50bb8 merged python fix from RC_0_16 2012-10-13 16:50:07 +00:00
Arvid Norberg 7909479505 merged python fix from RC_0_16 2012-10-13 02:08:34 +00:00
Arvid Norberg 15ecec3ae5 merged python GIL fix from RC_0_16 2012-09-19 06:13:04 +00:00
Arvid Norberg 49709d1e3f merged python binding fix from RC_0_16 2012-09-11 17:20:31 +00:00
Arvid Norberg 670437c375 expose post_torrent_updates and state_update_alert to python bindings 2012-08-10 06:33:53 +00:00
Arvid Norberg aca32290c0 fix python bindings build for older versions of boost 2012-07-03 00:59:33 +00:00
Arvid Norberg af7c890c64 fix python binding typo for min_memory_usage 2012-06-15 05:22:53 +00:00
Arvid Norberg d09e958166 add set_dht_settings to python bindings and fix include in bitfield.hpp 2012-05-28 17:54:20 +00:00
Arvid Norberg 6ec096d3d2 fixed python binding build on Mac OS and BSD 2012-05-05 19:21:20 +00:00
Arvid Norberg 6ecf54996c attempt to fix deluge magnet link issue 2012-04-29 00:51:05 +00:00
Arvid Norberg 341967dab7 improve magnet link support. in RSS feeds for instance. Parsing of magnet links was factored out and moved to the proper place, in session_impl::add_torrent 2012-03-08 09:54:44 +00:00
Arvid Norberg e71ead49ed fix bug in dict_to_torrent_params in python binding 2011-11-08 05:53:13 +00:00
Arvid Norberg 2330520c51 change the add_torrent_params API to use flags instead of a bunch of bools (but leave it backwards compatible) 2011-11-08 05:36:22 +00:00
Arvid Norberg 29fec4dad9 expose settings presets to python 2011-10-30 21:33:37 +00:00
Arvid Norberg 51ed06304e deprecated compact storage allocation 2011-08-22 00:51:14 +00:00
Arvid Norberg e26d49a71c expose new listen_on flags to python 2011-08-13 23:30:11 +00:00
Arvid Norberg 68aa222a58 expose set_peer_id to python binding 2011-08-01 00:05:53 +00:00
Arvid Norberg 272dcb6652 fixed bug in python binding loading resume data 2011-07-04 07:07:34 +00:00
Arvid Norberg b0432627b1 python binding fix (still doesn't work with msvc9) 2011-06-08 08:37:01 +00:00
Arvid Norberg 2bfa8005d4 fix python build by exposing the correct constructors for torrent_info, along with default values. Also, avoid making a redundant copy of the torrent_info in dict_to_add_torrent_params 2011-06-08 03:40:14 +00:00
Arvid Norberg 1a03764d5f fixed memory scope issue in python binding when adding torrents with resume data 2011-06-01 03:22:41 +00:00
Arvid Norberg a4651536c9 fixed python bindings build with disabled DHT support 2011-04-28 09:24:42 +00:00
Arvid Norberg c0f2d5186f added option to replace trackers or add trackers when loading trackers from resume data 2011-04-10 21:33:29 +00:00
Arvid Norberg 1c13f828dd python binding fixes 2011-03-07 08:24:02 +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 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 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 8dbdd4ced4 expose set_alert_queue_size_limit to python 2010-11-15 05:34:52 +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 ae8e86e74a fixed python binding build 2010-03-06 17:50:19 +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
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 ef6e709ef6 added wait_for_alert to python binding 2009-09-25 14:35:28 +00:00
Andrew Resch c401c65dfb Add get_ip_filter() to session 2009-07-21 01:52:37 +00:00
Andrew Resch c349203074 Add session.get_cache_status() to the python bindings 2009-06-25 23:05:12 +00:00
Andrew Resch 15f1ec0b0b Update and clean-up session.cpp in python bindings 2009-05-31 20:46:40 +00:00
Arvid Norberg 391bd37113 updated python bindings 2009-05-14 17:24:17 +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 c51471c563 fixed python binding build warning 2009-03-02 05:23:25 +00:00
Andrew Resch d60a5399bf Add *_proxy() methods 2009-01-02 21:23:43 +00:00
Arvid Norberg ba1de6ea99 added session::id() to python binding 2008-12-15 08:03:47 +00:00