Commit Graph

9327 Commits

Author SHA1 Message Date
Arvid Norberg bc8c49dc15 make file_status return the vector instead of taking an out-parameter (#1000)
make file_status return the vector instead of taking an out-parameter
2016-08-14 13:11:59 -04:00
arvidn e247473b86 bump version number 2016-08-13 07:12:23 -04:00
Arvid Norberg a0095a6562 Merge pull request #998 from arvidn/std-function
use std::function instead of boost::function
2016-08-13 07:08:22 -04:00
arvidn 8c8c3d5587 replace boost::function with std::function 2016-08-13 07:07:26 -04:00
arvidn 5308de69fe make dump_torrent print web seeds 2016-08-13 07:07:25 -04:00
Arvid Norberg e36e5efaba use boost::string_ref (#996)
use boost::string_ref/boost::string_view in various parts of the code, in file_storage, some file functions and in bdecode.
2016-08-13 07:04:53 -04:00
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