Commit Graph

1359 Commits

Author SHA1 Message Date
Christopher Kohlhoff
486c8e7931 Fix bug in hash resize. Ref #3095.
[SVN r54376]
2009-06-26 13:35:04 +00:00
Christopher Kohlhoff
df2f20c99b Fix doc generation for array reference parameters.
[SVN r54373]
2009-06-26 11:03:14 +00:00
Troy D. Straszheim
ab5851e1f6 asio cmake test fixes
[SVN r53162]
2009-05-21 21:27:01 +00:00
Troy D. Straszheim
9a908c4fdb tune up link tests in general, asio tests specifically
[SVN r53147]
2009-05-21 00:31:35 +00:00
Troy D. Straszheim
065dbc20f8 This makes asio link tests pass, accomplishes two things:
* Communicates CMAKE_CXX_COMPILER correctly to subprocess (via
load_cache which may be a bad idea)

* Manually (yuck) pulls the paths of libraries that the link tests
  must link against out of the target properties and passes them to
  the linktest subprocess













[SVN r53140]
2009-05-20 18:33:38 +00:00
Troy D. Straszheim
1be1f69229 HTF did I miss this endforeach()
[SVN r53041]
2009-05-15 23:25:07 +00:00
Troy D. Straszheim
5a86b17443 cleanup of asio tests in cmakeland... link tests still broken
[SVN r53011]
2009-05-15 01:49:26 +00:00
Troy D. Straszheim
b895ac7f57 cleanup of asio tests in cmakeland... link tests still broken
[SVN r53010]
2009-05-15 01:49:06 +00:00
Christopher Kohlhoff
7dc6ba5794 Merged revisions 52465,52478 from trunk
........
  r52465 | chris_kohlhoff | 2009-04-18 23:27:53 +1000 (Sat, 18 Apr 2009) | 3 lines
  
  POSIX allows successful system calls to modify errno, so always clear the
  error_code if the result indicates success. Fixes #2953.
........
  r52478 | chris_kohlhoff | 2009-04-19 14:15:17 +1000 (Sun, 19 Apr 2009) | 3 lines
  
  Don't include termios.h unless BOOST_ASIO_HAS_SERIAL_PORT is defined.
  Fixes #2917.
........


[SVN r52494]
2009-04-19 23:00:29 +00:00
Christopher Kohlhoff
c48aa55815 Don't include termios.h unless BOOST_ASIO_HAS_SERIAL_PORT is defined.
Fixes #2917.


[SVN r52478]
2009-04-19 04:15:17 +00:00
Christopher Kohlhoff
1f9ec4a8da POSIX allows successful system calls to modify errno, so always clear the
error_code if the result indicates success. Fixes #2953.


[SVN r52465]
2009-04-18 13:27:53 +00:00
Christopher Kohlhoff
d6762ceadd Merged revisions 52412,52419 via svnmerge from trunk.
........
  r52412 | chris_kohlhoff | 2009-04-16 13:27:58 +1000 (Thu, 16 Apr 2009) | 3 lines
  
  Fix incompatibility between asio and ncurses.h due to the latter defining
  a macro called "timeout". Fixes #2156.
........
  r52419 | chris_kohlhoff | 2009-04-16 22:31:27 +1000 (Thu, 16 Apr 2009) | 4 lines
  
  Specifically handle the case when an overlapped ReadFile call fails with
  ERROR_MORE_DATA. This enables a hack where a windows::stream_handle can be
  used with a message-oriented named pipe.
........


[SVN r52459]
2009-04-17 22:32:20 +00:00
Christopher Kohlhoff
b79f9a65cd Specifically handle the case when an overlapped ReadFile call fails with
ERROR_MORE_DATA. This enables a hack where a windows::stream_handle can be
used with a message-oriented named pipe.


[SVN r52419]
2009-04-16 12:31:27 +00:00
Christopher Kohlhoff
21f70c436b Fix incompatibility between asio and ncurses.h due to the latter defining
a macro called "timeout". Fixes #2156.


[SVN r52412]
2009-04-16 03:27:58 +00:00
Christopher Kohlhoff
b7cbd2b7ae Version bump prior to upcoming release.
[SVN r52312]
2009-04-11 00:29:02 +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
0218c0b06b Fix implementation of io_control() so that it adheres to the type
requirements for IoControlCommand. Fixes #2820.


[SVN r52294]
2009-04-09 12:16:02 +00:00
Christopher Kohlhoff
6408f73a8f Prevent memory leaks when an async SSL operation's completion handler throws.
Fixes #2910.


[SVN r52293]
2009-04-09 12:12:50 +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
Christopher Kohlhoff
5816e90bdb As a performance optimisation, add an explicit check for an empty vector of
timer queues.


[SVN r52291]
2009-04-09 12:04:39 +00:00
Christopher Kohlhoff
28e59ef71c Fix some warnings that occur with MSVC at warning level 4. Fixes #2828.
[SVN r52290]
2009-04-09 12:03:01 +00:00
Christopher Kohlhoff
59a8830f00 Correct documentation of read, read_at, write and write_at functions to
match new CompletionCondition concept. Fixes #2871.


[SVN r52289]
2009-04-09 12:00:36 +00:00
Christopher Kohlhoff
2c6b839435 Prevent locales from affecting the formatting of endpoints. Fixes #2682.
[SVN r52288]
2009-04-09 11:50:42 +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
0d70590780 Add missing #include <iostream>.
[SVN r51006]
2009-02-04 06:46:58 +00:00
Christopher Kohlhoff
f9f11ba365 Add missing #include <iostream>.
[SVN r51005]
2009-02-04 06:45:34 +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
Christopher Kohlhoff
6ce058b229 Update asio version number.
[SVN r50964]
2009-02-02 09:37:10 +00:00
Christopher Kohlhoff
3d9eada294 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).


[SVN r50963]
2009-02-02 09:36:11 +00:00
Christopher Kohlhoff
7ff15bdb3e Add link to asio wiki.
[SVN r50962]
2009-02-02 07:06:00 +00:00
Christopher Kohlhoff
d7a448832d Use a pipe if eventfd is not supported at runtime. Fixes #2683.
[SVN r50961]
2009-02-02 06:18:59 +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
82ed5cb275 Clear the last error following a successful Windows API call, since some
socket providers may leave last error set even when the call succeeds.


[SVN r50949]
2009-02-01 13:25:05 +00:00
Christopher Kohlhoff
774b96f4b5 Add include of <cstring> to fix a compile error on Solaris 10. Fixes #2607.
[SVN r50948]
2009-02-01 12:50:08 +00:00
Christopher Kohlhoff
d53f078c45 Ensure arguments to windows::overlapped_ptr::complete() are passed through to
the completion handler. Fixes #2614.


[SVN r50947]
2009-02-01 12:41:01 +00:00
Christopher Kohlhoff
0d15139621 Suppress unused result warning. Fixes #2534.
[SVN r50946]
2009-02-01 12:28:12 +00:00
Christopher Kohlhoff
1a99da8a0b Improve warning message when _WIN32_WINNT is not correctly defined. Fixes #2541.
[SVN r50945]
2009-02-01 11:57:01 +00:00
Christopher Kohlhoff
94696dfc48 Use correct size for IP_MULTICAST_LOOP option on QNX. Fixes #2530.
[SVN r50944]
2009-02-01 11:42:09 +00:00
Christopher Kohlhoff
e5a0230dbc Need to specify socket lib to link correctly on QNX. Fixes #2504.
[SVN r50943]
2009-02-01 11:37:18 +00:00
Troy D. Straszheim
9be4e6992e merge of cmake build files from trunk per beman
[SVN r50756]
2009-01-24 18:57:20 +00:00
Michael A. Jackson
be86faa3cd Updating dependency information for modularized libraries.
[SVN r49628]
2008-11-07 17:05:27 +00:00
Michael A. Jackson
02ac45ba96 Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
2825aaaff6 Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
2008-11-01 13:15:41 +00:00
Christopher Kohlhoff
51be01775f Merged documentation changes from trunk.
........
  r49483 | chris_kohlhoff | 2008-10-29 23:50:58 +1100 (Wed, 29 Oct 2008) | 3 lines
  
  Add a new POSIX-specific chat client showing how to use the
  posix::stream_descriptor class.
........
  r49497 | chris_kohlhoff | 2008-10-31 12:09:45 +1100 (Fri, 31 Oct 2008) | 2 lines
  
  Add more documentation for asio::streambuf.
........


[SVN r49499]
2008-10-31 12:05:52 +00:00