arvidn
3963d47385
fix shared linking against libtorrent_test
2015-08-08 18:13:43 -04:00
Dāvis
24b7fd48a6
Remove extra `\` in test/Makefile.am
2015-08-08 16:51:29 +03:00
arvidn
50925d7652
fix some more warnings
2015-08-08 02:48:01 -04:00
arvidn
46803b75f8
support building libtorrent in simulation mode (using libsimulator, which is a git submodule)
2015-08-07 21:31:59 -04:00
arvidn
fb34607313
fix crash when loading a resume file where all files have priority 0 (and the torrent finishes before having downloaded anything) and add unit test for this case
2015-08-05 20:13:58 -04:00
arvidn
8473696d62
fix typo in previos commit
2015-08-02 15:54:42 -04:00
arvidn
bb64887f30
merge total wanted fix from RC_1_0
2015-08-02 15:18:21 -04:00
arvidn
990aabe36f
fix warnings and no-deprecated functions build
2015-08-01 19:55:36 -04:00
arvidn
52b4aed466
merge bdecode patch from RC_1_0. an empty string now produces an error rather than an empty bdecoded struct
2015-07-30 21:29:22 -04:00
arvidn
53360a5d4d
add some slack to test_recheck
2015-07-28 19:18:15 -04:00
arvidn
580519fc19
disable irrelevant features in test_checking
2015-07-28 08:04:51 -04:00
arvidn
f34f09ca58
merge more lenient utf8 conversion from RC_1_0
2015-07-27 08:59:38 -07:00
arvidn
105c105867
merge seed mode test and fixes from RC_1_0
2015-07-27 00:01:19 -07:00
Arvid Norberg
742548b69c
Merge pull request #49 from ssiloti/plugin-exported-api
...
Only use exported types in the plugin api
2015-07-25 15:53:22 -07:00
Steven Siloti
e6b3df3696
pass torrent_handle by const ref in the plugin api
2015-07-25 09:57:55 -07:00
arvidn
40c7596da9
merge loading of piece priorities from resume data fix from RC_1_0
2015-07-24 22:34:53 -07:00
Steven Siloti
fbc67b4e21
switch to torrent_handle in plugin api
2015-07-23 19:52:23 -07:00
Arvid Norberg
a1b73317ce
Merge pull request #37 from jpetso/master
...
Progress towards a workable CMake build
2015-07-20 09:49:37 -07:00
Jakob Petsovits
991f0c2a45
Rename test_bdecode_performance to bdecode_benchmark, fix CMake issues.
...
It's not a test as such, since it's got its own main() that takes
arguments, doesn't return a result that can be directly compared
against expected results, and doesn't make use of the test_common
infrastructure.
The CMake build attempts to build all files named test_*.cpp with
test_common, whose main() and load_file() symbols clash with those
that the benchmark provides. Instead of making an exception, let's
rename it to something that doesn't start with "test_". Its usage
message even claims it's called bdecode_benchmark, so we use that.
Also, complete the file listing for test_common in CMake and use
an OBJECT pseudo-library there instead of STATIC. It's just as good
and jives better with having symbols provided by the executable.
(Follow-up patch in the works to provide Asio symbols that way.)
test_natpmp is a proper test but doesn't currently build,
so exclude it from the build for now.
2015-07-17 20:59:39 -04:00
Jakob Petsovits
79947dbd2a
Remove the last bits of TORRENT_DHT_VERBOSE_LOGGING.
2015-07-17 20:13:14 -04:00
Jakob Petsovits
2a22ecfcce
Remove unused mentions of non-existent class.
2015-07-17 20:13:14 -04:00
Jakob Petsovits
b0f06504fb
Avoid a clash of exported symbols, put them into anonymous namespaces.
2015-07-17 20:11:05 -04:00
arvidn
7a3cabfe12
fixed some resume issues, specifically around file priorities and override resume data
2015-07-16 21:56:06 -04:00
Jakob Petsovits
277917ec6a
Avoid more warnings when building tests.
2015-07-16 14:55:14 -04:00
Jakob Petsovits
cf9a009fb8
Avoid warnings when building tests.
2015-07-16 14:55:05 -04:00
arvidn
94e41538b6
fix SSL web-seed test
2015-07-16 00:44:03 -04:00
Mikhail Titov
bfb3602634
Test compact i2p response
2015-07-14 14:13:11 -05:00
Mikhail Titov
007a580207
Options to use lowercase base32 encoding without padding
2015-07-14 12:41:12 -05: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
arvidn
2739def57f
minor cleanups. use libtorrent typedefs for asio. failing to bind IPv6 UDP socket is no longer fatal. removed some redundant listen_failed_alerts
2015-07-11 23:01:27 -04:00
Chocobo1
e8a02b85b8
Remove duplicate
2015-07-11 15:45:18 +08:00
Arvid Norberg
bbe51268d3
Merge pull request #23 from Chocobo1/igd_version
...
Add support for IGD version 2
2015-07-10 19:20:51 -04:00
Chocobo1
329d797342
Add test case for igd_version
2015-07-09 20:11:24 +08:00
Chocobo1
70fa9098a8
Fix error when building test_file_progress, missed in e2784df
2015-07-09 20:11:23 +08:00
arvidn
82bb923096
fix python typo
2015-07-08 00:05:13 -04:00
arvidn
c5614b691f
export file_progress class when building unit tests. fix to web_server.py (used for unit tests)
2015-07-07 23:46:33 -04:00
arvidn
e2784df13c
factor out file progress tracking from the torrent class
2015-06-28 22:47:11 -04:00
arvidn
b4c3c40380
simplify settings in test_priority.cpp
2015-06-27 16:16:18 -04:00
arvidn
3b83c5418c
attempt to make starting proxy server for tests more reliable
2015-06-24 20:51:23 -04:00
arvidn
9fc4968dc4
attempt to make start_web_server more robust in the tests
2015-06-22 23:55:47 -04:00
arvidn
8528a74828
fix bug in test_http_connection
2015-06-21 23:06:08 -04:00
arvidn
08016494a9
split up test_http_connection into smaller test cases
2015-06-21 12:41:50 -04:00
arvidn
d704c00615
disable test_random.
2015-06-21 02:28:15 -04:00
arvidn
7d2deb01db
split up test_storage into smaller test cases to improve output on failures
2015-06-20 22:34:44 -04:00
arvidn
3755a77a64
attempt to trouble shoot missing backtraces on linux
2015-06-20 16:36:23 -04:00
arvidn
adc63d2b88
improve random entropy when picking port for web_server in test
2015-06-20 14:11:03 -04:00
arvidn
e5f68dafc9
split up test_ssl into smaller test cases to improve output on failure
2015-06-20 12:46:40 -04:00
arvidn
2321bfe5fa
fix shared linking of tests
2015-06-20 12:08:49 -04:00
arvidn
8cf9357aa8
move test main into test library to avoid redundant recompiling and hopefully speed up the testing a bit
2015-06-20 11:08:26 -04:00
arvidn
1450a692e4
fix test_identify_client build with deprecated functions turned off
2015-06-19 23:54:38 -04:00
arvidn
e4bc4fc115
improve reliability of test_tracker
2015-06-19 01:43:09 -04:00
arvidn
a500ff57be
improve logging of the choker and reliability of the test_auto_unchoke
2015-06-19 01:43:09 -04:00
arvidn
8959971dd3
merge http scrape fix from RC_1_0
2015-06-18 01:05:36 -04:00
arvidn
184a1aa422
split up the tests in test_pe_crypto into multiple test cases, to improve output on failure
2015-06-17 21:55:27 -04:00
arvidn
ab2d187001
attempt to make test_utp and swarm_suite more reliable
2015-06-17 19:36:26 -04:00
arvidn
0a67a2dd67
fix test_web_seed_chunked
2015-06-17 18:05:27 -04:00
arvidn
27c5da9a31
attempt to make test_tracker a bit more reliable
2015-06-17 01:34:26 -04:00
arvidn
f7de7abec0
separate some more test cases to improve test output
2015-06-17 00:50:58 -04:00
arvidn
8d408c4c86
add shortcut in async resolver for raw IPs.
2015-06-16 23:45:05 -04:00
arvidn
ee6847293f
attempt to make test_tracker more reliable by disabling unnecessary features
2015-06-16 01:31:06 -04:00
arvidn
c1913a97f3
attempt to make setup_transfer more reliable by waiting for torrents to transition to downloading state before connecting peers
2015-06-15 22:00:02 -04:00
arvidn
bd2bcf12bc
fix bug on write-only disk errors (it's not supposed to stop the torrent)
2015-06-15 02:27:09 -04:00
arvidn
3c74ab01a4
disable local peer discovery in test_privacy, to avoid finding random peers, polluting the test
2015-06-14 22:05:27 -04:00
arvidn
4224310c6f
disable tests of extensions when they are disabled by the build config
2015-06-14 21:19:27 -04:00
arvidn
e4e46241a8
fix reliability of swarm tests
2015-06-14 16:41:32 -04:00
arvidn
5cb095f6d2
support using 0 disk threads (to perform disk I/O in network thread)
2015-06-14 16:00:04 -04:00
arvidn
db76ba759d
improve some tests
2015-06-14 15:48:11 -04:00
arvidn
99c0542289
add option to not redirect output from tests
2015-06-13 18:52:17 -04:00
arvidn
cfb96f2a35
fix silly typo
2015-06-10 21:39:14 -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
0d6e65ec24
improve reliability of some of the unit tests
2015-06-10 01:22:01 -04:00
arvidn
6e68429117
split out test_upnp as its own test
2015-06-09 23:04:33 -04:00
arvidn
3f3b7d494c
disable some redundant features in tests to make them not interfere with the test itself
2015-06-07 17:54:08 -04:00
arvidn
72d3bc0b8e
split up test_fast_extension into multiple test cases
2015-06-07 15:31:34 -04:00
arvidn
025d1857c1
disable some more tests that aren't reliable yet
2015-06-07 09:29:42 -04:00
arvidn
d997181524
split up super seeding unit test
2015-06-07 09:27:23 -04:00
arvidn
ac04ee5ef3
fix typo in settings_pack
2015-06-07 09:23:04 -04:00
arvidn
9957c00def
disable test_priority for now
2015-06-06 14:59:04 -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
09a01a777a
simplified test_priority
2015-06-06 12:10:43 -04:00
arvidn
b5a477d7fd
split up some more tests into smaller test cases for easier diagnosing
2015-06-06 02:42:23 -04:00
arvidn
7d2708405b
split up test_privacy to more easily identify failures (and to suppress output from successfult tests)
2015-06-06 02:23:56 -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
arvidn
389ffc622c
don't pull in the asio namespace in libtorrent. refer to it by boost::asio
2015-06-06 01:24:25 -04:00
arvidn
48bc00cbb7
attempt to make unit tests more deterministic
2015-06-05 23:02:07 -04:00
arvidn
15dd15d0d6
fix no-deprecated build. extend .travis.yml to build the 3 test configurations too. rename README to README.rst
2015-06-05 02:31:52 -04:00
arvidn
393f98f9ee
fix gcc build of test_dos_blocker. update README and travis.yml
2015-06-04 21:58:02 -04:00
Arvid Norberg
5cc701df54
improve test_tracker
2015-06-03 02:37:59 +00:00
Arvid Norberg
d8c0632c78
add some bdecoding unit tests
2015-06-02 03:06:48 +00:00
Arvid Norberg
5d6cba438d
merged changes from RC_1_0
2015-06-02 01:14:52 +00:00
Arvid Norberg
e35d8d3933
fix unit test
2015-05-31 17:28:37 +00:00
Arvid Norberg
f6eb3e8c74
test names
2015-05-31 17:16:44 +00:00
Arvid Norberg
b0eabd532c
some test fixes
2015-05-31 16:14:46 +00:00
Arvid Norberg
c8443d0c7c
msvc fixes
2015-05-31 12:21:16 +00:00
Arvid Norberg
84849f3afd
some msvc fixes
2015-05-30 21:46:59 +00:00
Arvid Norberg
d9813ca56d
split up file unit tests into smaller pieces
2015-05-30 21:10:34 +00:00
Arvid Norberg
3073be4bbd
fix ip_voter test and try to narrow down flapping in test heterogeneous test
2015-05-30 18:42:04 +00:00
Arvid Norberg
2714e3d4ba
fix ip_voter unit test
2015-05-30 18:28:09 +00:00
Arvid Norberg
f9c9d0ad0d
merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile.
2015-05-30 04:31:23 +00:00
Arvid Norberg
e44c8e9002
optimize logging of DHT packets by deferring copying and printing, to only do it if the alert category is enabled
2015-05-28 20:36:22 +00:00
Arvid Norberg
647a6dba54
moved some tests to the correct place and factor out some tests from test_primitives.cpp in order to be able to track test coverage better
2015-05-27 21:27:41 +00:00
Arvid Norberg
027789b475
fix test_primitives build
2015-05-23 02:00:38 +00:00
Arvid Norberg
9856a1fe0c
break out more tests from test_primitives
2015-05-23 01:38:47 +00:00
Arvid Norberg
607e708bc4
fix warnings
2015-05-19 03:13:49 +00:00
Arvid Norberg
051ca6b22c
fix warnings
2015-05-18 05:32:18 +00:00
Arvid Norberg
9ee98b3ed1
fix build warnings
2015-05-18 05:04:55 +00:00
Arvid Norberg
71ee44ae5e
fix build issue, some warnings
2015-05-17 23:32:13 +00:00
Arvid Norberg
b480f40a98
fix linux build and update code coverage script
2015-05-17 21:00:47 +00:00
Arvid Norberg
be60dfc0a9
minor whitespace cleanup
2015-05-17 18:59:35 +00:00
Arvid Norberg
58ae099cf8
clean up disk_io_job a bit to avoid old-style casts
2015-05-16 20:41:37 +00:00
Arvid Norberg
99de70604a
remove dht-verbose logging build configuration. tie it to the main logging configuration (which now is on by default) and make it less costly when dht logging alerts are disabled
2015-05-16 19:29:49 +00:00
Arvid Norberg
12c9d3de26
fix more warnings
2015-05-16 18:35:47 +00:00
Arvid Norberg
6a87dc7d84
fix some warnings
2015-05-16 16:24:11 +00:00
Arvid Norberg
72e0e331a5
fix SSL build
2015-05-11 05:30:59 +00:00
Arvid Norberg
0029ac62a8
add unit test for extract_peer_info
2015-05-10 18:24:38 +00:00
Arvid Norberg
ca577796d3
fix test build
2015-05-10 05:25:31 +00:00
Arvid Norberg
0358badb82
remove test print
2015-05-10 05:12:24 +00:00
Arvid Norberg
ca581f2258
rename dht::node_impl -> dht::node, since this hasn't been a pimpl for quite a while
2015-05-09 19:00:22 +00:00
Arvid Norberg
6557910c7f
remove the DHT's last dependency on session_impl
2015-05-09 18:06:02 +00:00
Arvid Norberg
202b4921b6
merged changes from RC_1_0
2015-05-08 04:28:24 +00:00
Arvid Norberg
5dc00969f8
fix more warninigs
2015-05-06 02:13:03 +00:00
Arvid Norberg
4f216dece3
factor out strings of peer logs to be enums instead, in peer_log_alert
2015-05-03 02:53:54 +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
f7e4f83469
separate out session_stats into its own header. silences warning and cleans up
2015-04-25 02:12:02 +00:00
Arvid Norberg
3bf9fa8fca
move out merkle functions into their own file and test
2015-04-24 06:06:41 +00:00
Arvid Norberg
3ea67e2bf5
move time_now_string out to the unit test library (basically unused in libtorrent itself)
2015-04-24 03:48:08 +00:00
Arvid Norberg
f5629eb403
cleanup and fixing of more warnings
2015-04-21 00:23:00 +00:00
Arvid Norberg
60d1b8fa7c
fix gcc build
2015-04-18 21:21:22 +00:00
Arvid Norberg
1faf2e201f
inversed TORRENT_LOGGING build config to enable logging by default. It's now disabled by TORRENT_DISABLE_LOGGING
2015-04-17 01:15:33 +00:00
Arvid Norberg
a4d99188ba
test_peer_list extension
2015-04-16 23:11:37 +00:00
Arvid Norberg
8200f33925
fix gcc build issue in test_peer_list
2015-04-13 00:50:55 +00:00
Arvid Norberg
daacbbfbb4
extend test_peer_list
2015-04-12 22:29:41 +00:00
Arvid Norberg
208fbe8545
extend test_peer_list
2015-04-12 06:39:16 +00:00
Arvid Norberg
b148f21314
fix typo in test
2015-04-12 02:54:43 +00:00
Arvid Norberg
8e6efd7fea
fix
2015-04-12 00:39:07 +00:00
Arvid Norberg
55a9e98dd0
extend test_alert_manager and clean up test_fast_extension and extend a little bit
2015-04-12 00:14:07 +00:00
Arvid Norberg
6f839a6d66
extend some unit tests. primarily test_alert_manager and fixed a bug in alert_manager
2015-04-11 22:02:30 +00:00
Arvid Norberg
baaeac7809
extend some unit tests. primarily test_alert_manager and fixed a bug in alert_manager
2015-04-11 18:44:43 +00:00
Arvid Norberg
b3e061ca94
clean up of some test and fix warnings
2015-04-11 15:25:24 +00:00
Arvid Norberg
5838073691
fix bug in test_priority
2015-04-05 23:16:01 +00:00
Arvid Norberg
2a3a34bf8d
fix warnings in alert_manager and fix test_resolve_links for windows
2015-04-04 19:11:14 +00:00
Arvid Norberg
d019f3d4c3
fix linux python build and test_ssl build
2015-04-04 18:03:55 +00:00
Arvid Norberg
fb597ca4b3
symbols export fix and test_ssl fix
2015-04-04 13:31:33 +00:00
Arvid Norberg
721d93cb28
fix typos and msvc build issues
2015-04-04 04:50:20 +00:00
Arvid Norberg
013ed36f09
landed alert_queue feature branch into trunk
2015-04-03 20:15:48 +00:00
Arvid Norberg
663aa7b546
remove outdated todo comment
2015-03-28 21:42:37 +00:00
Arvid Norberg
837e709628
deprecate RSS API
2015-03-28 17:31:27 +00:00
Arvid Norberg
0aece517ce
fix some undefined behavior in tests. and fix test_file_storage
2015-03-22 05:31:55 +00:00
Arvid Norberg
9af3066b56
fix file collision logic in torrent_info
2015-03-21 16:55:23 +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
bbcfeeab8d
fix test_time unit test build
2015-03-15 23:54:00 +00:00
Arvid Norberg
33ada6a92d
fix test_time build
2015-03-15 20:47:48 +00:00
Arvid Norberg
8cd5853ceb
fix build
2015-03-15 18:04:45 +00:00
Arvid Norberg
badd763f86
make tests not use internal aux::time_now function
2015-03-15 15:22:01 +00:00
Arvid Norberg
74ca290fe6
attempt to fix build
2015-03-15 06:05:41 +00:00
Arvid Norberg
794de25212
moved escape_string.hpp into the aux_ directory. moved out the 3 public hex functions into its own public header, hex.hpp
2015-03-14 23:10:20 +00:00
Arvid Norberg
37225b71ae
const static -> static const (thanks gubatron). helps swigs parser
2015-03-14 00:42:27 +00:00
Arvid Norberg
65a9d76938
fix dht logging build
2015-03-13 05:53:22 +00:00
Arvid Norberg
881fa4dce6
remove sleep() from the libtorrent API
2015-03-13 05:52:48 +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
f001876700
fix old typo in test
2015-03-09 01:31:47 +00:00
Arvid Norberg
d49e97afb3
optimized loading and parsing torrents. Specifically detecting duplicate filenames (optimizing the common case of no collisions). Expanded unit test to uncover an unsupported case (not fixed yet). cutting down on memory allocation and copying when parsing torrent files in memory
2015-02-17 02:08:47 +00:00
Arvid Norberg
3d47a1fb81
extend file_storage unit test a bit
2015-02-16 21:53:23 +00:00
Arvid Norberg
5ea0db3145
extend piece_picker unit test and comment out unused function
2015-02-15 22:01:15 +00:00
Arvid Norberg
cb6d3cdd44
extend piece_picker unit test. extend http_parser unit test and fix resolve_redirect_location
2015-02-15 20:01:30 +00:00
Arvid Norberg
40980df545
extend storage unit test to cover iovec operations
2015-02-15 07:31:35 +00:00
Arvid Norberg
84fd07e226
extend piece_picker unit test
2015-02-15 02:17:57 +00:00
Arvid Norberg
d370ae0b9d
merge test_torrent_parse and test_torrent_info (they both exercised torrent_info)
2015-02-15 01:04:50 +00:00
Arvid Norberg
e15e5fd80a
expand unit tests
2015-02-14 06:14:15 +00:00
Arvid Norberg
8265779fa2
expand escape_string unit test
2015-02-13 03:14:04 +00:00
Arvid Norberg
99ad0530b7
expand xml parser unit test
2015-02-13 03:05:09 +00:00
Arvid Norberg
51f1a61d2d
more piece_picker unit tests and some fixes
2015-02-13 02:58:21 +00:00
Arvid Norberg
01ee9cd9af
more work on piece_picker unit test
2015-02-12 06:43:46 +00:00
Arvid Norberg
72d015c86a
extend piece_picker unit test
2015-02-12 03:16:53 +00:00
Arvid Norberg
84fe616ccb
extend piece picker unit test
2015-02-08 21:44:58 +00:00
Arvid Norberg
9fb98b1151
remove speed affinity feature in piece-picker and peers
2015-02-08 21:17:00 +00:00
Arvid Norberg
497f7a4a27
piece picker fix for random mode
2015-02-08 21:12:10 +00:00
Arvid Norberg
a8623a9b23
request partial pieces in rarest-first order
2015-02-08 18:01:29 +00:00
Arvid Norberg
1b9b6f7292
support http basic auth in http_connection passed in from the outside as opposed to part of the url
2015-02-08 16:03:09 +00:00
Arvid Norberg
46ef448711
fix issue with upload only while trying to download metadata. also added a unit test to catch it in the future
2015-02-07 01:01:48 +00:00
Arvid Norberg
fd20958e3d
polish unit tests
2015-01-27 22:18:13 +00:00
Arvid Norberg
097d5b484d
improve piece picker support for reverse picking (used for snubbed peers) to not cause priority inversion for regular peers
2015-01-26 02:04:58 +00:00
Arvid Norberg
bc9281a27c
deprecate file_entry (used by file_storage) and clean up the add_file overload that borrows memory (and improve implementation and documentation). The python bindings were updated to more closely match the c++ API (specifically actually using file_storage)
2015-01-21 15:46:12 +00:00
Arvid Norberg
479dd71de5
extend test_peer_list unit test
2015-01-21 02:58:32 +00:00
Arvid Norberg
3286437a7d
extend peer_list unit test and fix some bugs
2015-01-20 23:56:45 +00:00
Arvid Norberg
d8d069675c
improve piece picker to better support torrents with very large pieces and web seeds
2015-01-20 02:34:55 +00:00
Arvid Norberg
ba8b7d8854
try to make test_resume more reliable
2015-01-19 03:14:35 +00:00
Arvid Norberg
de616b29c5
fix c++98 support
2015-01-18 02:06:18 +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
3fbc0f05c6
add unit test for default_storage::rename
2015-01-16 04:02:44 +00:00
Arvid Norberg
7668bf5d4c
downgrade some todo comments
2015-01-15 19:13:45 +00:00
Arvid Norberg
81ab22d3d8
fix test_torrent_info on windows
2015-01-15 03:42:08 +00:00
Arvid Norberg
9bfbb8a52a
fix partfile on windows
2015-01-15 03:35:13 +00:00
Arvid Norberg
ce80e8c0c1
fix test_privacy build
2015-01-15 03:28:24 +00:00
Arvid Norberg
2943bd4d7d
make test_privacy more reliable
2015-01-14 01:59:23 +00:00
Arvid Norberg
d140d71e1a
extend logging of UDP tracker announces (to track down unit test flapping)
2015-01-13 21:34:43 +00:00
Arvid Norberg
b56b3613fe
some debug output in web_server.py
2015-01-11 07:45:06 +00:00
Arvid Norberg
790bdb3855
improve logging of http proxy for unit test
2015-01-09 14:13:19 +00:00
Arvid Norberg
7761cba38a
fix web_seed unit test
2015-01-09 14:02:48 +00:00
Arvid Norberg
2eab21b0ac
attempted fixes for windows unit tests
2015-01-09 00:41:19 +00:00
Arvid Norberg
e161bf080d
web_seed test debug logging
2015-01-08 22:54:11 +00:00
Arvid Norberg
1a53a454ec
fix ssl unit test
2015-01-06 08:16:03 +00:00
Arvid Norberg
0f37e3403c
transition from intrusive_ptr to shared_ptr. don't export initialize_default_settings
2015-01-06 08:08:49 +00:00
Arvid Norberg
c2e5df57b5
extend http_connection unit test to cover no keep-alive
2015-01-05 16:17:23 +00:00
Arvid Norberg
3be0430036
merged changes from RC_1_0
2015-01-05 12:15:16 +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
1218e328cd
SSL fixes (especially over uTP)
2015-01-04 01:04:56 +00:00
Arvid Norberg
80b5a61655
fix test_ssl build
2015-01-03 22:40:19 +00:00
Arvid Norberg
ed9b281ea4
fix some unit tests
2015-01-03 20:17:38 +00:00
Arvid Norberg
b897a6ce29
fix bug in settings_pack causing intermittent unit test failures. added unit test to cover the bug
2015-01-03 16:52:22 +00:00
Arvid Norberg
290260054d
fix http restart-piece bug whose fix apparently failed to merge from RC_1_0 a long time ago. Also improve logging of restart pieces
2015-01-03 13:09:09 +00:00
Arvid Norberg
764b09d6b5
make the peer fingerprint a regular setting and remove it from the main session constructor argument list
2014-12-31 15:51:45 +00:00
Arvid Norberg
0977d94dbc
merged changes from RC_1_0
2014-12-25 11:24:02 +00:00
Arvid Norberg
ca3c1620bd
merged changes from RC_1_0
2014-12-17 14:33:52 +00:00
Arvid Norberg
20b4608c38
optimize copying torrent_info and file_storage objects
2014-12-17 05:33:16 +00:00
Arvid Norberg
5666cdcd07
fix warnings
2014-12-09 09:33:34 +00:00
Arvid Norberg
09bc1550e9
simplify the debug logging mechanism. There's now only one build option, logging=on or logging=off. When logging is enabled, the log level is controlled by the alert mask. All log events are delivered as alerts and it's up to the client to write them to disk in whatever way seems appropriate. removed the pointless logger plugin
2014-12-09 09:08:26 +00:00
Arvid Norberg
1ed1963f29
remove size_type typedef in favor of boost::int64_t
2014-12-03 04:32:50 +00:00
Arvid Norberg
1e12b50b24
merge changes from RC_1_0
2014-11-30 00:30:30 +00:00
Arvid Norberg
8ec7cff993
merged changes from RC_1_0
2014-11-26 02:02:32 +00:00
Arvid Norberg
658e2ceefd
merged Steven Siloti's peer crypto patch into trunk
2014-11-23 06:14:47 +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
bfb0c4fe80
merged changes from RC_1_0
2014-11-12 16:57:59 +00:00
Arvid Norberg
2514e7a0e2
fix file_progress
2014-11-11 09:08:47 +00:00
Arvid Norberg
f7221e277f
add unit test for crc32c and fix cpuid warning
2014-11-10 02:05:46 +00:00
Arvid Norberg
e526355d24
merged changes from RC_1_0
2014-11-09 11:17:13 +00:00
Arvid Norberg
77363ad93e
fix file progress calculation bug (with unit test)
2014-11-08 18:36:54 +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
3742fd2699
merged changes from RC_1_0
2014-11-02 09:41:29 +00:00
Arvid Norberg
85cc72835e
finally rename policy to peer_list
2014-10-26 07:34:31 +00:00
Arvid Norberg
0bcbe433ed
deprecate most of cache_status type (use session stats instead)
2014-10-25 20:07:50 +00:00
Arvid Norberg
02a9ea18b7
deprecated auto_expand_choker. started factoring out choker logic into its own translation unit (preparing for making it unit testable)
2014-10-22 22:06:56 +00:00
Arvid Norberg
907dc9dddd
merged changes from RC_1_0
2014-10-22 07:05:10 +00:00
Arvid Norberg
14c9bd90d3
fix bug in setup_transfer (for unit tests). fix verbose logging build. make sure test_pex is reliable
2014-10-21 02:08:46 +00:00
Arvid Norberg
9b37efe6a8
first steps towards removing session_impl dependency from tracker connections, to improve their testability
2014-10-21 00:28:51 +00:00
Arvid Norberg
22f054e2ff
fix test_checking
2014-10-20 16:52:28 +00:00
Arvid Norberg
f6b3d43565
fix checking unit test
2014-10-20 03:44:18 +00:00
Arvid Norberg
fce967b5fb
merged changes from RC_1_0 to change email address from @rasterbar.com to @libtorrent.org
2014-10-14 02:06:20 +00:00
Arvid Norberg
32d368e1ce
merged changes from RC_1_0
2014-10-12 18:16:46 +00:00
Arvid Norberg
939411488e
split time_critical and super_seeding tests out of test_swarm
2014-10-12 08:39:14 +00:00
Arvid Norberg
ec472daee3
fix bug in peer_connection causing it to not connect when not having metadata
2014-10-12 06:29:34 +00:00
Arvid Norberg
2fb15597ee
make test_metadata_extension test uTP vs. TCP as well, and polish output
2014-10-12 05:05:41 +00:00
Arvid Norberg
a91848962a
merge changes from RC_1_0
2014-10-12 04:18:34 +00:00
Arvid Norberg
e5ec81fb71
merged ssl test keys from RC_1_0
2014-10-08 04:16:56 +00:00
Arvid Norberg
a655047cb0
support SSL over uTP (unit test is still failing with same errors as previously, this has not been fixed yet)
2014-10-06 03:03:01 +00:00
Arvid Norberg
ceccc2a483
land branch to remove half-open connection limit / connection queue
2014-10-03 20:56:57 +00:00
Arvid Norberg
ba75b44c29
merged fix from RC_1_0
2014-09-29 08:30:11 +00:00
Arvid Norberg
f8272b90ae
merged changes from RC_1_0
2014-09-29 07:06:18 +00:00
Arvid Norberg
2d438e0758
factor out parse_tracker_response and add unit tests. make gen_todo cover tests also, and regenerate todo.html
2014-09-29 06:10:22 +00:00
Arvid Norberg
b707ea008b
merged unit test from RC_1_0
2014-09-21 20:19:37 +00:00
Arvid Norberg
7e69239991
merged unit test from RC_1_0
2014-09-17 02:10:48 +00:00
Arvid Norberg
eb32b1fef1
merged changes from RC_1_0
2014-09-12 22:38:07 +00:00
Arvid Norberg
252e08a889
merged fixes from RC_1_0
2014-09-04 08:55:24 +00:00
Arvid Norberg
bed6d5c233
fix test builds without deprecated functions
2014-09-03 03:17:47 +00:00
Arvid Norberg
e2abfa8ab4
test build fix
2014-09-02 09:22:01 +00:00
Arvid Norberg
a44900e5db
merged changes from RC_1_0
2014-09-02 08:03:01 +00:00
Arvid Norberg
649d7646fb
test build fix. another boost.chrono overflow issue fixed
2014-09-02 08:01:09 +00:00
Arvid Norberg
4d57456199
merged changes from RC_1_0
2014-09-02 06:28:27 +00:00
Arvid Norberg
19f3de10dd
merged changes from RC_1_0
2014-09-01 08:59:12 +00:00
Arvid Norberg
48e4cf9478
merged changes from RC_1_0
2014-08-28 07:11:34 +00:00
Arvid Norberg
48ea42c990
merged changes from RC_1_0
2014-08-27 05:57:37 +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
3f88389f05
merged changes from RC_1_0
2014-08-16 07:46:06 +00:00
Arvid Norberg
c60ceacb71
switch over to use boost.atomic instead of home-built one
2014-08-01 07:32:54 +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
c4b2682599
improve robustness of test_privacy and error messages of test_fast_extension
2014-08-01 05:44:48 +00:00
Arvid Norberg
fb23601898
merge bitfield fix from RC_1_0 (although, fix doesn't apply)
2014-07-28 04:41:40 +00:00
Arvid Norberg
79a2744fa8
fixed issue with queued resume data saving, and fixed regression in recent disk error check changes
2014-07-21 03:03:59 +00:00
Arvid Norberg
8552e75f21
merge error code fix from RC_1_0
2014-07-20 20:49:56 +00:00
Arvid Norberg
30d561d0c5
merged random_seed assert into trunk
2014-07-19 02:17:19 +00:00
Arvid Norberg
24b9101075
merged changes from RC_1_0
2014-07-12 06:20:16 +00:00
Arvid Norberg
34440224fc
merged web seed redirect fix from RC_1_0
2014-07-09 20:53:39 +00:00
Arvid Norberg
a6f345181f
fixed some unused argument warnings
2014-07-07 06:28:48 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +00:00
Arvid Norberg
53401b92cd
fix makefile issue
2014-07-02 09:20:57 +00:00
Arvid Norberg
b0f91b8ed5
fix openssl usage in unit tests makefile
2014-07-02 08:41:52 +00:00
Arvid Norberg
fa4c016d39
fix bug in udp_socket when changing socks5 proxy quickly
2014-06-30 08:41:33 +00:00
Arvid Norberg
91a22d48c3
fix bugs in convert_to/from_native() on windows
2014-06-25 17:43:25 +00:00
Arvid Norberg
46e9d1048a
minor tweak to makefile build system (blindly)
2014-06-19 03:32:53 +00:00
Arvid Norberg
b79dd1fee1
fix issue with symlink attributes
2014-06-18 06:20:12 +00:00
Arvid Norberg
2b7bef0f7b
fix support for web servers not supporting keepalive
2014-06-15 18:02:59 +00:00
Arvid Norberg
330d46a4c6
makefile fixes (and add missing upnp.xml file)
2014-05-11 03:14:53 +00:00
Arvid Norberg
e225259481
fix some msvc warnings
2014-05-10 03:23:05 +00:00
Arvid Norberg
68b2679a16
move string_tokenize out of i2p_stream and add unit test for it
2014-05-04 22:40:30 +00:00
Arvid Norberg
f015c0604a
fix build and socket_io test
2014-05-04 08:20:31 +00:00
Arvid Norberg
555efd9279
factor out address/endpoint I/O into it's own unit test. merge write_string from bencode and socket_io. extend unit test
2014-05-04 06:46:47 +00:00
Arvid Norberg
863a046e68
don't include deprecated functions in test coverage
2014-05-04 00:44:30 +00:00
Arvid Norberg
63942545a8
extend identify_client test
2014-05-03 22:16:56 +00:00
Arvid Norberg
253e827c28
extend utf8 unit test
2014-05-03 21:00:59 +00:00
Arvid Norberg
42ac467777
tweak chained buffer test
2014-05-03 16:51:07 +00:00
Arvid Norberg
ff8be0fc45
extend ignore patterns for windows test coverage
2014-05-03 06:27:21 +00:00
Arvid Norberg
0df8a95978
extend xml parser unit tests
2014-05-03 06:26:39 +00:00
Arvid Norberg
71561087fd
fixes for test_utf8 and test_gzip
2014-05-03 05:17:50 +00:00