arvidn
adeceb4b92
fix deprecation macro and auto in client_test
2019-01-12 23:24:41 +01:00
arvidn
29cddaa23e
merged RC_1_1 into master
2018-11-15 15:19:24 +01:00
arvidn
a2a10e9bee
expose some dht alert fields as bytes instead of strings
2018-11-10 21:31:27 +01:00
arvidn
c437a24d78
renamed debug_notification to connect_notification
2018-09-28 17:28:34 -07:00
arvidn
6c4d1b9143
back-port the patch to split up the progress_notification alert_mask into three new categories, file-, piece- and block progress
2018-09-24 08:52:30 -07:00
arvidn
3c2b076eb0
deprecated anonymous_mode_alert
2018-07-08 18:26:47 +02:00
arvidn
fe612ca167
replace the TORRENT_CFG ABI check with inline namespaces around the symbol that can change ABI based on build configuration options
2018-05-13 19:25:17 +02:00
Arvid Norberg
07ff024e30
fix conversions of resume_data field of save_resume_data_alert. make write_resume_data_buf return a byte-array. use write_resume_data_buf() in client.py instead of, the deprecated, resume_data
2018-04-29 16:33:09 +02:00
Arvid Norberg
6efff919cd
deprecated alert::progress_notification alert category, split into finer grained categories
2018-04-05 16:27:28 +02:00
Steven Siloti
59d1c1f067
expose tracker_alert::local_endpoint in python bindings
2018-04-05 16:01:06 +02:00
arvidn
9df4d4b7f8
replace typedef with using. replace NULL with nullptr. cleanup page_aligned_allocator
2018-03-23 11:19:46 +01:00
arvidn
abbbcf52c1
add missing session_stats_header_alert in python binding
2018-01-23 19:23:24 +01:00
arvidn
a54f76d5df
deprecate status_code from tracker_error_alert (it's already part of the error_code), simplify code a bit
2017-12-19 00:55:51 +01:00
arvidn
244d18dcf8
merged RC_1_1 into master
2017-10-17 09:38:51 +02:00
Andrew Resch
9f6631bfbe
Expose torrent_alert::torrent_name in python bindings ( #2449 )
2017-10-15 23:53:44 +02:00
Alden Torres
e47f73ee3b
cleanup of field torrent_need_cert_alert::error ( #2414 )
...
deprecate field torrent_need_cert_alert::error
2017-10-06 10:54:33 +02:00
arvidn
686e3ed27b
merged RC_1_1
2017-09-12 00:22:55 +02:00
Steven Siloti
fdd6a3862d
python: return file index by value
...
Fixes TypeError: No Python class registered for C++ class
2017-09-11 07:23:05 +02:00
Steven Siloti
1cd40ee7e3
python: return torrent handles in alerts by value
...
This is needed to avoid a dangling reference if the client stores a
reference to the handle.
2017-09-10 08:55:02 +02:00
arvidn
9c7f87ed5d
fix python binding of port_mapping_t
2017-09-04 07:49:36 +02:00
Arvid Norberg
f734ad067b
straighten out some type-safety in port mapping enums ( #2285 )
2017-08-30 20:47:49 +02:00
arvidn
41bfd41cea
fix python binding with new boost version
2017-08-25 09:43:01 +02:00
Arvid Norberg
d250ba5a17
wrap destination string in i2p_peer in string_ptr handler ( #2268 )
2017-08-25 09:42:46 +02:00
rllola
3464ddf1d5
read_piece_alert bindings for piece to int
2017-07-30 18:22:32 -07:00
arvidn
b38efb6c65
make alert category flags be a strong type
2017-07-26 07:20:47 -07:00
arvidn
35491bc476
convert remaining alerts to use operation_t instead of string literal
2017-06-18 22:05:50 -04:00
arvidn
ff454a92d4
unify some operation-enums and strings to use operation_t
2017-06-18 07:31:45 -04:00
arvidn
1fd350cf60
make operation_t an enum class, for type safety
2017-06-15 07:00:06 -04:00
Arvid Norberg
660cdaf2d1
deprecate direct access to array in session_stats_alert ( #2033 )
2017-05-27 20:33:31 -04:00
arvidn
d138f02424
introduce lt namespace alias
2017-04-23 23:43:58 -04:00
arvidn
0bdb3484d7
fix python binding build
2017-03-27 01:57:50 -04:00
arvidn
86786770b7
merged RC_1_1 into master
2017-03-27 01:24:43 -04:00
arvidn
910ccc528f
deprecate torrent_added_alert in favor of add_torrent_alert
2017-03-26 22:48:17 -04:00
Arvid Norberg
a34ce0278e
add write_resume_data() function ( #1776 )
...
add write_resume_data() function. Make resume data alert use an add_torrent_params object
2017-03-05 09:31:28 -05:00
Falcosc
32e0028e32
Fix python client ( #1512 )
...
extend python test to include examples. add piece index and block index python bindings
2017-01-24 08:50:36 -05:00
arvidn
450a8fb170
fix add_torrent_params field in add_torrent_alert. include more fields in dict -> add_torrent_param converter for add_torrent/async_add_torrent
2017-01-16 11:37:17 -05:00
Calum Lind
de499310f5
[ #1217 ] Fix RuntimeWarning registering pointer with Python
...
This fix checks for existing registered pointers for alert so that Boost
does not output the following warning when importing libtorrent in Python:
> RuntimeWarning: to-Python converter for boost::shared_ptrlibtorrent::alert already registered; second conversion method ignored.
2017-01-14 22:41:38 -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
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
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
Arvid Norberg
48298e1670
modernize use nullptr (python binding) ( #896 )
2016-07-09 22:36:14 -04:00
Arvid Norberg
717ed8bd3b
Msvc warnings ( #822 )
...
fix msvc warnings in python bindings and simulations
2016-06-18 19:24:27 -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
cf3c95702b
Peer blocked alert ( #747 )
...
make peer_blocked_alert derive from peer_alert
2016-05-22 19:56:14 -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
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
Arvid Norberg
f0d95f5e3e
remove RSS feature ( #662 )
...
remove RSS feature
2016-04-29 15:54:21 -04:00