Alden Torres
a966458f8c
minor cleanup ( #997 )
...
minor cleanup
2016-08-12 19:24:03 -04:00
Alden Torres
74c8054e8d
created session_params and refactor ( #993 )
...
created session_params and new session constructor
2016-08-11 20:32:14 -04:00
Arvid Norberg
30873e9c91
build python bindings with autotools on travis ( #991 )
...
build python bindings with autotools on travis
2016-08-10 14:20:15 -04:00
Arvid Norberg
1229491e5e
back-port python3 fix
2016-08-10 07:28:13 -04:00
Arvid Norberg
330e683d13
fix bindings for python3 ( #994 )
...
fix bindings for python3
2016-08-10 07:26:02 -04:00
arvidn
231dffd392
fix whitespace
2016-08-08 18:16:05 -04:00
Arvid Norberg
8007b947fd
make pad-file and symlink support conform to BEP47 ( #992 )
...
make pad-file and symlink support conform to BEP47
2016-08-07 22:37:10 -04:00
arvidn
d03fdf77f4
make python test compatible with python 3
2016-08-07 19:11:27 -04:00
arvidn
42b3fbe20a
merged RC_1_1 into master
2016-08-07 17:23:40 -04:00
Alden Torres
af565e2b86
added support for flz (find last zero) and copied bitfield functions from PR #565 ( #986 )
...
added support for flz (find last zero) and copied bitfield functions from PR #565
2016-08-07 16:21:08 -04:00
Arvid Norberg
e9a7271aca
add piece picker test for re-prioritizing downloading/writing/partial pieces ( #989 )
...
add piece picker test for re-prioritizing partial pieces and forward port steven's piece picker fix from RC_1_1
2016-08-07 16:05:20 -04:00
Steven Siloti
bc369683df
handle short reads when exporting a file ( #990 )
...
handle short reads when exporting a file. Pieces in the part file are not guaranteed to be fully written so short reads need to be handled rather than asserting.
2016-08-07 16:04:29 -04:00
arvidn
354a866636
update changelog
2016-08-07 15:31:48 -04:00
Steven Siloti
d4296730d0
fix re-prioritizing a piece while it is downloading ( #987 )
...
update_piece_state does not expect that the piece's priority has also changed
since the last time the piece was updated. Make sure the piece's priority is
updated before trying to update the state.
2016-08-07 15:27:04 -04:00
Arvid Norberg
f144b64211
split up piece picker test ( #988 )
2016-08-06 13:49:23 -04:00
Arvid Norberg
71f5510d62
make the random function produce proper random distributions, based o… ( #981 )
...
make the random function produce proper random distributions, based on uniform_int_distribution of C++11. also clean up piece_picker's priority_range to return two results instead of taking pointers to out-parameters. fix recent pe-crypto regression exposed by this change
2016-08-06 13:18:48 -04:00
Alden Torres
7ea9e76b37
refactor for separation of clz software/hardware based ( #985 )
...
refactor for separation of clz software/hardware based
2016-08-05 15:51:37 -04:00
Arvid Norberg
1bae47479b
make settings_pack moveable ( #982 )
2016-08-05 00:28:03 -04:00
arvidn
bd4827db35
fix missing include
2016-08-03 22:10:38 -04:00
Alden Torres
fdfe69f414
fixed warnings and compilation issues ( #980 )
...
fixed warnings and compilation issues
2016-08-03 00:35:40 -04:00
Alden Torres
8fedfcdce6
more trivial cleanup ( #979 )
2016-08-02 17:58:15 -04:00
Alden Torres
3c9ed50d0b
some trivial cleanup ( #978 )
...
some trivial cleanup
2016-08-02 12:13:05 -04:00
Arvid Norberg
caa034b1ac
fix typo and add invariant check to piece_picker ( #977 )
...
fix typo and add invariant check to piece_picker
2016-08-02 07:20:13 -04:00
Arvid Norberg
5b230694e5
check autotools on travis ( #973 )
...
build and run tests with autotools on travis, and fix configure issues.
2016-08-02 00:46:15 -04:00
Alden Torres
0b3c64ee87
added TORRENT_EXPORT to avoid link weak symbol warning ( #975 )
2016-08-02 00:15:26 -04:00
Arvid Norberg
61031f1186
hack to allow timeout utp sockets that are about to be closed ( #976 )
2016-08-02 00:07:36 -04:00
Arvid Norberg
e54daa96dd
Merge pull request #974 from aldenml/fallthrough-warning-1.2
...
use of BOOST_FALLTHROUGH, typos and minor cleanup
2016-08-01 16:59:45 -04:00
Alden Torres
fddbb13338
minimum boost version required 1.54
2016-08-01 16:00:14 -04:00
Arvid Norberg
c948dc41af
Merge pull request #971 from arvidn/ftruncate-warnings-1.1
...
fix warnings of unused return values from ftruncate() calls
2016-08-01 13:27:56 -04:00
Alden Torres
e55a310e79
use of BOOST_FALLTHROUGH, typos and minor cleanup
2016-08-01 11:42:18 -04:00
arvidn
24dd6d0945
fix warning
2016-07-31 10:02:54 -04:00
arvidn
192559f245
fix warnings of unused return values from ftruncate() calls
2016-07-31 03:19:31 -04:00
Arvid Norberg
e368efe535
Merge pull request #970 from aldenml/bjam-windows-version-default-1.2
...
don't define _WIN32_WINNT if not under windows
2016-07-30 21:27:14 -04:00
Alden Torres
f795e88789
don't define _WIN32_WINNT if not under windows
2016-07-30 18:03:06 -04:00
arvidn
0126f6f2c6
fix timestamp arithmetic overflow
2016-07-30 00:38:17 -04:00
Arvid Norberg
c1ade2b75f
Merge pull request #965 from arvidn/hex-span
...
use span for to_hex and from_hex functions
2016-07-29 22:25:15 -04:00
Arvid Norberg
96203f3f6f
Merge pull request #968 from aldenml/test_utp-timeout-1.2
...
increase timeout in test_utp
2016-07-29 20:24:53 -04:00
arvidn
2bdeb9aa6b
fix build
2016-07-29 20:24:11 -04:00
Alden Torres
55fc0704ae
increase timeout in test_utp
2016-07-29 20:20:06 -04:00
arvidn
e5ecd73751
fix rebase
2016-07-29 18:47:05 -04:00
arvidn
66e328e2fd
fix build
2016-07-29 18:42:18 -04:00
arvidn
83dba91168
use span for to_hex and from_hex functions
2016-07-29 18:42:18 -04:00
Arvid Norberg
1d514b3f99
Merge pull request #961 from ssiloti/dht-sanitizing
...
remove DHT nodes which change their id
2016-07-29 18:00:22 -04:00
Steven Siloti
0343bb382e
always check m_log before using it
2016-07-29 13:32:28 -07:00
Steven Siloti
44ce5c71e7
cleanup ip logging
2016-07-28 20:08:24 -07:00
Alden Torres
a88c733f92
mark encryption_handler with TORRENT_EXTRA_EXPORT and minor cleanup ( #963 )
2016-07-28 14:57:26 -04:00
Arvid Norberg
633d0621f8
update required boost version and ax_boost_base.m4 ( #937 )
...
bump boost version requirement to 1.53, update ax_boost_base.m4
2016-07-28 08:34:22 -04:00
Arvid Norberg
83c4a5ed37
minor cleanup to aux io functions ( #962 )
2016-07-28 08:33:38 -04:00
Alden Torres
68b1fc2fe8
fixed span::fist logic and minor cleanup ( #960 )
2016-07-28 01:54:57 -04:00
Steven Siloti
6ebc61cef9
reject nodes with our id after checking for an existing entry
...
This allows us to evict nodes which start reporting our id as theirs.
2016-07-27 21:10:34 -07:00