Christopher Kohlhoff
4f56aef7f9
Fix executor_wrapper's call operator for older C++ compilers.
2014-10-06 08:48:01 +11:00
Christopher Kohlhoff
dfaf369181
Fix up small block recycling.
2014-10-05 21:02:27 +11:00
Christopher Kohlhoff
b511184b99
Add Executor type requirements.
2014-10-05 21:02:27 +11:00
Christopher Kohlhoff
a2d5ccfaf6
Delay allocator rebind to keep symbol names shorter.
2014-10-05 21:02:27 +11:00
Christopher Kohlhoff
085171fc96
Make asio::spawn() executor-aware.
2014-10-05 21:02:27 +11:00
Christopher Kohlhoff
daba8047e0
Update io_service::strand to satisfy the Executor requirements.
2014-10-05 20:58:03 +11:00
Christopher Kohlhoff
5925ceb3d8
Workaround for MSVC 2008 compiler codegen bug.
2014-10-05 11:00:16 +11:00
Christopher Kohlhoff
ebc8b148ba
Deprecate io_service members dispatch(), post() and wrap().
2014-10-05 10:19:41 +11:00
Christopher Kohlhoff
4159db3ff6
Fix long lines.
2014-10-05 10:19:41 +11:00
Christopher Kohlhoff
652a788b11
Add polymorphic executor wrapper.
2014-10-04 23:05:17 +10:00
Christopher Kohlhoff
b261967aee
Fix clang unused parameter warnings.
2014-10-04 10:41:17 +10:00
Christopher Kohlhoff
ae86167226
Add missing const qualifier.
2014-10-04 10:41:04 +10:00
Christopher Kohlhoff
47909943df
Add is_mutable_buffer_sequence and is_const_buffer_sequence traits.
2014-10-04 10:37:09 +10:00
Christopher Kohlhoff
29e16648c6
Disable unused parameter warnings for MSVC 2008.
...
Visual Studio 2008 seems to generate spurious unused parameter warnings
when using enable_if.
2014-10-04 10:37:08 +10:00
Christopher Kohlhoff
e2cf1518f6
Add address_cast, IPv4-mapped make_address* functions.
...
The to_v4(), to_v6() and v4_mapped() member functions have been
deprecated. Functions related to IPv4-compatible addresses have also
been deprecated.
2014-10-03 21:06:33 +10:00
Christopher Kohlhoff
2ac164cae5
Specify additional headers that don't have a convenience header.
2014-10-03 12:43:00 +10:00
Christopher Kohlhoff
97fed1de7f
Documentation fixes.
2014-10-03 11:35:55 +10:00
Christopher Kohlhoff
d23fb485b2
Update descriptor requirements.
2014-10-03 11:08:12 +10:00
Christopher Kohlhoff
5b86a36ba1
Add make_address_*() free functions, deprecate from_string.
2014-10-03 10:38:12 +10:00
Christopher Kohlhoff
24bb615610
Add strand inner_executor() function.
2014-10-03 09:02:14 +10:00
Christopher Kohlhoff
4f5943cda7
Add executor equality operators.
2014-10-03 00:15:04 +10:00
Christopher Kohlhoff
3cb990c30b
Add wait()/async_wait() operations to sockets and descriptors.
...
These operations support reactor-style operations. The null_buffers
class is now deprecated.
2014-10-02 23:51:35 +10:00
Christopher Kohlhoff
418695e7c7
Fix warnings reported by VS2013.
2014-10-02 17:42:34 +10:00
Christopher Kohlhoff
63737cc784
Explicitly use WSASocketW, as WSASocketA has been deprecated.
2014-10-02 17:24:03 +10:00
Christopher Kohlhoff
d25fa4e5dd
Enable move-only handlers.
...
All async operations and executor operations support move-only
handlers. However, the io_service::post(), io_service::dispatch(),
io_service::strand::post() and io_service::strand::dispatch() functions
still require copyable handlers.
2014-10-02 16:37:55 +10:00
Christopher Kohlhoff
74e12e51ba
Update basic_waitable_timer to proposed interface.
2014-10-02 16:37:54 +10:00
Christopher Kohlhoff
b4bdfd195d
New executors framework.
2014-10-02 16:37:54 +10:00
Christopher Kohlhoff
4b7913379f
Add io_service::restart() and deprecate io_service::reset().
2014-10-02 11:18:07 +10:00
Christopher Kohlhoff
5126a89879
Remove previously deprecated functions and classes.
2014-10-02 10:27:16 +10:00
Christopher Kohlhoff
581fe68629
asio version 1.10.4 released
2014-10-02 10:16:06 +10:00
Christopher Kohlhoff
2e4f11b548
Revision history.
2014-10-02 10:07:41 +10:00
Christopher Kohlhoff
b53f70a2a3
Unit test workaround for AIX.
2014-07-26 19:47:48 +10:00
Christopher Kohlhoff
3389cb9d79
Avoid using newly-deprecated Winsock functions.
2014-07-26 18:05:26 +10:00
Christopher Kohlhoff
ee9468429f
Fix shadow variable warning.
2014-07-26 17:06:21 +10:00
Christopher Kohlhoff
f475f33732
Don't use EV_CLEAR when registering interrupter.
...
Fixes copy/paste error introduced in 3f473548a7
.
2014-07-26 16:45:14 +10:00
Christopher Kohlhoff
00cdf67265
asio version 1.10.3 released
2014-07-02 17:24:52 +10:00
Christopher Kohlhoff
3bb2b927ac
Revision history.
2014-07-02 16:39:35 +10:00
Christopher Kohlhoff
70c158cbec
The intel compiler doesn't provide the SSE2 intrinsics.
2014-06-29 20:40:52 +10:00
Christopher Kohlhoff
d5c93e2533
Revert "Fix detection of Windows Runtime."
...
This reverts commit f1818afc93
.
2014-06-28 22:33:49 +10:00
Christopher Kohlhoff
842f1c5df7
Use SSE2 intrinsics to allow the Cray compiler to work.
2014-06-28 21:44:40 +10:00
Christopher Kohlhoff
f1818afc93
Fix detection of Windows Runtime.
2014-06-28 21:27:50 +10:00
Christopher Kohlhoff
4838a895ff
Work around gcc problem to do with anonymous enums.
2014-06-28 21:19:57 +10:00
Christopher Kohlhoff
fc8d380d57
Return bytes transferred when ReadFile fails with ERROR_MORE_DATA.
...
Reverted the previous change to ignore ERROR_MORE_DATA. Instead,
the error will propagated as with any other (i.e. in an error_code
or thrown as a system_error). For code that needs to handle partial
messages, the error_code overload should be used.
2014-06-28 21:07:07 +10:00
Christopher Kohlhoff
c29914eb54
Fix off-by-one error in signal number check.
2014-06-28 20:53:58 +10:00
Christopher Kohlhoff
db136dfb17
Use VerifyVersionInfo rather than GetVersionEx.
...
GetVersionEx has been deprecated.
2014-06-28 20:47:00 +10:00
Christopher Kohlhoff
c0d6ba03c8
Don't assume SO_UPDATE_CONNECT_CONTEXT is defined.
2014-06-28 19:49:11 +10:00
Christopher Kohlhoff
8482b59726
asio version 1.10.2 released
2014-05-05 12:47:56 +10:00
Christopher Kohlhoff
415113cea9
Update release script to work with modular boost.
2014-05-05 12:40:03 +10:00
Christopher Kohlhoff
191b7fad45
Revision history.
2014-05-05 12:02:16 +10:00
Christopher Kohlhoff
8156ec105c
Defend against min/max macros.
2014-05-05 11:28:31 +10:00