Commit Graph

788 Commits

Author SHA1 Message Date
Arvid Norberg f16d0b7953 add unit test for 'file_sizes' entry in resume data (#1248)
add unit test for 'file_sizes' entry in resume data. fix resume data bug in client_test for magnet links and minor resume data cleanup in default_storage
2016-10-23 22:01:09 -04:00
Arvid Norberg 15bf443bfd fix connection_tester to support generating fake data for arbitrary torrents (#1181) 2016-10-04 07:31:07 -07:00
Arvid Norberg 7a52a285a1 back-port error_code cleanup from master (#1173)
back-port error_code cleanup from master
2016-10-03 16:32:40 -07:00
arvidn 93381505d0 clean up some examples 2016-09-18 17:14:18 -07:00
arvidn 599967c4b5 add missing files to makefile 2016-08-23 02:04:24 -04:00
arvidn 6aacc0bf03 fix bug in bt-get2.cpp example 2016-08-23 00:27:11 -04:00
arvidn 98eabc63e9 using _WIN32 appears safer than WIN32 2016-05-23 23:02:52 -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 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 c9c401d15c add piece matrix to client_test 2016-03-13 19:13:38 -04: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 c919c63ca3 extend the tutorial 2016-02-23 00:54:14 -05:00
arvidn a675a749e0 remove 'full' allocation from client_test 2016-02-18 20:42:15 -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