Commit Graph

842 Commits

Author SHA1 Message Date
arvidn 820fd29bff add missing session stats functions to python bindings 2016-12-23 06:06:44 -05:00
Arvid Norberg 3f1084d63d strengthened type safety in handling of piece and file indices (#1409)
strengthened type safety in handling of piece and file indices
2016-12-22 10:42:33 -05:00
arvidn a2c4e7490e merged RC_1_1 into master 2016-12-20 01:16:13 -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
Alden Torres d5c4cd7280 fixed sign-compare warnings and some refactor (#1354)
fixed sign-compare warnings and some refactor. make sequence_number backed by std::int64_t
2016-11-27 08:46:53 -05:00
AllSeeingEyeTolledEweSew 3abecd2546 Cast cached_piece_info::kind to int. 2016-11-26 11:06:49 -05:00
Arvid Norberg 54f052a97b allocation slot type (#1352)
use a specialized type for allocation slot indices
2016-11-26 03:09:01 -05:00
arvidn b3c3c2aae6 merged RC_1_1 into master 2016-11-24 07:40:32 -05:00
AllSeeingEyeTolledEweSew c5f1c07a87 Bind cache_status::pieces. (#1323)
expose cache_status::pieces in python binding
2016-11-22 18:38:45 -05:00
arvidn 13f9c11078 fix python binding 2016-11-14 00:43:59 -05:00
arvidn ef1c241647 merged RC_1_1 into master 2016-11-13 21:54:09 -05:00
Arvid Norberg a7dcdf30ef cleanup and fixes to python bindings (#1317) 2016-11-13 20:52:56 -05:00
arvidn c9333849e6 deprecate relative times in torrent_status, replaced by std::chrono::time_point 2016-11-12 17:37:10 -05:00
arvidn ab6940d560 back-port python binding patch to expose cache_flushed_alert 2016-11-11 01:06:23 -05:00
All Seeing Eye Tolled Ewe Sew d69773c9e0 Add python bindings for cache_flushed_alert. 2016-11-10 19:58:47 -05:00
arvidn 583082a3a0 merged RC_1_1 into master 2016-11-09 19:53:55 -05:00
arvidn 19a5d9f989 add proxy_type_t to python binding 2016-11-05 11:37:14 -04:00
arvidn 2a999e1ea7 merge RC_1_1 into master 2016-11-03 23:58:35 -04:00
arvidn 98549a7c13 deprecated session_settings API has been removed. remove it from the test 2016-11-03 23:12:07 -04:00
arvidn 2d1ce777f5 fix python exception 2016-11-03 22:30:48 -04:00
arvidn d91f6f8c05 merged RC_1_1 into master 2016-11-03 01:19:38 -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
Alden Torres 877a47e03b fix deprecated warning with msvc (#1265)
fix deprecated warning with msvc
2016-10-27 18:09:14 -04:00
arvidn 500bb24dba merged RC_1_1 into master 2016-10-26 23:30:58 -04:00
Alden Torres 6751a1eeb1 removed spaces in template types and more c++11 auto/loop refactor 2016-10-26 00:08:00 -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 b1e22e6183 merged RC_1_1 into master 2016-10-20 00:36:54 -04:00
Alden Torres ded3ed6abf refactor in alert types to use more const fields and more clear API (#1222)
refactor in alert types to use more const fields and more clear API
2016-10-19 01:32:15 -04:00
arvidn 344eedb969 add python scrape_tracker test 2016-10-15 21:29:01 -04:00
Arvid Norberg c18c12a144 remove ghost torrent/torrent eviction feature. (#1214)
remove ghost torrent/torrent eviction feature. It was very complex and did not solve the problem very well
2016-10-15 13:32:59 -04:00
arvidn 1c89fcda48 merge RC_1_1 into master 2016-10-08 14:17:51 -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
Arvid Norberg cebd976cc2 fix error_code vs. error_condition traits (#1169)
fix error_code vs. error_condition traits. deprecate get_*_category(), instead use *_category()
2016-10-02 12:27:50 -07:00
minus ab846d2d31 fixed python scrape_tracker arguments (#1160) 2016-09-27 23:22:06 -04:00
Arvid Norberg f712caa80d deprecate send_stats property on trackers (since lt_tracker extension has been removed) (#1125) 2016-09-21 16:54:49 -07:00
Arvid Norberg 3e7e806a77 deprecate old session_settings API (use settings_pack instead) (#1117)
deprecate old session_settings API (use settings_pack instead)
2016-09-20 23:49:23 -07:00
Alden Torres 3faa771843 removed use of boost::bind and boost::scoped_array (#1053) 2016-09-01 09:43:53 -04:00
Arvid Norberg 5f5589d137 deprecate and remove remote_dl_rate feature (#1051)
deprecate and remove remote_dl_rate feature
2016-09-01 09:43:08 -04:00
Alden Torres bf0008933a refactor to use std::shared_ptr with peer_connection, core and tests (#1050) 2016-08-31 21:42:18 -04:00
Alden Torres 2ac45d17ef ed25519 api refactor (#1041) 2016-08-30 02:37:51 -04:00
Arvid Norberg c7eb76593c deprecate torrent priority (#1032)
deprecate torrent priority
2016-08-26 12:37:23 -04:00
Alden Torres 73d6ba6ae3 using span in torrent_handle and no optional in torrent_info (#1023) 2016-08-22 11:02:51 -04:00
arvidn 74fc0fae9d merged RC_1_1 into master 2016-08-21 16:28:49 -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
Alden Torres bb388563b3 refactor to use torrent_info with std::shared_ptr (#1006) 2016-08-17 17:26:35 -04:00
arvidn e247473b86 bump version number 2016-08-13 07:12:23 -04:00
Arvid Norberg e36e5efaba use boost::string_ref (#996)
use boost::string_ref/boost::string_view in various parts of the code, in file_storage, some file functions and in bdecode.
2016-08-13 07:04:53 -04:00
Arvid Norberg 30873e9c91 build python bindings with autotools on travis (#991)
build python bindings with autotools on travis
2016-08-10 14:20:15 -04:00
Arvid Norberg 1229491e5e back-port python3 fix 2016-08-10 07:28:13 -04:00
Arvid Norberg 330e683d13 fix bindings for python3 (#994)
fix bindings for python3
2016-08-10 07:26:02 -04:00
arvidn d03fdf77f4 make python test compatible with python 3 2016-08-07 19:11:27 -04:00
arvidn 42b3fbe20a merged RC_1_1 into master 2016-08-07 17:23:40 -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
Alden Torres 7caa99d6f1 __cplusplus cleanup (#951)
cleanup
2016-07-26 18:30:19 -04:00
arvidn 680a09cfa5 merged RC_1_1 into master 2016-07-26 02:14:58 -04:00
Arvid Norberg 118d06b780 remove deprecated extensions lt_trackers and metadata_transfer (#941) 2016-07-24 23:39:56 -04:00
Arvid Norberg 6370d5bc81 deprecate lt_trackers extension (#940)
deprecate lt_trackers extension
2016-07-24 23:37:03 -04:00
Arvid Norberg 9c2325ff6b modernize and improve type-safety of the DHT put implementation and test (#929)
modernize and improve type-safety of the DHT put implementation and tests. use unique_ptr instead of malloc for dht put items.
2016-07-23 15:57:04 -07:00
Arvid Norberg f05fad0d41 remove load_asnum_db and load_country_db from python bindings (#930) 2016-07-21 18:10:29 -07:00
Alden Torres 7446a88425 version to 1.2 (#924)
update version to 1.2
2016-07-20 11:29:24 -07:00
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 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
Arvid Norberg 66416963eb fix python binding linking on msvc (#878) 2016-07-03 23:30:52 -04:00
Arvid Norberg 21c1540ace clean up natpmp and upnp logging (#842)
clean up natpmp and upnp logging. remove custom logging macro and use regular logging via alerts. honor TORRENT_DISABLE_LOGGING
2016-06-23 01:23:59 -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 1edf47a64f Travis build once (#739)
build libtorrent once on travis
2016-05-20 01:32:32 -04:00
Arvid Norberg c16c612eae fix python build on appveyor (#736)
fix python build on appveyor
2016-05-17 01:04:12 -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
Arvid Norberg 97bdb4ba25 don't support c++98 anymore. build bt-get and bt-get2 by default (which require C++11). simplify address-model configuration in appveyor script. enable msvc-14 builds. use boost 1.59 on appveyor (#618) 2016-04-24 09:17:58 -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
arvidn d090bec242 fix python binding test 2016-04-16 22:41:43 -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
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
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 e8693465a5 remove more references to compact storage allocation 2016-03-20 19:14:46 -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 12dce2ccdb forward port python binding test for torrent_status::save_path 2016-02-27 20:57:06 -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
Steven Siloti df368c2d15 more robust flags parsing in python bindings
The flags supplied by libraries cannot be relied upon to be sane so
they all must be run through a parser to make sure search paths are
specified in the correct order.
2016-02-15 15:19:37 -08: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 bcef173270 Add unittest for post_session_stats() 2016-01-13 17:35:54 -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 a0678240f3 forward port fixes from RC_1_0 2016-01-03 23:34:57 -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
Calum Lind 9c3193c9c1 [Bindings/Python] Silence '-Wstrict-prototypes' warnings
* Fixes #277
   * This commit removes -Wstrict-prototypes configure option from 'OPT' envvar
     that is added by distutils from reading /usr/lib/pythonX.Y/config/Makefile.
2015-11-21 14:04:27 +00: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
Jakob Petsovits fc5ed962a8 Fix outdated C bindings code so it at least can build again. 2015-11-02 11:09:01 -05:00
Andrew Resch e8efc8fd00 Add a test for sha1_hash 2015-10-09 18:21:04 -07: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
arvidn bdb2801c10 fix typos in appveyor.yml. attempt to cut down build times 2015-09-11 23:13:27 -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 cc29a99c90 (merge commit from Andrew Starr-Bochicchio <asb@debian.org>) Running setup.py without LDFLAGS or explicitly passing includes will attempt to use bjam. This causes "python setup.py clean -a" to fail when building the package. 2015-08-27 06:52:13 -04:00
arvidn d8065b8941 fix some warnings 2015-08-21 14:03:16 +02:00
arvidn c99ad7b962 fix python binding Jamfile to detect BOOST_ROOT environment variable too 2015-08-09 21:23:11 -04:00
arvidn a854fed12b simplify Jamfile by determining whether to use boost from source or from system installed version based on the BOOST_ROOT environment variable. This removes the build feature boost=source/boost=system 2015-08-08 19:18:05 -04:00
Dāvis 292b5fd588 Fix out of srcdir build 2015-08-03 18:14:06 +03:00
arvidn 7780cb2699 add comment to test.py 2015-07-27 23:11:56 -07:00
arvidn 75dc8b7997 fix python binding build with no deprecated functions 2015-07-27 23:09:24 -07:00
arvidn edf5e5eefc use LD_LIBRARY_PATH to try to make the python test find libtorrent.so 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 bfe18dd0c9 another attempt at fixing the python unit test 2015-07-26 17:22:03 -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
Arvid Norberg 3036bce311 Merge pull request #22 from aldenml/session-dht-api
Added dht_get_peers and dht_announce at session level
2015-07-12 12:35:50 -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
Chocobo1 fdada81ce3 Remove execute permission (linux) for Jamfile 2015-07-12 14:24:01 +08:00
Chocobo1 a59d1d3240 Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line 2015-07-12 14:24:01 +08: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
arvidn 27855e17eb don't use the (now private/internal) utf8 functions from libtorrent in the python binding. i.e. fix the python binding build when linking dynamically against libtorrent 2015-06-07 15:16:51 -04:00
arvidn e584f476ba merge 2015-06-07 01:34:12 -04:00
arvidn 2e0a5263ac attempt to fix some isue with python binding jamfile 2015-06-07 08:31:09 +03: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
arvidn a3d397e194 fix python binding build issue 2015-06-06 17:38:46 -04:00
Arvid Norberg 34f6b1ca19 merged RC_1_0 into trunk 2015-05-30 17:41:38 +00:00
Arvid Norberg a15bc13392 build fixes 2015-04-26 13:38:56 +00:00
Arvid Norberg 23e5fd3d8f fix warnings 2015-04-06 04:31:21 +00:00
Arvid Norberg 9d98c3baee windows doesn't like to install dependencies for the python module. libtorrent seems to conflict with the python module itself 2015-04-04 22:41:06 +00:00
Arvid Norberg e1e6c8bdc0 fix python binding backwards compatibility 2015-04-04 22:37:11 +00:00
Arvid Norberg 02b3a5e515 another python binding fix 2015-04-04 19:27:40 +00:00
Arvid Norberg 967379e324 python binding fixes 2015-04-04 19:24:26 +00:00
Arvid Norberg d019f3d4c3 fix linux python build and test_ssl build 2015-04-04 18:03:55 +00:00
Arvid Norberg 721d93cb28 fix typos and msvc build issues 2015-04-04 04:50:20 +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 74ab89e6f1 fix python build 2015-02-24 02:00:17 +00:00
Arvid Norberg d4a7d195c2 fix python binding build 2015-01-28 12:25:29 +00:00
Arvid Norberg 758d5f4a30 merged changes from RC_1_0 2015-01-28 05:03:34 +00:00
Arvid Norberg d92d53f27a merged changes from RC_1_0 2015-01-26 02:07:03 +00:00
Arvid Norberg bc9281a27c deprecate file_entry (used by file_storage) and clean up the add_file overload that borrows memory (and improve implementation and documentation). The python bindings were updated to more closely match the c++ API (specifically actually using file_storage) 2015-01-21 15:46: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 5418d92eaf build fixes 2015-01-02 19:51:01 +00:00
Arvid Norberg 0961a3d1ba fix python build without deprecated functions 2015-01-02 11:48:04 +00:00
Arvid Norberg 790ef041bf merged changes from RC_1_0 2014-12-07 07:22:39 +00:00
Arvid Norberg 066cbf1a9f merged changes from RC_1_0 2014-12-02 10:18:07 +00:00
Arvid Norberg 99e1a3a829 attempted msvc-10.0 build fix 2014-11-30 00:28:03 +00:00
Arvid Norberg 5cb49da3cf merged changes from RC_1_0 2014-11-28 18:58:18 +00:00
Arvid Norberg 8b4dcb2959 merged changes from RC_1_0 2014-11-28 04:53:21 +00:00
Arvid Norberg 1c91903c9c merged fixes from RC_1_0 2014-11-27 03:05:06 +00:00
Arvid Norberg 179df62379 merged changes from RC_1_0 2014-11-20 05:53:12 +00:00
Arvid Norberg fddb25308b fix merge issue in python binding 2014-11-20 02:35:19 +00:00
Arvid Norberg 3f61ee0ff3 merged changes from RC_1_0 2014-11-19 09:23:08 +00:00
Arvid Norberg 53ba0067f9 another setup.py fix 2014-11-14 09:41:00 +00:00
Arvid Norberg e1d0592a57 merged changes from RC_1_0 2014-11-14 09:35:39 +00:00
Arvid Norberg d4e301f7bb fix python binding build without deprecated functions 2014-10-24 06:14:24 +00:00
Arvid Norberg 907dc9dddd merged changes from RC_1_0 2014-10-22 07:05:10 +00:00
Arvid Norberg fce967b5fb merged changes from RC_1_0 to change email address from @rasterbar.com to @libtorrent.org 2014-10-14 02:06:20 +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 6bbdd4afa4 merged changes from RC_1_0 2014-09-03 06:52:45 +00:00
Arvid Norberg 4d57456199 merged changes from RC_1_0 2014-09-02 06:28:27 +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 7bc35c1e63 merged changes from RC_1_0 2014-08-27 06:18:02 +00:00
Arvid Norberg 48ea42c990 merged changes from RC_1_0 2014-08-27 05:57:37 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 6ef1b98717 merged compiler warning fixes from RC_1_0 2014-07-05 14:10:25 +00:00
Arvid Norberg 6ed95d7f82 support storing save_path in resume data 2014-06-12 22:39:41 +00:00
Arvid Norberg 2028a16d87 make setup.py work well with both automake and bjam 2014-05-11 22:51:06 +00:00
Arvid Norberg 9636b9d3c7 fix python binding makefile 2014-05-08 08:02:51 +00:00
Arvid Norberg f015c0604a fix build and socket_io test 2014-05-04 08:20:31 +00:00
Arvid Norberg 569fb6705e expose use_disk_cache_pool to python bindings 2014-04-15 05:39:33 +00:00
Arvid Norberg 38512a3b79 fix python binding build on linux for pthread linking 2014-04-02 03:34:53 +00:00
Arvid Norberg 078b568009 attempt to fix linux -fPIC issue in python binding 2014-04-01 02:12:11 +00:00
Arvid Norberg f3e86dbc4a fix python binding Jamfile to use the same default linkage as everything else. polish run_tests script to print out less verbose build logs 2014-03-31 06:43:29 +00:00
Arvid Norberg f136e673d6 fix python binding build 2014-03-27 07:06:38 +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 45f3fa4696 simplified setup.py to always build the bindings using bjam 2014-03-23 07:34:18 +00:00
Arvid Norberg 6120b78704 merged python fixes from RC_0_16 2014-03-23 00:49:58 +00:00
Arvid Norberg 369b1777d1 fix build 2014-03-17 03:41:35 +00:00
Arvid Norberg e94335ec7f merged python example fix from RC_0_16 2014-02-19 08:50:59 +00:00
Arvid Norberg 9612ef193e cleaned up i2p_category to encapsulate it in i2p_stream.cpp, as well as the socks5 erro_category. added some documentation to torrent_handle and session. fixed reference documentation mapping of get_*_category() functions. regenerate documentation 2014-02-02 04:07:36 +00:00
Arvid Norberg 15e2019332 clean up upnp error category by moving it into upnp.cpp, it's not properly encapsulated. added some documentation to torrent_handle. reformatted some documentation comments to honor an 80 column display 2014-02-02 03:05:55 +00:00
Arvid Norberg 1f8a32e3bc merged python binding fixes from RC_o_16 2014-02-01 04:02:58 +00:00
Arvid Norberg 3c47435426 merged python binding fix from RC_0_16 2014-01-30 07:58:25 +00:00
Arvid Norberg fa6818e757 merged python binding fix from RC_0_16 2014-01-17 05:35:58 +00:00
Arvid Norberg aa975242e4 fix python build without deprecated functions 2014-01-05 09:21:01 +00:00
Arvid Norberg f26df6cbfa allow force_announce to only affect a single tracker 2014-01-02 02:16:31 +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 f3ec7283ad merge c++11 fix for python binding from RC_0_16 2013-10-01 22:11:46 +00:00
Arvid Norberg 7c66c2911f merged fixes from RC_0_16 2013-09-07 21:27:07 +00:00
Arvid Norberg eff0bf97b8 fix typo in python binding 2013-08-29 05:41:50 +00:00
Arvid Norberg d616d3592b make python bindinga build without deprecated functions 2013-08-28 02:38:31 +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 77710e4ac0 merged python fix from RC_0_16 2013-07-16 23:26:07 +00:00
Arvid Norberg a571f361a2 merged fixes from RC_0_16 2013-07-16 15:55:14 +00:00
Arvid Norberg 122033713b whitespace 2013-07-09 06:15:38 +00:00
Arvid Norberg 621541cde5 attempt to fix python binding issue 2013-07-09 06:14:21 +00:00
Arvid Norberg 6297f3c47d merged python binding fix from RC_0_16 2013-06-25 22:46:54 +00:00
Arvid Norberg 360c6a6e16 introduced a new alert torrent_update_alert, for when a torrent_handle changes info-hash 2013-05-17 03:19:23 +00:00
Arvid Norberg ab4d789dd7 merged python binding fix from RC_0_16 2013-05-10 02:41:07 +00:00
Arvid Norberg 982a14c2e9 extend move_storage functionality to have more flexible behavior 2013-05-09 02:50:16 +00:00
Arvid Norberg fd44cdbba5 merged python binding fix from RC_0_16 2013-05-05 18:08:03 +00:00
Arvid Norberg 2add1d942d merged python binding fix from RC_0_16 2013-05-04 04:30:40 +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 7632393325 merged jamfile fixes from RC_0_16 2013-04-27 19:35:41 +00:00
Arvid Norberg dfe541ecec merged python fix from RC_0_16 2013-03-29 02:46:12 +00:00
Arvid Norberg f1cd525ec1 merged python fix from RC_0_16 2013-03-27 23:34:26 +00:00
Arvid Norberg 5bc3028291 make some stats more configurable and reorder some fields 2013-02-23 22:13:25 +00:00
Arvid Norberg d85db40b3c merged python fix from RC_0_16 2013-02-07 02:27:39 +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 73a7e9f03b merged python fix from RC_0_16 2012-12-02 17:31:20 +00:00
Arvid Norberg c065b1fa80 merged utf8 conversion fix from RC_0_16 2012-11-30 05:26:09 +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 52ece49121 merged fixes from RC_0_16 2012-11-01 03:51:50 +00:00