Arvid Norberg
5f5aa2361e
use array_view more along the udp packet paths ( #655 )
2016-04-28 08:20:10 -04:00
Steven Siloti
5576a01066
Fix IPv6 DHT entry in changelog ( #654 )
...
I forgot to update this when I rebased the dht-ipv6 branch.
2016-04-27 23:29:31 -04:00
Alden Torres
99e5db1925
Missing <map> include in add_torrent_params.hpp ( #653 )
2016-04-27 12:27:52 -04:00
Arvid Norberg
c557432431
attempt to run cppcheck on travis ( #644 )
...
run cppcheck on travis
2016-04-26 18:09:11 -04:00
Arvid Norberg
3c785b96fc
Merge pull request #268 from ssiloti/dht-ipv6
...
Support DHT over IPv6
2016-04-25 19:19:48 -04:00
Andrei Kurushin
62eb956c54
fix x64 build with VS2015 UP2 compiler ( #640 )
...
fix VS2015 compiler warnings for: address-model=64, deprecated-functions=on, link=shared
2016-04-25 17:22:09 -04:00
Arvid Norberg
bbf411800a
remove pre-C++11 threadsafe static emulation ( #641 )
2016-04-25 08:38:48 -04:00
Steven Siloti
2d9a6b76f1
use asio::protcol instead of an enum/bool
2016-04-24 15:18:47 -07:00
Steven Siloti
d3ecc4c906
reduce the number of peers in a get_peers response with IPv6
...
Since IPv6 addresses are bigger we need to compensate to avoid generating
packets larger than 1500 bytes.
2016-04-24 14:26:57 -07:00
Steven Siloti
43be11177b
Add dual stack DHT node simulation tests
2016-04-24 14:26:57 -07:00
Steven Siloti
2abd9867ce
IPv6 DHT support
...
Fixes #110
2016-04-24 14:26:57 -07:00
Steven Siloti
356d2506bd
extend dht_observer to support IPv6 external addresses
2016-04-24 14:26:57 -07:00
Steven Siloti
11fa4f3e47
support IPv6 in node_entry and m_ips
2016-04-24 14:26:57 -07:00
arvidn
b5ecfa4f91
fix merge issues
2016-04-24 16:43:45 -04:00
arvidn
dec093dc1a
Merge branch 'RC_1_1'
2016-04-24 15:41:28 -04:00
arvidn
c1bb5c37fd
update changelog and update contributing document
2016-04-24 15:33:14 -04:00
Arvid Norberg
7251575d98
This patch does: ( #633 )
...
1. simplifies and regularizies creation of listen sockets based on the listen
interfaces setting.
2. simplifies and improves the behavior of UDP sockets, which are now explicitly
opened per listen interface
3. transitions udp tracker, DHT and uTP socket manager over to using the new
udp sockets
4. greatly simplified udp_socket to only wrap a single underlying socket (as
opposed to one IPv4 and IPv6 socket)
5. improved behavior of bind-to-device
6. introduce an array_view type to make udp packet passing code simpler
7. simplify and make setting of DF flag more robust
8. simplify and regularize port mapping of listen sockets
2016-04-24 15:26:28 -04:00
Arvid Norberg
97bdb4ba25
don't support c++98 anymore. build bt-get and bt-get2 by default (which require C++11). simplify address-model configuration in appveyor script. enable msvc-14 builds. use boost 1.59 on appveyor ( #618 )
2016-04-24 09:17:58 -04:00
Arvid Norberg
c9c6dd2d3b
clean up the annotations used for asio debugging ( #639 )
...
clean up the annotations used for asio debugging (tracking outstanding async operations)
2016-04-23 17:29:25 -04:00
Arvid Norberg
a9f07a29bd
fix move_storage error handling bug ( #638 )
2016-04-23 10:02:52 -04:00
arvidn
ed5673bf5c
attempt to make session_time() not return negative numbers
2016-04-23 09:42:32 -04:00
Alden Torres
6171c911a0
Added assert for total_size in create_torrent ( #636 )
2016-04-22 13:51:06 -04:00
arvidn
eaf7cb329f
fix python binding merge issue
2016-04-22 01:34:48 -04:00
Alden Torres
3c40cacd5b
Documentation typos and minor include cleanup ( #635 )
2016-04-21 15:39:53 -04:00
arvidn
36cf0a7e54
fix typo
2016-04-20 17:42:36 -04:00
arvidn
04a3c04075
merged RC_1_1 into master
2016-04-20 08:08:05 -04:00
Arvid Norberg
2bd8622f4b
fix missing EXPORT annotation of functions in the test utility library ( #631 )
2016-04-20 07:51:25 -04:00
Arvid Norberg
423ee1cef4
move some implementation details of bitfield into its own translation unit to not expose MMX and SSE internals (and fix shared linking) ( #630 )
2016-04-20 07:50:57 -04:00
Arvid Norberg
0b53fb70ad
add missing torrent_error_alert::filename function ( #629 )
2016-04-20 00:46:42 -04:00
Andrei Kurushin
c41ab094be
fix release build with VS2015 UP2 compiler warnings for: examples, test, tools ( #627 )
...
fix release build with VS2015 UP2 compiler warnings for: examples, test, tools
2016-04-20 00:45:32 -04:00
Alden Torres
0fddd403b2
Better api for peers() method in dht_get_peers_reply_alert ( #628 )
2016-04-19 16:16:51 -04:00
arvidn
bd6efe1179
fix simulator submodule
2016-04-18 08:37:58 -04:00
arvidn
93408a02ff
fix classification of UDP packets as peer traffic
2016-04-18 01:29:46 -04:00
arvidn
ccc227f446
minor cleanup
2016-04-18 00:29:50 -04:00
Andrei Kurushin
7b5d48c02a
fix default release build with VS2015 UP2 compiler warnings ( #624 )
...
* fix default release build with VS2015 UP2 compiler warnings
this will allow to successfully build:
bjam toolset=msvc-14.0 release deprecated-functions=off character-set=unicode link=static warnings-as-errors=on
2016-04-17 16:56:07 -04:00
Arvid Norberg
eb6547cd6f
Merge pull request #625 from arvidn/fix-warnings-1.1
...
fix warnings 1.1
2016-04-17 14:51:48 -04:00
arvidn
8dd1da9d32
fix warnings
2016-04-17 01:56:05 -04:00
arvidn
d090bec242
fix python binding test
2016-04-16 22:41:43 -04:00
Arvid Norberg
c28ca9dbb9
Merge pull request #622 from ssiloti/RC_1_1
...
fix the fix for python binding backwards compat
2016-04-16 18:30:09 -04:00
Arvid Norberg
a3fd8b91b2
Merge pull request #623 from zywo/update-gitignore
...
Add the generated "libtool" file to .gitignore
2016-04-16 18:29:04 -04:00
zywo
1540e7c80a
Add the generated "libtool" file to .gitignore
2016-04-16 21:22:00 +01:00
Steven Siloti
e4fd45e109
fix the fix for python binding backwards compat
...
f409a5ab
caused session.settings to return a setting pack dict rather than the
1.0 compatibile session_settings class.
2016-04-16 13:03:54 -07:00
arvidn
680eddf3d4
remove -msse4.2 commandline option from configure script
2016-04-15 23:50:45 -04:00
Arvid Norberg
5801aea5b4
Merge pull request #621 from arvidn/py-converter
...
fix python binding for python 3
2016-04-15 22:26:32 -04:00
Arvid Norberg
cdddf62468
Merge pull request #617 from arvidn/py-dht_get_peers-1.1
...
make dht_get_peers_reply_alert::peers a function in python binding
2016-04-15 19:44:21 -04:00
arvidn
c1fbac7fd3
fix python binding for python 3
2016-04-15 18:40:46 -04:00
Arvid Norberg
0441ed212c
Merge pull request #620 from aldenml/typos
...
Documentation typos
2016-04-15 17:21:13 -04:00
Alden Torres
a73d424b82
typos
2016-04-15 15:39:41 -04:00
arvidn
249dff6014
make dht_get_peers_reply_alert::peers a function in python binding
2016-04-15 00:53:02 -04:00
Arvid Norberg
6e50c8f2ef
Merge pull request #609 from arvidn/py-read_resume_data
...
improve python binding of read_resume_data
2016-04-15 00:49:24 -04:00