Commit Graph

235 Commits

Author SHA1 Message Date
Arvid Norberg e7a379551c discourage forward declarations of libtorrent types, introduce forward declaration header (#1910) 2017-04-13 06:48:01 -07:00
Alden Torres e4bdd14ae7 implemented ip_change_notifier_macos (#1891)
implemented ip_change_notifier_macos
2017-04-07 17:53:12 -04:00
arvidn 1dd0e9b280 use string_view instead of strcmp 2017-03-18 15:54:38 -04:00
Alden Torres 1ab1b98138 optimized dht_get_peers_reply_alert storage and created alerts unit test (#1714)
optimized dht_get_peers_reply_alert storage and created alerts unit test
2017-02-18 00:13:46 -05:00
arvidn 3ef7e85496 extend build cleanup script 2017-01-09 23:00:54 -05:00
arvidn d1ea80c2c3 remove disk-access-log build configuration 2017-01-09 08:37:02 -05:00
Alden Torres d5c4cd7280 fixed sign-compare warnings and some refactor (#1354)
fixed sign-compare warnings and some refactor. make sequence_number backed by std::int64_t
2016-11-27 08:46:53 -05:00
arvidn cf832c6130 remove use of deprecated function 2016-11-03 17:13:26 -04:00
Arvid Norberg 09cbd0a51d remove deprecated disk_io_thread operations (#1284) 2016-11-02 01:01:27 -04:00
Arvid Norberg 675d16a2c3 remove remainder of eviction/ghost torrent feature (#1251)
remove remainder of eviction/ghost torrent feature
2016-10-25 08:02:34 -04:00
Arvid Norberg 6148984426 remove whitespace at end of line (#1245) 2016-10-22 11:47:24 -04:00
Alden Torres ded3ed6abf refactor in alert types to use more const fields and more clear API (#1222)
refactor in alert types to use more const fields and more clear API
2016-10-19 01:32:15 -04:00
Alden Torres 2ac45d17ef ed25519 api refactor (#1041) 2016-08-30 02:37:51 -04:00
Alden Torres 32f5f8f257 better integration and API for ed25519 (#1037)
better integration and API for ed25519. using shared_ptr in ed25519_add_scalar
2016-08-29 20:28:42 -04:00
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
Arvid Norberg 29fb79f60c merged changes from RC_1_0 2014-11-24 04:25:05 +00:00
Arvid Norberg aae56c991c merged changes from RC_1_0 2014-11-08 16:58:18 +00:00
Arvid Norberg 601f0dc434 merged changes from RC_1_0 2014-11-03 06:15:51 +00:00
Arvid Norberg b55778a847 some DHT logging and parsing 2014-10-07 07:23:20 +00:00
Arvid Norberg ba3ffe52f8 improve DHT logging a bit 2014-10-01 09:14:49 +00:00
Arvid Norberg 07af6f6216 merged changes from RC_1_0 2014-08-20 07:02:03 +00:00
Arvid Norberg 7c9c25e359 cleaned up redundant bytes and failed bytes counters. moved some into the stats_counters 2014-07-29 05:59:00 +00:00
Arvid Norberg ab8c1eb334 log latency of bittorrent requests 2014-07-28 22:18:06 +00:00
Arvid Norberg 55c21e8513 fixed typo 2014-07-20 07:23:10 +00:00
Arvid Norberg f15182a737 merged changes from RC_1_0 2014-07-19 07:12:20 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 6043e14131 remove pch.hpp 2014-06-28 23:45:46 +00:00
Arvid Norberg f3e86dbc4a fix python binding Jamfile to use the same default linkage as everything else. polish run_tests script to print out less verbose build logs 2014-03-31 06:43:29 +00:00
Arvid Norberg 0ad4e53ad5 some error handling in regression test script 2014-03-30 20:13:42 +00:00
Arvid Norberg dedc21f8c8 don't export extra when building tools 2014-03-30 20:11:01 +00:00
Arvid Norberg 6b39247d2f put the regression test report in a separate directory 2014-03-30 20:08:20 +00:00
Arvid Norberg 476c36b9c8 improve regression test output 2014-03-30 09:11:38 +00:00
Arvid Norberg d6bbb5be9e print output from failing builds in regression tests 2014-03-27 06:24:18 +00:00
Arvid Norberg 2c727a1448 clean more files with the clean script 2014-03-27 06:22:12 +00:00
Arvid Norberg 5cf0feb77e remove unnecessary print 2014-03-21 05:08:20 +00:00
Arvid Norberg ca29493cd8 parse test results fix 2014-03-19 07:32:59 +00:00
Arvid Norberg 3ec77fc936 improve regression test parsing 2014-03-17 07:41:08 +00:00
Arvid Norberg 6ac8b9e006 improve regression testing framework 2014-03-16 23:55:18 +00:00
Arvid Norberg cff82fa319 export ed25519 functions from libtorrent. fix tools/dht_put build when dht is disabled. fix shared linking in tools Jamfile 2014-03-06 09:45:16 +00:00
Arvid Norberg 7b706b988b fix windows build 2014-03-06 06:25:24 +00:00
Arvid Norberg 8403e58f3c make dht test program able to get and put mutable items. fixed some DHT bugs along the mutable put/get path 2014-03-02 23:35:35 +00:00
Arvid Norberg 86c704a6ff fix dht_bootstrap_alert being posted. add additional alert for dht put completion. add utility to test immutable put/get. fix issue in DHT preventing stores on router nodes (even when they return write tokens). immutable put and get confirmed to be working 2014-02-28 04:02:48 +00:00
Arvid Norberg 0ed79849c1 support msvc /RTC option and make run_regression_tests support passing on arbitrary boost-build options (to allow different testers enable rtc and sanitizers) 2014-02-03 03:23:17 +00:00
Arvid Norberg dc1eb02176 fix parse_session_stats.py 2014-01-30 09:55:11 +00:00
Arvid Norberg 4f1a315d36 run_benchmark.py fixes 2014-01-28 03:23:44 +00:00
Arvid Norberg d5accd9ead clean repo in between revisions 2014-01-26 17:31:06 +00:00
Arvid Norberg 8cfbb8a243 allow valgrind to take even longer 2014-01-24 21:17:41 +00:00
Arvid Norberg ff1b06871e fix DHT log parsing and graph generation 2013-12-22 21:43:27 +00:00
Arvid Norberg 651e091eed fix dht log parser 2013-12-20 09:22:56 +00:00
Arvid Norberg 98d4fa3da7 fix some DHT log parsing scripts 2013-12-20 06:19:50 +00:00
Arvid Norberg 568eac3f42 update parse_test_results.py 2013-10-23 05:40:30 +00:00