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 |
Arvid Norberg
|
d43f7b56a2
|
update copyright year
|
2015-06-03 05:18:48 +00:00 |
Arvid Norberg
|
b5a30a65ae
|
merged changes from RC_1_0
|
2015-06-03 05:12:54 +00:00 |
Arvid Norberg
|
4e1e53f066
|
turn some more members of session_impl to private
|
2015-06-03 04:33:20 +00:00 |
Arvid Norberg
|
0351326add
|
separate the main thread and the io_service from session_impl. The io_service object is now simply run() in the main thread, all initialization is done by posting messages to it. This generalizes session_impl to some degree, enables future expansion to run in multiple threads (although, the peers and torrents don't support this). This patch also makes it possible to pass in a third party io_service to the session, but at this point that's mostly useful for tests, as it's not well supported
|
2015-06-03 03:04:44 +00:00 |
Arvid Norberg
|
d8c0632c78
|
add some bdecoding unit tests
|
2015-06-02 03:06:48 +00:00 |
Arvid Norberg
|
d9945f6f50
|
merged fix from RC_1_0
|
2015-06-02 01:29:05 +00:00 |
Arvid Norberg
|
5d6cba438d
|
merged changes from RC_1_0
|
2015-06-02 01:14:52 +00:00 |
Arvid Norberg
|
b0eabd532c
|
some test fixes
|
2015-05-31 16:14:46 +00:00 |
Arvid Norberg
|
91197005e9
|
more msvc fixes
|
2015-05-31 09:02:42 +00:00 |
Arvid Norberg
|
34f6b1ca19
|
merged RC_1_0 into trunk
|
2015-05-30 17:41:38 +00:00 |
Arvid Norberg
|
0aca01543b
|
simplify dht logging
|
2015-05-30 06:31:03 +00:00 |
Arvid Norberg
|
945eef4c4d
|
some dht_tracker clean up
|
2015-05-30 04:37:12 +00:00 |
Arvid Norberg
|
9b0313bd8e
|
hold settings_pack by shared_ptr when passing it across thread boundaries. don't allocate it on the heap redundantly
|
2015-05-29 05:27:53 +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
|
27cbfa164e
|
minor cleanup
|
2015-05-28 14:46:12 +00:00 |
Arvid Norberg
|
7f5aff9823
|
don't trigger recalculating auto-managed unconditionally when adding a new torrent, only in the case where it will most likely be started right away
|
2015-05-27 20:21:50 +00:00 |
Arvid Norberg
|
06bf225237
|
fix release build and tune want_tick
|
2015-05-26 20:09:19 +00:00 |
Arvid Norberg
|
09bc072c31
|
inactive/auto managed fixes. fix client_test key input
|
2015-05-26 18:39:49 +00:00 |
Arvid Norberg
|
c6f8dd408a
|
optimize recalculate auto-managed
|
2015-05-25 21:46:42 +00:00 |
Arvid Norberg
|
9856a1fe0c
|
break out more tests from test_primitives
|
2015-05-23 01:38:47 +00:00 |
Arvid Norberg
|
0052fa6c19
|
some cleanup to dht observers (don't expose internals)
|
2015-05-22 02:42:26 +00:00 |
Arvid Norberg
|
0de44067aa
|
fix warnings
|
2015-05-19 04:59:31 +00:00 |
Arvid Norberg
|
607e708bc4
|
fix warnings
|
2015-05-19 03:13:49 +00:00 |
Arvid Norberg
|
d18495eb39
|
support a NULL dht_observer again
|
2015-05-19 00:48:04 +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
|
e7d369646d
|
fix gcc warnings
|
2015-05-18 01:30:32 +00:00 |
Arvid Norberg
|
71ee44ae5e
|
fix build issue, some warnings
|
2015-05-17 23:32:13 +00:00 |
Arvid Norberg
|
88fe6eba9c
|
fix issues introduced in dht logging patch
|
2015-05-17 20:59:18 +00:00 |
Arvid Norberg
|
be60dfc0a9
|
minor whitespace cleanup
|
2015-05-17 18:59:35 +00:00 |
Arvid Norberg
|
9597dcda87
|
throw when packet_buffer fails to allocate memory
|
2015-05-17 15:23:39 +00:00 |
Arvid Norberg
|
c871610408
|
fix bug in DHT logging. clean up some whitespace
|
2015-05-17 02:00:43 +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
|
2bf4519bee
|
make the torrent hold a pointer to the ip_filter instead of relying on a session reference
|
2015-05-16 06:33:37 +00:00 |
Arvid Norberg
|
e7f9f35556
|
fix mistake in download_queue_time
|
2015-05-13 00:02:01 +00:00 |
Arvid Norberg
|
5e07ff857e
|
remove residual geoip cruft
|
2015-05-11 00:49:34 +00:00 |
Arvid Norberg
|
b418aeb466
|
merged fixes from RC_1_0
|
2015-05-10 23:00:23 +00:00 |
Arvid Norberg
|
494b425ea1
|
fix warnings and a peer logging bug
|
2015-05-10 18:38:10 +00:00 |
Arvid Norberg
|
0029ac62a8
|
add unit test for extract_peer_info
|
2015-05-10 18:24:38 +00:00 |
Arvid Norberg
|
242dad0743
|
fix dht build
|
2015-05-10 18:24:09 +00:00 |
Arvid Norberg
|
2819d5f68e
|
remove the remains of the dht logging
|
2015-05-10 05:28:50 +00:00 |
Arvid Norberg
|
1357fd5265
|
clean up usage of printf attribute (encapsulate it in a macro)
|
2015-05-10 05:11:51 +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
|
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
|
b4a6a14dfb
|
clean up utf8 conversion wrapper a bit, to not rely on dead-code elimination in constant conditions
|
2015-05-09 13:58:32 +00:00 |