Commit Graph

1022 Commits

Author SHA1 Message Date
arvidn bd4827db35 fix missing include 2016-08-03 22:10:38 -04:00
Arvid Norberg 5b230694e5 check autotools on travis (#973)
build and run tests with autotools on travis, and fix configure issues.
2016-08-02 00:46:15 -04:00
Arvid Norberg 8c03718117 apply modernization transforms to headers too. nullptr, explicit constructors, = default (#903) 2016-07-10 14:27:42 -04:00
Arvid Norberg c3432aedd9 move constructor arguments into members (#902) 2016-07-10 10:03:49 -04:00
Arvid Norberg a740a49fd6 modernize misc (#898)
modernize misc
2016-07-10 07:34:45 -04: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 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
Arvid Norberg 223f24ca27 some cleanup and transition to std::unique_ptr (#786)
some cleanup and transition to std::unique_ptr
2016-06-05 14:07:24 -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 44a668db62 build with gcc/mingw on appveyor (#722)
enable gcc/mingw builds on appveyor. Some mingw tests crash currently, they need debugging and are currently disabled.
2016-05-15 13:28:22 -04:00
Arvid Norberg 045e9316ad update CMakeLists.txt to build with C++11 (#682) 2016-05-02 14:38:12 -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
arvidn 78bc269832 use std::chrono and not boost::chrono 2016-05-01 08:50:30 -04:00
Steven Siloti ff0675e64e use standard array container (#676) 2016-04-30 23:10:47 -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
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
Arvid Norberg 97bdb4ba25 don't support c++98 anymore. build bt-get and bt-get2 by default (which require C++11). simplify address-model configuration in appveyor script. enable msvc-14 builds. use boost 1.59 on appveyor (#618) 2016-04-24 09:17:58 -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 d84a38fdf2 improve converters for add_torrent_params 2016-04-15 00:48:47 -04:00
arvidn 867b83ccda merged RC_1_1 into master 2016-04-08 02:20:24 -04:00
arvidn 238e7515ea fix typo in travis to actually build bt-get and bt-get2 examples. fix bt-get2 build 2016-03-30 02:32:53 -04:00
arvidn 96e2693d13 merge RC_1_1 into master 2016-03-19 16:02:46 -04:00
arvidn f7c9062019 deprecate more parts of explicit cache as well as fixing typos of TORRENT_NO_DEPRECATE preprocessor tests 2016-03-19 07:54:29 -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
Michael Smith 7657373fe3 Fix building examples
Add finding OpenSSL for examples (on Mac it's common for OpenSSL
installed via Homebrew to not be on normal paths, so find it via
CMAKE_PREFIX_PATH). Also make the example cmake helper script
executable.
2016-03-12 15:09:03 -08: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 ac2916c426 enable disk cache pool allocator by default. fix ansi escape code conversion in client_test on windows 2016-02-27 17:42:31 -05:00
arvidn 0b173c6651 merged RC_1_1 2016-02-23 23:48:29 -05:00
arvidn c919c63ca3 extend the tutorial 2016-02-23 00:54:14 -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 ebb9fdaf54 add error_code to torrent_status instead of error string 2015-11-05 20:43:23 -05:00
Jakob Petsovits a3316ec49d CMake build: Asio is now used header-only, remove definitions saying otherwise. 2015-11-02 14:24:56 -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 17c5759829 disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings 2015-09-06 22:55:41 -04:00
arvidn 3018546b37 fix warning 2015-08-22 01:22:04 +02:00
arvidn b7b0dafcca fix some warnings 2015-08-21 10:05:51 +02:00
arvidn 7f695f05d5 use boost.asio as headers only library again (simplify builds and hopefully fix shared linking of python module on gcc linux) 2015-07-27 23:09:24 -07:00
Jakob Petsovits a699cfae7e CMake build: Require Boost.Random from FindLibtorrentRasterbar.
Also remove outdated requirements for Boost.Thread and
Boost.DateTime linking.
2015-07-17 20:59:19 -04:00
Jakob Petsovits 8fe8a843e5 CMake build: Use ${CMAKE_STATIC_LIBRARY_SUFFIX} to look for .lib on Windows. 2015-07-17 20:13:14 -04:00
Jakob Petsovits baa9f86407 CMake build: specify examples sources manually instead of globbing.
This is necessary because the client_test example spans multiple
files, so creating an executable for each one separately doesn't
make so much sense anymore.
2015-07-17 20:13:14 -04:00
Arvid Norberg 6241958aee Merge pull request #27 from Chocobo1/py2
Project cleanup
2015-07-12 10:58:30 -04: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
Chocobo1 b743ef44e9 Pass std::string directly 2015-07-11 15:49:47 +08:00
Chocobo1 c69e8805e9 Fix resource leak 2015-07-11 15:12:55 +08:00
Mikhail Titov bef92dc179 Fix default SAM port 2015-06-24 19:41:41 -05:00
arvidn babd906340 fix windows build of client_test 2015-06-18 18:05:07 -04:00
arvidn 6cf9965416 fix buffer overflow in print() on windows 2015-06-18 00:31:28 -04: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
arvidn 9af8841244 remove some unnecessary asio typedefs in the libtorrent namespace, just pull ip::tcp and ip::udp 2015-06-06 13:49:18 -04:00
arvidn 41533205be drop support for boost 1.35 and fix some more references to the asio namespace 2015-06-06 02:10:53 -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 f90537c52d fix some more coverity issues and add more todo comments 2015-05-05 02:32:14 +00:00
Arvid Norberg 4a304273fd fix some coverity issues 2015-05-03 03:28:39 +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 0c2f5c67b8 fix file_filter bug in make_torrent.cpp 2015-04-29 04:33:00 +00:00
Arvid Norberg 8aa3c22796 fix coverity issues 2015-04-29 04:05:29 +00:00
Arvid Norberg a15bc13392 build fixes 2015-04-26 13:38:56 +00:00
Arvid Norberg f0336017d1 fix gcc warnings and missing header files in makefiles 2015-04-26 00:51:44 +00:00
Arvid Norberg 821e34c795 fix examples build. fix print formatting bugs. fix some gcc warnings 2015-04-25 04:22:51 +00:00
Arvid Norberg 408232cfc8 raise warning level. fix a few of them. filter out warnings from boost 2015-04-18 02:33:39 +00:00
Arvid Norberg 013ed36f09 landed alert_queue feature branch into trunk 2015-04-03 20:15:48 +00:00
Arvid Norberg 7cb2f79377 remove rss_reader from examples 2015-03-30 04:38:47 +00:00
Arvid Norberg ccc7e45406 landed mutable torrents branch in trunk 2015-03-21 00:12:40 +00:00
Arvid Norberg 1b07ec491d fix build issue out of recent changes of exported functions 2015-03-16 04:38:28 +00:00
Arvid Norberg 58aa4e5ae7 fix build now that libtorrent::sleep is gone 2015-03-15 00:32:55 +00:00
Arvid Norberg 37225b71ae const static -> static const (thanks gubatron). helps swigs parser 2015-03-14 00:42:27 +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 c1dc982f4f deprecate the ptime type and related time types. just use boost::chrono / std::chrono 2015-03-12 04:34:54 +00:00
Arvid Norberg 78f65bb37f some windows fixes 2015-03-08 01:21:43 +00:00
Arvid Norberg 91270a0c2b make operation_t public and document it. include peer disconnects in client_test log 2015-02-15 05:17:09 +00:00
Arvid Norberg e15e5fd80a expand unit tests 2015-02-14 06:14:15 +00:00
Arvid Norberg 1e80629770 make printing of file progress more compact in client_test 2015-02-08 21:59:52 +00:00
Arvid Norberg 266760b70b improve client_test output 2015-02-08 03:24:56 +00:00
Arvid Norberg aa9647b5d0 fix client_test build 2015-01-19 04:46:06 +00:00
Arvid Norberg 58d93e5aa1 add new (non-deprecated) access to dht stats, asynchronously via an alert 2015-01-17 17:02:58 +00:00
Arvid Norberg a7add1787f the piece bar is no longer optional in client test 2015-01-15 07:30:51 +00:00
Arvid Norberg 79feb037b2 fix use of getcwd in make_torrent on windows 2015-01-08 20:20:44 +00:00
Arvid Norberg 05f8569f9f don't rely on internal utf8 functions from libtorrent 2015-01-08 18:19:35 +00:00
Arvid Norberg 774c3b536a fix winows build 2015-01-07 16:47:37 +00:00
Arvid Norberg 35b41858cf deprecated session_status and session::status() in favor of performance counters 2015-01-04 21:31:02 +00:00
Arvid Norberg 8b98261df1 merged changes from RC_1_0 2015-01-03 22:07:10 +00:00
Arvid Norberg 21d1f6f649 more dynamic link build fixes 2015-01-02 11:11:09 +00:00
Arvid Norberg 5c04eb7d00 fix client_test bug introduced by recent patch 2015-01-01 21:42:55 +00:00
Arvid Norberg c2a05228fd fix dynamic linking (Jamfile and dependencies on internals) 2015-01-01 18:03:56 +00:00
Arvid Norberg e13bfce017 improve printing of rates and counters in client_test 2014-12-30 20:41:58 +00:00
Arvid Norberg f77ba409fa fix typo 2014-12-30 17:05:34 +00:00
Arvid Norberg c443193ce0 add option to client_test to remove web seeds 2014-12-30 16:59:37 +00:00
Arvid Norberg 13a9c3c78d we no longer support including file-hashes when creating torrents 2014-12-17 03:50:01 +00:00
Arvid Norberg a3d1a493fd disable logging alerts in client_test 2014-12-10 09:45:38 +00:00
Arvid Norberg 0b960615b1 fix another build warning 2014-12-09 09:49:14 +00:00
Arvid Norberg 4eaec6d87f instead of using a fixed request timeout for every peer, have an adaptable one based on the average download time for a block 2014-12-08 17:06:04 +00:00
Arvid Norberg c4e5df8e4d remove the concept of timeout_extend in piece request timeouts. if a request times out, cancel it as soon as it holds up the completion of a piece 2014-12-07 22:22:38 +00:00
Arvid Norberg cc1a4dcdd7 fix examples build 2014-12-03 09:05:09 +00:00
Arvid Norberg 95fbf93e52 apply Steven Siloti's patch to client_test to enable fixed slots choker when specifying the number of unchoke slots 2014-11-30 04:57:54 +00:00
Arvid Norberg 99e1a3a829 attempted msvc-10.0 build fix 2014-11-30 00:28:03 +00:00
Arvid Norberg f98c7223b2 merged changes from RC_1_0 2014-11-29 01:53:22 +00:00
Arvid Norberg 8b4dcb2959 merged changes from RC_1_0 2014-11-28 04:53:21 +00:00
Arvid Norberg 12a29ea281 client_test print fix 2014-11-24 04:35:52 +00:00
Arvid Norberg 29fb79f60c merged changes from RC_1_0 2014-11-24 04:25:05 +00:00
Arvid Norberg 658e2ceefd merged Steven Siloti's peer crypto patch into trunk 2014-11-23 06:14:47 +00:00
Arvid Norberg 179df62379 merged changes from RC_1_0 2014-11-20 05:53:12 +00:00
Arvid Norberg 3f61ee0ff3 merged changes from RC_1_0 2014-11-19 09:23:08 +00:00
Arvid Norberg edfa38cd30 merged changes from RC_1_0 2014-11-17 03:41:01 +00:00
Arvid Norberg aae56c991c merged changes from RC_1_0 2014-11-08 16:58:18 +00:00
Arvid Norberg 3742fd2699 merged changes from RC_1_0 2014-11-02 09:41:29 +00:00
Arvid Norberg 34af25beaa merged chagnes from RC_1_0 2014-11-01 22:47:56 +00:00
Arvid Norberg 9338aa6c60 some more refactoring in choker 2014-10-24 00:18:01 +00:00
Arvid Norberg a3b18b8a41 fix some of the build errors in examples 2014-10-15 05:07:26 +00:00
Arvid Norberg d8cf0d49e3 optimize piece printing in client_test 2014-10-07 03:09:32 +00:00
Arvid Norberg 9c2472f7bb fix build with deprecated functions disabled 2014-10-05 19:32:29 +00:00
Arvid Norberg ad7d74f255 merged fixes from RC_1_0 2014-09-13 19:47:51 +00:00
Arvid Norberg 12e61fe8ea windows fix for client_test (thanks s. soliti) 2014-08-27 06:00:55 +00:00
Arvid Norberg 1045e385de standard headers should be included regardless of WIN32 2014-08-26 04:16:50 +00:00
Arvid Norberg 862844e546 merged changes from RC_1_0 2014-08-22 07:56:10 +00:00
Arvid Norberg 524384045c transition to use boost.random instead of rand() and custom pseudo random generator 2014-08-16 20:26:00 +00:00
Arvid Norberg fcf2f6234b more missing include fixes 2014-08-16 17:33:25 +00:00
Arvid Norberg 3f88389f05 merged changes from RC_1_0 2014-08-16 07:46:06 +00:00
Arvid Norberg 8833f27a46 fix deprecated-functions=off build 2014-08-16 06:51:48 +00:00
Arvid Norberg f32f5e96aa deprecate parts of cache_status and move those counters to session_stats counters. make the performance counters thread safe. fix some issues recently introduced to performance counters and the usage of them in client_test 2014-08-01 06:07:48 +00:00
Arvid Norberg 24b9101075 merged changes from RC_1_0 2014-07-12 06:20:16 +00:00
Arvid Norberg ef3874b2b1 merged improvement to connection_tester from RC_1_0 to trunk 2014-07-10 22:23:26 +00:00
Arvid Norberg 622981d2cd client_test fixes 2014-07-10 08:32:32 +00:00
Arvid Norberg f74180a61d fixes to client_test 2014-07-10 01:34:39 +00:00
Arvid Norberg ef2b52f06b added missing files 2014-07-09 21:25:02 +00:00
Arvid Norberg 8fc07e6e89 more work towards making client_test event-driven and use session stats counters instead of session_status + some refactoring 2014-07-08 22:37:13 +00:00
Arvid Norberg a63370f650 overhauled client_test. refactored and simplified. still in progress 2014-07-08 15:35:14 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +00:00
Arvid Norberg 6ef1b98717 merged compiler warning fixes from RC_1_0 2014-07-05 14:10:25 +00:00
Arvid Norberg 35141733fb remove some old unmaintained example code. make examples depend less on libtorrent internals 2014-05-10 20:20:57 +00:00
Arvid Norberg 4b9f4c7690 merged console output fix for client_test from RC_0_16 2014-05-08 16:43:24 +00:00
Arvid Norberg 0398dfe498 merged storage allocation mode fix from RC_0_16 2014-02-07 08:58:52 +00:00
Arvid Norberg 11038aeecb attempt to speed up client_test's loading of torrents 2014-01-19 04:11:49 +00:00
Arvid Norberg 926cb44953 fix client_test 2014-01-03 05:02:39 +00:00
Arvid Norberg 444223c2e3 merged fixes from RC_0_16 2013-12-23 01:40:05 +00:00
Arvid Norberg 41573e084c fix terminal window size issue in client_test under lldb. make client_test respond to keyboard input quicker 2013-12-05 07:43:54 +00:00
Arvid Norberg 54d5222347 deprecate announce_entry::will_announce 2013-11-28 08:44:31 +00:00
Arvid Norberg 58b4d85445 fix client_test build 2013-11-02 09:14:39 +00:00
Arvid Norberg 514f8797ad improve error handling in connection_tester 2013-10-30 02:37:13 +00:00
Arvid Norberg cbe3a72a6e merged i2p fix from RC_0_16 2013-10-27 19:56:37 +00:00
Arvid Norberg 01c42720e1 fix some deprecation issues (use interfa) 2013-10-14 02:25:21 +00:00
Arvid Norberg 89c3db477d merge build fix with C++11 from RC_0_16 2013-09-25 19:44:29 +00:00
Arvid Norberg 00cbb91601 make dump_torrent build without deprecated functions 2013-09-15 12:18:27 +00:00
Arvid Norberg aace9e68e9 add script that runs a cpu benchmark of downloading 2013-09-10 05:48:38 +00:00
Arvid Norberg 39264c5ad3 introduce new, optional, get_peers mechanism that is more privacy preserving (doesn't leak the info-hash to as many DHT nodes) 2013-09-09 07:08:02 +00:00
Arvid Norberg 6bd07fd65f pull in an ed25519 implementation and replace use of RSA in the DHT with ECC. fix up makefiles 2013-08-18 16:01:20 +00:00
Arvid Norberg 8833afdf84 moved parse_request_log into tools directory 2013-07-20 01:03:56 +00:00
Arvid Norberg bbe62564ad low level network primitives should not be exported. Moved enum_if into tests (since it uses internal functions) 2013-07-20 01:02:15 +00:00
Arvid Norberg 6e28e33b32 documentation polish + todo comments in client_test.cpp 2013-07-20 00:38:29 +00:00
Arvid Norberg 3e9f456f73 fix typo 2013-07-19 23:16:57 +00:00
Arvid Norberg 24ea524731 is_hex should not be exported 2013-07-19 22:47:17 +00:00
Arvid Norberg b7816ff281 print_entry should not be exported 2013-07-19 22:26:07 +00:00
Arvid Norberg facbf9c178 don't expose load_file as a public function 2013-07-19 21:41:33 +00:00
Arvid Norberg a2f9337b69 fix client_test 2013-07-17 20:38:25 +00:00
Arvid Norberg 50ecb07d19 merged silencing of warnings from RC_0_16 2013-06-14 16:41:47 +00:00
Arvid Norberg 9c3f3b8455 merged error message fix from RC_0_16 2013-06-08 20:14:26 +00:00
Arvid Norberg b5cf2e8439 generalize command line parsing of connection_tester and add feature to serve corrupt pieces every now and then 2013-04-13 21:16:04 +00:00
Arvid Norberg 6e0ae9e959 improve connection tester a bit, to deal with being unchoked 2013-04-12 23:18:49 +00:00
Arvid Norberg 0682272661 make libtorrent and examples build with deprecated functions disabled (with some slight performance improvements). use hex encoding instead of base32 in create_magnet_uri 2013-03-04 03:24:53 +00:00
Arvid Norberg 5033960045 merged fix from RC_0_16 2013-02-28 04:31:55 +00:00
Arvid Norberg 314d249c3c merged fix from RC_0_16 2013-01-22 17:00:00 +00:00
Arvid Norberg b3ef6011aa merged merkle torrent creation fix from RC_0_16 2013-01-21 07:33:48 +00:00
Arvid Norberg c384bd6561 merged client_test fix from RC_0_16 2012-12-16 19:07:00 +00:00
Arvid Norberg b69014f3cd extend connection_tester to allow building test torrents with any number of files 2012-11-21 05:07:47 +00:00
Arvid Norberg d081842a31 merged client_test change from libtorrent_aio 2012-10-07 20:08:47 +00:00
Arvid Norberg 84ccb31a6d merged client_test from libtorrent_aio 2012-10-06 14:04:24 +00:00
Arvid Norberg 90edd1dd80 merged make_torrent update from RC_0_16 2012-10-03 01:55:08 +00:00
Arvid Norberg b3fda9a756 merged make_torrent fixes from RC_0_16 2012-10-02 20:43:01 +00:00
Arvid Norberg 5bc322c031 merged get_torrent_info deprecation from libtorrent_aio, replaced by torrent_file() 2012-10-02 16:07:55 +00:00
Arvid Norberg 852502ef2c merged fix from RC_0_16 2012-09-24 03:55:42 +00:00
Arvid Norberg 726950f936 merged client_test fix from libtorrent_aio 2012-09-23 02:16:03 +00:00
Arvid Norberg e4727df459 merged client_test help screen from libtorrent_aio 2012-09-23 01:57:31 +00:00
Arvid Norberg fde9b653e8 merge magnet link feature in client_test from libtorrent_aio 2012-09-23 01:52:46 +00:00
Arvid Norberg 6cd2958fa4 merged build fix from RC_0_16 2012-08-23 23:09:48 +00:00
Arvid Norberg 532e514c00 improve torrent file creator optimizer a bit 2012-08-12 21:18:38 +00:00
Arvid Norberg fa1c071c2f merged fixes from RC_0_16 2012-06-09 04:48:53 +00:00
Arvid Norberg f49bc42cae added missing license headers 2012-06-04 06:30:45 +00:00
Arvid Norberg dbfcab5c28 fix warnings 2012-05-03 06:04:59 +00:00
Arvid Norberg 7094b02f06 delete a redundant line 2012-05-02 20:06:19 +00:00
Arvid Norberg cafbf2ca1d more work on minimizing shared object export symbol table 2012-03-20 03:53:07 +00:00
Arvid Norberg a2521bd23c fix a bunch of issues to properly support dynamic linking of libtorrent with visibility=hidden. Still requires a small patch to boost 2012-03-18 23:31:04 +00:00
Arvid Norberg 250f1645b3 fix windows directory separator issue on windows with UNC paths 2012-03-13 04:50:12 +00:00
Arvid Norberg 3442534085 fixed no-deprecate build 2012-03-09 06:34:23 +00:00
Arvid Norberg f221b3d931 export session_settings_map and fix rss issue in client_test 2012-02-24 16:11:31 +00:00
Arvid Norberg 50b299b89b save torrents on metadata_received_alert in client_test 2012-02-21 05:56:22 +00:00
Arvid Norberg d24a2e30fc rss feed fixes 2012-02-20 23:44:34 +00:00
Arvid Norberg 079a8f8314 ignore failures when asking for local address of sockets and parsing a string into an IP address 2012-02-20 04:13:39 +00:00
Arvid Norberg 3276167b85 file access log is not implemented in trunk. No point in trying to use it in that version of run_benchmarks.py 2012-02-19 09:37:35 +00:00
Arvid Norberg cd72238c25 fix update issue in client_test 2012-02-11 22:04:22 +00:00
Arvid Norberg 8b459a27bd remove 'encrypted peer connections' feature (ssl is a better idea) 2012-02-09 06:23:58 +00:00
Arvid Norberg cdd99857b9 fix overflow issue in connection_tester 2012-01-31 05:59:01 +00:00
Arvid Norberg 48e7b35a93 initialize counters in client_test.cpp 2012-01-20 04:51:08 +00:00
Arvid Norberg b5f456f839 fixed documentation typo in client_test 2012-01-18 03:37:17 +00:00
Arvid Norberg 74b745e876 back port torrent sorting fix into trunk 2012-01-17 02:27:20 +00:00
Arvid Norberg ae90a8f85e verify that torrent names matches the DNS name in its certificate (RFC 2818-style). Fix issues that was breaking SSL support and tidy up a bit 2012-01-15 23:34:43 +00:00
Arvid Norberg 4a40e68a82 landed ssl branch back into trunk 2012-01-14 16:04:25 +00:00
Arvid Norberg 2af0ab6e2f option to force encrypted connections in client_test 2012-01-11 08:48:49 +00:00
Arvid Norberg c5fb865071 add tool to analyze request logs 2012-01-02 19:32:15 +00:00
Arvid Norberg 67d6f5aeb4 fix post_torrent_update patch in client_test 2011-12-24 04:30:27 +00:00
Arvid Norberg d7103ab5b0 updated client_test to use post_torrent_updates() 2011-12-23 05:36:13 +00:00
Arvid Norberg 78f16cedd9 deprecate torrent::set_ratio 2011-12-18 07:18:42 +00:00
Arvid Norberg 3f572d43ef support force started in client_test 2011-12-11 03:32:53 +00:00
Arvid Norberg 8e1ec673af generate more complicated test torrents and verify data downloaded in download tests 2011-11-27 22:39:25 +00:00
Arvid Norberg 72dd233d99 back-ported connection tester to trunk 2011-11-27 21:15:33 +00:00
Arvid Norberg 981e6472b2 support udp trackers in tracker-less command line to client_test 2011-11-13 23:49:56 +00:00
Arvid Norberg 4a5769857b fix crash in connection_tester 2011-11-09 06:03:24 +00:00
Arvid Norberg 2330520c51 change the add_torrent_params API to use flags instead of a bunch of bools (but leave it backwards compatible) 2011-11-08 05:36:22 +00:00
Arvid Norberg 92661b2a71 fix iterator issue in client_test 2011-11-01 21:08:21 +00:00
Arvid Norberg b80aa035a2 removed debugging code 2011-10-24 04:47:51 +00:00
Arvid Norberg 9afd09d797 optimize sending buffers on peer sockets by corking and uncorking 2011-10-24 04:22:53 +00:00
Arvid Norberg 01405f32ee added async_add_torrent for increased performance when adding many torrents (no documentation yet though) 2011-10-12 10:27:17 +00:00
Arvid Norberg 268ea59876 fix some bugs in connection_tester and add feature to create dummy test torrents 2011-10-12 06:50:26 +00:00
Arvid Norberg 469414d486 initial BitTorrent over SSL support 2011-09-12 03:51:49 +00:00
Arvid Norberg 92bcb9ebfd feature to encrypt peer connections with a secret AES-256 key stored in .torrent file 2011-09-05 05:50:41 +00:00
Arvid Norberg a286a6b4aa initial attempt at verifying the certificate of ssl trackers, by including the certificate in the .torrent file 2011-08-28 21:06:15 +00:00
Arvid Norberg 51ed06304e deprecated compact storage allocation 2011-08-22 00:51:14 +00:00