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