Commit Graph

473 Commits

Author SHA1 Message Date
arvidn 47d7c92fd4 merged RC_1_1 into master 2016-07-17 07:19:15 -07:00
arvidn c0d7650926 add default argument to python binding for post_torrent_updates 2016-07-16 19:23:23 -07:00
Arvid Norberg a740a49fd6 modernize misc (#898)
modernize misc
2016-07-10 07:34:45 -04:00
Arvid Norberg 48298e1670 modernize use nullptr (python binding) (#896) 2016-07-09 22:36:14 -04:00
Arvid Norberg 66416963eb fix python binding linking on msvc (#878) 2016-07-03 23:30:52 -04:00
Arvid Norberg 717ed8bd3b Msvc warnings (#822)
fix msvc warnings in python bindings and simulations
2016-06-18 19:24:27 -04:00
Arvid Norberg ed077c8358 use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
2016-06-18 14:01:38 -04:00
arvidn 4b186130e6 fix merge 2016-06-14 21:16:28 -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
Alden Torres 42a9022065 Refactor of listen alerts for separated fields address and port (#778)
Refactor of listen alerts for separated fields address and port
2016-06-02 22:38:56 -04:00
Arvid Norberg 748af6eec1 general cleanup. remove valgrind markup, log_hash_failures and C headers (#752)
general cleanup. remove valgrind markup, log_hash_failures and C headers
2016-05-23 08:15:39 -04:00
Arvid Norberg cf3c95702b Peer blocked alert (#747)
make peer_blocked_alert derive from peer_alert
2016-05-22 19:56:14 -04:00
Arvid Norberg b4e11a06c0 attempt to get GCC 5 in travis (#744)
use GCC 5 in travis
2016-05-21 16:23:15 -04:00
Arvid Norberg 1e7e01c671 transition to system_error as the exception type (#730)
transition to system_error as the exception type
2016-05-15 00:33:06 -04:00
Arvid Norberg 167cbe74b5 made alerts move-only and remove dispatch function and other deprecated alert functions requiring alert to be copyable (#721) 2016-05-13 08:19:44 -04:00
arvidn fc4cc9e7ee make the cached current time thread-safe 2016-05-01 08:50:23 -04:00
Steven Siloti ff0675e64e use standard array container (#676) 2016-04-30 23:10:47 -04:00
Arvid Norberg 4e97bf556c use override and final keywords (unconditionally) (#668)
use override and final keywords instead of macros.
2016-04-30 11:05:54 -04:00
arvidn 36a5a11ee2 merge fix 2016-04-29 23:34:25 -04:00
Arvid Norberg f0d95f5e3e remove RSS feature (#662)
remove RSS feature
2016-04-29 15:54:21 -04:00
Arvid Norberg 46b33f920b remove explicit cache feature (#661)
remove explicit cache feature
2016-04-29 02:32:00 -04:00
Arvid Norberg 10ec0234a7 remove resolve-country feature (#656) 2016-04-28 08:20:47 -04:00
Arvid Norberg 80710abcbf fix python dictionary to settings_pack conversion bug (#652) 2016-04-27 12:28:22 -04:00
arvidn eaf7cb329f fix python binding merge issue 2016-04-22 01:34:48 -04:00
arvidn 04a3c04075 merged RC_1_1 into master 2016-04-20 08:08:05 -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 c1fbac7fd3 fix python binding for python 3 2016-04-15 18:40:46 -04:00
arvidn 249dff6014 make dht_get_peers_reply_alert::peers a function in python binding 2016-04-15 00:53:02 -04:00
arvidn d84a38fdf2 improve converters for add_torrent_params 2016-04-15 00:48:47 -04:00
arvidn 2529dbba7f improve python binding of read_resume_data, and specifically add_torrent_params 2016-04-15 00:48:45 -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 867b83ccda merged RC_1_1 into master 2016-04-08 02:20:24 -04:00
arvidn 5c17dc9f31 fix some build warnings in python binding 2016-04-07 22:45:23 -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 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
arvidn f1c3ecd067 fix metadata() and hash_for_piece() in python3 binding 2016-03-31 00:19:23 -04:00
arvidn 7f232dd195 fix python3 issue in binding 2016-03-30 23:35:47 -04:00
arvidn fd4a46342f merge RC_1_1 into master 2016-03-30 00:33:29 -04:00
arvidn f5c112eefc remove remaining references to storage_mode_compact (since it's been deprecated for quite a while now, and no longer implemented) 2016-03-20 18:25:24 -04:00
arvidn 96e2693d13 merge RC_1_1 into master 2016-03-19 16:02:46 -04:00
arvidn f7c9062019 deprecate more parts of explicit cache as well as fixing typos of TORRENT_NO_DEPRECATE preprocessor tests 2016-03-19 07:54:29 -04:00
arvidn 85f615132b fix documentation mentions of session_settings to refer to settings_pack. clean out some outdated disk instrumentation docs 2016-03-18 16:40:52 -04:00
arvidn 6d1a744a5c Merge branch 'RC_1_1' 2016-03-18 11:31:21 -04:00
arvidn 1cd5119178 remove/deprecate bad idea with mlock 2016-03-17 19:37:05 -04:00
arvidn 6d85c7c5f0 merge RC_1_1 into master 2016-03-08 01:10:48 -05:00
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 87c31bec25 revert remaining left-over from deprecating listen_failed_alert::endpoint 2016-02-10 18:20:17 -05:00
arvidn be44f9dd50 forward port python binding fix from RC_1_0 2016-02-08 22:14:08 -05:00
arvidn acd929381e restore the endpoint field in listen_failed_alert (but deprecated) and add a port field 2016-01-31 10:20:10 -05:00
arvidn 190fb4cfa9 attempt to fix python bindings on windows 2016-01-14 02:26:36 -05:00
Andrew Resch a375317158 Remove unused include 2016-01-13 17:36:59 -08:00
Andrew Resch 2e90ea7493 Add session_stats_alert to python bindings 2016-01-13 17:30:51 -08: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 ed09a6a01d use datetime type for time_duration in python binding 2016-01-07 17:47:53 -05: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 645b121df6 deprecate resolve-countries 2015-12-14 21:32:30 -05:00
Arvid Norberg 3516e53fa2 Merge pull request #329 from arvidn/warnings-fix
mark up some override functions and fix other clang warnings
2015-12-13 22:12:52 -05:00
arvidn 505ae508f4 mark up some override functions and fix other clang warnings 2015-12-13 19:44:42 -05:00
arvidn 1e6021f71e deprecate set_tracker_login in python binding 2015-12-13 16:25:05 -05:00
arvidn 87b64f083a fix python build 2015-11-29 11:12:58 -05:00
arvidn 4aaa8ca4a9 silence msvc performance warnings. introduce more override and finals 2015-11-19 23:37:45 -05:00
Arvid Norberg aa30d64432 Merge pull request #255 from bit/mutable_python
fix mutable dht entries in python bindings
2015-11-12 20:23:28 -05:00
arvidn 4c0b00c390 forward-port version function from RC_1_0 2015-11-11 00:57:51 -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
j d36122f252 expose dht put/get data in alerts 2015-11-08 19:06:07 +01:00
arvidn ebb9fdaf54 add error_code to torrent_status instead of error string 2015-11-05 20:43:23 -05:00
Andrew Resch 95be0137d5 Change sha1_hash __init__ to use a std::string
This fixes compatibility with Python 3's bytes object.
2015-10-08 23:08:12 -07: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
Calum Lind 11a4be737d [Bindings/Py] Add missing move_flags_t to torrent_handle 2015-10-01 10:35:42 +01: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 a9821216bf revert py_libtorrent renaming for python binding 2015-09-24 05:19:29 -07:00
Thomas Yuan 7fec9e488d make immutable/mutable items lifetime configurable. 2015-09-21 20:32:37 -04:00
arvidn 372385bcb8 expose more of torrent_status in python binding 2015-09-19 14:39:36 -04:00
arvidn b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
Thomas Yuan 60cedf881f Add block_timeout, block_ratelimit and read_only of dht_settings to python binding. 2015-09-08 11:03:27 -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
Calum Lind 22b8ca72b8 Fix wrong type for tier in python bindings 2015-09-01 10:09:39 +01:00
arvidn 75dc8b7997 fix python binding build with no deprecated functions 2015-07-27 23:09:24 -07:00
arvidn 167577aec4 another attempt to fix python unit test 2015-07-27 00:21:02 -07:00
arvidn 8e1ec2ce69 fix c++98 mode build 2015-07-25 20:19:34 -07:00
arvidn 1a4c017ec5 merged torrent_info constructor fix (python bindings) from RC_1_0 2015-07-25 16:40:07 -07: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 d1670c72c2 removed sparse-regions support 2015-06-29 20:40:32 -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