Commit Graph

917 Commits

Author SHA1 Message Date
Arvid Norberg 71561087fd fixes for test_utf8 and test_gzip 2014-05-03 05:17:50 +00:00
Arvid Norberg a52aadc713 add utf8 unit test 2014-05-03 05:09:21 +00:00
Arvid Norberg 838f8c3892 windows helper scripts for test coverage 2014-05-03 01:59:07 +00:00
Arvid Norberg 43c41ddfb1 fixed bug in gunzip 2014-05-02 16:11:25 +00:00
Arvid Norberg af39c78205 extend lazy_bdecode unit test 2014-05-02 07:49:56 +00:00
Arvid Norberg e19c52ec98 improve lazy_bdecode test to cover more error cases 2014-05-01 03:54:47 +00:00
Arvid Norberg 1b1ae16852 fix unit test jamfile 2014-04-27 16:54:10 +00:00
Arvid Norberg 9e94a73ddd support web seeds in magnet links 2014-04-15 09:31:28 +00:00
Arvid Norberg 290ce566b0 fix resume file issue related to daylight savings time on windows 2014-04-04 07:30:54 +00:00
Arvid Norberg 91799025f2 merged bdecode fix from RC_0_16 2014-04-04 03:21:15 +00:00
Arvid Norberg 569ce0a965 honor pieces with priority 7 in sequential download mode 2014-04-03 02:03:14 +00:00
Arvid Norberg 9f0aec9427 attempt at msvc-10.0 build fix for test_dhy + small documentation note 2014-04-01 00:09:23 +00:00
Arvid Norberg 09bc76d8ae add test vector from bep40 to test_peer_priority 2014-03-26 16:09:31 +00:00
Arvid Norberg f3535b1e69 another msvc-7.1 fix 2014-03-25 04:13:58 +00:00
Arvid Norberg fb5a558ff2 fix merge typo 2014-03-23 01:36:58 +00:00
Arvid Norberg 6a824ba2df polish test_remap_files 2014-03-22 09:03:59 +00:00
Arvid Norberg 625e524240 merged test_tracker tweak from RC_0_16 2014-03-22 08:32:48 +00:00
Arvid Norberg 6ac8b9e006 improve regression testing framework 2014-03-16 23:55:18 +00:00
Arvid Norberg 2b5892289f improve debug output from test_tracker 2014-03-16 19:15:17 +00:00
Arvid Norberg 826417b471 improve robustness of web_seed unit tests 2014-03-15 21:55:12 +00:00
Arvid Norberg 1c954451ff seed mode fixes 2014-03-13 08:00:53 +00:00
Arvid Norberg c68a768eda improve test_tracker robustness 2014-03-11 07:20:45 +00:00
Arvid Norberg 03bfa4cea4 improve reliability of test_privacy 2014-03-11 07:12:49 +00:00
Arvid Norberg 1955ecf688 merged additional unit test from RC_0_16 2014-03-10 21:32:48 +00:00
Arvid Norberg e332167ddd improve storage unit tests 2014-03-07 08:39:55 +00:00
Arvid Norberg b643962bfe merged fixes from RC_0_16 2014-03-06 10:06:41 +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 9f4e865596 merge remap_files unit test from RC_0_16 2014-03-05 09:37:49 +00:00
Arvid Norberg 043d540627 update dht unit test 2014-03-02 23:44:53 +00:00
Arvid Norberg c8b38dcacd fix dht unit test 2014-03-01 09:04:23 +00:00
Arvid Norberg a0a41b6c5e merged file priority fix from RC_0_16 and keep the disk thread's file priorities up to date 2014-02-28 10:19:29 +00:00
Arvid Norberg 1188ec2dcd expose new DHT put/get functionality in the public session API 2014-02-24 00:31:13 +00:00
Arvid Norberg 0a042dde8b clean up udp-tracker unit tests 2014-02-23 01:32:55 +00:00
Arvid Norberg 0398dfe498 merged storage allocation mode fix from RC_0_16 2014-02-07 08:58:52 +00:00
Arvid Norberg 6c22d426d4 make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts) 2014-02-05 09:38:32 +00:00
Arvid Norberg 15e2019332 clean up upnp error category by moving it into upnp.cpp, it's not properly encapsulated. added some documentation to torrent_handle. reformatted some documentation comments to honor an 80 column display 2014-02-02 03:05:55 +00:00
Arvid Norberg 077f728931 more test_transfer polish. fix issue where passing on our listen port depended on anonymous_mode, instead of use_proxy. not passing it on would break a few unit tests 2014-01-26 08:36:56 +00:00
Arvid Norberg 36c9add067 don't print stuff to stdout in debug builds. when waking up from completing a connection attempt, exit immediately if the connection is disconnecting, or disconnect if we're in graceful pause mode. some test cleanups 2014-01-26 08:18:13 +00:00
Arvid Norberg ef94954f7e fix suppressions file 2014-01-26 01:28:16 +00:00
Arvid Norberg 43bc1954fa attempt to make test_priority more robust 2014-01-25 23:04:24 +00:00
Arvid Norberg 11e1e147a3 suppress libcrypto issue in valgrind runs 2014-01-25 22:56:22 +00:00
Arvid Norberg 34b83ddd71 make test_transfer much more likely to succeed 2014-01-24 09:31:47 +00:00
Arvid Norberg 6bda2f7430 change peer priority to use crc32c instead of sha1 2014-01-23 02:28:04 +00:00
Arvid Norberg 99d9916c29 some more piece_picker asserts 2014-01-22 09:53:47 +00:00
Arvid Norberg 120f09454f web test suite fix 2014-01-22 06:25:28 +00:00
Arvid Norberg ad635c7081 we're not always supposed to gzip test_file in web_server.py (unit test) 2014-01-22 04:05:23 +00:00
Arvid Norberg 8bf283c7fe fix test_http_connection for windows 2014-01-22 02:59:09 +00:00
Arvid Norberg 3547728a0e fix socks proxy error reporting for unit tests 2014-01-21 09:46:03 +00:00
Arvid Norberg 41693bfa97 fix windows support in web_server.py for unit tests 2014-01-21 09:34:51 +00:00
Arvid Norberg 65a847fd43 open files in binary mode in unit test web server (may fix some issues on windows) 2014-01-21 00:04:52 +00:00
Arvid Norberg 9b0f022499 test_priority updates 2014-01-20 20:26:12 +00:00
Arvid Norberg 452e78ba3b wait for torrent to be seeding before trying to connect to it, in test_ssl 2014-01-20 03:00:25 +00:00
Arvid Norberg dca3f3c1a8 improve SSL error reporting and fix torrent_info::ssl_cert() bug 2014-01-20 01:01:03 +00:00
Arvid Norberg 8ab1d8b686 more build fixes and cleaning up 2014-01-19 20:19:15 +00:00
Arvid Norberg f28e6c8c81 fix potential buffer overrun in unit test 2014-01-18 06:54:13 +00:00
Arvid Norberg b283d58899 fix some uninitialized members 2014-01-18 06:53:47 +00:00
Arvid Norberg a24157c4d9 socks.py should not print all the data it forwards 2014-01-17 08:57:35 +00:00
Arvid Norberg 36889a1524 asserts and logging in SSL test 2014-01-17 01:00:49 +00:00
Arvid Norberg 130b2fb25c fix socks.py 2014-01-16 08:40:28 +00:00
Arvid Norberg 67219409a4 more output and error handling in socks.py 2014-01-14 09:07:39 +00:00
Arvid Norberg d7be4659c8 rate limiter overflow fix (for very high limits) 2014-01-13 06:49:47 +00:00
Arvid Norberg 86b68e65e4 merged dht node ID change from RC_0_16 2014-01-11 08:08:43 +00:00
Arvid Norberg ad7b2c87bd fix ssl test 2014-01-08 06:18:57 +00:00
Arvid Norberg ae7bb20170 update node ID generation algorithm from RC_0_16 2014-01-06 05:46:46 +00:00
Arvid Norberg 6dbc7091d3 fix link issue in build. caused corruption and crash in test_storage 2014-01-06 03:50:25 +00:00
Arvid Norberg 54bbd3cae0 support salt feature in DHT put 2014-01-03 04:18:46 +00:00
Arvid Norberg 260e97c4e0 document salt feature in put and get DHT extensions. include a test vector and add that to the unit test. (salt is not implemented) 2013-12-31 08:37:42 +00:00
Arvid Norberg 3f66a65917 assert that create_torrent returns a valid torrent_info pointer 2013-12-30 06:47:15 +00:00
Arvid Norberg 5b46be916b merged storage fix from RC_0_16 2013-12-30 02:50:29 +00:00
Arvid Norberg d6b1aa4c36 DHT refactoring and support for storing arbitrary data with put 2013-12-27 04:28:25 +00:00
Arvid Norberg 9fdae8f525 back ported bitfield test from libtorrent_aio 2013-12-24 08:34:30 +00:00
Arvid Norberg 444223c2e3 merged fixes from RC_0_16 2013-12-23 01:40:05 +00:00
Arvid Norberg 87f08265bc some more fixes around TORRENT_DISABLE_EXTENSIONS 2013-12-21 06:20:16 +00:00
Arvid Norberg df3204874d clean up entry::print 2013-12-19 08:30:17 +00:00
Arvid Norberg adb3a5523c some defensive programming. cleanup unused boost include. tighten up boost includes 2013-12-17 23:26:44 +00:00
Arvid Norberg 60a33f8cf8 make test_ssl build without openssl (and also not do anything) 2013-12-16 06:17:05 +00:00
Arvid Norberg ad772aecd8 test tweaks 2013-12-16 05:50:03 +00:00
Arvid Norberg 43f47275b6 fix test_ssl for trunk 2013-12-16 00:42:06 +00:00
Arvid Norberg 5910059869 test_natpmp is not a unit test 2013-12-16 00:38:46 +00:00
Arvid Norberg 64af2b833b merged unit test fix from RC_0_16 2013-12-15 23:25:45 +00:00
Arvid Norberg 7a98a4b201 fix makefiles 2013-12-15 23:20:23 +00:00
Arvid Norberg efd272681d merged makefile fixes from RC_0_16 2013-12-15 22:29:11 +00:00
Arvid Norberg 1dfc93aad8 merged SSL unit tests from RC_0_16 2013-12-15 21:10:45 +00:00
Arvid Norberg 88e4e0a97b strip trailing dots and spaces in filenames 2013-12-05 07:40:57 +00:00
Arvid Norberg faa53d7657 member re-order and struct packing 2013-12-02 04:24:10 +00:00
Arvid Norberg c08d3ef5db fix build 2013-11-29 05:37:52 +00:00
Arvid Norberg d64d12e50d merge test_read_piece from RC_0_16 2013-11-24 01:32:51 +00:00
Arvid Norberg ecb87b003b attempt to fix http_connection unit test 2013-11-22 03:05:38 +00:00
Arvid Norberg bcb703b9a3 improve duplicate file detection in torrent files 2013-11-18 06:59:47 +00:00
Arvid Norberg 31ecd1b914 copy test_torrent_info unit test from libtorrent_aio 2013-11-18 00:56:02 +00:00
Arvid Norberg 25e53cd799 fix set_naem() on file_storage actually affecting save paths 2013-11-17 08:02:16 +00:00
Arvid Norberg a00f396224 merged test from RC_0_16 2013-11-07 17:12:11 +00:00
Arvid Norberg 3c5ec23480 add timeout to web_server.py for unit tests (it doesn't seem to die on windows otherwise) 2013-11-06 04:05:13 +00:00
Arvid Norberg ec87fb2968 don't try to close connections in web_server.py (to may cause exceptions when using ssl) 2013-11-05 00:25:49 +00:00
Arvid Norberg 5d149e2d0a fix web_seed_chunked test 2013-11-04 21:08:19 +00:00
Arvid Norberg c147caca0d fix ssl issue in web_server.py 2013-11-04 10:06:14 +00:00
Arvid Norberg 5fcd1237f0 fix race condition of closing http socket in web_server.py 2013-11-04 05:48:40 +00:00
Arvid Norberg 2ce6b83a8e restore web_server.py 2013-11-04 01:35:57 +00:00
Arvid Norberg 236acfce27 merged completed-on fix from RC_0_16 2013-11-04 01:32:16 +00:00
Arvid Norberg e60d54d90e split up the web seed tests further into chunked encoding and banning of web seeds as their own tests 2013-11-03 18:27:24 +00:00