Commit Graph

2189 Commits

Author SHA1 Message Date
Christopher Kohlhoff
ea70d7b069 Newest MSVC needs noexcept on error_category members. 2014-11-04 13:43:13 -06:00
Christopher Kohlhoff
0372cdda34 Add spawn overload that just takes a function without a handler or executor. 2014-11-02 18:24:27 -06:00
Christopher Kohlhoff
c1d4653363 Add missing SFINAE check. 2014-11-02 17:29:46 -06:00
Christopher Kohlhoff
b7c75f320d Rename variables to be compatible with resumable-pp. 2014-10-29 20:52:24 +11:00
Christopher Kohlhoff
4cd5149798 Simulate proposed error code enums using namespaces. 2014-10-08 20:59:00 +11:00
Christopher Kohlhoff
c69b9e20a2 Map asio errors to std error conditions. 2014-10-08 20:58:52 +11:00
Christopher Kohlhoff
08b1e437a0 Fix compile error when using ASIO_NO_DEPRECATED. 2014-10-08 18:42:05 +11:00
Christopher Kohlhoff
63780a33a9 Add convenience headers that correspond to standards proposal. 2014-10-08 18:42:05 +11:00
Christopher Kohlhoff
f05ccf18df Add wait()/async_wait() operations to acceptors. 2014-10-07 18:47:18 +11:00
Christopher Kohlhoff
0ea72562ce Regenerate documentation. 2014-10-06 19:35:54 +11:00
Christopher Kohlhoff
59f146dee9 Update quick reference and fix up documentation. 2014-10-06 19:35:54 +11:00
Christopher Kohlhoff
b21f4e3c49 Add new example directories. 2014-10-06 10:13:45 +11:00
Christopher Kohlhoff
56669dd7ac Update timer-related members on socket iostream classes. 2014-10-06 10:06:12 +11:00
Christopher Kohlhoff
bf61eaffef Add non-const string buffer() overloads. 2014-10-06 10:04:56 +11:00
Christopher Kohlhoff
4e6aecd8fd Fix workaround for clang/libc++. 2014-10-06 09:14:16 +11:00
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