arvidn
a7f345aa0d
split out cmake build on appveyor
2018-11-10 15:17:57 +01:00
arvidn
28d123ef23
factor out duplicate code in choker
2018-11-10 15:17:57 +01:00
arvidn
69485558ef
factor out duplicate code in piece_picker, upnp and lazy_bdecode
2018-11-10 15:17:57 +01:00
arvidn
9d26f4f96c
fix asio-debugging build of dht test
2018-11-09 16:39:39 +01:00
arvidn
30706adfb7
convert classic for-loops to range-for loops. revert use of CHAR_BIT macro (we use fixed width types, not char)
2018-11-08 13:48:20 +01:00
pavel.pimenov
0ad3bb139d
fix cppcheck
2018-11-08 13:45:41 +01:00
David Refoua
82ca0adc66
update projects.rst info on qBittorrent
...
* update projects.rst info on qBittorrent
* fix small misspellings and typos
* add new missing words
2018-11-08 08:46:13 +01:00
arvidn
a06a78ee1c
fix of asio-debugging build in natpmp. resend_request could be called directly, not only as a handler for an async operation
2018-11-08 08:40:54 +01:00
arvidn
e2f8bce539
add tests for low level I/O functions, read_* and write_*. also turn some raw for loops into range-for loops in the I/O functions
2018-11-07 14:35:30 +01:00
arvidn
1f9e74f40d
merged RC_1_1 into master
2018-11-06 23:57:04 +01:00
Arvid Norberg
cec300234c
fix move_storage with save_path with a trailing slash
2018-11-06 23:46:18 +01:00
arvidn
6be8b395da
some cleanup turning memcmp() and memcpy() into span comparisons and std::copy(). some more use of random_bytes() instead of loops.
2018-11-05 18:52:45 +01:00
arvidn
a0fa0b14bb
merged RC_1_1 into master
2018-11-04 19:12:22 +01:00
arvidn
117ca9c6b1
use variatic templates in python binding
2018-11-03 18:32:40 +01:00
arvidn
3988be348f
simplify SFINAE on write_impl to just use enable_if
2018-11-03 11:57:16 +01:00
arvidn
bf496c6b14
use span for picker_log_alert
2018-11-03 11:56:09 +01:00
arvidn
014533da12
regenerate test SSL certificate
2018-11-03 01:49:10 +01:00
Arvid Norberg
939b380fda
fix build against boost-1.69
2018-11-02 11:10:26 +01:00
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