Christopher Kohlhoff
9d8581df70
Add more documentation for asio::streambuf.
...
[SVN r49497]
2008-10-31 01:09:45 +00:00
Christopher Kohlhoff
b95ef9b7ab
Merged revisions 49482,49484 via svnmerge from
...
https://svn.boost.org/svn/boost/trunk
........
r49482 | chris_kohlhoff | 2008-10-29 23:49:05 +1100 (Wed, 29 Oct 2008) | 3 lines
Fix problem in read_until's match_condition handling when the delimiter
lies at the end of the data.
........
r49484 | chris_kohlhoff | 2008-10-30 00:00:24 +1100 (Thu, 30 Oct 2008) | 2 lines
Fix scoped_ptr usage to work with Sun Studio 11.
........
[SVN r49495]
2008-10-30 23:24:23 +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
10f5545d51
Asio version bump prior to release.
...
[SVN r49225]
2008-10-09 21:16:01 +00:00
Christopher Kohlhoff
5d31583967
Fix generation for some links from tutorial to reference material.
...
[SVN r49224]
2008-10-09 21:12:52 +00:00
Christopher Kohlhoff
f35922e29d
Merged revision 49222 from trunk.
...
........
r49222 | chris_kohlhoff | 2008-10-10 07:47:52 +1100 (Fri, 10 Oct 2008) | 2 lines
Fix typo.
........
[SVN r49223]
2008-10-09 20:59:10 +00:00
Christopher Kohlhoff
7823a1e69e
Fix typo.
...
[SVN r49222]
2008-10-09 20:47:52 +00:00
Christopher Kohlhoff
2fac9863bc
Merge from trunk.
...
........
r49155 | nmusatti | 2008-10-07 08:46:14 +1100 (Tue, 07 Oct 2008) | 1 line
Patch from Ticket #2372
........
r49195 | chris_kohlhoff | 2008-10-09 17:22:58 +1100 (Thu, 09 Oct 2008) | 2 lines
Add missing bounds checks as specified in TR2 proposal.
........
r49197 | chris_kohlhoff | 2008-10-09 17:28:39 +1100 (Thu, 09 Oct 2008) | 2 lines
Merge codegear changes from non-boost version of asio.
........
r49198 | chris_kohlhoff | 2008-10-09 17:30:16 +1100 (Thu, 09 Oct 2008) | 4 lines
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.
........
r49199 | chris_kohlhoff | 2008-10-09 17:31:01 +1100 (Thu, 09 Oct 2008) | 3 lines
Fix basic_socket_streambuf to work with Protocol objects that don't
provide a resolver.
........
r49200 | chris_kohlhoff | 2008-10-09 17:32:00 +1100 (Thu, 09 Oct 2008) | 2 lines
Add example showing use of local::stream_protocol::iostream.
........
r49201 | chris_kohlhoff | 2008-10-09 17:33:34 +1100 (Thu, 09 Oct 2008) | 4 lines
Only use TerminateThread when explicitly requested by the user by calling
asio::detail:🧵 :set_terminate_threads(true). This fixes a memory leak
that may occur with internally created threads.
........
r49202 | chris_kohlhoff | 2008-10-09 17:34:48 +1100 (Thu, 09 Oct 2008) | 3 lines
Make the service_registry's usage of typeid work when the default gcc
linker visibility is set to hidden.
........
r49203 | chris_kohlhoff | 2008-10-09 17:39:05 +1100 (Thu, 09 Oct 2008) | 2 lines
Reduce memory usage by doing lazy initialisation of the io_service's reactor.
........
[SVN r49221]
2008-10-09 20:43:26 +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:🧵 :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
Christopher Kohlhoff
8e413b0ece
Merge from trunk.
...
........
r48414 | chris_kohlhoff | 2008-08-28 22:03:46 +1000 (Thu, 28 Aug 2008) | 2 lines
Fix uninitialised event handles in asio::detail::thread in external mode.
........
r48415 | chris_kohlhoff | 2008-08-28 22:04:21 +1000 (Thu, 28 Aug 2008) | 2 lines
Fix duplicate variable warning.
........
r48416 | chris_kohlhoff | 2008-08-28 22:06:42 +1000 (Thu, 28 Aug 2008) | 3 lines
Fix duplicate variable warning. Use get_io_service() rather than
deprecated io_service() function.
........
r48417 | chris_kohlhoff | 2008-08-28 22:09:09 +1000 (Thu, 28 Aug 2008) | 2 lines
Use get_io_service() rather than deprecated io_service() function.
........
r48418 | chris_kohlhoff | 2008-08-28 22:11:47 +1000 (Thu, 28 Aug 2008) | 9 lines
Change the CompletionCondition concept so that:
- It is now evaluated before the first call to the underlying
*_some() operation, as well as after every operation.
- The return value is a number of bytes, which indicates the maximum
length to be transferred on the subsequent *_some() operation. If
the return value is 0 then the composed operation completes.
Add missing unit tests for read_at and write_at.
........
r48490 | chris_kohlhoff | 2008-08-31 18:58:49 +1000 (Sun, 31 Aug 2008) | 2 lines
Don't build serial port test code when serial ports are not available.
........
r48491 | chris_kohlhoff | 2008-08-31 19:01:59 +1000 (Sun, 31 Aug 2008) | 3 lines
Refactor reactive socket implementation so that synchronous read, write,
accept and connect operations don't modify data associated with the socket.
........
r48495 | chris_kohlhoff | 2008-08-31 21:38:52 +1000 (Sun, 31 Aug 2008) | 2 lines
Add class to allow use of arbitrary Windows overlapped I/O operations.
........
r48524 | chris_kohlhoff | 2008-09-02 09:04:35 +1000 (Tue, 02 Sep 2008) | 3 lines
Add support for using an eventfd descriptor on linux to interrupt a blocked
epoll/select reactor.
........
r48525 | chris_kohlhoff | 2008-09-02 09:05:05 +1000 (Tue, 02 Sep 2008) | 3 lines
Use templates to handle iovec structures that have an iov_base member of
type char*.
........
r48526 | chris_kohlhoff | 2008-09-02 09:07:29 +1000 (Tue, 02 Sep 2008) | 2 lines
Fix error in comment.
........
r48527 | chris_kohlhoff | 2008-09-02 18:46:46 +1000 (Tue, 02 Sep 2008) | 2 lines
Fix to compile with MSVC 7.1.
........
r48535 | chris_kohlhoff | 2008-09-02 21:34:18 +1000 (Tue, 02 Sep 2008) | 2 lines
Add const overloads of the lowest_layer member functions.
........
r48558 | chris_kohlhoff | 2008-09-03 18:56:43 +1000 (Wed, 03 Sep 2008) | 2 lines
Oops, changeset 48535 accidentally reverted 48527's fix.
........
r48559 | chris_kohlhoff | 2008-09-03 18:57:48 +1000 (Wed, 03 Sep 2008) | 2 lines
Add a workaround for a possible gcc 4.3 optimiser bug.
........
r48560 | chris_kohlhoff | 2008-09-03 19:06:10 +1000 (Wed, 03 Sep 2008) | 2 lines
Explicitly specify return type with bind to keep some compilers happy.
........
r48561 | chris_kohlhoff | 2008-09-03 19:08:04 +1000 (Wed, 03 Sep 2008) | 2 lines
Update completion_condition documentation to match new signature.
........
r48562 | chris_kohlhoff | 2008-09-03 21:36:43 +1000 (Wed, 03 Sep 2008) | 2 lines
Add windows/transmit_file example.
........
r48563 | chris_kohlhoff | 2008-09-03 21:46:02 +1000 (Wed, 03 Sep 2008) | 2 lines
Document BOOST_ASIO_DISABLE_EVENTFD macro.
........
r48564 | chris_kohlhoff | 2008-09-03 21:54:06 +1000 (Wed, 03 Sep 2008) | 2 lines
Add windows::overlapped_ptr to the reference index page.
........
r48565 | chris_kohlhoff | 2008-09-03 22:28:07 +1000 (Wed, 03 Sep 2008) | 2 lines
Regenerate documentation.
........
r48683 | chris_kohlhoff | 2008-09-09 22:59:43 +1000 (Tue, 09 Sep 2008) | 2 lines
Add windows example directory.
........
r48684 | chris_kohlhoff | 2008-09-09 23:00:07 +1000 (Tue, 09 Sep 2008) | 2 lines
Remove generated tags file.
........
r48685 | chris_kohlhoff | 2008-09-09 23:01:16 +1000 (Tue, 09 Sep 2008) | 2 lines
Version bump.
........
r48686 | chris_kohlhoff | 2008-09-09 23:02:22 +1000 (Tue, 09 Sep 2008) | 2 lines
Handle SSL library errors.
........
r48715 | chris_kohlhoff | 2008-09-11 10:05:57 +1000 (Thu, 11 Sep 2008) | 2 lines
Clarify which resolve functions perform forward or reverse resolution.
........
[SVN r49194]
2008-10-09 05:41:50 +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
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
68b4f9d710
Update completion_condition documentation to match new signature.
...
[SVN r48561]
2008-09-03 09:08:04 +00:00
Christopher Kohlhoff
295d977d78
Explicitly specify return type with bind to keep some compilers happy.
...
[SVN r48560]
2008-09-03 09:06:10 +00:00
Christopher Kohlhoff
a2af9824d6
Add a workaround for a possible gcc 4.3 optimiser bug.
...
[SVN r48559]
2008-09-03 08:57:48 +00:00
Christopher Kohlhoff
76bf08631f
Oops, changeset 48535 accidentally reverted 48527's fix.
...
[SVN r48558]
2008-09-03 08:56:43 +00:00
Christopher Kohlhoff
aea347d0a7
Add const overloads of the lowest_layer member functions.
...
[SVN r48535]
2008-09-02 11:34:18 +00:00
Christopher Kohlhoff
f5caaa00d2
Fix to compile with MSVC 7.1.
...
[SVN r48527]
2008-09-02 08:46:46 +00:00
Christopher Kohlhoff
8726d4169c
Fix error in comment.
...
[SVN r48526]
2008-09-01 23:07:29 +00:00
Christopher Kohlhoff
687fe8806f
Use templates to handle iovec structures that have an iov_base member of
...
type char*.
[SVN r48525]
2008-09-01 23:05:05 +00:00
Christopher Kohlhoff
c60ebedd28
Add support for using an eventfd descriptor on linux to interrupt a blocked
...
epoll/select reactor.
[SVN r48524]
2008-09-01 23:04:35 +00:00
Christopher Kohlhoff
4696ee9033
Add class to allow use of arbitrary Windows overlapped I/O operations.
...
[SVN r48495]
2008-08-31 11:38:52 +00:00
Christopher Kohlhoff
7176a41d0d
Refactor reactive socket implementation so that synchronous read, write,
...
accept and connect operations don't modify data associated with the socket.
[SVN r48491]
2008-08-31 09:01:59 +00:00
Christopher Kohlhoff
2f86d9c815
Don't build serial port test code when serial ports are not available.
...
[SVN r48490]
2008-08-31 08:58:49 +00:00
Christopher Kohlhoff
bb6bfd4b5a
Change the CompletionCondition concept so that:
...
- It is now evaluated before the first call to the underlying
*_some() operation, as well as after every operation.
- The return value is a number of bytes, which indicates the maximum
length to be transferred on the subsequent *_some() operation. If
the return value is 0 then the composed operation completes.
Add missing unit tests for read_at and write_at.
[SVN r48418]
2008-08-28 12:11:47 +00:00
Christopher Kohlhoff
de4cfeb523
Use get_io_service() rather than deprecated io_service() function.
...
[SVN r48417]
2008-08-28 12:09:09 +00:00
Christopher Kohlhoff
05bf3b8195
Fix duplicate variable warning. Use get_io_service() rather than
...
deprecated io_service() function.
[SVN r48416]
2008-08-28 12:06:42 +00:00
Christopher Kohlhoff
94292f1605
Fix duplicate variable warning.
...
[SVN r48415]
2008-08-28 12:04:21 +00:00
Christopher Kohlhoff
7387044863
Fix uninitialised event handles in asio::detail::thread in external mode.
...
[SVN r48414]
2008-08-28 12:03:46 +00:00
Christopher Kohlhoff
302ca4f79d
Update version to match release.
...
[SVN r48410]
2008-08-28 09:04:31 +00:00
Christopher Kohlhoff
e98776b411
Merge critical bug fixes from trunk.
...
........
r48031 | chris_kohlhoff | 2008-08-09 00:47:58 +1000 (Sat, 09 Aug 2008) | 4 lines
Fix a tight spin on epoll (or /dev/poll) that occurs when the EPOLLERR and
EPOLLHUP events are reported for a descriptor and there are no pending
operations.
........
r48032 | chris_kohlhoff | 2008-08-09 00:48:24 +1000 (Sat, 09 Aug 2008) | 2 lines
Fix memory leak in use_tmp_dh_file().
........
r48033 | chris_kohlhoff | 2008-08-09 00:49:23 +1000 (Sat, 09 Aug 2008) | 2 lines
QNX defines AI_V4MAPPED, AI_ALL and AI_ADDRCONFIG but does not implement them.
........
r48039 | chris_kohlhoff | 2008-08-09 11:47:11 +1000 (Sat, 09 Aug 2008) | 2 lines
Include CREAD and CLOCAL in the default flags for serial ports.
........
[SVN r48040]
2008-08-09 01:59:54 +00:00
Christopher Kohlhoff
8b4057a004
Include CREAD and CLOCAL in the default flags for serial ports.
...
[SVN r48039]
2008-08-09 01:47:11 +00:00
Christopher Kohlhoff
a81db41dbc
QNX defines AI_V4MAPPED, AI_ALL and AI_ADDRCONFIG but does not implement them.
...
[SVN r48033]
2008-08-08 14:49:23 +00:00