Commit Graph

7982 Commits

Author SHA1 Message Date
arvidn 6012306557 add more asserts for the size of the bitfields peers send 2015-08-27 21:48:52 -04:00
arvidn cc29a99c90 (merge commit from Andrew Starr-Bochicchio <asb@debian.org>) Running setup.py without LDFLAGS or explicitly passing includes will attempt to use bjam. This causes "python setup.py clean -a" to fail when building the package. 2015-08-27 06:52:13 -04:00
Arvid Norberg bd5793807c Merge pull request #115 from aldenml/siocgifmtu-definition
The constant siocgifmtu is used in the context of all these macros.
2015-08-26 18:07:27 -04:00
Arvid Norberg d2e2703680 Merge pull request #113 from thomas-yuan/dht_direct
Remove unnecessary selection statements.
2015-08-26 18:00:42 -04:00
Alden Torres 88b1063f13 The constant siocgifmtu is used in the context of all these macros. 2015-08-26 17:46:54 -04:00
Thomas Yuan b26d08c66a Remove unnecessary selection statements. 2015-08-26 11:26:21 -04:00
arvidn d1768b9c4c extend settings_pack unit test 2015-08-24 18:48:43 +02:00
arvidn 666b6dc788 split out some more tests from test_primitives 2015-08-24 17:40:29 +02:00
Steven Siloti 4b702701b2 exclude obsolete compatibility code on msvc-14 and later 2015-08-24 07:28:16 +02:00
arvidn 82a3683f7d polish removal of web seeds logic 2015-08-23 11:01:55 +02:00
arvidn be2b1d3991 split the dht test into a few parts (still need more splitting) 2015-08-23 09:23:51 +02:00
Arvid Norberg c5c590d256 Merge pull request #109 from aldenml/remove-double-call-extract_node_id
Removed unnecessary call to node_id copy constructor.
2015-08-23 00:17:49 +02:00
Alden Torres 5be9dfb6db Removed unnecessary call to node_id copy constructor. 2015-08-22 16:01:53 -04:00
arvidn e7b8b6da49 forward port DHT routing table fix from RC_1_0 2015-08-22 15:51:28 +02:00
Arvid Norberg 746cd4c1a6 Merge pull request #96 from thomas-yuan/master
Parsing message correctly when message type is error.
2015-08-22 10:42:01 +02:00
Arvid Norberg 715ed1b11d Merge pull request #101 from arvidn/remove-utp-nic-mtu
remove functionality to initiate MTU based on the MTU on the nic
2015-08-22 10:40:17 +02:00
arvidn 7f24fb41ef fix test_metadata_extension 2015-08-22 08:09:09 +02:00
arvidn d43af6e3b7 remove functionality to initiate MTU based on the MTU on the nic (this is error prone and has questionable value) 2015-08-22 08:09:09 +02:00
arvidn 3018546b37 fix warning 2015-08-22 01:22:04 +02:00
arvidn a42f9e0c63 fix more warnings 2015-08-22 00:28:12 +02:00
arvidn 42fdd0f896 fix some more warnings 2015-08-21 22:56:57 +02:00
arvidn 4873004df7 warnings as errors 2015-08-21 14:52:07 +02:00
arvidn d8065b8941 fix some warnings 2015-08-21 14:03:16 +02:00
arvidn 26b721973f fix typo 2015-08-21 10:43:14 +02:00
arvidn b7b0dafcca fix some warnings 2015-08-21 10:05:51 +02:00
arvidn 589888fd9f specify c99 or c11 for C files 2015-08-21 10:01:01 +02:00
arvidn 466c8c59a0 actually enable warnings on travis and fix command line warnings 2015-08-21 00:26:11 +02:00
arvidn 5bad1f82c1 enable warnings on travis 2015-08-20 22:28:46 +02:00
arvidn 904da120d7 fixed some warnings 2015-08-20 22:28:00 +02:00
arvidn b8ddec1c37 appveyor, disable 64 bit builds for now (need to fix openssl linking) 2015-08-20 22:20:38 +02:00
arvidn 7d2d9dd9c1 don't destruct sessions in global destructors 2015-08-20 22:11:04 +02:00
arvidn fa450b4bf7 attempt to fix invalid vector subscript bug in piece_picker 2015-08-20 21:37:22 +02:00
Arvid Norberg ef47b5f33f Merge pull request #105 from aldenml/torrent-alert-constructor
Recoded torrent_alert constructor logic to build the name.
2015-08-20 21:36:30 +02:00
arvidn 40a67ecbc8 fix unknown pragma warning on msvc 2015-08-20 21:14:39 +02:00
arvidn 206e4b7c71 attempt to fix msvc 64 bit build 2015-08-20 20:56:52 +02:00
Alden Torres 203605bd3a Recoded torrent_alert constructor logic to build the name.
Fixed compilation issue in Mac OS X.
2015-08-20 13:57:03 -04:00
arvidn 9ce1d64839 build 64 bit versions on appveyor as well 2015-08-20 10:53:56 +02:00
Arvid Norberg fa5b8b7140 Merge pull request #99 from arvidn/appveyor-upgrade
appveyor upgrade
2015-08-20 09:33:56 +02:00
Arvid Norberg e59db1758b Merge pull request #100 from arvidn/travis-update
build fewer combinations but include c++98 as one test
2015-08-20 09:32:53 +02:00
Thomas dbfc2fd5ea Parsing message correctly when message type is error.
Also, an error response should call reply() of observer, instead of timeout().

Reference: http://www.libtorrent.org/dht_store.html#errors
2015-08-19 22:20:48 -04:00
arvidn 0de5cf8adc attempt to fix windows build 2015-08-20 02:22:03 +02:00
arvidn 7cdc5a25ba attempt to use newer visual studio version (and older) 2015-08-20 02:22:03 +02:00
arvidn f39755a863 remove c++14-compat option 2015-08-20 02:14:56 +02:00
arvidn 0ce2227727 build fewer combinations but include c++98 as one test 2015-08-20 02:10:14 +02:00
arvidn 8cf8e65861 turn linked_list into a template to improve type safety and remove some casts 2015-08-20 02:02:46 +02:00
arvidn ffa870d280 fixed some GCC warnings 2015-08-20 01:33:20 +02:00
arvidn 91a08606cf attempt tp get submodules to work on travis again 2015-08-19 21:38:41 +02:00
arvidn bd177a857f make tailequeue a template, introduce type safety, remove old-style casts 2015-08-19 15:22:05 +02:00
arvidn a3608a39fe fix some warnings 2015-08-19 02:00:46 +02:00
Arvid Norberg 6bcac425f1 Merge pull request #95 from arvidn/postpone_dht_start
DHT router name lookups
2015-08-19 01:44:26 +02:00