Commit Graph

284 Commits

Author SHA1 Message Date
Christopher Kohlhoff
d109f120fa Explicitly mark asio::strand as deprecated.
Use asio::io_service::strand instead.
2014-10-17 22:49:14 +11:00
Christopher Kohlhoff
fa5673da56 Specify additional headers that don't have a convenience header.
Fixes boost trac ticket #10567.
2014-10-16 19:23:58 +11:00
Christopher Kohlhoff
2ab8462f29 Unit test workaround for AIX. 2014-07-26 19:49:22 +10:00
Christopher Kohlhoff
b857c146c0 Revision history. 2014-07-26 19:27:51 +10:00
Christopher Kohlhoff
1f012a03eb Fix wording in revision history. 2014-06-30 14:12:43 +10:00
Christopher Kohlhoff
7f3a87c81a Revision history. 2014-06-30 14:02:40 +10:00
Christopher Kohlhoff
f769012dc3 Ignore generated html. 2014-05-05 11:48:23 +10:00
Christopher Kohlhoff
b66a114d89 Revision history. 2014-05-05 11:41:40 +10:00
Christopher Kohlhoff
ba9f99216f Regenerate documentation. 2014-05-04 10:06:45 +10:00
Christopher Kohlhoff
a6feafa553 Regenerate documentation. 2014-05-03 11:52:17 +10:00
Christopher Kohlhoff
28f690f504 Update copyright notices. 2014-05-03 09:25:39 +10:00
Christopher Kohlhoff
83ae6fa7cb Updated revision history.
[SVN r86468]
2013-10-26 22:49:17 +00:00
Christopher Kohlhoff
0d57ea2d16 Fix typos in spawn() documentation.
[SVN r86465]
2013-10-26 22:42:53 +00:00
Christopher Kohlhoff
0113c1831f Add a note to clarify that concurrent invocation is not guaranteed for handlers in different strands.
[SVN r86464]
2013-10-26 22:39:23 +00:00
Christopher Kohlhoff
40cba52d74 Fix dead links in documentation.
[SVN r86154]
2013-10-04 00:03:36 +00:00
Christopher Kohlhoff
8acd8eb341 Add WinRT implementation notes.
[SVN r86153]
2013-10-04 00:00:46 +00:00
Christopher Kohlhoff
f8f33ed29c Revision history.
[SVN r86092]
2013-09-30 22:37:40 +00:00
Daniel James
cf6b86a4c9 Fix copying C++11 allocation examples
[SVN r85823]
2013-09-22 10:32:36 +00:00
Christopher Kohlhoff
91fce6c711 Regenerate documentation.
[SVN r85801]
2013-09-20 12:10:45 +00:00
Christopher Kohlhoff
18f477583d Regenerate documentation.
[SVN r85765]
2013-09-17 22:32:13 +00:00
Christopher Kohlhoff
0bc20e40dd Fix link to refer to native_handle() rather than the deprecated native() function.
[SVN r85748]
2013-09-17 21:48:54 +00:00
Christopher Kohlhoff
8bc2679db6 Fix typo in serial ports overview.
[SVN r85742]
2013-09-17 21:40:19 +00:00
Christopher Kohlhoff
0923bc6904 Revision history.
[SVN r84880]
2013-06-22 13:02:21 +00:00
Christopher Kohlhoff
617ecf2598 Regenerate documentation.
[SVN r84879]
2013-06-22 12:58:50 +00:00
Christopher Kohlhoff
f97171acc9 Add documentation for new features.
[SVN r84529]
2013-05-27 12:17:19 +00:00
Christopher Kohlhoff
a05bbf3a53 Regenerate documentation.
[SVN r84494]
2013-05-25 13:03:48 +00:00
Christopher Kohlhoff
abd9cdb60f Add generic socket protocols and converting move constructors.
Four new protocol classes have been added:

- asio::generic::datagram_protocol
- asio::generic::raw_protocol
- asio::generic::seq_packet_protocol
- asio::generic::stream_protocol

These classes implement the Protocol type requirements, but allow the
user to specify the address family (e.g. AF_INET) and protocol type
(e.g. IPPROTO_TCP) at runtime.

A new endpoint class template, asio::generic::basic_endpoint, has been
added to support these new protocol classes. This endpoint can hold any
other endpoint type, provided its native representation fits into a
sockaddr_storage object.

When using C++11, it is now possible to perform move construction from a
socket (or acceptor) object to convert to the more generic protocol's
socket (or acceptor) type. If the protocol conversion is valid:

  Protocol1 p1 = ...;
  Protocol2 p2(p1);

then the corresponding socket conversion is allowed:

  Protocol1::socket socket1(io_service);
  ...
  Protocol2::socket socket2(std::move(socket1));

For example, one possible conversion is from a TCP socket to a generic
stream-oriented socket:

  asio::ip::tcp::socket socket1(io_service);
  ...
  asio::generic::stream_protocol::socket socket2(std::move(socket1));

The conversion is also available for move-assignment. Note that these
conversions are not limited to the newly added generic protocol classes.
User-defined protocols may take advantage of this feature by similarly
ensuring the conversion from Protocol1 to Protocol2 is valid, as above.

As a convenience, the socket acceptor's accept() and async_accept()
functions have been changed so that they can directly accept into a
different protocol's socket type, provided the protocol conversion is
valid. For example, the following is now possible:

  asio::ip::tcp::acceptor acceptor(io_service);
  ...
  asio::generic::stream_protocol::socket socket1(io_service);
  acceptor.accept(socket1);


[SVN r84363]
2013-05-19 04:55:11 +00:00
Christopher Kohlhoff
34f88cf707 Remove some trailing spaces and fix another copyright notice.
[SVN r84361]
2013-05-18 21:56:31 +00:00
Christopher Kohlhoff
280a7d55b3 Remove the stackless coroutine class and macros from the HTTP server 4
example, and instead make them a part of Asio's documented interface.


[SVN r84346]
2013-05-18 11:54:59 +00:00
Christopher Kohlhoff
95d16d75b7 Update copyright notices.
[SVN r84345]
2013-05-18 11:24:59 +00:00
Christopher Kohlhoff
1c9d4a1ac3 Support handshake with re-use of data already read from the wire.
Add new overloads of the SSL stream's handshake() and async_handshake()
functions, that accepts a ConstBufferSequence to be used as initial
input to the ssl engine for the handshake procedure.

Thanks go to Nick Jones <nick dot fa dot jones at gmail dot com>, on
whose work this commit is partially based.


[SVN r84319]
2013-05-17 10:52:08 +00:00
Christopher Kohlhoff
546362b425 Add the asio::use_future special value, which adds first-class support
for returning a C++11 std::future from an asynchronous operation's
initiating function.

To use asio::use_future, pass it to an asynchronous operation instead of
a normal completion handler. For example:

  std::future<std::size_t> length =
    my_socket.async_read_some(my_buffer, asio::use_future);

Where a completion handler signature has the form:

  void handler(error_code ec, result_type result);

the initiating function returns a std::future templated on result_type.
In the above example, this is std::size_t. If the asynchronous operation
fails, the error_code is converted into a system_error exception and
passed back to the caller through the future.

Where a completion handler signature has the form:

  void handler(error_code ec);

the initiating function returns std::future<void>. As above, an error
is passed back in the future as a system_error exception.


[SVN r84313]
2013-05-17 02:35:08 +00:00
Christopher Kohlhoff
4f1d36c7a1 Move existing examples into a C++03-specific directory, and add a new
directory for C++11-specific examples. A limited subset of the C++03
examples have been converted to their C++11 equivalents.


[SVN r84312]
2013-05-17 02:25:10 +00:00
Christopher Kohlhoff
be0221203a Add new traits classes, handler_type and async_result, that allow
the customisation of the return type of an initiating function.


[SVN r84308]
2013-05-16 23:26:04 +00:00
Christopher Kohlhoff
007bf03d0c Release notes.
[SVN r82553]
2013-01-20 01:46:48 +00:00
Christopher Kohlhoff
13353857a5 Regenerate documentation.
[SVN r82288]
2012-12-30 22:39:30 +00:00
Christopher Kohlhoff
d2679ef618 Revision history.
[SVN r79997]
2012-08-13 11:31:11 +00:00
Christopher Kohlhoff
cf17fa2fc8 Use the thread's private_op_queue for handlers returned by the reactor task.
This fixes a problem where signal_set handlers are not being called when the
io_service's concurrency hint is set to 1. Refs #6657.


[SVN r78739]
2012-05-28 22:03:36 +00:00
Christopher Kohlhoff
5882dc476c Add support for g++ 4.7 when compiling in C++11 mode. Update revision history.
[SVN r78738]
2012-05-28 21:36:43 +00:00
Christopher Kohlhoff
4456432d2e Revision history.
[SVN r78668]
2012-05-26 22:30:57 +00:00
Christopher Kohlhoff
b4e3ff2d9e Fixed a bug where the second buffer in an array of two buffers may be ignored
if the first buffer is empty.


[SVN r77033]
2012-02-15 22:16:53 +00:00
Christopher Kohlhoff
40608f9e0d Reverted earlier change to allow some speculative operations to be performed
without holding the lock, as it introduced a race condition in some
multithreaded scenarios.


[SVN r76990]
2012-02-12 12:53:06 +00:00
Christopher Kohlhoff
4e9e7b595b Update copyright year.
[SVN r76513]
2012-01-15 13:18:46 +00:00
Christopher Kohlhoff
5777189dc8 Add missing class.
[SVN r76512]
2012-01-15 12:52:58 +00:00
Christopher Kohlhoff
c8098f25eb Update documentation.
[SVN r76511]
2012-01-15 12:51:20 +00:00
Christopher Kohlhoff
30f3e430a7 Update copyright notices.
[SVN r76420]
2012-01-11 23:04:08 +00:00
Christopher Kohlhoff
81f394e29d Added object_handle support.
[SVN r76397]
2012-01-10 09:58:05 +00:00
Christopher Kohlhoff
40316dfdb4 Chrono support.
[SVN r76380]
2012-01-09 13:43:38 +00:00
Christopher Kohlhoff
895717964e Revert previous incorrect commit.
[SVN r76379]
2012-01-09 12:55:45 +00:00
Christopher Kohlhoff
96fd7e1906 Exclude detail class from documentation.
[SVN r76378]
2012-01-09 12:53:32 +00:00
Christopher Kohlhoff
3aad45b5f1 Fix typo in revision history.
[SVN r75474]
2011-11-13 11:56:12 +00:00
Christopher Kohlhoff
5d8be62a80 Fix and regeneration documentation.
[SVN r75010]
2011-10-17 12:10:18 +00:00
Christopher Kohlhoff
74b0262b6c Revision history.
[SVN r75005]
2011-10-17 11:05:53 +00:00
Christopher Kohlhoff
353e71c965 Fix bullet list.
[SVN r72805]
2011-06-29 23:31:37 +00:00
Christopher Kohlhoff
70243efb24 Revision history.
[SVN r72432]
2011-06-06 11:56:18 +00:00
Christopher Kohlhoff
2a4c82ab84 Add TOC entry for fork.
[SVN r72426]
2011-06-05 21:40:24 +00:00
Christopher Kohlhoff
a166d19a13 Update overview TOC.
[SVN r72408]
2011-06-05 14:35:14 +00:00
Christopher Kohlhoff
2a89061940 Use correct source mode.
[SVN r72407]
2011-06-05 14:34:45 +00:00
Christopher Kohlhoff
e5818e7994 Include the io_service::service class's private member functions in the documentation.
[SVN r72406]
2011-06-05 14:09:04 +00:00
Christopher Kohlhoff
2f5fcaf01c * Add documentation for new features.
* Duration type should be signed in tick_count_timer example.

* Regenerate documentation.

* Make definition of BOOST_ASIO_MOVE_ARG and BOOST_ASIO_MOVE_CAST separate to
  the definition of BOOST_ASIO_HAS_MOVE, to allow the latter to be user-defined.


[SVN r72404]
2011-06-05 13:29:41 +00:00
Christopher Kohlhoff
56ce545fda * Use variadic templates when supported.
* On Windows, ensure the count of outstanding work is decremented for
  abandoned operations (i.e. operations that are being cleaned up within
  the io_service destructor).

* Fix basic_socket_streambuf compile error when using MSVC 10's std::array.

* Preserve the value of errno across the signal handler.

* Fix unused return value warning.

* Fix various minor documentation errors.


[SVN r70751]
2011-03-30 12:58:14 +00:00
Christopher Kohlhoff
06747ea7c9 * Add documentation for new asio::buffer() overloads for std::array.
* Improve backward compatibility of the new SSL implementation.

* Add wrapper for SSL_CTX_set_default_verify_paths().

* Document which OpenSSL functions the ssl::context member functions use.

* Add SSL certificate verification callbacks, and add a new
  ssl::rfc2818_verification function object for simple peer certificate
  verification based on the host name.

* Use std::atomic<> when available.

* Prefer to use std::array when it is available.

* Use std::shared_ptr and std::weak_ptr when available.

* Use a lightweight scoped smart pointer.

* Fix some shadow variable warnings with g++ 4.6.


[SVN r70384]
2011-03-22 01:21:50 +00:00
Christopher Kohlhoff
9d47d1066b Fix error in doxygen comment. Regenerate documentation.
[SVN r70104]
2011-03-18 02:00:08 +00:00
Christopher Kohlhoff
ad1c100832 New SSL implementation.
[SVN r70096]
2011-03-18 00:25:54 +00:00
Christopher Kohlhoff
8bd4e3a589 Remaining changes for asio 1.5.2:
* Added support for C++0x move construction and assignment to sockets, serial
  ports, POSIX descriptors and Windows handles.

* Regenerate documentation.


[SVN r70092]
2011-03-17 23:35:59 +00:00
Christopher Kohlhoff
d41d2d15e9 * Add support for the fork() system call. Programs that use fork must call
io_service.notify_fork() at the appropriate times. Two new examples have been
  added showing how to use this feature. Refs #3238, #4162.

* Clean up the handling of errors reported by the close() system call. In
  particular, assume that most operating systems won't have close() fail with
  EWOULDBLOCK, but if it does then set blocking mode and restart the call. If
  any other error occurs we assume the descriptor is closed. Refs #3307.

* EV_ONESHOT seems to cause problems on some versions of Mac OS X, with the
  io_service destructor getting stuck inside the close() system call. Use
  EV_CLEAR instead. Refs #5021.

* Include function name in exception what() messages.

* Fix insufficient initialisers warning with MinGW.

* Make the shutdown_service() member functions private.

* Add archetypes for testing socket option functions.

* Add missing lock in signal_set_service::cancel().

* Fix copy/paste error in SignalHandler example.

* The signal header needs to be included in signal_set_service.hpp so that we
  can use constants like NSIG and SIGRTMAX.

* Don't use Boost.Thread's convenience header. Use the header file that is
  specifically for the boost::thread class instead.


[SVN r69467]
2011-03-02 08:27:32 +00:00
Christopher Kohlhoff
f064021b6d Changes for asio version 1.5.1:
* Added support for signal handling, using a new class called
  signal_set. Programs may add one or more signals to the set, and then
  perform an async_wait() operation. The specified handler will be
  called when one of the signals occurs. The same signal number may
  registered with multiple signal_set objects, however the signal number
  must be used only with Asio.

* Added handler tracking, a new debugging aid. When enabled by defining
  BOOST_ASIO_ENABLE_HANDLER_TRACKING, Asio writes debugging output to
  the standard error stream. The output records asynchronous operations
  and the relationships between their handlers. It may be post-processed
  using the included [^handlerviz.pl] tool to create a visual
  representation of the handlers (requires GraphViz).

* Fixed a bug in asio::streambuf where the consume() function did not
  always update the internal buffer pointers correctly. The problem may
  occur when the asio::streambuf is filled with data using the standard
  C++ member functions such as sputn(). (Note: the problem does not
  manifest when the streambuf is populated by the Asio free functions
  read(), async_read(), read_until() or async_read_until().)

* Fixed a bug on kqueue-based platforms, where reactor read operations
  that return false from their perform() function are not correctly
  re-registered with kqueue.

* Modified the buffers_iterator<> and ip::basic_resolver_iterator
  classes so that the value_type typedefs are non-const byte types.


[SVN r69198]
2011-02-23 01:42:40 +00:00
Christopher Kohlhoff
7139b456d2 Changes for asio version 1.5.0:
* Added support for timeouts on socket iostreams, such as
  ip::tcp::iostream. A timeout is set by calling expires_at() or
  expires_from_now() to establish a deadline. Any socket operations
  which occur past the deadline will put the iostream into a bad state.

* Added a new error() member function to socket iostreams, for
  retrieving the error code from the most recent system call.

* Added a new basic_deadline_timer::cancel_one() function. This function
  lets you cancel a single waiting handler on a timer. Handlers are
  cancelled in FIFO order.

* Added a new transfer_exactly() completion condition. This can be used
  to send or receive a specified number of bytes even if the total size
  of the buffer (or buffer sequence) is larger.

* Added new free functions connect() and async_connect(). These
  operations try each endpoint in a list until the socket is
  successfully connected.

* Extended the buffer_size() function so that it works for buffer
  sequences in addition to individual buffers.

* Added a new buffer_copy() function that can be used to copy the raw
  bytes between individual buffers and buffer sequences.

* Added new non-throwing overloads of read(), read_at(), write() and
  write_at() that do not require a completion condition.

* Added friendlier compiler errors for when a completion handler does
  not meet the necessary type requirements. When C++0x is available
  (currently supported for g++ 4.5 or later, and MSVC 10), static_assert
  is also used to generate an informative error message. Checking may be
  disabled by defining BOOST_ASIO_DISABLE_HANDLER_TYPE_REQUIREMENTS.

* Made the is_loopback(), is_unspecified() and is_multicast() functions
  consistently available across the ip::address, ip::address_v4 and
  ip::address_v6 classes. Refs #3939.

* Added new non_blocking() functions for managing the non-blocking
  behaviour of a socket or descriptor. The io_control() commands named
  non_blocking_io are now deprecated in favour of these new functions.

* Added new native_non_blocking() functions for managing the
  non-blocking mode of the underlying socket or descriptor. These
  functions are intended to allow the encapsulation of arbitrary
  non-blocking system calls as asynchronous operations, in a way that is
  transparent to the user of the socket object. The functions have no
  effect on the behaviour of the synchronous operations of the socket or
  descriptor. Refs #3307.

* Added the io_control() member function for socket acceptors.
  Refs #3297.

* 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().

* Added a release() member function to posix descriptors. This function
  releases ownership of the underlying native descriptor to the caller.
  Refs #3900.

* Added support for sequenced packet sockets (SOCK_SEQPACKET).

* Added a 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()).

* Reduced the copying of handler function objects.

* Added support for C++0x move construction to further reduce copying of
  handler objects. Move support is enabled when compiling in -std=c++0x
  mode on g++ 4.5 or higher, or when using MSVC10.

* Removed the dependency on OS-provided macros for the well-known IPv4
  and IPv6 addresses. This should eliminate the annoying "missing braces
  around initializer" warnings. Refs #3741.

* Reduced the size of ip::basic_endpoint<> objects (such as
  ip::tcp::endpoint and ip::udp::endpoint).

* Changed the reactor backends to assume that any descriptors or sockets
  added using assign() may have been dup()-ed, and so require explicit
  deregistration from the reactor. Refs #4971.

* Changed the SSL error category to return error strings from the
  OpenSSL library.

* Changed the separate compilation support such that, to use Asio's SSL
  capabilities, you should also include 'asio/ssl/impl/src.hpp in one
  source file in your program.

* Removed the deprecated member functions named io_service(). The
  get_io_service() member functions should be used instead.

* Removed the deprecated typedefs resolver_query and resolver_iterator
  from the ip::tcp, ip::udp and ip::icmp classes.

* Fixed a compile error on some versions of g++ due to anonymous enums.
  Refs #4883.

* Added an explicit cast to the FIONBIO constant to int to suppress a
  compiler warning on some platforms. Refs #5128.

* Fixed warnings reported by g++'s -Wshadow compiler option. Refs #3905.


[SVN r69194]
2011-02-23 01:04:16 +00:00
Christopher Kohlhoff
6ddfb69440 Revision history.
[SVN r68178]
2011-01-16 01:38:16 +00:00
Christopher Kohlhoff
b1dced94c8 Update copyright notice.
[SVN r68086]
2011-01-13 08:14:05 +00:00
Christopher Kohlhoff
3d76a5a994 Fixed a Windows-specific problem where failures from accept() are incorrectly treated as successes. Refs #4859.
[SVN r66613]
2010-11-16 13:16:45 +00:00
Christopher Kohlhoff
200db06b39 More revision history.
[SVN r66241]
2010-10-28 20:51:01 +00:00
Christopher Kohlhoff
48e36ad46f Revision history.
[SVN r66176]
2010-10-25 13:06:29 +00:00
Christopher Kohlhoff
84ff434f23 Rename separate compilation header. Refs #4560.
[SVN r66174]
2010-10-25 12:26:06 +00:00
John Maddock
75e780357e Fix image location for PDF builds.
[SVN r64254]
2010-07-22 10:58:39 +00:00
Christopher Kohlhoff
9c82711661 Revision history.
[SVN r64220]
2010-07-21 13:34:51 +00:00
Christopher Kohlhoff
83cfa260fd Revision history.
[SVN r63905]
2010-07-12 00:45:32 +00:00
Christopher Kohlhoff
ae04d43d05 Add missing operator+ overload. Refs #4382.
[SVN r63592]
2010-07-04 13:11:14 +00:00
Christopher Kohlhoff
2e77cb4c6e Point docs at new timeout examples.
[SVN r63578]
2010-07-04 07:43:23 +00:00
Daniel James
c7c14a4586 Update various libraries' documentation build.
Mostly to use the images and css files under doc/src instead of
doc/html, usually be deleting the settings in order to use the defaults.
Also add 'boost.root' to some builds in order to fix links which rely on
it.

[SVN r63146]
2010-06-20 18:00:48 +00:00
Christopher Kohlhoff
ff9915419b Fix typo in tutorial. Refs #4252.
[SVN r62549]
2010-06-08 04:27:26 +00:00
Christopher Kohlhoff
0f5629d445 Reworked implementation MkII
[SVN r62499]
2010-06-07 00:00:45 +00:00
Christopher Kohlhoff
e5dac272e7 More doc updates.
[SVN r61674]
2010-04-29 13:25:53 +00:00
Christopher Kohlhoff
33eeb63378 Doc updates.
[SVN r61643]
2010-04-28 12:39:06 +00:00
Christopher Kohlhoff
3c0afbd451 Regenerate documentation.
[SVN r60923]
2010-03-29 23:57:25 +00:00
Christopher Kohlhoff
5f141a2fa1 Work around an apparent doxygen bug to show template parameter lists on
inherited member functions.


[SVN r60922]
2010-03-29 23:55:00 +00:00
Christopher Kohlhoff
7b4fabf4e3 Change the resolver implementation to no longer require the typedefs
InternetProtocol::resolver_query and InternetProtocol::resolver_iterator,
as neither typedef is part of the documented InternetProtocol requirements.

The following typedefs are now marked as deprecated:
- ip::icmp::resolver_query
- ip::icmp::resolver_iterator
- ip::tcp::resolver_query
- ip::tcp::resolver_iterator
- ip::udp::resolver_query
- ip::udp::resolver_iterator


[SVN r60882]
2010-03-27 22:22:59 +00:00
Christopher Kohlhoff
7efbb6060d Update to reflect reworked implementation.
[SVN r60850]
2010-03-26 02:44:27 +00:00
Christopher Kohlhoff
ae4f8aa53f Regenerated documentation.
[SVN r60746]
2010-03-21 12:39:15 +00:00
Christopher Kohlhoff
330af11c6b Enhance reference doc generation to handle new operator types.
[SVN r60745]
2010-03-21 12:38:14 +00:00
Christopher Kohlhoff
8717cac135 Define NOMINMAX for all Windows compilers, not just Cygwin. Users can define
BOOST_ASIO_NO_NOMINMAX to suppress this definition.


[SVN r60681]
2010-03-18 01:32:34 +00:00
Christopher Kohlhoff
c5a643df6b Update revision history.
[SVN r59106]
2010-01-17 22:21:21 +00:00
Christopher Kohlhoff
eecd73a23a Document ordering of handlers in strands. Fix error in streambuf snippet.
[SVN r59104]
2010-01-17 21:48:17 +00:00
Christopher Kohlhoff
5462e44fd2 Add HTTP Server 4 example.
[SVN r58900]
2010-01-11 12:22:33 +00:00
Christopher Kohlhoff
20a822c591 Update copyright notices.
[SVN r58623]
2010-01-02 01:24:52 +00:00
Christopher Kohlhoff
f367084009 Remove spurious word.
[SVN r55919]
2009-08-31 12:45:18 +00:00
Christopher Kohlhoff
58ad4eec91 Clarify that deadline_timer uses a UTC-based clock by default.
[SVN r55670]
2009-08-19 22:44:02 +00:00
Christopher Kohlhoff
0f7114b26c Add revision history to docs.
[SVN r55668]
2009-08-19 22:29:34 +00:00
Christopher Kohlhoff
9b5be8f373 Fix bullet list.
[SVN r55059]
2009-07-21 12:20:28 +00:00
Christopher Kohlhoff
22cc64384f Add examples for handler type requirements.
[SVN r55043]
2009-07-20 12:59:45 +00:00
Christopher Kohlhoff
0c2240eb35 Regenerate documentation.
[SVN r54918]
2009-07-13 03:45:06 +00:00
Christopher Kohlhoff
4fd72eb7e2 Show explicit keyword when necessary. Fix hyperlinks between classes.
[SVN r54917]
2009-07-13 03:40:50 +00:00
Christopher Kohlhoff
13322b3c3b Add ping example.
[SVN r54767]
2009-07-07 12:37:15 +00:00
Christopher Kohlhoff
bdc138d506 Add enum values to doc index. Refs #2620.
[SVN r54498]
2009-06-29 09:32:41 +00:00
Christopher Kohlhoff
d83faa57ae Add header file information to reference docs. Refs #3157.
[SVN r54466]
2009-06-28 13:07:43 +00:00
Christopher Kohlhoff
6a350d2e3d Make links to function overloads more obvious.
[SVN r54407]
2009-06-27 09:13:24 +00:00
Christopher Kohlhoff
df2f20c99b Fix doc generation for array reference parameters.
[SVN r54373]
2009-06-26 11:03:14 +00:00
Christopher Kohlhoff
d0893726be Regenerate documentation.
[SVN r52310]
2009-04-10 23:49:11 +00:00
Christopher Kohlhoff
ab2dd63bbe Implement automatic resizing of the bucket array in the internal hash maps.
This is to improve performance for very large numbers of asynchronous
operations and also to reduce memory usage for very small numbers. A new
macro BOOST_ASIO_HASH_MAP_BUCKETS may be used to tweak the sizes used for the
bucket arrays.


[SVN r52292]
2009-04-09 12:09:16 +00:00
John Maddock
23673deed3 Set PDF URL rewrite path.
[SVN r51414]
2009-02-23 16:50:48 +00:00
John Maddock
b062b904b2 Add PDF generation options to fix external links to point to the web site.
Added a few more Boostbook based libs that were missed first time around.
Fixed PDF naming issues.

[SVN r51284]
2009-02-17 10:05:58 +00:00
John Maddock
6e5620705e Add Jamfile to build PDF versions of all the docs.
Tweaked some existing Jamfiles so that PDF build finds all the necessary image files etc.
Tweaked fo.xsl to provide more options by default, and improve formatting.

[SVN r51104]
2009-02-08 16:59:14 +00:00
Christopher Kohlhoff
5f6006de03 Fix generated documentation where the overloads of a function have different brief descriptions.
[SVN r50987]
2009-02-03 11:00:39 +00:00
Christopher Kohlhoff
7ff15bdb3e Add link to asio wiki.
[SVN r50962]
2009-02-02 07:06:00 +00:00
Christopher Kohlhoff
ebd662f38f Fix errors in SSL overview and add a note about handshaking. Fixes #2617 and #2619.
[SVN r50950]
2009-02-01 13:42:33 +00:00
Christopher Kohlhoff
9d8581df70 Add more documentation for asio::streambuf.
[SVN r49497]
2008-10-31 01:09:45 +00:00
Christopher Kohlhoff
0b5c6d9a2b Add a new POSIX-specific chat client showing how to use the
posix::stream_descriptor class.


[SVN r49483]
2008-10-29 12:50:58 +00:00
Christopher Kohlhoff
7823a1e69e Fix typo.
[SVN r49222]
2008-10-09 20:47:52 +00:00
Christopher Kohlhoff
7d25f1c393 Clarify which resolve functions perform forward or reverse resolution.
[SVN r48715]
2008-09-11 00:05:57 +00:00
Christopher Kohlhoff
68ff78183f Remove generated tags file.
[SVN r48684]
2008-09-09 13:00:07 +00:00
Christopher Kohlhoff
c4b55692d1 Add windows example directory.
[SVN r48683]
2008-09-09 12:59:43 +00:00
Christopher Kohlhoff
eec2e76d18 Regenerate documentation.
[SVN r48565]
2008-09-03 12:28:07 +00:00
Christopher Kohlhoff
167fd03ef4 Add windows::overlapped_ptr to the reference index page.
[SVN r48564]
2008-09-03 11:54:06 +00:00
Christopher Kohlhoff
8f1d888097 Document BOOST_ASIO_DISABLE_EVENTFD macro.
[SVN r48563]
2008-09-03 11:46:02 +00:00
Christopher Kohlhoff
2330f086e2 Add windows/transmit_file example.
[SVN r48562]
2008-09-03 11:36:43 +00:00
Christopher Kohlhoff
f88787fe47 More documentation updates.
[SVN r47550]
2008-07-18 13:18:56 +00:00
Christopher Kohlhoff
c2dedfe03b Documentation updates.
[SVN r47503]
2008-07-17 15:05:24 +00:00
Christopher Kohlhoff
b3635001fa Fix generation for some links from tutorial to reference material.
[SVN r47298]
2008-07-10 23:05:26 +00:00
Christopher Kohlhoff
22fe89b0fe Add new type requirements.
[SVN r47248]
2008-07-08 21:56:50 +00:00
Christopher Kohlhoff
27bcef63d8 Fix image location.
[SVN r47016]
2008-07-02 23:01:17 +00:00
Christopher Kohlhoff
f3340c9eb2 Regenerate documentation.
[SVN r47013]
2008-07-02 22:50:50 +00:00
Christopher Kohlhoff
6d8047bd62 Documentation generation enhancements.
[SVN r46948]
2008-07-01 12:06:49 +00:00
Christopher Kohlhoff
3fded3b5c8 Merge in new reference index page.
[SVN r46947]
2008-07-01 11:59:25 +00:00
Christopher Kohlhoff
c130f6f8c5 Fix typos.
[SVN r46946]
2008-07-01 11:58:39 +00:00
Christopher Kohlhoff
7f1d03c081 Regenerate documentation.
[SVN r46476]
2008-06-18 13:08:21 +00:00
Christopher Kohlhoff
4dc6d7c679 Don't generate enum value lists for empty enums.
[SVN r45293]
2008-05-12 08:35:56 +00:00
Christopher Kohlhoff
ba11496382 Regenerate documentation to include raw socket classes.
[SVN r45292]
2008-05-12 08:30:21 +00:00
Christopher Kohlhoff
be84a0a75a Add requirements for handle and descriptor services. Add new classes to the
quickref index page.


[SVN r44685]
2008-04-21 07:59:21 +00:00
Christopher Kohlhoff
62729d734d Add documentation on the limits of the number of buffers that may be
transferred in individual operations.


[SVN r44684]
2008-04-21 06:20:32 +00:00
Christopher Kohlhoff
9d35aa9751 Regenerate documentation.
[SVN r44683]
2008-04-21 06:15:50 +00:00
Christopher Kohlhoff
0d06a87088 Add UNIX domain sockets, POSIX stream-oriented descriptors and Windows
stream-oriented handles to the reference documentation.


[SVN r44682]
2008-04-21 06:15:17 +00:00
Christopher Kohlhoff
4ef94bda42 Ensure all non-friend related functions are included in the documentation.
[SVN r44681]
2008-04-21 06:14:29 +00:00
Christopher Kohlhoff
64b08a01c4 Add ability to disable the uses of the typeid operator by defining
BOOST_NO_TYPEID or BOOST_ASIO_NO_TYPEID.


[SVN r44662]
2008-04-21 01:23:42 +00:00
Christopher Kohlhoff
601a882f6e Merge asio doc fixes from release branch.
[SVN r43640]
2008-03-15 22:37:58 +00:00
Christopher Kohlhoff
02e47999fa Update copyright notices.
[SVN r43473]
2008-03-03 14:13:01 +00:00
Christopher Kohlhoff
d7bc0d3c9f Regenerate documentation.
[SVN r43471]
2008-03-03 13:36:35 +00:00
Christopher Kohlhoff
002ebea1e3 Disable use of CancelIo by default, due to the possibility of silent
failure on some system configurations. Swallow error returned by CancelIoEx
if there are no operations to be cancelled.


[SVN r43469]
2008-03-03 13:21:05 +00:00
Christopher Kohlhoff
30db47b9f8 Documentation fixes.
[SVN r42121]
2007-12-17 13:17:46 +00:00
Christopher Kohlhoff
cc9a0bb517 Documentation fixes.
[SVN r41867]
2007-12-08 13:00:45 +00:00
Christopher Kohlhoff
c049e9cb53 Documentation fixes.
[SVN r41845]
2007-12-08 00:18:59 +00:00