arvidn
7f2a78d0c9
make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes
2019-02-19 01:48:08 +01:00
arvidn
109db58641
merge RC_1_1 into master
2018-09-25 21:33:29 -07:00
arvidn
6c4d1b9143
back-port the patch to split up the progress_notification alert_mask into three new categories, file-, piece- and block progress
2018-09-24 08:52:30 -07:00
arvidn
fe612ca167
replace the TORRENT_CFG ABI check with inline namespaces around the symbol that can change ABI based on build configuration options
2018-05-13 19:25:17 +02:00
Arvid Norberg
6efff919cd
deprecated alert::progress_notification alert category, split into finer grained categories
2018-04-05 16:27:28 +02:00
Alden Torres
6d5b90968b
fixing warnings in tests code, part4
2018-01-27 09:18:26 +01:00
arvidn
7b06a5ee6e
merged RC_1_1 into master
2017-12-13 12:36:35 +01:00
arvidn
fe6473039c
fix rate limit utp feature
2017-12-11 08:40:35 -05:00
arvidn
b38efb6c65
make alert category flags be a strong type
2017-07-26 07:20:47 -07:00
arvidn
d138f02424
introduce lt namespace alias
2017-04-23 23:43:58 -04:00
arvidn
79d7ae3638
separate path and filesystem functions out into its own translation unit/header file pair, separating it from the file and directory class
2017-04-11 18:07:55 -04:00
Arvid Norberg
57f52adc88
various cleanup ( #1497 )
...
* various cleanup
* fix
* cleanup
2017-01-06 01:39:01 -05:00
arvidn
a087a283de
make tests print to stdout instead of stderr
2017-01-02 11:28:41 -05:00
Arvid Norberg
eda956f13a
use standard library for suspending threads ( #855 )
...
use standard library for suspending threads
2016-06-26 09:24:06 -04:00
Arvid Norberg
6aabe3762b
general modernization ( #836 )
...
general modernization. use nullptr instead of NULL, use std::tuple instead of boost::tuple, transition some unordered set/map from boost to std. some clean-up of includes
2016-06-20 11:32:06 -04:00
Arvid Norberg
20b41ad0b9
Threads ( #671 )
...
use std::thread, std::mutex, std::condition_variable instead of pulling them in from boost.asio internals.
2016-04-30 18:54:23 -04:00
arvidn
b628692223
separate out announce_entry and torrent_status into their own headers
2015-09-18 08:08:08 -04:00
arvidn
15dd15d0d6
fix no-deprecated build. extend .travis.yml to build the 3 test configurations too. rename README to README.rst
2015-06-05 02:31:52 -04:00
Arvid Norberg
84849f3afd
some msvc fixes
2015-05-30 21:46:59 +00:00
Arvid Norberg
f9c9d0ad0d
merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile.
2015-05-30 04:31:23 +00:00
Arvid Norberg
764b09d6b5
make the peer fingerprint a regular setting and remove it from the main session constructor argument list
2014-12-31 15:51:45 +00:00
Arvid Norberg
14c9bd90d3
fix bug in setup_transfer (for unit tests). fix verbose logging build. make sure test_pex is reliable
2014-10-21 02:08:46 +00:00
Arvid Norberg
9b37efe6a8
first steps towards removing session_impl dependency from tracker connections, to improve their testability
2014-10-21 00:28:51 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +00:00
Arvid Norberg
87f08265bc
some more fixes around TORRENT_DISABLE_EXTENSIONS
2013-12-21 06:20:16 +00:00
Arvid Norberg
f6970f6c35
test_pex fix
2013-10-20 04:49:50 +00:00
Arvid Norberg
299cec6377
make test_pex a bit more reliable
2013-10-18 08:14:49 +00:00
Arvid Norberg
b6083fbc28
first steps towards supporting SSL over uTP. moved the TODO comment and made it describe the next step. Optimized session destruction in unit tests, hopefully shaving off a bit of test run-time (and now supports asio-debugging of unit tests)
2013-08-31 20:19:03 +00:00
Arvid Norberg
27ea092b51
optimize PEX to trigger earlier, and only start applying the load-balancing logic when it's needed
2013-08-04 05:09:20 +00:00
Arvid Norberg
208321dab0
improve test logging
2013-06-20 05:28:42 +00:00
Arvid Norberg
f91d83434b
don't print color output from tests (to make it work with some of the regression testing tools)
2013-06-14 16:38:26 +00:00
Arvid Norberg
af09935b87
some windows path fixes
2012-03-17 19:06:11 +00:00
Arvid Norberg
7e07f7469f
fixed bug in web_connection_base when receiving chunked encoding and made sure the unit tests pass
2011-03-24 16:46:26 +00:00
Arvid Norberg
929c31a757
fix pex unit test and shave off a few seconds for pex
2011-03-24 03:34:06 +00:00
Arvid Norberg
a76570b563
deprecated a bunch of query functions on torrent_handle in favor of using status() to get as much information as possible in fewer calls, and saving time on synchronizing with the main thread
2010-10-30 17:23:30 +00:00
Arvid Norberg
21cbd1fac4
deprecated setters for max connections, max half-open, upload and download rates and unchoke slots. These are now set through session_settings
2010-10-09 19:09:38 +00:00
Arvid Norberg
96cedc9b5f
more beos fixes
2009-12-15 13:11:07 +00:00
Arvid Norberg
1c28444f94
fixed residual references to boost/thread. Removed memdebug (it doesn't work and tcmalloc is better)
2009-11-02 02:00:41 +00:00
Arvid Norberg
c418165e07
replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability)
2009-10-26 01:29:39 +00:00
Arvid Norberg
e3c07c0934
converted some recursive mutexes to regular ones
2009-05-23 21:36:09 +00:00
Arvid Norberg
408f181481
fixed test_pex
2009-04-10 21:25:37 +00:00
Arvid Norberg
16bfde875d
tests don't need the default session features turned on
2008-12-20 23:06:06 +00:00
Arvid Norberg
c6b793021d
make tests not depend on exceptions
2008-11-05 03:17:41 +00:00
Arvid Norberg
fd64702f31
add some slack to make tests more likely to pass
2008-10-21 08:16:14 +00:00
Arvid Norberg
af0ebb519c
added copyright notices in files missing them
2008-07-01 18:59:13 +00:00
Arvid Norberg
d5d769f67d
fixed pex test
2008-01-27 20:45:00 +00:00
Arvid Norberg
fcd2408f11
fast extension fix, added some logging for fast extension messages, improved test to catch the problem
2008-01-02 03:18:29 +00:00
Arvid Norberg
ce506c63ca
improved tests to be able to run in parallel and added pex test
2007-12-30 09:36:01 +00:00