Commit Graph

11465 Commits

Author SHA1 Message Date
Arvid Norberg 5b5b280b87 only make snubbed peers invert the piece picking strategy when we're doing rarest first (i.e. snubbed peers do common-first). Specifically, this prevents snubbed peers from picking from the end of the torrent when in sequential mode 2018-11-01 12:01:02 +01:00
arvidn d0e146eb75 merged RC_1_1 into master 2018-11-01 09:48:41 +01:00
Eugene Shalygin 89a6e3cf7a cmake: allow selecting C++ standard version during build
Also moves helper functions into a module file and replaces JOIN
generator expressions with list(TRANSFORM) commands in order to get
the correct sources list at the configure stage.
2018-10-31 00:24:41 +01:00
Eugene Shalygin ba294e6594 cmake: backport changes from the master branch
This fixes generated pkg-config file and adds options to build python
bindings.
2018-10-31 00:17:36 +01:00
Arvid Norberg e1eb12e60f ssl listen port fix and improved tracker announce logging 2018-10-29 18:38:14 +01:00
arvidn a3eed212a1 fix warning in clean.py 2018-10-26 10:25:02 +02:00
pavel.pimenov b00ce69d58 remove params.url.clear(); 2018-10-25 09:49:38 +02:00
Arvid Norberg a5da48edd4 add missing boost/noncopyable include 2018-10-25 09:47:21 +02:00
Amir Abrams 88266edd43 Update comment in put_mutable_item
Trivial update to a comment in put_mutable_item.
2018-10-24 13:13:20 +02:00
arvidn 3fb05d77d8 fix warnings 2018-10-20 20:56:26 +02:00
arvidn 36801fb96f add some const 2018-10-20 16:30:48 +02:00
arvidn 6eb05e4842 fix typos and run hunspell on more documentation 2018-10-20 16:30:30 +02:00
arvidn c57b3be4cc more lgtm fixes 2018-10-20 16:30:06 +02:00
arvidn 9463159e67 merged RC_1_1 into master 2018-10-20 00:22:10 +02:00
Arvid Norberg 12c52e8751 back-port the fix from the lgtm fixes in master 2018-10-19 19:40:17 +02:00
Gabor Szelcsanyi da58e0cbd1 Update streaming.rst
Fix some typo.
2018-10-19 19:39:41 +02:00
Kiss Áron 06597a5d30 Fix typo in docs/client_test.rst 2018-10-19 18:54:52 +02:00
Arvid Norberg cf83ab1f0e fix sonar-scanner typo in .travis 2018-10-19 18:02:52 +02:00
Arvid Norberg ede7dbf0aa add LGTM badge to README and fix warnings 2018-10-19 16:28:33 +02:00
Eugene Shalygin 911e4a892b cmake: remove $<LINK_ONLY:...> expressions from INTERFACE_LINK_LIBRARIES
When torrent-rasterbar is built a static library, CMake supplies link
dependencies inside the LINK_ONLY generator expressions. But pkg-config
does not support such operational mode, and thus we can safely replace
those expressions with the library names. Closes #3354.
2018-10-18 08:26:01 +02:00
arvidn 3b32c90dde fix gcrypt build 2018-10-17 10:14:14 +02:00
arvidn 269f0c5fb8 properly tear down the disk_io_thread object in set_piece_hashes() when exiting via an exception 2018-10-16 22:54:25 +02:00
arvidn 5bf8e15894 include installation instructions in build documentation 2018-10-16 16:02:00 +02:00
Eugene Shalygin f0ea99ab88 Correct build instructions for cmake 2018-10-14 18:39:24 +02:00
Steven Siloti deada93460 client_test: fix assert when adding a magnet link 2018-10-14 11:10:25 +02:00
arvidn 7608598da8 update build docs 2018-10-12 22:51:32 +02:00
arvidn 4a71cc5d89 fix python binding for torrent_info::creation_date() 2018-10-12 22:49:33 +02:00
arvidn fbf9f73d43 add missing test files to tarball 2018-10-12 16:01:53 +02:00
Arvid Norberg 9758d2f08f general cleanups of build files. Specifically to fix the propagation properties of _WIN32_WINNT, include missing CMake files in the tarball, and fix some risky ABI altering properties in CMake files 2018-10-12 10:06:59 +02:00
Arvid Norberg 3b8d9ac802 fix sonar scan 2018-10-11 19:29:19 +02:00
arvidn c3a22b90b3 fix more warnings in examples and tools 2018-10-11 14:28:32 +02:00
arvidn 8586023022 remove accidental files from repo 2018-10-11 11:18:54 +02:00
arvidn 0b8c550b9c remove accidental file from repo 2018-10-11 07:30:02 +02:00
arvidn 7ff692690b fix warnings in tests and examples 2018-10-10 20:49:07 +02:00
Arvid Norberg 8e8489c6dc improve makefile for documentation 2018-10-08 16:22:00 +02:00
arvidn 4abeb2641f merged RC_1_1 into master 2018-10-08 09:14:40 +02:00
arvidn 6df82a9ee6 fix cmake default built to enable logging 2018-10-08 07:15:54 +02:00
arvidn 339c722704 merge RC_1_1 into master 2018-10-07 13:49:54 +02:00
arvidn 700a71b418 add tests/CMakeLists.txt to tarball 2018-10-07 13:47:33 +02:00
arvidn 5913d16f01 fix SOVERSION in CMakeLists 2018-10-07 13:28:01 +02:00
arvidn 2d99e994c3 make throwing versions of read_resume_data 2018-10-07 12:41:53 +02:00
arvidn e612fee995 fix building tarball 2018-10-07 09:23:39 +02:00
Arvid Norberg 1a27ff7107 parse_magnet_uri simplification 2018-10-05 11:01:45 +02:00
Arvid Norberg 761384bcf1 minor piece picker cleanup 2018-10-05 10:58:09 +02:00
Arvid Norberg a4267d61e7 fix overflow in sliding_average in the case of very high download rates 2018-10-03 00:53:05 +02:00
Arvid Norberg 949867eca9 factor out some parts of print function for entry 2018-10-03 00:50:02 +02:00
arvidn c096f63f59 factor out the documentation header into separate rst file 2018-10-02 16:16:58 +02:00
Arvid Norberg d2f19a2d73 merged RC_1_1 into master 2018-10-01 16:34:21 +02:00
Arvid Norberg 200bb494c3 bump version 2018-10-01 09:41:37 +02:00
arvidn c437a24d78 renamed debug_notification to connect_notification 2018-09-28 17:28:34 -07:00