Commit Graph

8207 Commits

Author SHA1 Message Date
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
arvidn 8bc4bf1e1a remove incorrect check for m_dht 2015-08-19 01:43:44 +02:00
arvidn 5c8fc818c1 fix more warnings 2015-08-19 01:39:01 +02:00
arvidn 347d976a70 since starting the DHT can be delayed now, also cache dht nodes added while waiting 2015-08-18 23:35:27 +02:00
arvidn cc4368b45a attempt to postpone DHT until all outstanding dht router name lookups complete 2015-08-18 22:56:00 +02:00
Arvid Norberg 3aa63d3f27 Merge pull request #97 from arvidn/fix-msvc-build
attempt to fix msvc build
2015-08-18 22:41:43 +02:00
arvidn a3c4a0a3e6 attempt to fix msvc build 2015-08-18 21:40:22 +02:00
arvidn 26fecaf037 fix more warnings 2015-08-18 16:42:03 +02:00
arvidn 12da02ae52 fix some warnings 2015-08-18 09:33:00 -04:00
arvidn 8d8c049d9e fix warnings and invalid defines in disk_io_thread.cpp 2015-08-18 07:55:50 -04:00
arvidn f6b86dc4b5 add typesafety to piece_picker torrent_peer pointers. and fix a few incorrect uses 2015-08-18 04:25:13 -04:00
arvidn 9b650bc30b Merge branch 'master' of https://github.com/arvidn/libtorrent 2015-08-17 09:09:04 -04:00
arvidn d14e8a3487 update libsimulator 2015-08-17 09:08:41 -04:00
Arvid Norberg 7627607af0 Merge pull request #86 from ssiloti/test-direct-dht
add test for direct DHT requests
2015-08-17 09:02:51 -04:00
arvidn e480fd121d revert the address sanitizer build (failed python bindings) 2015-08-17 09:02:40 -04:00
arvidn eecdd3121d fix some build warnings 2015-08-17 09:01:43 -04:00
arvidn 2e5a85056b fix uninitialized variable in test_dht (would cause stall) 2015-08-16 20:45:54 -04:00
arvidn b1a3a36eae remove some old leftover code from upnp 2015-08-16 12:21:39 -04:00
arvidn 9a0092c120 fix some warnings 2015-08-16 12:17:23 -04:00
Steven Siloti 8ae5a29492 don't try to test direct DHT when extensions are disabled
Also make some changes to improve the robustness of port binding
2015-08-15 16:47:43 -07:00
Steven Siloti efbf3bd361 add test for direct DHT requests 2015-08-15 14:37:06 -07:00
arvidn 506d515151 disable dht simulation for now 2015-08-14 08:15:52 -04:00
arvidn b5fdc74c91 another attempt to fix .travis.yml 2015-08-14 00:52:49 -04:00
arvidn ee260508be attempted fix to .travis.yml 2015-08-14 00:00:37 -04:00
arvidn 6b555ea142 enable address sanitizer in debug builds on travis 2015-08-13 23:55:51 -04:00
arvidn 16bb2de6ed fix some warnings 2015-08-13 23:52:25 -04:00