arvidn
7be9547817
add a few more stats counters measuring outgoing connection attempts. simplify session_stats_header_alert by posting it on first call to post_session_stats() instead of making it gated by the alert_mask
2018-08-09 20:10:35 +02:00
arvidn
4096085bf8
merged RC_1_1 into master
2018-07-30 13:44:44 +02:00
arvidn
7980447480
added missing stats_metric python binding
2018-07-29 00:44:48 +02:00
arvidn
acbe3c1880
catch exceptions out of the python notify callback and ignore them
2018-07-24 15:07:40 +02:00
Arvid Norberg
2f56fa6c3e
bump version to 1.1.9
2018-07-20 13:06:12 +02:00
arvidn
3c2b076eb0
deprecated anonymous_mode_alert
2018-07-08 18:26:47 +02:00
Arvid Norberg
c7e705e158
merged RC_1_1 into master
2018-07-07 13:33:15 +02:00
d-komarov
6d5a6f05ad
Fix torrent files prioritization ( #3133 )
...
After setting file priority, any subsequent attempt to set different priorities will fail if there is a `file_priority` job running in in disk thread. This happens because `torrent::m_file_priority` is being updated before adding disk thread job. The problem is gone if the file priority vector owned by the torrent object, is modified in the `torrent::on_file_priority` callback, when disk job finishes.
2018-07-04 08:16:33 +02:00
arvidn
d439c8729a
qualify some assignment operators to disallow assignment to temporaries
2018-07-01 17:29:50 +02:00
arvidn
4576723090
bump version to 1.1.8
2018-06-25 12:25:11 +02:00
Andrew Resch
596d98cac4
Clean-up python code ( #3075 )
...
lint and enforce python code formatting
2018-06-12 11:43:13 +02:00
Andrew Resch
c2ea38fdfe
Add set_alert_notify to python bindings ( #3066 )
2018-05-29 22:30:59 +02:00
Arvid Norberg
ccdfd7383e
move export.hpp into aux_ folder. put assert symbols in libtorrent namespace
2018-05-14 09:09:01 +02:00
Eugene Shalygin
a626f75c5e
Refactor CMakeLists.txt
...
1. Replace custom 'shared' option with the standard BUILD_SHARED_LIBS
flag
2. Replace foreach() calls for source items with target_sources() and
generator expression $<JOIN:>.
3. Remove build types definition: makes no sense for
single-configuration generators, and is populated automatically for
multi-configuration ones.
4. Add feature summary
5. Enahnce compiler flags management for static runtime by utilizing functions
from the ucm project
6. Copy almost all options from the Jamfile.
7. If compiler supports C++14, use it.
8. Raise minimum required CMake version to 3.11 and drop bundled FindIconv.cmake
2018-05-14 09:08:19 +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
Alden Torres
cb8b32f353
revert to use Boost variables in CMakeLists.txt
2018-05-01 10:50:21 +02:00
Eugene Shalygin
3c6e0b2578
Generate proper pkg-config file in cmake build
2018-04-29 19:48:26 +02:00
Eugene Shalygin
049e918295
build python bindings with cmake
2018-04-29 19:48:26 +02:00
Eugene Shalygin
55e2b23255
Add workaround for MSVC and snprintf define
2018-04-29 19:48:26 +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
fc56ec194a
merge RC_1_1 into master
2018-04-29 15:07:26 +02:00
Arvid Norberg
747fcb633a
fix typo in client.py. introduce parse_magnet_uri_dict to python binding (returning a dict) in preparation for next major version that will release an add_torrent_params object
2018-04-28 19:05:23 +02:00
Eugene Shalygin
927647acc5
Add options to specify network interfaces to client.py
2018-04-28 15:55:28 +02:00
arvidn
8621477239
merged RC_1_1 into master
2018-04-28 14:36:24 +02:00
Arvid Norberg
d8c022070f
merged RC_1_1 into master
2018-04-21 17:17:55 -04:00
Arvid Norberg
e1f99fb309
fix boost-python linking with latest version of brew
2018-04-21 18:35:05 +02:00
arvidn
52e1a7b6c9
merged RC_1_1 into master
2018-04-15 11:00:57 +02:00
Steven Siloti
b3faba329d
create dummy alias for boost_python3 when python3 is unavailable
...
Versions of boost as recent as 1.63 do not create a stub alias for python3
which causes build failures if no version of python3 is configured.
Duplicate that behavior so that building works even on older versions of
boost.
2018-04-13 08:27:22 +02:00
arvidn
105934e578
bump version
2018-04-08 23:08:39 +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
Arvid Norberg
16f1deb3ec
merged RC_1_1 into master
2018-04-04 15:28:33 +02:00
Steven Siloti
e7e5805c56
support building python bindings for python 3 and 64 bit
2018-03-27 11:04:56 +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
8a85e1c01a
merged RC_1_1 into master
2018-03-21 12:17:11 +01:00
arvidn
137baa6c04
expose post_dht_stats() to python binding
2018-03-17 16:19:20 +01:00
arvidn
4b144ba451
merged RC_1_1 into master
2018-03-16 13:16:45 +01:00
Arvid Norberg
3721d8e710
expose missing file_storage::file_name() in the python bindings
2018-03-15 14:54:21 +01:00
arvidn
5c1b65e9b8
merged RC_1_1 into master
2018-03-12 02:32:12 +01:00
arvidn
b841860643
improve python binding for torrent_handle::connect_peer
2018-03-09 23:44:15 +01:00
arvidn
4fef787212
merged RC_1_1 into master
2018-01-24 00:37:05 +01:00
arvidn
abbbcf52c1
add missing session_stats_header_alert in python binding
2018-01-23 19:23:24 +01:00
arvidn
a8cf790833
disable some session features to not run our of open files in python test
2018-01-23 19:23:24 +01:00
arvidn
1f2a2294cc
run fewer osx jobs on travis
2018-01-23 19:23:24 +01:00
arvidn
efd096d879
use unique peer_ids per connection
2018-01-23 16:40:16 +01:00
arvidn
7ff9f79af3
run fewer osx jobs on travis
2018-01-23 16:33:13 +01:00
arvidn
c5569902a8
fix python bindings
2018-01-21 19:53:31 +01:00
arvidn
91104e27c9
fix python binding for queue_position_t
2018-01-13 17:33:01 -05:00
arvidn
c8bf782bd0
bump version number to 1.1.6
2017-12-29 15:53:51 +01:00
arvidn
a9753d3bdc
merge RC_1_1 into master
2017-12-27 22:16:14 +01:00