Commit Graph

1359 Commits

Author SHA1 Message Date
Christopher Kohlhoff
51b0750d54 In getaddrinfo emulation, only check the socket type (SOCK_STREAM or SOCK_DGRAM)
if a service name has been specified. This should allow the emulation to work
with raw sockets.


[SVN r58650]
2010-01-02 21:35:33 +00:00
Christopher Kohlhoff
c2f12c99e0 Use a pool of strand implementations to make copying of strands cheaper.
[SVN r58647]
2010-01-02 20:36:59 +00:00
Christopher Kohlhoff
b5688e37a7 Add boost_ prefix to extern "C" thread entry point function. Refs #3809.
[SVN r58630]
2010-01-02 10:30:41 +00:00
Christopher Kohlhoff
6d8d57aaf0 Ensure that kqueue support is enabled for BSD platforms. Refs #3626.
[SVN r58629]
2010-01-02 10:20:12 +00:00
Christopher Kohlhoff
cf8c031f87 Don't block signals while performing system calls, but instead restart the
calls if they are interrupted.


[SVN r58628]
2010-01-02 09:48:01 +00:00
Christopher Kohlhoff
45acb2f756 Use boost::addressof to get the address of handler objects, rather than
applying operator& directly. Refs #2977.


[SVN r58627]
2010-01-02 08:24:12 +00:00
Christopher Kohlhoff
235e35039d Include specific headers in unit tests rather than the convenience header asio.hpp.
[SVN r58626]
2010-01-02 07:18:09 +00:00
Christopher Kohlhoff
ee7f4cba38 e specific type_traits headers.
[SVN r58625]
2010-01-02 07:16:41 +00:00
Christopher Kohlhoff
b6fbb66440 Windows needs the OVERLAPPED structure to be valid until both the initiating
function call has returned and the completion packet has been delivered.


[SVN r58624]
2010-01-02 06:09:02 +00:00
Christopher Kohlhoff
20a822c591 Update copyright notices.
[SVN r58623]
2010-01-02 01:24:52 +00:00
Christopher Kohlhoff
c901425aa0 Wrap long line.
[SVN r58621]
2010-01-01 23:04:35 +00:00
Hartmut Kaiser
afa4f59dbb Asio: disabled VC workaround for VC2010 beta2 compiler
[SVN r57393]
2009-11-05 00:26:15 +00:00
Troy D. Straszheim
da33675b44 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
4cd8a968f8 rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
[SVN r56941]
2009-10-17 01:10:45 +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
63004b5501 Merged revision 55500 from trunk:
........
  r55500 | chris_kohlhoff | 2009-08-10 21:38:00 +1000 (Mon, 10 Aug 2009) | 2 lines
  
  Add missing returns for failure cases in write_some_at and read_some_at.
........


[SVN r55671]
2009-08-19 22:47:35 +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
328b1a37bf Add missing returns for failure cases in write_some_at and read_some_at.
[SVN r55500]
2009-08-10 11:38:00 +00:00
Troy D. Straszheim
320ddd3c12 Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
Troy D. Straszheim
915a148910 Add basic copyright/license to keep cmake out of the inspection report
[SVN r55095]
2009-07-22 21:51:01 +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
e325c6ffe3 Documentation updates.
[SVN r54916]
2009-07-13 03:38:21 +00:00
Christopher Kohlhoff
ab1a6a09ff Fix compile error when using openssl 1.0 beta. Refs #3256.
[SVN r54907]
2009-07-12 08:16:06 +00:00
Christopher Kohlhoff
5cafa35a16 Don't write to /dev/poll descriptor when there are no pending changes.
[SVN r54845]
2009-07-09 22:58:26 +00:00
Christopher Kohlhoff
261c3962c0 Fix task initialisation.
[SVN r54844]
2009-07-09 22:55:26 +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
4048f38feb Merged revisions 54525-54526 from trunk.
........
  r54525 | chris_kohlhoff | 2009-06-30 18:19:56 +1000 (Tue, 30 Jun 2009) | 2 lines
  
  Don't rehash if the number of buckets hasn't changed.
........
  r54526 | chris_kohlhoff | 2009-06-30 18:22:03 +1000 (Tue, 30 Jun 2009) | 2 lines
  
  Check that WINVER is actually defined when using it.
........


[SVN r54693]
2009-07-05 23:00:03 +00:00
Christopher Kohlhoff
7f27c0a3a7 Check that WINVER is actually defined when using it.
[SVN r54526]
2009-06-30 08:22:03 +00:00
Christopher Kohlhoff
487d4241b2 Don't rehash if the number of buckets hasn't changed.
[SVN r54525]
2009-06-30 08:19:56 +00:00
Christopher Kohlhoff
4f1faaa224 Sync version number with release branch.
[SVN r54501]
2009-06-29 13:52:31 +00:00
Christopher Kohlhoff
dacda1bb4e Bump version number.
[SVN r54500]
2009-06-29 13:49:00 +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
eacb3aefde Treat 0-byte reads and writes as no-ops to comply with the documented type
requirements for SyncReadStream, AsyncReadStream, SyncWriteStream and
AsyncWriteStream.


[SVN r54467]
2009-06-28 13:20:17 +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
dcb95b393b 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.


[SVN r54400]
2009-06-27 07:52:11 +00:00
Christopher Kohlhoff
fd411319a4 Fix various g++ warnings. Ref #1341.
[SVN r54393]
2009-06-27 07:07:40 +00:00
Christopher Kohlhoff
f36045ab00 Fix custom memory allocation for timers. Ref #3107.
[SVN r54392]
2009-06-27 05:24:16 +00:00
Christopher Kohlhoff
2e4474765b Fix failures reported when the tests are built with _GLIBCXX_DEBUG. Ref #3098.
[SVN r54390]
2009-06-27 02:17:49 +00:00
Christopher Kohlhoff
3ec5f6ed71 Remove a local variable that was hiding the ec parameter and preventing
error codes from being correctly propagated. Ref #3216.


[SVN r54377]
2009-06-26 13:55:24 +00:00