Christopher Kohlhoff
47b956f539
Regenerate documentation.
2015-05-11 07:58:57 +10:00
Christopher Kohlhoff
45124f33b8
Rename io_service to io_context.
2015-05-11 07:58:57 +10:00
Christopher Kohlhoff
b056bff78d
Fix some long lines.
2015-05-10 21:00:36 +10:00
Christopher Kohlhoff
1eb5936c25
Rename executor_work to executor_work_guard.
2015-05-10 20:59:08 +10:00
Christopher Kohlhoff
ee382429ef
Rename address_v4's to_ulong() to to_uint() and add uint_type typedef.
2015-05-10 20:20:02 +10:00
Christopher Kohlhoff
66a8bbd68f
Ifdef out deprecated address member functions.
2015-05-10 20:03:06 +10:00
Christopher Kohlhoff
20ca1e1d2a
Rename wrap() to bind_executor().
...
The executor_wrapper class has been temporarily renamed to executor_binder.
This name will probably change.
2015-05-10 19:42:42 +10:00
Christopher Kohlhoff
c406fa7ce7
Remove address_cast.
2015-05-10 19:42:41 +10:00
Christopher Kohlhoff
15803ab00b
Prevent multiple definition of ASIO_ERROR_CATEGORY_NOEXCEPT with newest MSVC.
2015-05-06 09:56:46 +10:00
Christopher Kohlhoff
fcf901ecb3
Update thread-private work count when epoll operations are not complete.
2015-05-03 22:36:38 +10:00
Christopher Kohlhoff
5ab5356e33
Disable old resolver functionality if ASIO_NO_DEPRECATED is defined.
2015-05-03 15:27:26 +10:00
Christopher Kohlhoff
69ff104a00
Code fixes so that the boostify script works.
2015-05-03 12:40:17 +10:00
Christopher Kohlhoff
74fe2b8e14
Deprecate resolver::query. Use overloads of resolve and async_resolve.
2015-05-03 12:07:21 +10:00
Christopher Kohlhoff
bc4eec8ebc
Use range-based interface for returning resolver results.
2015-05-03 12:07:21 +10:00
Christopher Kohlhoff
99c95166c9
Fix typo in comment.
2015-05-03 08:53:34 +10:00
Christopher Kohlhoff
cba39c6af7
Add allocator-aware accessors to ip::basic_resolver_entry.
2015-05-03 08:53:34 +10:00
Christopher Kohlhoff
9c8d15c6b2
Disable __thread keyword extension for android+x86+clang.
2015-05-03 08:53:34 +10:00
Christopher Kohlhoff
1d19a00601
Fixes for solaris.
2015-04-17 09:52:11 +10:00
Christopher Kohlhoff
5bb7a7419a
Extend handler tracking to cover reactor-related events.
2015-03-31 19:12:14 +11:00
Christopher Kohlhoff
b2e85caeb3
Don't push/pop options around Boost.DateTime header.
2015-03-23 09:35:47 +11:00
Christopher Kohlhoff
e1c06ac350
Fix integer conversion warnings on 64-bit Windows.
2015-03-22 08:15:40 +11:00
Christopher Kohlhoff
aa21de0944
Remove redundant pointer check in SSL engine.
2015-03-22 08:15:31 +11:00
Christopher Kohlhoff
4b07c86ecf
Fix race condition in windows::object_handle.
2015-03-22 08:15:23 +11:00
Christopher Kohlhoff
765918cd31
Use default visibility everywhere.
2015-03-21 18:27:03 +11:00
Christopher Kohlhoff
3c3e59576e
Fix mismatched #endif comments.
2015-03-21 08:43:51 +11:00
Christopher Kohlhoff
88813bb3d4
Fix WinRT detection.
...
WINAPI_FAMILY_ONE_PARTITION is no longer defined in newer
Windows SDKs.
2015-03-20 09:56:49 +11:00
Christopher Kohlhoff
628e3ca9fe
ERR_remove_state is deprecated, use ERR_remove_thread_state instead.
2015-03-20 09:30:37 +11:00
Christopher Kohlhoff
8815161b24
Fix unit test code to work with boost::detail::atomic_count.
2015-03-19 23:40:45 +11:00
Christopher Kohlhoff
915d4cf6f0
Fix compile error in /dev/poll reactor.
2015-03-19 20:18:59 +11:00
Christopher Kohlhoff
9733ac6763
Make all kqueue event registration lazy.
...
Fixes the kqueue reactor so that it works on FreeBSD again.
2015-03-19 20:18:59 +11:00
Christopher Kohlhoff
38051268e3
Deregister EVFILT_WRITE to avoid spinning with serial ports.
2015-03-19 19:54:07 +11:00
Christopher Kohlhoff
37e4e62c5a
Use correct type in byte order conversion of shorts.
2015-03-19 19:53:59 +11:00
Christopher Kohlhoff
f7695e66a4
Fix shadow variable warnings.
2015-03-19 19:53:44 +11:00
Christopher Kohlhoff
b72b473cda
Add lazy kqueue EVFILT_WRITE registration.
...
This fixes support for read-only file descriptors, such as those obtained
from libpcap by calling pcap_get_selectable_fd.
2015-03-19 19:52:34 +11:00
Christopher Kohlhoff
4b1731d973
New macro ASIO_DISABLE_CONNECTEX to disable ConnectEx use.
2015-03-19 19:35:11 +11:00
Christopher Kohlhoff
164b961f95
Remove dependency on Boost.Test.
2015-03-19 19:35:11 +11:00
Christopher Kohlhoff
23b084bb61
Fix up support for ASIO_NO_EXCEPTIONS.
2015-03-17 20:41:14 +11:00
Christopher Kohlhoff
df9d70bc55
Fix up support for ASIO_NO_TYPEID (i.e. no RTTI).
2015-03-17 19:42:07 +11:00
Christopher Kohlhoff
e19f2bd660
Strip the scope id from address string before passing to inet_pton.
...
On some platforms, like FreeBSD, inet_pton fails if the address
string includes trailing characters like a scope id.
2015-03-14 09:18:52 +11:00
Christopher Kohlhoff
6614ff63b2
Fix handler tracking on WinRT.
2015-03-14 09:18:52 +11:00
Christopher Kohlhoff
55194c01f5
Remove accidentally committed makefile change.
2015-03-14 09:18:52 +11:00
Christopher Kohlhoff
d4f7353a9e
Track the underlying reactor operations associated with handlers.
...
For reactor-based platforms only. For example, an async send on a reactor-based
platform will now log the result to each non-blocking send system call.
2015-03-14 09:18:52 +11:00
Christopher Kohlhoff
f1de530de5
Pass native handle (e.g. descriptor) to handler tracking.
2015-03-14 08:58:29 +11:00
Christopher Kohlhoff
829b4c88df
Add missing implementation header to src.hpp.
2015-03-10 18:37:24 +11:00
Christopher Kohlhoff
5d686abf95
Update handler tracking arguments.
...
Now passes the execution context on handler creation and for operations. The
tracked handler base class is now passed by reference to help reduce the
temptation to stash a point to a soon-to-be-destroyed object.
2015-03-10 18:37:23 +11:00
Christopher Kohlhoff
27f8c672a7
Update reference index to use new address iterator/range names.
2015-03-07 21:00:27 +11:00
Christopher Kohlhoff
a35e2e0127
Add basic_address_iterator and basic_address_range templates.
...
Class address_iterator_v4 is now typedef address_v4_iterator.
Class address_range_v4 is now typedef address_v4_range.
Class address_iterator_v6 is now typedef address_v6_iterator.
Class address_range_v6 is now typedef address_v6_range.
2015-03-07 19:55:44 +11:00
Christopher Kohlhoff
17efec1803
Add use_future_::rebind() as replacement for operator[].
2015-03-06 09:41:37 +11:00
Christopher Kohlhoff
4599179812
Finish implementation of move-enabled accept/async_accept.
2015-03-05 21:40:32 +11:00
Christopher Kohlhoff
c05c71e96b
Revert "Change ip::address default constructor to be not-an-address."
...
This reverts commit d8a2f7087d
.
2015-03-03 09:56:48 +11:00