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
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
d0893726be
Regenerate documentation.
...
[SVN r52310]
2009-04-10 23:49:11 +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
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
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
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
9d8581df70
Add more documentation for asio::streambuf.
...
[SVN r49497]
2008-10-31 01:09:45 +00:00
Christopher Kohlhoff
0c1aea1ebf
Fix scoped_ptr usage to work with Sun Studio 11.
...
[SVN r49484]
2008-10-29 13:00:24 +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
96fcff70f2
Fix problem in read_until's match_condition handling when the delimiter
...
lies at the end of the data.
[SVN r49482]
2008-10-29 12:49:05 +00:00
Christopher Kohlhoff
7823a1e69e
Fix typo.
...
[SVN r49222]
2008-10-09 20:47:52 +00:00
Christopher Kohlhoff
f2ae35573e
Reduce memory usage by doing lazy initialisation of the io_service's reactor.
...
[SVN r49203]
2008-10-09 06:39:05 +00:00
Christopher Kohlhoff
a64e08daf8
Make the service_registry's usage of typeid work when the default gcc
...
linker visibility is set to hidden.
[SVN r49202]
2008-10-09 06:34:48 +00:00
Christopher Kohlhoff
b06aeaea60
Only use TerminateThread when explicitly requested by the user by calling
...
asio::detail::thread::set_terminate_threads(true). This fixes a memory leak
that may occur with internally created threads.
[SVN r49201]
2008-10-09 06:33:34 +00:00
Christopher Kohlhoff
6e64678759
Add example showing use of local::stream_protocol::iostream.
...
[SVN r49200]
2008-10-09 06:32:00 +00:00
Christopher Kohlhoff
70ced27ea0
Fix basic_socket_streambuf to work with Protocol objects that don't
...
provide a resolver.
[SVN r49199]
2008-10-09 06:31:01 +00:00
Christopher Kohlhoff
67a930a268
Ensure the streambuf's egptr() is kept in sync the pptr(). Use std::memmove
...
rather than std::rotate to minimise data copying. Avoid unnecessary resizes
of the underlying vector.
[SVN r49198]
2008-10-09 06:30:16 +00:00
Christopher Kohlhoff
15b7cb1e8a
Merge codegear changes from non-boost version of asio.
...
[SVN r49197]
2008-10-09 06:28:39 +00:00
Christopher Kohlhoff
d67d33cd9b
Add missing bounds checks as specified in TR2 proposal.
...
[SVN r49195]
2008-10-09 06:22:58 +00:00
Nicola Musatti
32da68bc8e
Patch from Ticket #2372
...
[SVN r49155]
2008-10-06 21:46:14 +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
a746a264d3
Handle SSL library errors.
...
[SVN r48686]
2008-09-09 13:02:22 +00:00
Christopher Kohlhoff
557ca7cebf
Version bump.
...
[SVN r48685]
2008-09-09 13:01:16 +00:00
Christopher Kohlhoff
68ff78183f
Remove generated tags file.
...
[SVN r48684]
2008-09-09 13:00:07 +00:00