arvidn
e829c1942a
merged RC_1_1 into master
2018-01-14 13:07:20 +01:00
arvidn
a67eb2f059
fix tracker connection bind issue for IPv6 trackers
2018-01-14 06:47:13 -05:00
arvidn
a9085db760
fix error handling of merkle torrents
2018-01-13 17:33:36 -05:00
arvidn
91104e27c9
fix python binding for queue_position_t
2018-01-13 17:33:01 -05:00
arvidn
f29bb69612
fix error handling of unsupported hard-links
2018-01-13 08:36:48 -05:00
arvidn
65fef972a2
apply some c++11 modernization
2018-01-11 04:51:39 -05:00
pavel.pimenov
263e01f5da
fix rp->blocks_left = blocks_in_piece;
2018-01-11 02:44:37 -05:00
Steven Siloti
5f25912694
remove unused infohash member in create_torrent
2018-01-11 02:43:09 -05:00
pavel.pimenov
5a772325a0
redundant is_finished(block.block)
2018-01-09 03:20:28 -05:00
pavel.pimenov
3f23ef59c6
small opt torrent::add_piece
2018-01-09 03:20:07 -05:00
arvidn
a93429c5db
modernize piece-size selection in torrent creator and add a test
2018-01-09 03:19:44 -05:00
arvidn
ad82be145b
merged RC_1_1 into master
2018-01-08 22:52:23 +01:00
Chocobo1
1877724c17
raise auto piece size selection limit to 16 MB in create_torrent()
...
16 MB is chosen to have a bit more future proof
Also rewrite the auto piece size selection algorithm, so that it will scale with
torrent content size, suggested by @ssiloti.
2018-01-08 15:24:47 -05: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
Pavel Pimenov
97ceeab9e3
fix V821 Decreased performance. ( #2675 )
...
The 't' variable can be constructed in a lower level scope
2018-01-07 20:37:21 -05:00
pavel.pimenov
3e29968a92
remove duplicate if (files.num_files() == 0)
2018-01-07 14:00:59 -05:00
arvidn
39144201db
mark up performance counter operations as noexcept
2018-01-06 20:12:41 -05:00
arvidn
88643dd121
fix m_in_constructor assert for peer_connection (if the peer connection is constructed, but bt_peer_connection constructor fails, it needs to be cleared). Fix an invariant in session on ungraceful shutdown. Make test framework a bit more robust
2018-01-06 14:29:20 -05:00
pavel.pimenov
bad0f01e07
remove #include boost/multiprecision
2018-01-06 09:24:48 -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
fac9931eb6
fix noexcept marking on entry, and make move assignment
2018-01-04 19:34:42 -05:00
arvidn
d635667375
minor edits to the Jamfile
2018-01-04 07:31:44 -05:00
arvidn
f80cd8ad1b
update libsimulator and set default build to be static for sims
2018-01-04 07:28:53 -05:00
Alden Torres
98ade28237
using make_address instead of deprecated from_string when boost>=1.66 ( #2659 )
...
using make_address instead of deprecated from_string when boost>=1.66
2018-01-04 04:48:22 -05:00
arvidn
40c11a015f
fix python installation issue on travis/osx
2018-01-04 04:36:03 -05:00
arvidn
ef5d44ea9d
mark up deprecated members in torrent_status
2018-01-03 09:52:38 -05:00
arvidn
0731200149
block_size is a constant, no need in passing it around as a variable
2018-01-03 08:45:25 -05:00
arvidn
70448a2c3a
update libsimulator submodule
2018-01-02 18:42:01 -05:00
arvidn
17869828d7
don't redirect stderr by default, to get sanitizer output
2018-01-02 18:42:01 -05:00
arvidn
7141542591
update libsimulator with boost-1.66 fix
2018-01-01 20:23:59 -05:00
arvidn
f6e5005db1
upgrade OSX image on travis
2018-01-01 14:52:30 -05:00
arvidn
b45acf28a5
improve fwd.hpp generator
2017-12-31 11:44:14 +01:00
arvidn
493cbf12b9
update the boost dependency list in features.rst
2017-12-30 23:46:03 +01:00
arvidn
4c5ef920f0
update examples to use C++11 and more succinct error handling
2017-12-30 22:44:10 +01:00
arvidn
e4ac70c98b
update boost.asio link in documentation, minor cleanup of tutorial examples
2017-12-30 21:23:36 +01:00
arvidn
f9968e1e90
refresh fwd.hpp
2017-12-30 21:04:06 +01:00
arvidn
f4eaf3dba4
add note about dynamic loading/unloading of torrents
2017-12-30 20:57:43 +01:00
arvidn
672556b4b2
merged RC_1_1 into master
2017-12-30 18:17:57 +01:00
arvidn
d427572247
cleanup examples a bit
2017-12-30 02:57:43 +01:00
arvidn
7bfbeba947
plugin documentation update
2017-12-30 00:24:21 +01:00
arvidn
4565a2f375
update documentation
2017-12-29 20:03:40 +01:00
arvidn
c8bf782bd0
bump version number to 1.1.6
2017-12-29 15:53:51 +01:00
arvidn
473b86a8e6
cleanup tarball build script
2017-12-29 10:50:48 +01:00
arvidn
a46bd839f0
clean makefile dependency directory in clean.py script
2017-12-29 10:16:15 +01:00
arvidn
edb5674d5c
Revert "Autotools: Check if std::chrono and std::random are available."
...
This reverts commit d93869ff3b
.
2017-12-29 10:15:59 +01:00
arvidn
00a36608b9
fix some typos
2017-12-29 02:29:42 +01:00
arvidn
6047e42c16
fix torrent invariant when creating the piece picker fails
2017-12-28 21:02:50 +01:00
arvidn
0eec9194db
fix suppressing stderr redirection in tests, with the -n option
2017-12-28 17:54:23 +01:00
arvidn
8b3624b25b
remove_peer() and attach_peer() error handling
2017-12-28 14:26:19 +01:00
arvidn
aae12250ae
support forced shutdown/destruction of torrent objects
2017-12-28 14:11:55 +01:00