Commit Graph

1421 Commits

Author SHA1 Message Date
Christopher Kohlhoff
7443962d8c Fix MSVC warning. 2011-02-18 17:25:30 +11:00
Christopher Kohlhoff
f71b6dad2d Call ASIO_HANDLER_CREATION first thing after the handler has been
created.
2011-02-18 17:12:08 +11:00
Christopher Kohlhoff
433d8330c9 Implement handler tracking support on Windows. 2011-02-18 16:57:17 +11:00
Christopher Kohlhoff
0da95a553d Fix buffer size passed to swprintf_s. 2011-02-18 16:10:29 +11:00
Christopher Kohlhoff
4ee503f4d6 Fix g++ warnings about sprintf argument types. 2011-02-18 14:43:57 +11:00
Christopher Kohlhoff
c04d282efc Initial commit of new handler tracking for debugging. 2011-02-18 13:44:22 +11:00
Christopher Kohlhoff
1de75d0120 Make static function declarations consistent with other uses of ASIO_DECL. 2011-02-17 23:07:48 +11:00
Christopher Kohlhoff
b3d40d30dd Android uses the POSIX form of strerror_r. 2011-02-17 21:40:44 +11:00
Christopher Kohlhoff
50fb189b2a Use CreateMutexW. 2011-02-17 13:40:00 +11:00
Christopher Kohlhoff
194f50f14c Merge branch 'master' of github.com:chriskohlhoff/asio 2011-02-17 10:39:15 +11:00
Christopher Kohlhoff
1f196228fa Fix gcc build when using -mthumb with a pre-armv7 architecture. 2011-02-17 10:36:30 +11:00
Christopher Kohlhoff
ef5665bf44 Regenerate documentation. 2011-02-15 18:36:55 +11:00
Christopher Kohlhoff
db062c59c2 Add signal_set to reference index page. 2011-02-15 18:36:37 +11:00
Christopher Kohlhoff
0aaae50518 Need full reactor header for signal_set headers to compile
standalone.
2011-02-15 18:11:16 +11:00
Christopher Kohlhoff
53ba85ee47 Don't enable std::error_code by default on MSVC10, as the
std::system_error::what() function does not work correctly.
2011-02-15 17:55:02 +11:00
Christopher Kohlhoff
5fbd31b456 Add a new class, asio::signal_set, for signal handling.
signals.
2011-02-15 17:11:44 +11:00
Christopher Kohlhoff
aad3a31b6d Fix function name in comment for asio::placeholders::iterator. 2011-02-15 16:49:38 +11:00
Christopher Kohlhoff
a50b53864f Fix bug on kqueue-based platforms, where reactor read operations that
return false from their perform() function are not correctly
re-registered with kqueue.
2011-02-15 16:45:00 +11:00
Christopher Kohlhoff
c65bd0fd02 Ensure asio::streambuf's internal pointers are updated correctly after
the data has been modified using std::streambuf member functions.
2011-02-15 16:17:36 +11:00
Christopher Kohlhoff
ff90fcadd2 asio version 1.5.0 released 2011-02-15 16:17:36 +11:00
Christopher Kohlhoff
ddcef20407 Fix up native_non_blocking() example and change it to be a complete
working example of wrapping Linux's sendfile system call.
2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
98522be78c Add configure detection for boost 1.45.0. 2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
f85e583ba3 Add history for 1.5.0. 2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
1f022f467f Add note about separate compilation of SSL support. 2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
016c56d856 Add missing asio/ssl/impl directory to boostify. 2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
fa9f8e39f2 Fix up boostification of root asio.hpp header to match the one that is
included with boost.
2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
8ed74d073e Include docs as part of boostify. 2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
5fe7bb35f2 Revert last change as it doesn't help. 2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
c6a7c25dd4 Try a fix for compiling with Apple Xcode's gcc 4.2.1. 2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
9b1c1237c6 Move ssl error category to a new error.hpp header in the asio/ssl
directory. Change the ssl error category to return error strings from
the OpenSSL library.
2011-02-15 16:17:34 +11:00
Christopher Kohlhoff
ac3ed64d38 Assume that any descriptors or sockets added using assign() may have
been dup()-ed, and so require explicit deregistration from the reactor.
2011-02-15 16:17:34 +11:00
Christopher Kohlhoff
a579c9b4c4 Add ComposedConnectHandler type requirements. Update and regenerate
documentation.
2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
fd2ce8220d Add new io_service::stopped() function that can be used to determine
whether the io_service has stopped (i.e. a reset() call is needed
prior to any further calls to run(), run_one(), poll() or poll_one().
2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
82ef1d3cf4 Updated requirements to use get_io_service() rather than the now removed
io_service() member function.
2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
99279af951 Constrain the connect() and async_connect() function templates to
working with basic_socket<> instances.
2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
d47a33dc65 Document SeqPacketSocketService type requirements. 2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
ed62d29a67 Add support for sequenced packet sockets (SOCK_SEQPACKET). 2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
39b6482b6b Fix tests to use get_io_service() rather than deprecated function name
io_service().
2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
661936baae Be vague about the arguments to sendfile(), since it varies from
platform to platform.
2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
bb59cbc8ad Fix g++ -Wshadow warnings. 2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
fa0d94ba5b Fix warning due to insufficient braces. 2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
7a17ac1483 Add new non_blocking() and native_non_blocking() functions for managing
the non-blocking behaviour of sockets and descriptors. The io_control
commands named non_blocking_io are now deprecated.
2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
f7635a5461 Add release() member function to posix descriptors. 2011-02-15 16:17:33 +11:00
Christopher Kohlhoff
f916c5d43b For consistency with the C++0x standard library, deprecated the
native_type typedefs in favour of native_handle_type, and the
native() member functions in favour of native_handle().
2011-02-15 16:17:32 +11:00
Christopher Kohlhoff
7afff4618f Fix comment. 2011-02-15 16:17:32 +11:00
Christopher Kohlhoff
31c7b406bd Add io_control() member function to acceptor. 2011-02-15 16:17:32 +11:00
Christopher Kohlhoff
4e8129d660 Add test stubs for basic_raw_socket and raw_socket_service. 2011-02-15 16:17:32 +11:00
Christopher Kohlhoff
22ecfe77a3 Merge missing part of basic_deadline_timer::cancel_one() change to fix windows build. 2011-02-08 20:06:09 +11:00
Christopher Kohlhoff
25ae08ddba Reset function isn't there. 2011-02-08 20:05:17 +11:00
Christopher Kohlhoff
96b0b6eb11 Don't use auto_ptr in win_thread. 2011-02-08 20:02:24 +11:00