2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-29 07:02:09 +00:00
Commit Graph

127 Commits

Author SHA1 Message Date
Christopher Kohlhoff
a70528c9be Merge from trunk.
........
  r62497 | chris_kohlhoff | 2010-06-07 09:28:58 +1000 (Mon, 07 Jun 2010) | 2 lines
  
  Fix handling of small but non-zero timeouts. Fixes #4205.
........
  r62499 | chris_kohlhoff | 2010-06-07 10:00:45 +1000 (Mon, 07 Jun 2010) | 2 lines
  
  Reworked implementation MkII.
  Also fixes #4170.
........
  r62530 | chris_kohlhoff | 2010-06-08 09:24:28 +1000 (Tue, 08 Jun 2010) | 2 lines
  
  Fixes for MSVC 7.1, Borland.
........
  r62531 | chris_kohlhoff | 2010-06-08 09:29:05 +1000 (Tue, 08 Jun 2010) | 2 lines
  
  Some changes for Symbian support.
........
  r62549 | chris_kohlhoff | 2010-06-08 14:27:26 +1000 (Tue, 08 Jun 2010) | 2 lines
  
  Fix typo in tutorial. Fixes #4252.
........
  r62556 | chris_kohlhoff | 2010-06-08 19:01:39 +1000 (Tue, 08 Jun 2010) | 2 lines
  
  Ensure unsigned char is used with isdigit. Fixes #4201.
........
  r62558 | chris_kohlhoff | 2010-06-08 21:01:57 +1000 (Tue, 08 Jun 2010) | 2 lines
  
  Fix handling of empty buffer sequences.
........


[SVN r62644]
2010-06-09 09:40:46 +00:00
Christopher Kohlhoff
0f5629d445 Reworked implementation MkII
[SVN r62499]
2010-06-07 00:00:45 +00:00
Christopher Kohlhoff
c1d25769bd Merge doc changes.
[SVN r61703]
2010-04-30 09:42:57 +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
c68851004a Merge from trunk.
........
  r60869 | chris_kohlhoff | 2010-03-27 21:54:44 +1100 (Sat, 27 Mar 2010) | 2 lines
  
  Always call ioctl on underlying descriptor when modifying blocking mode. Refs #3307.
........
  r60882 | chris_kohlhoff | 2010-03-28 09:22:59 +1100 (Sun, 28 Mar 2010) | 12 lines
  
  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
........
  r60883 | chris_kohlhoff | 2010-03-28 10:04:56 +1100 (Sun, 28 Mar 2010) | 2 lines
  
  Fix unused variable warnings.
........
  r60921 | chris_kohlhoff | 2010-03-30 10:51:15 +1100 (Tue, 30 Mar 2010) | 2 lines
  
  Document basic_resolver_query's constructor arguments.
........
  r60922 | chris_kohlhoff | 2010-03-30 10:55:00 +1100 (Tue, 30 Mar 2010) | 3 lines
  
  Work around an apparent doxygen bug to show template parameter lists on
  inherited member functions.
........
  r60923 | chris_kohlhoff | 2010-03-30 10:57:25 +1100 (Tue, 30 Mar 2010) | 2 lines
  
  Regenerate documentation.
........


[SVN r60924]
2010-03-30 01:20:37 +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
f0c9e12f28 Merge from trunk: Update to reflect reworked implementation.
[SVN r60851]
2010-03-26 02:57:37 +00:00
Christopher Kohlhoff
7efbb6060d Update to reflect reworked implementation.
[SVN r60850]
2010-03-26 02:44:27 +00:00
Christopher Kohlhoff
82c6f8c45e Merge from trunk.
........
  r60743 | chris_kohlhoff | 2010-03-21 21:54:56 +1100 (Sun, 21 Mar 2010) | 2 lines
  
  Fix search/replace error in some resolver_query_base enumerators.
........
  r60745 | chris_kohlhoff | 2010-03-21 23:38:14 +1100 (Sun, 21 Mar 2010) | 2 lines
  
  Enhance reference doc generation to handle new operator types.
........
  r60746 | chris_kohlhoff | 2010-03-21 23:39:15 +1100 (Sun, 21 Mar 2010) | 2 lines
  
  Regenerated documentation.
........
  r60756 | chris_kohlhoff | 2010-03-22 14:32:56 +1100 (Mon, 22 Mar 2010) | 2 lines
  
  Fix cancellation in Windows HANDLE backend.
........
  r60781 | chris_kohlhoff | 2010-03-23 12:39:12 +1100 (Tue, 23 Mar 2010) | 3 lines
  
  Async connect operations using the reactor should not allow speculative
  completion.
........


[SVN r60821]
2010-03-25 01:50:05 +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
eb1c2b560a Merge from trunk.
........
  r60681 | chris_kohlhoff | 2010-03-18 12:32:34 +1100 (Thu, 18 Mar 2010) | 3 lines
  
  Define NOMINMAX for all Windows compilers, not just Cygwin. Users can define
  BOOST_ASIO_NO_NOMINMAX to suppress this definition. Fixes #3901.
........
  r60687 | chris_kohlhoff | 2010-03-18 17:23:38 +1100 (Thu, 18 Mar 2010) | 4 lines
  
  Use a bitmask type for the resolver flags, as per the TR2 proposal. This will
  prevent implicit conversion from int to flags, allowing the compiler to catch
  cases where users incorrectly pass a numeric port number as the service name.
........
  r60689 | chris_kohlhoff | 2010-03-18 22:08:19 +1100 (Thu, 18 Mar 2010) | 2 lines
  
  Fix bug where 0-byte reads were incorrectly passing an eof error_code to the handler. Fixes #4023.
........
  r60705 | chris_kohlhoff | 2010-03-20 00:08:04 +1100 (Sat, 20 Mar 2010) | 3 lines
  
  Fix epoll_reactor bug where cancelled operations would complete with a
  "success" error_code.
........
  r60717 | chris_kohlhoff | 2010-03-20 10:23:28 +1100 (Sat, 20 Mar 2010) | 2 lines
  
  More extensive read and write tests.
........
  r60722 | chris_kohlhoff | 2010-03-20 10:57:50 +1100 (Sat, 20 Mar 2010) | 2 lines
  
  WinCE doesn't provide InitializeCriticalSectionAndSpinCount.
........
  r60723 | chris_kohlhoff | 2010-03-20 10:58:48 +1100 (Sat, 20 Mar 2010) | 2 lines
  
  Fix cancellation.
........
  r60725 | chris_kohlhoff | 2010-03-20 10:59:48 +1100 (Sat, 20 Mar 2010) | 3 lines
  
  Use cancel() to avoid Windows behaviour where a connection is reset if the
  socket is closed while there is a pending read operation.
........


[SVN r60741]
2010-03-21 09:39:26 +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
b94132b6b9 Merge doc and example changes from trunk.
........
  r58900 | chris_kohlhoff | 2010-01-11 23:22:33 +1100 (Mon, 11 Jan 2010) | 2 lines
  
  Add HTTP Server 4 example.
........
  r59103 | chris_kohlhoff | 2010-01-18 08:42:36 +1100 (Mon, 18 Jan 2010) | 2 lines
  
  Add coroutine::is_complete() and support for "yield break;".
........
  r59104 | chris_kohlhoff | 2010-01-18 08:48:17 +1100 (Mon, 18 Jan 2010) | 2 lines
  
  Document ordering of handlers in strands. Fix error in streambuf snippet.
........
  r59106 | chris_kohlhoff | 2010-01-18 09:21:21 +1100 (Mon, 18 Jan 2010) | 2 lines
  
  Update revision history.
........


[SVN r59110]
2010-01-18 02:35:32 +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
df91035ff5 Update copyright notices.
[SVN r58666]
2010-01-04 09:36:00 +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
286aa642f4 Merged documentation changes from trunk:
........
  r55668 | chris_kohlhoff | 2009-08-20 08:29:34 +1000 (Thu, 20 Aug 2009) | 2 lines
  
  Add revision history to docs.
........
  r55670 | chris_kohlhoff | 2009-08-20 08:44:02 +1000 (Thu, 20 Aug 2009) | 2 lines
  
  Clarify that deadline_timer uses a UTC-based clock by default.
........


[SVN r55674]
2009-08-19 23:39:44 +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
ed664770cf Fix bullet list.
[SVN r55060]
2009-07-21 12:45:11 +00:00
Christopher Kohlhoff
9b5be8f373 Fix bullet list.
[SVN r55059]
2009-07-21 12:20:28 +00:00
Christopher Kohlhoff
1b1927de68 Merged examples for handler type requirements from trunk.
[SVN r55044]
2009-07-20 13:16:23 +00:00
Christopher Kohlhoff
22cc64384f Add examples for handler type requirements.
[SVN r55043]
2009-07-20 12:59:45 +00:00
Christopher Kohlhoff
8a6f62d424 Merged from trunk. Fixes #3256.
........
  r54844 | chris_kohlhoff | 2009-07-10 08:55:26 +1000 (Fri, 10 Jul 2009) | 2 lines
  
  Fix task initialisation.
........
  r54845 | chris_kohlhoff | 2009-07-10 08:58:26 +1000 (Fri, 10 Jul 2009) | 2 lines
  
  Don't write to /dev/poll descriptor when there are no pending changes.
........
  r54907 | chris_kohlhoff | 2009-07-12 18:16:06 +1000 (Sun, 12 Jul 2009) | 2 lines
  
  Fix compile error when using openssl 1.0 beta. Refs #3256.
........
  r54916 | chris_kohlhoff | 2009-07-13 13:38:21 +1000 (Mon, 13 Jul 2009) | 2 lines
  
  Documentation updates.
........
  r54917 | chris_kohlhoff | 2009-07-13 13:40:50 +1000 (Mon, 13 Jul 2009) | 2 lines
  
  Show explicit keyword when necessary. Fix hyperlinks between classes.
........
  r54918 | chris_kohlhoff | 2009-07-13 13:45:06 +1000 (Mon, 13 Jul 2009) | 2 lines
  
  Regenerate documentation.
........


[SVN r54920]
2009-07-13 10:41:04 +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
095e03d630 Merge ping example from trunk.
[SVN r54768]
2009-07-07 12:46:51 +00:00
Christopher Kohlhoff
13322b3c3b Add ping example.
[SVN r54767]
2009-07-07 12:37:15 +00:00
Christopher Kohlhoff
2c41e180c1 Merge from trunk. Fixes #3095, #3216, #3098, #3107, #1341, #2754, #3157, #2620, #2618.
........
  r54373 | chris_kohlhoff | 2009-06-26 21:03:14 +1000 (Fri, 26 Jun 2009) | 2 lines
  
  Fix doc generation for array reference parameters.
........
  r54376 | chris_kohlhoff | 2009-06-26 23:35:04 +1000 (Fri, 26 Jun 2009) | 2 lines
  
  Fix bug in hash resize. Ref #3095.
........
  r54377 | chris_kohlhoff | 2009-06-26 23:55:24 +1000 (Fri, 26 Jun 2009) | 3 lines
  
  Remove a local variable that was hiding the ec parameter and preventing
  error codes from being correctly propagated. Ref #3216.
........
  r54390 | chris_kohlhoff | 2009-06-27 12:17:49 +1000 (Sat, 27 Jun 2009) | 2 lines
  
  Fix failures reported when the tests are built with _GLIBCXX_DEBUG. Ref #3098.
........
  r54392 | chris_kohlhoff | 2009-06-27 15:24:16 +1000 (Sat, 27 Jun 2009) | 2 lines
  
  Fix custom memory allocation for timers. Ref #3107.
........
  r54393 | chris_kohlhoff | 2009-06-27 17:07:40 +1000 (Sat, 27 Jun 2009) | 2 lines
  
  Fix various g++ warnings. Ref #1341.
........
  r54400 | chris_kohlhoff | 2009-06-27 17:52:11 +1000 (Sat, 27 Jun 2009) | 4 lines
  
  Use boost::throw_exception() rather than throw keyword to allow asio to be
  used when exception support is disabled. Note that the SSL wrappers still
  require exception support. Refs #2754.
........
  r54407 | chris_kohlhoff | 2009-06-27 19:13:24 +1000 (Sat, 27 Jun 2009) | 2 lines
  
  Make links to function overloads more obvious.
........
  r54466 | chris_kohlhoff | 2009-06-28 23:07:43 +1000 (Sun, 28 Jun 2009) | 2 lines
  
  Add header file information to reference docs. Refs #3157.
........
  r54467 | chris_kohlhoff | 2009-06-28 23:20:17 +1000 (Sun, 28 Jun 2009) | 4 lines
  
  Treat 0-byte reads and writes as no-ops to comply with the documented type
  requirements for SyncReadStream, AsyncReadStream, SyncWriteStream and
  AsyncWriteStream.
........
  r54498 | chris_kohlhoff | 2009-06-29 19:32:41 +1000 (Mon, 29 Jun 2009) | 2 lines
  
  Add enum values to doc index. Refs #2620.
........


[SVN r54499]
2009-06-29 13:36:06 +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
2e84fa9748 Merge regenerated documentation from trunk.
[SVN r52311]
2009-04-10 23:55:44 +00:00
Christopher Kohlhoff
d0893726be Regenerate documentation.
[SVN r52310]
2009-04-10 23:49:11 +00:00
Christopher Kohlhoff
9c73bf2580 Merged revisions 52288-52294 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r52288 | chris_kohlhoff | 2009-04-09 21:50:42 +1000 (Thu, 09 Apr 2009) | 2 lines
  
  Prevent locales from affecting the formatting of endpoints. Fixes #2682.
........
  r52289 | chris_kohlhoff | 2009-04-09 22:00:36 +1000 (Thu, 09 Apr 2009) | 3 lines
  
  Correct documentation of read, read_at, write and write_at functions to
  match new CompletionCondition concept. Fixes #2871.
........
  r52290 | chris_kohlhoff | 2009-04-09 22:03:01 +1000 (Thu, 09 Apr 2009) | 2 lines
  
  Fix some warnings that occur with MSVC at warning level 4. Fixes #2828.
........
  r52291 | chris_kohlhoff | 2009-04-09 22:04:39 +1000 (Thu, 09 Apr 2009) | 3 lines
  
  As a performance optimisation, add an explicit check for an empty vector of
  timer queues.
........
  r52292 | chris_kohlhoff | 2009-04-09 22:09:16 +1000 (Thu, 09 Apr 2009) | 6 lines
  
  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.
........
  r52293 | chris_kohlhoff | 2009-04-09 22:12:50 +1000 (Thu, 09 Apr 2009) | 3 lines
  
  Prevent memory leaks when an async SSL operation's completion handler throws.
  Fixes #2910.
........
  r52294 | chris_kohlhoff | 2009-04-09 22:16:02 +1000 (Thu, 09 Apr 2009) | 3 lines
  
  Fix implementation of io_control() so that it adheres to the type
  requirements for IoControlCommand. Fixes #2820.
........


[SVN r52309]
2009-04-10 23:44:53 +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
0a5f727597 Merge PDF build changes from Trunk.
[SVN r51417]
2009-02-23 18:39:32 +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
40ca1c9aac Merged revisions 50943-50950,50961-50964,50987 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r50943 | chris_kohlhoff | 2009-02-01 22:37:18 +1100 (Sun, 01 Feb 2009) | 2 lines
  
  Need to specify socket lib to link correctly on QNX. Fixes #2504.
........
  r50944 | chris_kohlhoff | 2009-02-01 22:42:09 +1100 (Sun, 01 Feb 2009) | 2 lines
  
  Use correct size for IP_MULTICAST_LOOP option on QNX. Fixes #2530.
........
  r50945 | chris_kohlhoff | 2009-02-01 22:57:01 +1100 (Sun, 01 Feb 2009) | 2 lines
  
  Improve warning message when _WIN32_WINNT is not correctly defined. Fixes #2541.
........
  r50946 | chris_kohlhoff | 2009-02-01 23:28:12 +1100 (Sun, 01 Feb 2009) | 2 lines
  
  Suppress unused result warning. Fixes #2534.
........
  r50947 | chris_kohlhoff | 2009-02-01 23:41:01 +1100 (Sun, 01 Feb 2009) | 3 lines
  
  Ensure arguments to windows::overlapped_ptr::complete() are passed through to
  the completion handler. Fixes #2614.
........
  r50948 | chris_kohlhoff | 2009-02-01 23:50:08 +1100 (Sun, 01 Feb 2009) | 2 lines
  
  Add include of <cstring> to fix a compile error on Solaris 10. Fixes #2607.
........
  r50949 | chris_kohlhoff | 2009-02-02 00:25:05 +1100 (Mon, 02 Feb 2009) | 3 lines
  
  Clear the last error following a successful Windows API call, since some
  socket providers may leave last error set even when the call succeeds.
........
  r50950 | chris_kohlhoff | 2009-02-02 00:42:33 +1100 (Mon, 02 Feb 2009) | 2 lines
  
  Fix errors in SSL overview and add a note about handshaking. Fixes #2617 and #2619.
........
  r50961 | chris_kohlhoff | 2009-02-02 17:18:59 +1100 (Mon, 02 Feb 2009) | 2 lines
  
  Use a pipe if eventfd is not supported at runtime. Fixes #2683.
........
  r50962 | chris_kohlhoff | 2009-02-02 18:06:00 +1100 (Mon, 02 Feb 2009) | 2 lines
  
  Add link to asio wiki.
........
  r50963 | chris_kohlhoff | 2009-02-02 20:36:11 +1100 (Mon, 02 Feb 2009) | 4 lines
  
  Use the workaround syntax for specifying a return type with boost::bind.
  Needed for the SSL support to work on some older compilers (in particular,
  g++ 3.4.5 as used with MinGW).
........
  r50964 | chris_kohlhoff | 2009-02-02 20:37:10 +1100 (Mon, 02 Feb 2009) | 2 lines
  
  Update asio version number.
........
  r50987 | chris_kohlhoff | 2009-02-03 22:00:39 +1100 (Tue, 03 Feb 2009) | 2 lines
  
  Fix generated documentation where the overloads of a function have different brief descriptions.
........


[SVN r51004]
2009-02-04 06:22:44 +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