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
arvidn
69ff30f50f
deprecate save_encryption_settings (they are part of the normal settings)
2017-12-27 13:39:36 +01:00
arvidn
7ea5946305
remove some last lexical_cast residual
2017-12-27 12:44:36 +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
bb945f5cf4
introduce a proper type for pex flags to improve type-safety
2017-12-17 23:17:12 +01:00
arvidn
5ce798197c
merged RC_1_1 into master
2017-12-02 11:39:23 +01:00
arvidn
cfd50ae736
fix simple_client.py example, and reference it from the documentation
2017-11-23 22:01:54 +01:00
arvidn
7730eea401
restore backwards compatibility with the API before download_priority_t was introduced
2017-11-06 01:24:24 +01:00
arvidn
6785046c2f
introduce a download_priority_t type, for uniform an type-safe piece- and file priorities
2017-11-02 08:20:21 +01:00
arvidn
f57b90b500
introduce type for torrent queue_position
2017-11-01 10:52:45 +01:00
Alden Torres
f040d6d860
added reopen_network_sockets method to allow manual reopen of listen/outgoing sockets ( #2476 )
2017-10-28 12:15:35 +02:00
arvidn
ee9e0abb1a
fix python binding for torrent_status::error_file
2017-10-20 11:43:11 +02: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