arvidn
e3ba811ae4
improve name of m_timer in dht_tracker
2016-01-01 16:42:44 -05:00
arvidn
01e6b93854
simplify and improve unit test for distance_exp. make some immutable variables const in the DHT implementation. instead of waking up periodically just to check if it's time to refresh the DHT secret key, set the timer to only wake up to refresh the key. If we don't have a DHT observer (to ask for our external IP) or if we don't know our external IP, don't generate a node ID based on 0.0.0.0, just generate a random ID instead. Simplified and improved node replacement logic in the routing table a little bit
2016-01-01 16:42:37 -05:00
arvidn
fb8d40a50c
update libsimulator to fix msvc build
2015-12-31 21:31:15 -05:00
Arvid Norberg
ffb78f0378
Merge pull request #312 from ssiloti/export-verify-message
...
export verify_message and incoming_error
2015-12-30 22:51:38 -05:00
Steven Siloti
30076218f8
entry is a class not a struct
2015-12-30 17:25:00 -08:00
Steven Siloti
ac01ccc43a
add templated wrapper around verify_message
...
It was too easy to forget to update the ret and size parameters
when the size of desec changed. With this change we now automatically
get the size of desc and enforce that ret has the same size.
It would be nice if we could use bdecode_node ret[static Size] from C99
but that is not widely supported.
2015-12-29 20:35:36 -08:00
Arvid Norberg
b7ac7b6270
Merge pull request #347 from arvidn/fix-docs
...
fix docs makefile to build html by default.
2015-12-28 22:57:18 -05:00
arvidn
a3526b4660
fix docs makefile to build html by default. fix the reference doc generator to strip TORRENT_FINAL macro
2015-12-28 19:50:02 -05:00
arvidn
448951af9c
update libsimulator submodule
2015-12-28 19:48:58 -05:00
arvidn
1698dc75dc
remove redundant boost::bind
2015-12-25 15:59:50 -05:00
Arvid Norberg
d725844547
Merge pull request #345 from paulkernfeld/fix-python-example
...
Fix small bug in Python example code
2015-12-25 15:42:23 -05:00
Paul Kernfeld
d0ff29bcfb
Fix small bug in Python example code
...
A few dictionary keys needed to be quoted
2015-12-25 21:35:23 +01:00
arvidn
fb9d788bf9
update libsimulator submodule
2015-12-23 23:04:09 -05:00
arvidn
9fd8b1d7c3
update libsimulator submodule
2015-12-23 21:52:11 -05:00
Arvid Norberg
d4ba200365
Merge pull request #343 from arvidn/http-proxy-test
...
transition http proxy test for http_connection to the sim
2015-12-22 08:38:25 -05:00
arvidn
63c3ff61e2
update submodule
2015-12-22 01:26:49 -05:00
arvidn
197ca4e06d
transition http proxy test for http_connection to the sim
2015-12-22 00:45:16 -05:00
Arvid Norberg
0647c396a5
Merge pull request #237 from arvidn/travis-docs
...
make travis build documentation
2015-12-20 12:43:42 -05:00
arvidn
8f7f7420f2
we don't use ditaa anymore
2015-12-20 12:41:22 -05:00
arvidn
4590d2c13c
remove out-dated python script
2015-12-20 12:39:30 -05:00
arvidn
b49a207d2a
only print rst2html version when building documentation
2015-12-20 11:38:55 -05:00
arvidn
17e54422f2
don't build figures either. attempt to make documentation failures properly reported on travis
2015-12-20 02:26:07 -05:00
Arvid Norberg
03e90d45d8
Merge pull request #339 from arvidn/dht-storage-test
...
extend the unit test of dht_storage
2015-12-20 02:02:56 -05:00
arvidn
1a6792609d
fix issue in gen_stats_doc.py and make travis only generate the .rst files since docutils is too old
2015-12-20 02:02:09 -05:00
arvidn
673613a160
print docutils version
2015-12-20 01:55:12 -05:00
arvidn
f0921a58e3
pygments is needed for building docs
2015-12-20 01:55:12 -05:00
arvidn
4b5d64a065
only build docs on linux and make sure docutils is installed
2015-12-20 01:55:12 -05:00
arvidn
41475a7f75
test building the documentation on travis as well
2015-12-20 01:55:11 -05:00
Arvid Norberg
21b004b1e7
Merge pull request #341 from arvidn/codecov-patch
...
post test coverage results sooner
2015-12-19 23:07:11 -05:00
arvidn
2306d5609b
make codecov link use list view
2015-12-19 23:06:00 -05:00
arvidn
626baade75
fix dht_storage bug
2015-12-19 22:06:25 -05:00
arvidn
a34f35d0ba
post test coverage results sooner
2015-12-19 20:27:57 -05:00
Arvid Norberg
5ec3f3eb08
Merge pull request #340 from arvidn/sanitize-path-test
...
extend testing of sanitize_append_path_element
2015-12-19 20:24:07 -05:00
arvidn
3460f203f3
extend testing of sanitize_append_path_element
2015-12-19 20:11:22 -05:00
arvidn
d7b435ec25
speed up test
2015-12-19 14:59:37 -05:00
arvidn
28749466a2
fix build
2015-12-19 02:40:10 -05:00
arvidn
15ec839d33
extend the unit test of dht_storage
2015-12-19 02:09:06 -05:00
Arvid Norberg
5c44bf1b36
Merge pull request #338 from arvidn/win-getfileattributes
...
GetFileAttributesEx fix
2015-12-19 00:12:38 -05:00
arvidn
e9b98c7d2e
GetFileAttributesEx fix
2015-12-19 00:12:11 -05:00
arvidn
99091a67d4
fix submodule
2015-12-19 00:11:04 -05:00
Arvid Norberg
f0e9c8c44a
Merge pull request #337 from arvidn/magnet-delete-forward-port
...
forward port fix for deleting files of magnet link to master
2015-12-19 00:09:50 -05:00
arvidn
1f3f06a836
forward port fix for deleting files of magnet link to master
2015-12-18 18:33:31 -05:00
Arvid Norberg
31caa946f2
Merge pull request #333 from arvidn/test-codecov
...
test codecov
2015-12-17 07:56:53 -05:00
arvidn
49b5a0d7d9
add support for codecov.io
2015-12-17 00:51:35 -05:00
Arvid Norberg
0b04cb4ee0
Merge pull request #330 from arvidn/deprecate-resolve-countries
...
deprecate resolve-countries
2015-12-14 21:32:56 -05:00
arvidn
645b121df6
deprecate resolve-countries
2015-12-14 21:32:30 -05:00
Arvid Norberg
87dcd690d8
Merge pull request #327 from arvidn/stop-when-ready-fix
...
polish the stop-when-ready flag and improve documentation
2015-12-14 00:42:57 -05:00
Arvid Norberg
3516e53fa2
Merge pull request #329 from arvidn/warnings-fix
...
mark up some override functions and fix other clang warnings
2015-12-13 22:12:52 -05:00
arvidn
1712a8e4b4
polish the stop-when-ready flag and improve documentation
2015-12-13 20:31:28 -05:00
Arvid Norberg
e0959605b9
Merge pull request #328 from arvidn/deprecate-tracker-login
...
deprecate set_tracker_login
2015-12-13 20:29:50 -05:00