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