Alden Torres
971cffaed9
added include files to CMakeLists.txt and added minimal support for cmake build in CI ( #2767 )
2018-02-04 02:03:40 +01:00
arvidn
3a9861e237
complete the error handling test and make it part of the default simulation test suite. It will run a file transfer between two clients repeatedly, each time cause another memory allocation fail, until every single memory allocation has failed once. Any invariant check failure, assertion or signal will cause the test to fail
2018-01-08 04:44:52 -05:00
arvidn
98419aee12
disable debug iterators in simulations on windows, since exception safety is compromised
2018-01-05 10:55:12 -05:00
arvidn
d635667375
minor edits to the Jamfile
2018-01-04 07:31:44 -05:00
arvidn
4e63c55057
revert Jamfile changes from last patch
2017-10-13 17:34:24 +02:00
arvidn
8af89da689
fix GCC-4.9 build
2017-10-13 10:08:51 +02:00
Arvid Norberg
60b74d2616
merged RC_1_1 into master
2017-10-10 14:25:12 +02:00
Arvid Norberg
830ef0bedd
prevent dependency on openssl from leaking outside of libtorrent (libssl and libcrypto should not be a usage requirement). This cleans up most tests to build without having to also link against openssl
2017-10-09 17:15:35 +02:00
Arvid Norberg
75f6b95050
clean up openssl dependency handling in Jamfile
2017-10-09 17:15:35 +02:00
arvidn
1d15e6bfb4
merge RC_1_1 into master
2017-10-08 18:21:25 +02:00
arvidn
8ba5845643
don't hard-code the paths to find openssl on mac (but default to picking up brew). Add two new jam features, openssl-lib and openssl-include that can be used to specify which openssl to link against
2017-10-08 03:00:02 +02:00
Alden Torres
7f3c38025f
making use of openssl API 1.1 compatible
2017-10-06 11:03:16 +02:00
arvidn
69dc73914a
merged RC_1_1 into master
2017-10-04 11:43:01 +02:00
arvidn
dffe31ad7e
try to link against dbghelp on mingw
2017-10-02 00:18:56 +02:00
arvidn
5f3661aaa2
back port overflow checking from master
2017-10-02 00:02:14 +02:00
arvidn
68f05d6380
fix some warnings and integer overflow with torrents that are too big
2017-09-28 14:59:28 -07:00
arvidn
4c4c630fae
merge RC_1_1 into master
2017-09-23 10:46:29 -07:00
arvidn
08e861cca9
back port aldenml's patch from master to fix brew issue
2017-09-23 09:08:20 -07:00
arvidn
bb51dcdbb9
move dht_settings into its own header cpp file-pair and dht_settings into the dht namespace
2017-09-04 22:38:16 +02:00
arvidn
061732ddec
bump version
2017-09-04 15:35:45 +02:00
Arvid Norberg
1075ae3b8d
remove session pool allocator and use the buffer class instead ( #2274 )
...
simplify append_buffer by using size() to determine size of the buffer. make the move explicit in chained_buffer::init_buffer_entry
2017-08-28 11:37:53 +02:00
arvidn
c167e28788
move stack allocator implementation into its own cpp file
2017-07-23 16:49:24 -07:00
Steven Siloti
f0ae2145ea
use a handle class for listen sockets instead of raw pointers
...
Listen socket handles need to be week_ptr so that they can detect when a listen
socket is removed in the middle of a tracker announce on it. Use a wrapper class
to enforce that no one outside of session_impl can hold ownership of the socket
across event boundaries.
To support unit tests, listen_socket_t is also split into a base class which
holds the members needed to support the public listen socket API.
2017-07-21 19:18:44 -07:00
arvidn
be3836b67d
fix mingw build wiht openssl on appveyor
2017-07-21 16:47:04 -07:00
arvidn
c4659bc345
convert peer_flags and peer_source_flags to type-safe flags
2017-07-17 10:22:32 -07:00
arvidn
259e04e1ad
fix Jamfile indentation
2017-07-15 01:19:02 -07:00
arvidn
a41c9f62e4
asserts and invariant checks are on by default when building debug, but not release
2017-07-15 01:15:28 -07:00
arvidn
a9b3982f7c
restore ssl/crypto build feature in Jamfile to stay compatible with 1.1
2017-07-14 16:31:22 -07:00
arvidn
bff09a70fe
merged RC_1_1 into master
2017-07-13 22:51:05 -07:00
arvidn
0f2af8c3ef
disable msvc warning 4503
2017-07-13 22:24:29 -07:00
arvidn
ec65e12ee6
add boost-build feature to link against libcrypto and libssl on windows #1931
2017-07-13 22:20:35 -07:00
arvidn
5188c190db
bump version number
2017-07-02 15:03:46 -04:00
arvidn
fab8af6be2
don't depend on or define UNICODE and _UNICODE on windows
2017-07-02 11:05:53 -04:00
arvidn
5c37eb174f
drop support for windows compilers without std::string and wchar_t (believed to be old cygwin)
2017-07-02 08:24:55 -04:00
Alden Torres
48ef3b6bf7
implemented support for BEP 51 ( #1652 )
2017-06-12 11:54:11 +02:00
Alden Torres
e38887cb3c
added add_torrent_params.cpp and moved is_nothrow asserts to cpp files ( #2059 )
2017-06-07 16:41:28 +02:00
Steven Siloti
761436dc97
add support for utp over multiple interfaces ( #1944 )
2017-04-25 23:00:41 -04:00
Steven Siloti
9519fd4441
default to a template depth limit of 512
2017-04-23 19:49:49 -04:00
Alden Torres
81d669399b
added reachability based ip_change_notifier_impl for iOS ( #1902 )
...
added reachability based ip_change_notifier_impl for iOS
2017-04-11 23:53:13 -04:00
arvidn
79d7ae3638
separate path and filesystem functions out into its own translation unit/header file pair, separating it from the file and directory class
2017-04-11 18:07:55 -04:00
Alden Torres
e4bdd14ae7
implemented ip_change_notifier_macos ( #1891 )
...
implemented ip_change_notifier_macos
2017-04-07 17:53:12 -04:00
arvidn
b065536023
bump version number
2017-04-02 18:34:45 -04:00
Alden Torres
1d1484d689
fixing remaining clang sign warnings ( #1825 )
...
fixing remaining clang sign warnings
2017-03-18 08:49:19 -04:00
Alden Torres
71b488e326
using travis xcode7.3 image to avoid brew update issue
2017-03-17 23:41:46 -04:00
arvidn
6929d051f1
fix build without deprecated functions
2017-03-09 00:19:02 -05: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
Alden Torres
3764ee62cb
fixing sign-conversion warnings, part 23, final ( #1763 )
...
fixing sign-conversion warnings, part 23, final
2017-02-27 11:50:53 -05:00
arvidn
6d40d3a167
bump version number
2017-02-20 12:43:34 -05:00
Alden Torres
533699bbb5
making strong_typedef::UnderlyingType constexpr and warnigs cleanup
2017-01-26 16:32:30 -05:00
arvidn
c239c2bdc4
factor out storage_piece_set into its own file
2017-01-22 09:29:52 -05:00