Commit Graph

1359 Commits

Author SHA1 Message Date
Christopher Kohlhoff
86fd2f7abc Create C++11 versions of the fork, local, multicast and nonblocking examples. 2017-12-02 16:12:57 +11:00
Christopher Kohlhoff
c34e42c129 Don't directly include <chrono>, to keep header C++03-compatible. 2017-12-02 10:57:05 +11:00
Christopher Kohlhoff
9564bf226c Add executor examples. 2017-12-02 10:27:15 +11:00
Christopher Kohlhoff
077ed86047 Add headers for TS compatibility. 2017-12-02 10:23:24 +11:00
Christopher Kohlhoff
dfa54b4fc5 Suppress MSVC dynamic initialisation warning. 2017-12-02 10:09:55 +11:00
Christopher Kohlhoff
ea2a35c9e0 asio/use_future.hpp is already in the convenience header. 2017-12-02 10:06:37 +11:00
Christopher Kohlhoff
094354f343 Remove old Jamfiles. 2017-12-02 09:51:28 +11:00
Christopher Kohlhoff
8a8157c36d Add waitable timer headers to convenience header. 2017-12-02 09:16:54 +11:00
Christopher Kohlhoff
87c879b50b Use new post() in serialization example. 2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
ce74e65aff Use asio::coroutine in latency tests. 2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
030647a0a7 Update invocation examples to use executors. 2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
15e436d8fa Fix up reference to post(). 2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
05ece65ac9 Show how to associate an executor using nested type and member function. 2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
d83e96a444 Update allocation overview and examples to use new form. 2017-12-02 09:03:15 +11:00
Christopher Kohlhoff
b3550ef8be Fix typo in strands overview. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
7b996f66bd Increase number of buffers per operation for consuming_buffers.
Use a smaller number of buffers when the count can be determined at compile
time, e.g. for std::array or boost::array.
2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
282de16d9b Increase threshold for small memory block recycling to 1KB. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
2bfd4d24d0 Make sure asio/system_context.hpp is self-contained. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
78df0763bf Don't call memcpy with length 0, to avoid passing null pointers. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
f8a0469702 Fix description of std::getline's behaviour. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
246e555e0a Fix copy/paste error in comment. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
26d4af19c1 Fix clang narrowing warning. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
b77a45e2e5 Fix incorrect hyperlink target. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
646250076b Remove last remaining instance of auto_ptr. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
edbe617864 Restore binder support for 3, 4 and 5 arguments. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
aa0bf0a8b3 Reapply double delete fix, which was overwritten by Networking TS merge. 2017-12-02 09:03:14 +11:00
Christopher Kohlhoff
f1524fb5cc Merge asio from 'develop'. 2017-11-09 07:29:39 +11:00
Christopher Kohlhoff
2e61c6f29f Add backward compatibility for the old ConnectCondition form. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
875788fde3 Ensure make_network_vX error_code overload doesn't throw on invalid prefix length. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
f15e842c79 Fix the rights for event objects on UWP. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
53f052c9a0 Suppress implicit fallthrough warning on newer gcc. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
bfa3e0373e Fix clang version detection for suppression of unused typedef warning. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
6f71713b55 Fix boostification namespace qualification error. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
a778425068 Fix compile errors in some asio::connect overloads. 2017-11-08 00:08:40 +11:00
Christopher Kohlhoff
427dfdf42c Merge asio from 'develop'. 2017-10-25 09:29:47 +11:00
Christopher Kohlhoff
d484b66453 Bump minimum MSVC version required for C++11 allocators. 2017-10-25 07:58:21 +11:00
Christopher Kohlhoff
bfe7a04616 Fix compile warning under Emscripten. 2017-10-25 07:57:45 +11:00
Christopher Kohlhoff
59395d663a Use proper SSL_version() function so that asio can build with BoringSSL. 2017-10-25 07:57:14 +11:00
Christopher Kohlhoff
b510bb4758 Regenerate documentation. 2017-10-24 07:33:27 +11:00
Christopher Kohlhoff
e715a08e90 Patch up some template links. 2017-10-24 07:32:54 +11:00
Christopher Kohlhoff
a1b83428b7 Update quick reference table. 2017-10-24 07:32:54 +11:00
Christopher Kohlhoff
0613d396ff Add new macros to doxygen configuration. 2017-10-24 07:32:54 +11:00
Christopher Kohlhoff
b60e92b13e Initial merge of Networking TS compatibility.
Merged from chriskohlhoff/asio master branch as of commit
4a4d28b0d24c53236e229bd1b5f378c9964b1ebb.
2017-10-23 21:48:43 +11:00
Christopher Kohlhoff
d53033eec6 Merge asio 1.10.10 fix from 'develop' 2017-08-13 23:29:51 +10:00
Christopher Kohlhoff
b002097359 Previous fix introduced a leak, use a better approach. 2017-08-13 07:19:28 +10:00
Christopher Kohlhoff
c8d628ad8a Fix double delete issue introduced by 3541ec2eb9. 2017-08-13 00:56:54 +10:00
Christopher Kohlhoff
dd16659f69 Merge asio 1.10.10 from 'develop' 2017-08-01 23:06:54 +10:00
Christopher Kohlhoff
821ef6fd50 Revision history. 2017-08-01 23:05:20 +10:00
Christopher Kohlhoff
c88c5f7e1c Version bump. 2017-08-01 22:31:49 +10:00
Christopher Kohlhoff
de42877700 Require gcc >= 4.7 to use standard atomics. 2017-07-31 18:51:14 +10:00