Commit Graph

458 Commits

Author SHA1 Message Date
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