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
arvidn
66e328e2fd
fix build
2016-07-29 18:42:18 -04:00
Arvid Norberg
9c2325ff6b
modernize and improve type-safety of the DHT put implementation and test ( #929 )
...
modernize and improve type-safety of the DHT put implementation and tests. use unique_ptr instead of malloc for dht put items.
2016-07-23 15:57:04 -07:00
Arvid Norberg
e801d2e6de
modernize replace deprecated headers ( #897 )
2016-07-09 23:17:55 -04:00
Arvid Norberg
770935cd46
modernize-use-nullptr ( #894 )
2016-07-09 16:26:26 -04:00
Arvid Norberg
c299149dc0
fix cppcheck ( #887 )
...
fix cppcheck
2016-07-05 08:42:11 -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
8c8f5bb03b
deprecated public to_hex() and from_hex() functions ( #784 )
2016-06-04 10:01:43 -04:00
Arvid Norberg
558c3af360
build tools in CI ( #771 )
...
build tools in CI
2016-05-31 17:48:41 -04:00
Arvid Norberg
96999ad67f
replace uses of boost::bind with std::bind and lambdas ( #745 )
2016-05-25 00:31:52 -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
Steven Siloti
ff0675e64e
use standard array container ( #676 )
2016-04-30 23:10:47 -04:00
Arvid Norberg
f856b6bbe3
dial up cppcheck ( #663 )
...
increase cppcheck coverage and make sure there are no warnings
2016-04-30 00:24:45 -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
08edf43b3f
fix to documentation generation to exclude private functions. fix makefile errors
2016-04-09 00:33:26 -04:00
arvidn
85f615132b
fix documentation mentions of session_settings to refer to settings_pack. clean out some outdated disk instrumentation docs
2016-03-18 16:40:52 -04:00
arvidn
13f03ce38a
print the actual stats in session_stats_alert::message() and make parse_session_stats.py parse the alert output. add stats_metric objects for all performance counters
2016-01-12 23:34:37 -05:00
arvidn
4590d2c13c
remove out-dated python script
2015-12-20 12:39:30 -05:00
arvidn
06b648203f
clean up use of error categories
2015-11-24 00:50:51 -05:00
Thomas Yuan
194ad410dc
Make dht_put_alert more accurate.
2015-11-20 00:06:08 -05:00
arvidn
d0dcf82612
fix bug in set_version and update version hash
2015-11-11 01:25:30 -05:00
arvidn
4c0b00c390
forward-port version function from RC_1_0
2015-11-11 00:57:51 -05:00
Thomas Yuan
3a59d0995f
add dump-key to tools/dht_put.cpp.
2015-09-24 11:02:26 -04:00
arvidn
81399fb14e
remove parse_hash_fails from tools directory
2015-09-12 09:59:37 -04:00
Thomas Yuan
a4aa2f9e4b
After PR #70 , mget will get multi alerts.
2015-08-28 12:33:06 -04:00
Thomas Yuan
2685674eb9
Fix dht_put.
2015-08-27 23:45:29 -04:00
arvidn
a854fed12b
simplify Jamfile by determining whether to use boost from source or from system installed version based on the BOOST_ROOT environment variable. This removes the build feature boost=source/boost=system
2015-08-08 19:18:05 -04:00
arvidn
6c5aec3476
fix request queue size performance issue
2015-07-20 08:20:17 -07:00
Chocobo1
a59d1d3240
Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line
2015-07-12 14:24:01 +08:00
arvidn
1668e1c59c
cleanup root of repository
2015-06-05 23:14:53 -04:00
Arvid Norberg
9856a1fe0c
break out more tests from test_primitives
2015-05-23 01:38:47 +00:00
Arvid Norberg
b480f40a98
fix linux build and update code coverage script
2015-05-17 21:00:47 +00:00
Arvid Norberg
4b91b87ec5
improve repo cleaning script
2015-05-09 18:41:37 +00:00
Arvid Norberg
a3a06ca45c
add ip_voter test to test coverage script
2015-05-09 03:05:24 +00:00
Arvid Norberg
a83dcbaaf0
removed access-log build option and log parser. added incoming_request_alert. This feature can now be implemented by clients
2015-05-09 03:04:08 +00:00
Arvid Norberg
caf2b6ed07
improve test coverage script
2015-04-11 16:56:17 +00:00
Arvid Norberg
353cf408cf
add alert_manager test to test_coverage script
2015-04-05 22:53:04 +00:00
Arvid Norberg
fa450084bd
improve parse_test_results.py
2015-04-04 19:11:35 +00:00
Arvid Norberg
013ed36f09
landed alert_queue feature branch into trunk
2015-04-03 20:15:48 +00:00
Arvid Norberg
3f21a846f6
fix build without deprecated function. extend test_coverage script. comment out DHT sanity check assert that fires in the wild
2015-03-21 00:50:28 +00:00
Arvid Norberg
8cd5853ceb
fix build
2015-03-15 18:04:45 +00:00
Arvid Norberg
6c1df7eb55
landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node
2015-03-12 05:20:12 +00:00
Arvid Norberg
1e9e8e5f26
fix test coverage tool
2015-02-13 04:35:54 +00:00
Arvid Norberg
48b6eb1798
add script to run some unit tests with code coverage
2015-02-12 03:17:20 +00:00
Arvid Norberg
2d4949cfed
test coverage script
2015-02-10 06:02:51 +00:00
Arvid Norberg
e08fedaa75
simple fuzzer for .torrent files
2015-01-28 04:39:20 +00:00
Arvid Norberg
1ab8d2fa5c
fix test_privacy build. fix uninitialized bit in torrent. attempt to filter output from valgrind in regression tests
2015-01-16 04:57:58 +00:00
Arvid Norberg
8589a7b01c
don't build parse_hash_fails.cpp by defaults, as it uses internal libtorrent symbols (and fail in dynamic linking)
2015-01-02 23:33:15 +00:00