607 Commits

Author SHA1 Message Date
Arvid Norberg
770935cd46 modernize-use-nullptr (#894) 2016-07-09 16:26:26 -04:00
Arvid Norberg
c567a66f5e simplify peer_connection's read handlers and the receive buffer. (#853)
simplify peer_connection's read handlers and the receive buffer. removed the concept of soft-packet-size. removed the secondary null-buffer receive path. removed try_read. simplify the buffer class to not be resizeable. make receive_buffer shrink the buffer allocation. add cap to growing the receive buffer. buffer sizes are always divisible by 8.
2016-06-26 20:41:03 -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
ed077c8358 use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
2016-06-18 14:01:38 -04:00
Arvid Norberg
53c9b7ad25 restore some accidental removal in client_test from previous patch (#812) 2016-06-13 00:06:15 -04:00
arvidn
b3942a08fa fix issue in client_test 2016-06-04 21:35:12 -04:00
Arvid Norberg
8c8f5bb03b deprecated public to_hex() and from_hex() functions (#784) 2016-06-04 10:01:43 -04:00
arvidn
420b5f51e6 merged RC_1_1 into master 2016-05-27 12:35:53 -07:00
Arvid Norberg
96999ad67f replace uses of boost::bind with std::bind and lambdas (#745) 2016-05-25 00:31:52 -04:00
arvidn
98eabc63e9 using _WIN32 appears safer than WIN32 2016-05-23 23:02:52 -04:00
Arvid Norberg
748af6eec1 general cleanup. remove valgrind markup, log_hash_failures and C headers (#752)
general cleanup. remove valgrind markup, log_hash_failures and C headers
2016-05-23 08:15:39 -04:00
Arvid Norberg
e8380e1d0b factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows (#732) 2016-05-17 09:24:06 -04:00
Arvid Norberg
c91a700c07 Msvc warnings (#685)
fix msvc warnings and build examples with warnings-as-errors
2016-05-02 12:36:21 -04:00
Andrei Kurushin
62eb956c54 fix x64 build with VS2015 UP2 compiler (#640)
fix VS2015 compiler warnings for: address-model=64, deprecated-functions=on, link=shared
2016-04-25 17:22:09 -04:00
Andrei Kurushin
c41ab094be fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627)
fix release build with VS2015 UP2 compiler warnings for: examples, test, tools
2016-04-20 00:45:32 -04:00
arvidn
b446fe4bba deprecate settings_pack::hashing_threads and replace it with aio_threads in documentation 2016-03-18 16:40:52 -04:00
arvidn
5c360247b6 move piece_bar into print.cpp in client_test. make client_test take arbitrary libtorrent settings 2016-03-17 08:19:11 -04:00
arvidn
f79a9c7adf merged RC_1_1 into master 2016-03-16 19:59:53 -04:00
arvidn
c9c401d15c add piece matrix to client_test 2016-03-13 19:13:38 -04:00
arvidn
6d85c7c5f0 merge RC_1_1 into master 2016-03-08 01:10:48 -05:00
arvidn
442979c318 support filtering which parts of session state are loaded by load_state() 2016-03-06 16:35:49 -05:00
arvidn
adf56344e6 add interactive option to toggle use of disk cache to client_test 2016-03-06 16:15:17 -05:00
arvidn
8ca76f9d59 fix support for auto disk cache size and disk buffer pool allocator behavior 2016-03-06 16:14:55 -05:00
arvidn
2e7e679eed simplify client_test shutdown and make it keep logging as saving resume data 2016-03-03 01:20:15 -05:00
arvidn
021375c07f extend tutorial and finish bt-get example 2016-02-28 15:44:59 -05:00
arvidn
296a38efba improve windows output of client_test 2016-02-27 19:40:04 -05:00
arvidn
0e805d7d06 fix client_test for new read_resume_data functionality 2016-02-22 00:23:31 -05:00
arvidn
a725a3ded2 make client_test use the new read_resume_data function 2016-02-20 13:26:16 -05:00
arvidn
9f45156b5a Merge branch 'RC_1_1' 2016-02-18 21:46:46 -05:00
arvidn
a675a749e0 remove 'full' allocation from client_test 2016-02-18 20:42:15 -05:00
arvidn
b2a6e8bf06 make client_test expose the new binding options 2016-02-12 15:46:24 -05:00
arvidn
645b121df6 deprecate resolve-countries 2015-12-14 21:32:30 -05:00
arvidn
60df41cd85 fix save_resume_data in client_test and make torrent a bit more instrumentable. This could be greatly simplified if resume data would not have file_sizes and timestamps 2015-11-29 20:31:57 -05:00
arvidn
fd3b53604c add new piece picker logging alert category 2015-11-29 08:25:55 -05:00
arvidn
06b648203f clean up use of error categories 2015-11-24 00:50:51 -05:00
arvidn
5c96a35a66 scanf fix in client_test 2015-10-04 10:57:12 -04:00
arvidn
b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
arvidn
3018546b37 fix warning 2015-08-22 01:22:04 +02:00
Chocobo1
b743ef44e9 Pass std::string directly 2015-07-11 15:49:47 +08:00
Mikhail Titov
bef92dc179 Fix default SAM port 2015-06-24 19:41:41 -05:00
arvidn
5e5e31cf9a fix test privacy to not destruct session, potentially, after other global destructors 2015-06-10 21:10:22 -04:00
arvidn
0369caae67 make client_test to not use a deprecated session constructor 2015-06-07 13:52:19 -04:00
Arvid Norberg
85d1d9c85e fix bug in piece printing in client_test 2015-05-30 06:11:41 +00:00
Arvid Norberg
f1c998c1ef merged changes from RC_1_0 2015-05-26 19:10:49 +00:00
Arvid Norberg
09bc072c31 inactive/auto managed fixes. fix client_test key input 2015-05-26 18:39:49 +00:00
Arvid Norberg
5e07ff857e remove residual geoip cruft 2015-05-11 00:49:34 +00:00
Arvid Norberg
b60934288b turn DHT logging into alerts instead of writing to a file 2015-05-10 04:54:02 +00:00
Arvid Norberg
b417f2ba98 merged fix from RC_1_0 2015-05-03 02:56:46 +00:00
Arvid Norberg
ab0c97755e merged fixes from RC_1_0 2015-04-29 05:48:09 +00:00
Arvid Norberg
8aa3c22796 fix coverity issues 2015-04-29 04:05:29 +00:00