Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
74c66e1
guidelines: webrtc is accepted, and its increment 1 is built
Nov 14, 2026
aa0ea3a
build: register webrtc as a library of the superproject
Nov 14, 2026
dbf3a4f
Merge main: webrtc accepted in chapter 17 (#16), now built in chapter 15
Nov 14, 2026
0af83ce
webrtc: move to the commit that corrects its page after the review
Nov 14, 2026
b43c08f
webrtc: increment 2, the browser implementation and its lanes
Nov 14, 2026
addc588
ci: keep matrix_test.py's comment within 100 columns, and move webrtc
Nov 14, 2026
44bc237
ci: webrtc's interop lane on one unsupported policy, and AGENTS.md sa…
Nov 14, 2026
8096f21
guidelines: trystero on webcpp::webrtc and webcpp::asio, without exce…
Nov 14, 2026
308d832
webrtc and trystero: move to the reviewed webrtc and to trystero on it
Nov 14, 2026
df8f6a2
tools/lint: analyse Boost.Unordered on arm64 hosts
Nov 14, 2026
3ce20ac
doc: the 0.1.0 notes name the lint's arm64 fix
Nov 14, 2026
be22e44
tools/openssl: the combined provider over trystero's backend as it is…
Nov 14, 2026
4bbf9a1
tools/openssl: the combined provider over trystero's platform backend
Nov 14, 2026
83359ce
guidelines and tools/openssl: trystero's refactor, phase 1
Nov 14, 2026
06ad783
Merge branch 'webrtc/library' into trystero/wp4
Nov 14, 2026
2b5b6b9
webrtc and trystero: the lint's findings on the phase 1 integration
Nov 14, 2026
3574321
trystero: the allocation test proportionate under Asyncify
Nov 14, 2026
8756479
trystero: the allocation test's arenas to clang-tidy
Nov 14, 2026
3de2577
AGENTS.md: trystero's reference names its platform backend's target
Nov 15, 2026
86d9315
trystero: one platform backend (WP4)
Nov 15, 2026
9e3e073
trystero: one platform backend (WP4), and the core's types and std::c…
Nov 15, 2026
30fde84
guidelines: trystero's one platform backend (WP4) and the core's std:…
Nov 15, 2026
b1bc9fd
trystero: JSON on webcpp::document (WP7), and document's quote
Nov 15, 2026
77c9c21
guidelines: trystero's JSON on webcpp::document (WP7), and document's…
Nov 15, 2026
637cb5c
trystero: AGENTS.md on webcpp::document's JSON
Nov 15, 2026
6a10a76
trystero: the backend's clocks as std::chrono
Nov 15, 2026
a9aa83f
tools/oracle: a program without twin needs no .expected, as a linked …
Nov 15, 2026
8994a0d
AGENTS.md: trystero's own lanes, relayed and provider-integration amo…
Nov 15, 2026
df4f49e
trystero: remember a Nostr event id only once it is the event's own
Nov 15, 2026
e5aac2c
trystero: its examples over a local relay with their twins (WP6)
Nov 15, 2026
f072778
trystero: the answerer's signals and the parse bounds tested where th…
Nov 15, 2026
57c1610
beast: a WebSocket client layer that bounds the handshake response it…
Nov 15, 2026
845295a
trystero: programs show a JSON payload's exact numbers and the payloa…
Nov 15, 2026
ee5a540
trystero: the WP4 review's fixes to the platform backend
Nov 15, 2026
13c1d01
trystero: the flood test on the virtual clock
Nov 15, 2026
85ca124
trystero: a relay's refusal has its header read alone, through beast'…
Nov 15, 2026
a5f14ea
document: allocators in its storages, every operation's working state…
Nov 15, 2026
d67808f
trystero: the room test's timing cases on the virtual clock
Nov 15, 2026
6bcae34
trystero: every JSON text in a webcpp::document::pmr::document of the…
Nov 15, 2026
6e92014
trystero: three room cases wait for what they check
Nov 15, 2026
d09d9b1
trystero: an offer being opened keeps its negotiation's place
Nov 15, 2026
a67b3fc
trystero: each test case in a frame of its own, and the deepest in re…
Nov 15, 2026
af015ea
webrtc: a data channel's ordered, max_packet_life_time, max_retransmi…
Nov 15, 2026
4e3c537
trystero: a negotiation opens one offer of its peer at a time
Nov 15, 2026
7359027
webrtc: natively a channel's max_packet_life_time of 0 follows the un…
Nov 15, 2026
59ec8a0
guidelines: trystero's refactor at 459b08c, beast's bounded handshake…
Nov 15, 2026
fc5a264
trystero: the changelog's ten lines for the whole refactor
Nov 15, 2026
2d81593
guidelines: crypto's Emscripten entropy needs trystero's guard agains…
Nov 15, 2026
dad88b8
document: the allocator review's fixes
Nov 15, 2026
abc0d45
guidelines: document's allocators as built at e95b409
Nov 15, 2026
5249c6f
Merge main into webrtc/library: emscripten links at the compile's level
Nov 15, 2026
d8458ca
CODING-GUIDELINES: trystero's run_case under the release link at -O3
Nov 15, 2026
15c2b08
trystero: the Asyncify measurements under the release link at -O3
Nov 15, 2026
b5a8922
beast and trystero: the last lint findings and the Asyncify removelis…
Nov 15, 2026
5550be4
webrtc and trystero: their Asyncify programs in own lanes, so native …
Nov 15, 2026
51a753f
document: a held callable's place declared with auto
Nov 15, 2026
6dc2d73
webrtc: an operation takes its handler by rvalue reference
Nov 15, 2026
fdf0313
beast: the handshake test allocates aligned memory as MSVC's C librar…
Nov 15, 2026
aab84a9
document: built clean by MSVC, its debug STL's container proxies coun…
Nov 15, 2026
0f1a1ae
webrtc: an operation's fallback by rvalue reference, read alike over …
Nov 15, 2026
191fce4
webrtc and trystero: read alike over libstdc++ by clang-tidy
Nov 15, 2026
94ee219
trystero: a kept room frame advertises its room, as the peer's presen…
Nov 15, 2026
c56254c
tools/report: an action in a test's own directory is the test's
Nov 16, 2026
4ad7311
webrtc and trystero: MSVC's warnings, sections and debug-STL proxies,…
Nov 16, 2026
e731c95
Merge main into webrtc/library: crypto, hash, the nodiscard results r…
Nov 16, 2026
4c42089
webrtc and trystero: the nodiscard results rule
Nov 16, 2026
28100ac
trystero: its changelog's clocks line keeps its code spans whole
Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,17 @@ jobs:
libs/beast/test/browser/peer//native_peer-program \
toolset=clang-18 threading=multi -j2

# webrtc's interop lane on emscripten drives the page against the native
# peer and relay, which its driver finds under bin/ (test/interop/run.mjs).
- name: Build the native webrtc interoperability peer
if: matrix.library == 'webrtc' && matrix.lane == 'interop' && matrix.platform == 'emscripten'
shell: bash
run: |
python3 tools/ci/matrix.py register clang-18
b2 --user-config=.local/user-config.jam \
libs/webrtc/test/interop//native-program \
toolset=clang-18 threading=multi -j2

# This embedding adds a private test CA through Wasmtime's supported host hook.
# Stock Wasmtime uses its bundled public roots and has no CLI test-CA option.
- name: Restore the isolated WASI HTTPS host fixture
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@
[submodule "libs/hash"]
path = libs/hash
url = ../hash.git
[submodule "libs/webrtc"]
path = libs/webrtc
url = ../webrtc.git
28 changes: 17 additions & 11 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ for web developers and for AI developers (`CODING-GUIDELINES.md` chapter 16).
| document | a JSON document that behaves as JavaScript does (key order, `JSON.stringify`'s bytes, the array methods), exact in decimal, in one relocatable image; webcpp's own; its parser is Boost.JSON's | native, wasip2, wasip3, emscripten; its oracle lane | a submodule at `libs/document`; its core never throws (`CODING-GUIDELINES.md` chapter 6) |
| idna | internationalized domain names: Punycode, UTS 46's ToASCII and ToUnicode, conformant to IdnaTestV2, and IDNA2008's validity, over Unicode 17.0.0 tables generated into its headers; webcpp's own | native, wasip2, wasip3, emscripten; its own lane `tables` | a submodule at `libs/idna`; its errors are values, and its span forms allocate nothing |
| lexical | the string formats JSON Schema names (date-time, email, hostname, ipv4/ipv6, uri, iri, uri-template, json-pointer, uuid, regex), each a validator that allocates nothing and a Boost.URL grammar rule; regex is an ECMA-262 syntax validator of its own, checked against V8; depends on idna and Boost.URL; webcpp's own | native, wasip2, wasip3, emscripten; its own lanes `generated` and `oracle` | a submodule at `libs/formats` |
| trystero | a port of Trystero 0.26.0, serverless WebRTC rooms | native, emscripten; its own lanes `oracle` and `interop` | a submodule at `libs/trystero`; born with the allocation rule through `std::pmr` |
| trystero | a port of Trystero 0.26.0, serverless WebRTC rooms; its one platform backend's WebRTC, on both targets, is webrtc's, and its Asio is named `webcpp::asio` | native, emscripten (both suspension variants); its own lanes `oracle`, `relayed` (its examples over a local relay, natively), `interop`, `asyncify` and `provider-integration` | a submodule at `libs/trystero`; born with the allocation rule through `std::pmr`; works with exceptions on and off on both targets |
| webrtc | WebRTC peer connections and data channels with the W3C's names in Asio's model, natively over libdatachannel's C API and in the browser over the page's own objects, with exceptions on and off; webcpp's own | native, emscripten; its own lanes `browser`, `interop` and `asyncify` | a submodule at `libs/webrtc`; increments 1 and 2 of 3 (`CODING-GUIDELINES.md` chapter 15) |

### The layout

Expand All @@ -105,7 +106,7 @@ webcpp/
pyrightconfig.json Pyright's settings for every Python file
libs/<name>/ a library: a repository of its own, a submodule here (asio, beast, cobalt,
config, crypto, xactor, xstate, pratt, wasi, trystero, document, idna,
lexical)
lexical, webrtc)
third_party/ third-party code the libraries and their tests use, not webcpp's: each
a submodule under third_party/libs/, pinned at a commit and keeping its
own licence (openssl, libdatachannel, bearssl, secp256k1, bitcoin for
Expand Down Expand Up @@ -273,7 +274,8 @@ Jamroot is its build configuration, and `libs/<name>` is its repository.
nested dependencies with the consumer's compiler and runtime settings.
Every consumer of `/webcpp/third_party//libdatachannel` requires
`threading=multi`: a single-thread request is refused, since libdatachannel
runs worker threads of its own. Native Trystero also requires exceptions;
runs worker threads of its own. Native Trystero reaches it through
webrtc, which calls its C API, and works with exceptions on and off;
- for native or WASIp2/P3 guest TLS: Python 3, Perl, Make (nmake on Windows),
the selected compiler and `third_party/libs/openssl`, initialized with
`git submodule update --init third_party/libs/openssl`. B2 builds the pinned
Expand Down Expand Up @@ -528,13 +530,14 @@ single page, from the library's Doc Comments. `webcpp.reference <name> ;` in
that holds the types of a function's parameters, and the host's standard
library and Emscripten's give one function two (trystero's reference read
as a native and an emscripten translation unit had 555 sections for 461).
Such a library also gives the target of its native backend, if it has
one, which brings that backend's dependencies, and the defines its
browser build has, which a requirement conditioned on the emscripten
toolset does not give a reference built natively: `webcpp.reference
trystero : <library>/webcpp/trystero//native
<library>/webcpp//emscripten-reference <define>BOOST_ASIO_DISABLE_THREADS
;`. Read so, trystero's reference is the same on Linux and on macOS, byte
Such a library also gives the target of its backend, if it has one,
which brings that backend's dependencies, and the defines that parse
needs, which a requirement conditioned on the emscripten toolset does not
give a reference built natively; trystero's gives its platform backend's,
whose Asio and Beast are webcpp::asio and webcpp::beast, their browser
implementations for that target, so that no define of Boost.Asio's is
needed: `webcpp.reference trystero : <library>/webcpp/trystero//platform
<threading>multi <library>/webcpp//emscripten-reference ;`. Read so, trystero's reference is the same on Linux and on macOS, byte
for byte. The emsdk is `-sWEBCPP_EMSDK=<dir>`, read from b2's command line
alone, else `.local/emsdk`, never the environment's `EMSDK`, which
`emsdk_env.sh` exports and b2 would read as `-sEMSDK`; its
Expand Down Expand Up @@ -1694,7 +1697,10 @@ jobs:
none.
- An own lane whose driver meets a browser, one of `CHROME_LANES` in
`tools/ci/matrix.py` (trystero's `interop`, natively and on emscripten,
document's `js`, and asio's `browser`),
webrtc's `interop`, whose page meets Chrome on emscripten while its native
run is two native peers, though `CHROME_LANES` names a lane on every
target, document's `js`, webrtc's `browser`, and the browser lanes of
asio, beast and cobalt),
has its entry's `chrome`, and its job runs the `chrome` action, which
gives it `CHROME`, a pinned Chrome rather than the image's, which moves
with the image, so that a red interop lane is never a browser nobody
Expand Down
Loading
Loading