2
0
mirror of https://github.com/boostorg/cobalt.git synced 2026-01-19 04:02:16 +00:00

534 Commits

Author SHA1 Message Date
Klemens Morgenstern
b807c700dc doc typo fixes 2026-01-11 07:27:47 +08:00
Klemens Morgenstern
a3c061f29c Minor doc typo fixes 2026-01-02 09:19:54 +08:00
Klemens Morgenstern
bf99047fd0 Documentation fixes 2026-01-02 09:17:09 +08:00
Klemens Morgenstern
10fa59946e Fixed global defines caused by features boost-1.90.0.beta1 boost-1.90.0 2025-10-23 00:38:09 +08:00
Klemens Morgenstern
7f433d8b5a added autolink
Closes #239
2025-10-22 09:45:13 +08:00
Klemens Morgenstern
5a85b3de86 Added move ctors to acceptor ops 2025-10-17 17:51:54 +08:00
Andrey Semashev
7ff9397b51 Avoid ODR violations by using fixed types for protocol constants.
At least on Linux, constants such as AF_INET, SOCK_STREAM and
IPPROTO_TCP are implemented with unnamed enums, which makes these
constants have different types in different translation units.
This results in ODR violations as protocol_type struct ends up
defined differently in every TU.

Also, static_protocol that is being instantiated with these constants
also produces different types in each TU. While this by itself is not
an ODR violation, it may generate lots of code and data duplication.

Avoid all of the above by using fixed types for family, type and
protocol constants in protocol_type and static_protocol. Use int
for each of the types, following POSIX socket(2) signature.

Fixes https://github.com/boostorg/cobalt/issues/242.
2025-10-06 10:25:40 +08:00
zs
694d9c4611 [io][fix] correct the include guard of random_access_device.hpp
Fixes: #247
2025-09-11 22:09:10 +08:00
Andrey Semashev
63c5ff2765 Install boost_cobalt_io_ssl by default.
Make sure boost_cobalt_io_ssl library is built and installed by default when Boost as a whole or Boost.Cobalt is built (i.e. when the user runs b2 in libs/cobalt).
2025-09-07 20:25:45 +08:00
Alexander Grund
77345a996e CMake: Fix required C++ standard
The `CXX_STANDARD_REQUIRED` property is a boolean, i.e. ON or OFF not a numeric value.
2025-09-07 17:31:50 +08:00
Klemens Morgenstern
42cb740b33 added const to multiple await_ready functions. 2025-09-05 23:05:01 +08:00
Klemens Morgenstern
5b27412255 fixed T & move channel issue. 2025-09-05 23:04:30 +08:00
Klemens Morgenstern
963e77724d [channel] minor doc fixes 2025-09-05 23:04:13 +08:00
Klemens Morgenstern
53611b9d32 fixed channel race condition. 2025-08-11 16:03:57 +08:00
Klemens Morgenstern
57181cacc5 fixed internal exception type. boost-1.89.0 2025-07-18 17:31:34 +08:00
Klemens Morgenstern
58cd09042f unified noinline & nodiscard decl order for read & write. 2025-07-18 09:54:15 +08:00
Klemens Morgenstern
b57d5187a5 [fix] optional access err in with. 2025-07-08 14:37:05 +08:00
Klemens Morgenstern
aa8ad0684c [fix] added null initializers for receivers 2025-07-07 13:25:47 +08:00
Klemens Morgenstern
1e1cd72a8c inlined requires use h.promise() since clang-14 was complaining about void as value. 2025-07-04 10:19:32 +08:00
Klemens Morgenstern
36075b869c [io] added BOOST_COBALT_IO_DECL to all ops. 2025-07-04 10:19:32 +08:00
Klemens Morgenstern
fb83d682a9 [drone] added new dependencies 2025-07-04 10:19:32 +08:00
Klemens Morgenstern
a52639e3e0 added dtors decls to all ops. 2025-07-04 10:19:32 +08:00
Klemens Morgenstern
57e4141d82 promise & generator assign check for reference to be null.
This can happen when noop is used.
2025-07-03 19:46:16 +08:00
Klemens Morgenstern
2f8977c34a write_op checks close was after write. 2025-06-27 16:46:32 +08:00
Klemens Morgenstern
f24e917d9c channel handles close & cancel can occur before await_suspend. 2025-06-27 14:12:24 +08:00
Klemens Morgenstern
effdf1cba2 added BOOST_SYMBOL_VISIBLE to op. 2025-06-25 02:29:23 +08:00
Klemens Morgenstern
0eb6a8fc5e [build] added link for mswsock and bcrypt. 2025-06-25 02:03:17 +08:00
Klemens Morgenstern
583d851811 [io] address initialization order warning. 2025-06-25 01:27:30 +08:00
Klemens Morgenstern
9bf763e12e [build] added link for ws2_32. 2025-06-25 01:19:05 +08:00
Klemens Morgenstern
796124e193 [ci] updated windows-2019 to windows-2022 2025-06-24 23:53:59 +08:00
Klemens Morgenstern
8ae5510178 [cmake] fixed up cmake, added link to ws2_32 2025-06-24 23:30:11 +08:00
Klemens Morgenstern
69867b8298 [doc] typo fixes. 2025-06-24 18:18:36 +08:00
Klemens Morgenstern
a8675d93ac [drone] removed gcc's TSAN. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
d9beac3993 [io] no inline on buffer::const_iterator 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
023ee43159 [io] registered buffer is unused without io_uring. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
8d4f0b5011 Added BOOST_COBALT_MSVC_NOINLINE macro. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
418d177425 more detailed pipe tests. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
b93b12c5a0 io tests run individually. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
0f502f36fc composition is not experimental anymore.
composition fix for immediate completion.
2025-06-24 18:15:10 +08:00
Klemens Morgenstern
6e5713de52 [io] echo_server example used io. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
8f749942f5 [io] moved ssl to a seperate library. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
58a14f13ce [io] Added acceptor. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
620b63c4b4 [io] Added resolver. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
fddebfa0d1 [io] Added ssl_stream. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
ee0e7d3129 [io] cmake & symbol fix. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
80f1aab544 [ci] added endian, url & static_string to dep 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
9355af324f [io] added summary for motivation IO library. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
0e7f1e4c7b [io] socket implementations. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
18f96e237e [io] socket. 2025-06-24 18:15:10 +08:00
Klemens Morgenstern
727714ed30 [io] endpoint. 2025-06-24 18:15:10 +08:00