Christopher Kohlhoff
4dc1958683
Fix WinRT detection.
2013-10-04 08:00:21 +10:00
Christopher Kohlhoff
836caf1e8d
Remove line breaks.
2013-09-25 22:53:56 +10:00
Christopher Kohlhoff
f626ae3809
Remove dead link from documentation.
2013-09-25 22:47:13 +10:00
Christopher Kohlhoff
50f8fd48ea
Implementation notes for Windows Runtime support.
2013-09-25 08:02:55 +10:00
Christopher Kohlhoff
372b6d6119
Revision history.
2013-09-24 20:35:30 +10:00
Christopher Kohlhoff
b5c048c5ea
Regenerate documentation.
2013-09-20 22:16:49 +10:00
Christopher Kohlhoff
0fc8ff651e
New header files.
2013-09-20 20:55:41 +10:00
Christopher Kohlhoff
b4f25eb3bd
Remove dependency on Boost.Thread for Boost.Asio unit tests.
2013-09-20 19:22:29 +10:00
Christopher Kohlhoff
e67db70d62
Fix long lines.
2013-09-20 19:12:29 +10:00
Christopher Kohlhoff
85dff9412d
Fix for MinGW.
2013-09-20 19:03:19 +10:00
Christopher Kohlhoff
a579568eda
Update buffered stream operations to adhere to current handler patterns.
2013-09-20 09:47:48 +10:00
Christopher Kohlhoff
d7228f4632
Add a workaround for Microsoft's non-conformant std::system_error.
2013-09-19 08:18:29 +10:00
Christopher Kohlhoff
383b05ecc5
Implement end-of-file condition for WinRT stream sockets.
2013-09-19 08:14:16 +10:00
Christopher Kohlhoff
e51d790cad
Fix prefix on extern "C" function name.
2013-09-18 08:53:15 +10:00
Christopher Kohlhoff
f1f4ea75cd
Add use_future support for Microsoft Visual C++.
2013-09-16 22:58:36 +10:00
Christopher Kohlhoff
ebe6cd7a97
Enable move support for Microsoft Visual C++ 2012.
2013-09-16 10:29:26 +10:00
Christopher Kohlhoff
51bba37e7d
Initial port to Windows Runtime.
...
This change adds limited support for using Asio with the Windows
Runtime. It requires that the language extensions be enabled. Due to the
restricted facilities exposed by the Windows Runtime API, the port comes
with the following caveats:
* The core facilities such as the io_service, strand, buffers, composed
operations, timers, etc., should all work as normal.
* For sockets, only client-side TCP is supported.
* Explicit binding of a client-side TCP socket is not supported.
* The cancel() function is not supported for sockets. Asynchronous
operations may only be cancelled by closing the socket.
* Operations that use null_buffers are not supported.
* Only tcp::no_delay and socket_base::keep_alive options are supported.
* Resolvers do not support service names, only numbers. I.e. you must
use "80" rather than "http".
* Most resolver query flags have no effect.
2013-09-16 00:22:22 +10:00
Christopher Kohlhoff
a482f2d091
Eliminate some unnecessary handler copies.
2013-09-15 10:46:52 +10:00
Christopher Kohlhoff
93ed48b0a3
Some async operations that missed getting the async_result treatment.
2013-09-15 10:45:46 +10:00
Christopher Kohlhoff
e9b7b07458
Visual C++ language extensions use "generic" as a keyword. Add a
...
workaround that renames the namespace to "cpp_generic" when those
language extensions are in effect.
2013-09-15 08:24:03 +10:00
Christopher Kohlhoff
308c775f70
Add the ability to use asio without boost, when compiling with Microsoft
...
Visual Studio 2012.
2013-09-15 00:22:29 +10:00
Christopher Kohlhoff
b417db6733
Ignore ERROR_MORE_DATA as a non-fatal error when returned by
...
GetOverlappedResult for a synchronous read.
2013-09-14 23:43:26 +10:00
Christopher Kohlhoff
99077c6e76
Remove use of std::min.
2013-09-14 23:35:10 +10:00
Christopher Kohlhoff
7d09b17dab
Add missing forward declarations needed for Windows.
2013-09-14 23:34:44 +10:00
Christopher Kohlhoff
838a259d0b
Fix documentation error where an asynchronous function was described as
...
having synchronous behaviour.
2013-09-14 23:11:26 +10:00
Christopher Kohlhoff
ff5d07f717
Fix another socket descriptor comparison that doesn't work correctly if
...
the descriptor type is unsigned.
2013-09-14 23:11:06 +10:00
Christopher Kohlhoff
ca4c666b15
Ignore dirstamp.
2013-09-14 23:06:00 +10:00
Christopher Kohlhoff
79c2a96015
Add missing move cast.
2013-09-14 23:06:00 +10:00
Christopher Kohlhoff
8837bd220d
Clean up some internal forward declarations.
2013-09-14 23:06:00 +10:00
Christopher Kohlhoff
552c16f27c
Remove spurious whitespace.
2013-09-14 23:06:00 +10:00
Christopher Kohlhoff
c417708af8
Fix error in comment.
2013-09-14 23:06:00 +10:00
Christopher Kohlhoff
89cfb98217
Clarify that programs must not issue overlapping async_write_at operations.
2013-09-14 23:06:00 +10:00
Christopher Kohlhoff
1457c99b2b
Enable the move optimisation (and otherwise eliminate a copy) for handlers
...
using the default invocation hook.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
90d3c85ed3
Fix link to refer to native_handle() rather than the deprecated native() function.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
50e8b56610
Suppress g++ 4.8+ warning about unused typedefs.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
16f1e60c54
Ensure signal number is correctly passed to the completion handler when
...
starting an async_wait on a signal that is already raised.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
e151c85349
Fix comparison used to test for a successful synchronous accept.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
c6d808c712
Fix a bug in handler tracking, where it was not correctly printing out some handler IDs.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
ad86ef20ba
Ensure ssl::io_op::want_ member is initialised.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
ba52bf6138
Fix typo in serial ports overview.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
ff5ed66909
Fix a regression on Windows where multiple threads are running an io_service.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
6d378acf13
Fix nfds argument to select.
2013-09-14 23:05:59 +10:00
Christopher Kohlhoff
0a771be074
Remove unused parameters and member variables.
2013-09-14 22:56:13 +10:00
Christopher Kohlhoff
daf289c22f
Fix a regression where, on some platforms, errors from async_connect are not
...
correctly propagated through to the completion handler.
2013-09-14 22:56:13 +10:00
Christopher Kohlhoff
e16acc0b47
Remove unused variable assignment.
2013-09-14 22:56:12 +10:00
Christopher Kohlhoff
c986c1e88e
Fix error in async_receive_from example.
2013-09-14 22:56:12 +10:00
Christopher Kohlhoff
be45dc87d8
Remove dependency on Boost.Preprocessor library.
2013-09-14 22:25:52 +10:00
Christopher Kohlhoff
906f4f968b
asio version 1.10.0 released
2013-09-14 22:03:43 +10:00
Christopher Kohlhoff
8a7e8a437b
Revision history.
2013-09-14 20:44:25 +10:00
Christopher Kohlhoff
bb55d1d816
Regenerate documentation.
2013-09-14 20:37:29 +10:00