Commit Graph

763 Commits

Author SHA1 Message Date
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
Arvid Norberg 068ce3c896 merged python fix from RC_0_16 2012-10-24 17:11:18 +00:00
Arvid Norberg 134fa7b0fb merged python fix from RC_0_16 2012-10-19 05:18:48 +00:00
Arvid Norberg 8ba970018c make bottled http requests response size limit configurable and bump default to 2 MiB 2012-10-19 01:28:47 +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 f326525e8e merged python fixes from RC_0_16 2012-09-29 05:10: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 73fb9ba4b2 merged python binding fix from RC_0_16 2012-08-18 19:33:24 +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 bcfba9e485 merged python 3 support from RC_0_16 2012-07-16 01:12:39 +00:00
Arvid Norberg aca32290c0 fix python bindings build for older versions of boost 2012-07-03 00:59:33 +00:00
Arvid Norberg ad4efb8d59 add python bindings for SSL support 2012-06-26 23:53:59 +00:00
Arvid Norberg af7c890c64 fix python binding typo for min_memory_usage 2012-06-15 05:22:53 +00:00
Arvid Norberg 5192d03852 fixed python binding build with no deprecated functions 2012-06-14 15:41:39 +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 68e9b06358 added missing functions to python bindings (file_priority()) 2012-05-19 23:34:31 +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 05aeda31c6 merged python binding fix from RC_0_16 2012-04-04 14:51:55 +00:00
Arvid Norberg 418c1e8190 make tracker back-off configurable 2012-03-29 03:51:22 +00:00
Arvid Norberg bc041a9a6d fix python binding Jamfile 2012-03-22 20:36:22 +00:00
Arvid Norberg 21d3a75c41 make python bindings build with visibility=hidden by default 2012-03-22 04:37:32 +00:00
Arvid Norberg a63ae0650f add rename_file and name to filestorage in python binding 2012-03-22 03:33:54 +00:00
Arvid Norberg e8abac3a4b fixed typo in python binding 2012-03-11 16:21:51 +00:00
Arvid Norberg ba4286ea2d expose create_torrent constructor to python binding 2012-03-11 07:14:17 +00:00
Arvid Norberg 74d8f5beb3 fix python bindings for hash_for_piece 2012-03-11 06:57:35 +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 9bd40e950b add send_buffer_low_watermark in an attempt to improve seed ramp-up time 2012-03-07 02:59:50 +00:00
Arvid Norberg 3515199eb5 fix python deadlock when using python extensions 2011-11-29 11:12:11 +00:00
Arvid Norberg c3695d9fbb add have_piece function to torrent_handle 2011-11-27 00:01:13 +00:00
Arvid Norberg 4efabcefff added some functions missing from the python binding 2011-11-16 06:12:48 +00:00
Arvid Norberg f540157d1b expose tcp/uTP settings to python 2011-11-15 10:13:45 +00:00
Arvid Norberg 9e87be35e4 fix python binding Jamfile 2011-11-13 07:31:00 +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 de12d2da3a expose stats_alert data to python 2011-09-23 01:28:13 +00:00
Arvid Norberg 27ec2e1678 expose incoming_connection_alert to python 2011-09-20 06:08:01 +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 587de62205 expose verified_pieces and the enums passed in to torrent_handle::status to python 2011-08-07 19:03:19 +00:00
Arvid Norberg f38f8c57c4 add announce_ip to python binding 2011-08-05 17:11:05 +00:00
Arvid Norberg 109e527568 added reset_piece_deadline function 2011-08-05 06:31:46 +00:00
Arvid Norberg 68aa222a58 expose set_peer_id to python binding 2011-08-01 00:05:53 +00:00
Arvid Norberg bd4948064f python binding build fix 2011-07-19 01:54:57 +00:00
Arvid Norberg 220793c369 exposed comparison operators on torrent_handle to python 2011-07-04 21:02:15 +00:00
Arvid Norberg 272dcb6652 fixed bug in python binding loading resume data 2011-07-04 07:07:34 +00:00
Arvid Norberg 1e4a3d990c add new python binding file to makefiles 2011-06-27 17:54:30 +00:00
Arvid Norberg abb015e3de exposed alert error_codes to python 2011-06-25 20:11:31 +00:00
Arvid Norberg a93d8f5ba3 expose a bunch more functions through the old python settings interface 2011-06-23 00:59:07 +00:00
Arvid Norberg 4d950285d1 expose bandwidth_mixed_algo constants to python 2011-06-22 01:16:53 +00:00
Arvid Norberg 707e678ffc fix tier and fail_limit to be writeable in the python binding 2011-06-18 17:30:44 +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 5e7b2fad97 fix python binding build 2011-05-28 16:10:13 +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 921ad7d8e2 add make_torrent.py to makefile 2011-04-10 08:43:46 +00:00
Arvid Norberg eaedc22831 added make_torrent.py example and polished the python binding for creating torrents 2011-04-10 08:41:07 +00:00
Arvid Norberg 1c13f828dd python binding fixes 2011-03-07 08:24:02 +00:00
Arvid Norberg 81c730fe54 fix torrent_handle.status in python binding 2011-03-05 02:31:12 +00:00
Arvid Norberg c38adc4183 fixed default values being set incorrectly in add_torrent_params through add_magnet_uri in python bindings 2011-02-28 05:52:39 +00:00
Arvid Norberg 6692f05655 added alerts for added and removed torrents 2011-02-01 03:25:40 +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 ba0aed2282 initial support for DHT RSS feeds 2011-01-19 05:57:44 +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 b49999b76e made the DHT implementation slightly more robust against routing table poisoning and node ID spoofing 2011-01-08 08:54:51 +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 2ce418f344 properly expose endpoints and addresses from alerts to python 2010-12-26 01:58:35 +00:00
Arvid Norberg 9c64be0f9c added some missing python bindings 2010-12-18 21:53:23 +00:00
Arvid Norberg f2416af718 added feature to turn off making outgoing connections for seeds 2010-12-17 03:20:36 +00:00
Arvid Norberg 8846fe4b93 one more python type converter 2010-12-15 08:30:04 +00:00
Arvid Norberg 8ce1b38cbc fixed python bindings for tcp::endpoint 2010-12-14 05:53:15 +00:00
Arvid Norberg 2e69366b02 reverted part of the file_storage API to match the previous one more closly 2010-11-29 05:44:29 +00:00
Arvid Norberg 6917410d20 expose some missing torrent_status fields to the python bindings 2010-11-25 03:07:40 +00:00
Arvid Norberg 894db973e8 optimized memory usage of torrent_info and file_storage 2010-11-24 23:49:22 +00:00
Arvid Norberg 8dbdd4ced4 expose set_alert_queue_size_limit to python 2010-11-15 05:34:52 +00:00
Arvid Norberg 8c404cc5c1 optimized memory usage of torrent_info 2010-11-15 05:10:36 +00:00
Arvid Norberg 415cd7fc4f fixed typos in python binding 2010-10-30 16:59:17 +00:00
Arvid Norberg 08a234f6a6 document peer turnover settings and update default settings to enable it. In trunk, make the peer turnover interval configurable as well 2010-10-30 15:59:57 +00:00
Arvid Norberg e4de1fc8b1 graceful disconnect mode which finishes transactions before disconnecting peers 2010-10-30 08:36:18 +00:00
Arvid Norberg 0d196d3c84 document the problem of the disk cache potentially modifying files after saving resume data. In trunk, add a flag to flush the cache in the same call as saving resume data 2010-10-29 02:21:43 +00:00
Arvid Norberg 7189fc6332 add default value for flags argument to add_files() in python bindings 2010-10-28 16:28:18 +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 0dbb04f75f fix python setup script for building windows distro 2010-08-21 19:47:48 +00:00
Arvid Norberg 0800513b2d updated setup.py to use msvc 9.0 (2008) 2010-08-04 17:07:01 +00:00
Arvid Norberg 9d56f3f459 restored default fail_limit to unlimited on all trackers 2010-08-03 03:00:54 +00:00
Arvid Norberg 3f922c13de fixed python binding build 2010-06-30 07:39:28 +00:00
Andrew Resch c2bc7b7a64 Add file_completed_alert to python bindings 2010-06-29 16:27:35 +00:00
Arvid Norberg df36088cab fixed add_node in python binding 2010-05-22 08:21:40 +00:00
Arvid Norberg 384bfdec48 added anonymous mode to disable some particular features that might give away the user's and the client's identity 2010-04-13 04:30:34 +00:00
Arvid Norberg b5efe1c92a added feature to ask a torrent if it needs to save its resume data or not 2010-04-12 00:36:31 +00:00
Arvid Norberg 600e280dda fixed python binding build 2010-04-01 16:48:33 +00:00
Arvid Norberg 7e851818b1 support more fine-grained torrent states between which peer sources it announces too 2010-03-29 00:34:04 +00:00
Arvid Norberg e22c6cdf62 stage the python module to the current directory to make running the test simpler 2010-03-28 02:06:50 +00:00
Arvid Norberg ae8e86e74a fixed python binding build 2010-03-06 17:50:19 +00:00
Arvid Norberg 29880b7e26 use a stricted condition when to enter end-game mode. Made it configurable in RC_0_15+ 2010-02-18 19:25:15 +00:00
Arvid Norberg 04d31cea6e support option to report redundant bytes or not to tracker as well as 'corrupt' argument 2010-02-18 06:45:07 +00:00
Arvid Norberg c050b22d8f optimized memory usage for torrent objects 2010-02-14 01:39:55 +00:00
Arvid Norberg 3f97cd5ecc documentation fixes and python binding updates 2010-02-11 04:51:41 +00:00
Arvid Norberg 3d5d9eb807 start torrent on incoming connection feature 2010-02-11 04:39:04 +00:00
Arvid Norberg fb47469834 experimental support for the BitTyrant choking algorithm 2010-02-09 03:04:41 +00:00
Arvid Norberg 3a9a133e55 fixed python binding 2010-02-08 05:31:00 +00:00
Arvid Norberg 8c02d04d2e UDP tracker optimization 2010-02-06 08:14:18 +00:00
Arvid Norberg 088f4bf700 improved LSD performance and made the interval configurable 2010-02-05 08:23:17 +00:00
Andrew Resch 172f6c2513 fixed big_number __init__ in python bindings 2010-01-31 23:16:56 +00:00
Arvid Norberg 5b747f58f7 add guided read cache and update tuning docs 2010-01-31 19:14:00 +00:00
Arvid Norberg ccf8b0278a added volatile read cache option 2010-01-30 03:50:17 +00:00
Arvid Norberg 2b86528e50 added info_hash to torrent_deleted_alert 2010-01-23 16:56:00 +00:00
Arvid Norberg a046850130 support disk I/O priority setting 2010-01-23 03:02:32 +00:00
Arvid Norberg ce18e3b907 reverted bad python binding change 2010-01-09 00:09:45 +00:00
Arvid Norberg cbf2526a8c added stats_alert reporting raw transfer stats per torrent every second 2010-01-02 14:16:35 +00:00
Arvid Norberg 3c262bcd52 added new announce_entry members to python bindings. Also excluded deprecated functions from the python bindings when built without them 2009-12-21 22:02:34 +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
cristiangreco bba63021c0 configure.ac: drop dependencies on boost.filesystem and boost.thread libraries
and add some new files to makefiles.
2009-11-02 02:10:38 +00:00
Arvid Norberg 51ef057498 more unicode and wstring fixes 2009-10-29 18:12:43 +00:00
Arvid Norberg 33d6969684 fix build issues in python bindings 2009-10-29 06:45:46 +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 6c137d6ef6 announces torrents immediately to the DHT when it's started 2009-10-25 02:37:45 +00:00
Arvid Norberg 0e1183f45e added set_piece_hashes that takes a callback to the python binding 2009-10-02 01:26:31 +00:00
Arvid Norberg ea1761838a added torrent_status::finished_time 2009-09-30 17:21:59 +00:00
Arvid Norberg ba12527c5a added set_piece_deadline to the python binding 2009-09-25 15:03:24 +00:00
Arvid Norberg ef6e709ef6 added wait_for_alert to python binding 2009-09-25 14:35:28 +00:00
Arvid Norberg 35bca49c61 add torrent priority to adjust bandwidth allocation of torrent's peers 2009-09-13 02:24:25 +00:00
cristiangreco 2fd925a4ae Rewrite autotools build system (new configure.ac, changes for various
Makefile.am and fixed m4 scripts). Could still need some fixes.
2009-09-10 02:22:13 +00:00
Arvid Norberg 4c199b1876 added missing functions to python binding related to torrent creation 2009-08-28 03:46:19 +00:00
cg25 f283065cfc completely drop BOOST_MULTI_INDEX_DISABLE_SERIALIZATION define from all build
systems as multi_index is no more used in src/file_pool.cpp.
2009-08-21 20:19:55 +00:00
Andrew Resch c401c65dfb Add get_ip_filter() to session 2009-07-21 01:52:37 +00:00
Arvid Norberg ae3be201c4 reduced the number of floating point operations to better support systems with no FPU 2009-07-19 04:59:27 +00:00
Arvid Norberg b968f26273 updated python bindings to build 2009-07-16 07:10:58 +00:00
Arvid Norberg 8ee50045ca added support for uTorrent interpretation of multi-tracker torrents (off by default) 2009-06-28 20:21:55 +00:00
Andrew Resch 272e9e672d Remove un-necessary cast 2009-06-27 19:49:34 +00:00
Andrew Resch 277262b9b0 Add torrent_info.rename_file() to the python bindings 2009-06-27 01:50:10 +00:00
Andrew Resch c349203074 Add session.get_cache_status() to the python bindings 2009-06-25 23:05:12 +00:00
Andrew Resch 92d594f5c3 Remove 'max_outstanding_disk_bytes_per_connection' from the session_settings 2009-06-19 06:24:42 +00:00
Andrew Resch 25fb419a44 Fix some typos 2009-06-08 20:48:53 +00:00
Andrew Resch 7d01a17b17 Add some missing alerts and properties 2009-06-05 18:16:57 +00:00
Andrew Resch e19fb0548b Fix setting/getting trackers 2009-06-04 02:14:34 +00:00
Arvid Norberg c662f1c153 fix python bindings 2009-06-03 09:02:43 +00:00
Arvid Norberg 74f9d0aee8 remove docstrings.cpp reference in Jamfile 2009-06-01 02:53:08 +00:00
Andrew Resch 290942af33 Remove docstrings from python bindings 2009-05-31 21:39:38 +00:00
Andrew Resch 6626ed22a5 Fix typo 2009-05-31 20:55:10 +00:00
Andrew Resch 15f1ec0b0b Update and clean-up session.cpp in python bindings 2009-05-31 20:46:40 +00:00
Andrew Resch 3212c929ac Update python bindings session_settings 2009-05-31 20:06:47 +00:00
Andrew Resch 75d06a7a64 Add 'cache_size' and 'cache_expiry' session settings to the python bindings 2009-05-31 19:34:59 +00:00
Andrew Resch 6242ae051e added ability to give seeding torrents preference to active slots 2009-05-27 19:27:12 +00:00
Arvid Norberg 5874d32a34 updates to C bindings 2009-05-26 01:03:56 +00:00
Arvid Norberg 391bd37113 updated python bindings 2009-05-14 17:24:17 +00:00
Arvid Norberg e3f1b5a905 updated C bindings 2009-05-14 17:23:24 +00:00
Arvid Norberg bb9815713b updated python bindings with the recent API change 2009-05-03 16:38:27 +00:00
cg25 ecdf83547e Revert changeset introduced in r3424 and add a specific define to disable
boost.serialization for python bindings build.
2009-04-30 05:28:22 +00:00
Arvid Norberg 12dd8a8723 build windows python bindings with geoip support. fixes some warnings in msvc 2009-04-26 21:21:31 +00:00
cg25 a79932c9fd optionally set specific installation parameters in makefile for python bindings 2009-04-12 10:54:12 +00:00
cg25 b59c93392a strip unneeded cflag in setup.py for python bindings 2009-04-12 00:00:24 +00:00
Arvid Norberg 1ed9e6d2f8 more C bindings and added getters for max_uploads on session and torrent 2009-04-07 15:55:05 +00:00
Arvid Norberg 49a4a62168 added start of C API library in bindings 2009-04-06 04:55:15 +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 a4fca76eff python binding build fixes (BBv2) 2009-03-02 05:43:56 +00:00
Arvid Norberg c51471c563 fixed python binding build warning 2009-03-02 05:23:25 +00:00
Arvid Norberg a080fdc8fa python binding fix for file_storage 2009-03-01 08:13:26 +00:00
Arvid Norberg 8ce5774307 added missing python bindign for create_torrent 2009-02-21 08:39:26 +00:00
Arvid Norberg bed92597a9 fix for building the python bindings with boost-build 2009-02-20 08:58:36 +00:00
Arvid Norberg 63a2522014 fixed some warnings 2009-02-13 07:13:03 +00:00
Andrew Resch 11c21f2abe Add a std::pair to tuple converter
Add 'outgoing_ports' to session_settings
2009-01-24 05:29:23 +00:00
Arvid Norberg 2454919be3 fixed typo in python binding 2009-01-21 23:41:26 +00:00
Andrew Resch d60a5399bf Add *_proxy() methods 2009-01-02 21:23:43 +00:00
Arvid Norberg 24668058fc added -fPIC and -fvisibility=hidden as features for cleaner Jamfile (and to make the propagation work for boost_system) 2008-12-20 23:30:53 +00:00
Arvid Norberg 3d34d30afb use -fvisibility=hidden for darwin and gcc toolkits 2008-12-20 21:12:39 +00:00
Arvid Norberg ba1de6ea99 added session::id() to python binding 2008-12-15 08:03:47 +00:00
Arvid Norberg 4b01a8fe61 added read_piece() to python binding 2008-12-15 07:49:05 +00:00
Arvid Norberg 76d9c80182 added missing functions to python bindings 2008-12-14 20:51:22 +00:00
Arvid Norberg b47f965c85 added torrent_handle::read_piece(). #441 2008-12-14 19:47:02 +00:00