Commit Graph

516 Commits

Author SHA1 Message Date
arvidn 62db98ca09 add missing min_memory_usage() and high_performance_seed() settings presets to python 2017-01-24 01:34:05 -05:00
arvidn 27001750a4 add python binding for generate_fingerprint 2017-01-16 14:27:02 -05:00
Calum Lind de499310f5 [#1217] Fix RuntimeWarning registering pointer with Python
This fix checks for existing registered pointers for alert so that Boost
does not output the following warning when importing libtorrent in Python:

> RuntimeWarning: to-Python converter for boost::shared_ptrlibtorrent::alert already registered; second conversion method ignored.
2017-01-14 22:41:38 -05:00
arvidn febcbbf17c fix make_torrent.py to not use deprecated functions 2017-01-14 16:04:01 -05:00
arvidn eb5b0e9897 fix another c++98 issue 2016-12-24 11:27:58 -08:00
arvidn fa7846d1fd fix c++98 build 2016-12-24 08:40:49 -08:00
Arvid Norberg a6de426d1e add file_status to python binding (#1448)
add more missing functions to python bindings
2016-12-23 13:57:10 -08:00
arvidn 820fd29bff add missing session stats functions to python bindings 2016-12-23 06:06:44 -05:00
arvidn a39f3714b2 fix python build with CC/CXX environment 2016-12-08 18:39:43 -05:00
arvidn 864fcfaced initialize piece priorities to 4 2016-12-04 18:36:45 -05:00
AllSeeingEyeTolledEweSew 3abecd2546 Cast cached_piece_info::kind to int. 2016-11-26 11:06:49 -05:00
AllSeeingEyeTolledEweSew c5f1c07a87 Bind cache_status::pieces. (#1323)
expose cache_status::pieces in python binding
2016-11-22 18:38:45 -05:00
Arvid Norberg a7dcdf30ef cleanup and fixes to python bindings (#1317) 2016-11-13 20:52:56 -05:00
arvidn ab6940d560 back-port python binding patch to expose cache_flushed_alert 2016-11-11 01:06:23 -05:00
arvidn 19a5d9f989 add proxy_type_t to python binding 2016-11-05 11:37:14 -04:00
arvidn 2d1ce777f5 fix python exception 2016-11-03 22:30:48 -04:00
Arvid Norberg 11856d64e9 treat an unknown key in a settings_pack as an error in python (#1287) 2016-11-03 01:01:48 -04:00
arvidn c1fbd31bf1 make deprecation ifdefs more uniform 2016-11-02 23:40:48 -04:00
Arvid Norberg 4ba0151cb9 documentation fixes (#1274) 2016-10-29 22:56:46 -04:00
Arvid Norberg 61af222d92 add utility function for generating peer ID fingerprint (#1249)
add utility function for generating peer ID fingerprint
2016-10-25 08:03:26 -04:00
arvidn 344eedb969 add python scrape_tracker test 2016-10-15 21:29:01 -04:00
Arvid Norberg 7a52a285a1 back-port error_code cleanup from master (#1173)
back-port error_code cleanup from master
2016-10-03 16:32:40 -07:00
minus ab846d2d31 fixed python scrape_tracker arguments (#1160) 2016-09-27 23:22:06 -04:00
Arvid Norberg 80e5ce9b32 add a default DHT bootstrap node when it's enabled on session startup (#1008)
make the dht bootstrap nodes part of settings_pack instead, to make it possible to set them on startup. and add default
2016-08-21 12:15:19 -04:00
arvidn e247473b86 bump version number 2016-08-13 07:12:23 -04:00
Arvid Norberg 1229491e5e back-port python3 fix 2016-08-10 07:28:13 -04:00
Calum Lind 6c0f4cc082 Fix reoccurrence of py bindings -Wstrict-prototype warning (#959)
* Recent commit df368c2d15 has allowed the -Wstrict-prototype flag to
once again be passed to gcc so this fix removes all occurrences not just from 'OPT'.
2016-07-27 19:19:24 -04:00
Arvid Norberg 69f82c5274 add support for entry::preformatted to python binding (#952) 2016-07-27 00:15:26 -04:00
Arvid Norberg 6370d5bc81 deprecate lt_trackers extension (#940)
deprecate lt_trackers extension
2016-07-24 23:37:03 -04:00
Arvid Norberg f05fad0d41 remove load_asnum_db and load_country_db from python bindings (#930) 2016-07-21 18:10:29 -07:00
arvidn c0d7650926 add default argument to python binding for post_torrent_updates 2016-07-16 19:23:23 -07:00
Arvid Norberg eeb91cb803 Reduce appveyor builds 1.1 (#883)
reduce the number of times libtorrent is built on appveyor and travis
2016-07-05 11:25:31 -04:00
arvidn 42c6376d5c another python binding fix 2016-06-14 20:16:04 -04:00
arvidn f01ac8f86c fix announce_entry python binding 2016-06-14 20:10:18 -04:00
Arvid Norberg 80710abcbf fix python dictionary to settings_pack conversion bug (#652) 2016-04-27 12:28:22 -04:00
Alden Torres 0fddd403b2 Better api for peers() method in dht_get_peers_reply_alert (#628) 2016-04-19 16:16:51 -04:00
Steven Siloti e4fd45e109 fix the fix for python binding backwards compat
f409a5ab caused session.settings to return a setting pack dict rather than the
1.0 compatibile session_settings class.
2016-04-16 13:03:54 -07:00
arvidn 249dff6014 make dht_get_peers_reply_alert::peers a function in python binding 2016-04-15 00:53:02 -04:00
Alden Torres 4292cfbf04 Missing alert categories and support for dht_get_peers_reply_alert in python binding 2016-04-11 14:20:50 -04:00
arvidn 5c17dc9f31 fix some build warnings in python binding 2016-04-07 22:45:23 -04:00
arvidn a9952a38cf fix python test 2016-04-07 02:23:21 -04:00
arvidn b8fec119da add test to make sure the file_storage object is iterable in the python bindings 2016-04-07 00:09:02 -04:00
Arvid Norberg e17409f996 Merge pull request #585 from arvidn/python-cleanup-1.1
cleanup python binding for torrent_handle::prioritize_pieces
2016-04-04 17:30:44 -04:00
Arvid Norberg d0edcaf632 Merge pull request #584 from arvidn/python-sharedptr-1.1
fix python GIL issue
2016-04-04 17:29:45 -04:00
arvidn f409a5abf3 fix backwards compatibility of python binding for set_settings 2016-04-04 00:52:21 -04:00
arvidn a410363f11 cleanup python binding for torrent_handle::prioritize_pieces. github.com/arvidn/libtorrent/issues/573 2016-04-04 00:22:01 -04:00
arvidn 90efec5d19 fix python GIL issue when passing in a torrent_info object that later gets destroyed from within libtorrent 2016-04-03 23:50:06 -04:00
arvidn 398014778e add test for second overload of prioritize_pieces to python test 2016-04-02 15:52:37 -04:00
arvidn 0076baee81 apply lawnmowerwcd's python binding fix for converting python list to std::vector 2016-04-02 02:29:24 -04:00
arvidn 296c6c24c4 fix python3 binding for read_piece::buffer 2016-04-01 17:55:15 -04:00