Skip to content

WebFront 1.1.0 - #626

Closed
ambroise-leclerc wants to merge 68 commits into
masterfrom
develop
Closed

ambroise-leclerc wants to merge 68 commits into
masterfrom
develop

Conversation

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator

Release of WebFront 1.1.0 (developer environment 1.0.1, API 1). See docs/CHANGELOG.md.

ambroise-leclerc and others added 30 commits November 18, 2026 10:27
Comparing std::shared_ptr<CaptureProvider> found std::expected::operator==
through ADL and made libc++ (AppleClang) recurse on its constraints. Compare
the raw pointers instead.

Fixes #606
…libcxx

Fix Capture.hpp compilation with AppleClang/libc++
…nostic

Diagnose inherited Snap paths in WebKitGTK
…ault no more, WKWebView presentation, WebView2 timers, docs, CI pin (#611)
Démarrage des fenêtres natives : première image avant affichage, fond configurable, polices légères (#611)
ambroise-leclerc and others added 27 commits November 19, 2026 20:48
…ge around it (#608)

While the terminal has the window, the page around it (the title and the
notice of the bootstrap page, blank areas) is not part of xterm.js. A click
there moved the focus to the body: the cursor became a hollow box and the keys
went nowhere, until a click inside the terminal.

Once the click ends, the terminal takes the focus back, unless the click
selected text, landed on a control, or an interface or the floating window
owns the window. The regression spec clicks outside the terminal, then types.
…s several (#608)

Each mount() added a listener on the whole document, so a click inside the
first terminal also fired the second one's, which took the focus a moment
later and sent the typed commands to the wrong session.

The page now remembers which terminal was focused last: only that one answers a
click on the page around the terminals, and a click inside any terminal is left
to xterm.js. A listener removes itself once its terminal has left the page.
The regression spec mounts a second terminal and clicks in each, then on the page.
…#608)

terminal.hasSelection() stays true after a selection made earlier, so a later
click on a blank area of the page never gave the focus back and the keys still
went nowhere.

The page now notes where each press starts. The terminal takes the focus back
only when the press began outside any terminal and control; a click outside
cannot create an xterm.js selection, which is left alone. A selection of the
page's own text still keeps the focus where the user put it. The regression
spec selects the terminal's text, clicks the page and types.
…cus events (#608)

The last focused terminal was recorded from the textarea's focus event, which a
window without the system focus never receives (several browsers on one
display): no terminal then answered a click on the page.

The press, which comes before the browser moves the focus, now records the
terminal that holds it. The regression spec follows the browser's order: the
focus moves to the body after the press, and clicks in a terminal leave it.
A label was not among the elements that take a click, and the focus given back
to the terminal after the click came after the browser had moved it to the
label's field: the typing went into the terminal.

A label now takes the click, and whatever field of the page holds the focus once
the click has ended keeps it. The regression spec clicks a label and a page
area while a field is focused.
Only the first terminal mounted with a preview receives the workspace object;
the others get null because the preview is already laid out. A second terminal
that had the focus therefore ignored the state: with the terminal floating or
an interface in the window, a click on the page gave it the focus back and took
the keys away from the interface.

The workspace now registers itself for its preview frame, and every terminal
reads its state from there (it does not refocus while the state is unknown). The
regression spec focuses the second terminal, shows an interface, clicks the page
and checks that no terminal takes the focus.
…swers (#608)

The state of the workspace and the last focused terminal were checked at the
end of the click, but the focus is given back in a task of its own. A click
handler or a navigation that opened the interface in between still got the
terminal's focus() call, with the interface now owning the window.

The checks are one function, run at the release and again in the deferred task.
The regression spec changes the state right after the click ends and checks
that the second terminal does not take the focus.
…ontent-Length (#619)

RouteOptions::postBodyLimit makes a route read the body announced by Content-Length, from the bytes received after the headers on, and give it to the handler as RouteRequest::body. Expect: 100-continue gets 100 Continue; a POST without Content-Length, with a Transfer-Encoding, with a malformed or contradictory length or a longer body is refused before the handler runs, and a connection that ends early is closed without an answer.
A route that answers a notification without a body, or refuses missing credentials, gets a status line with its reason phrase.
Give the focus back to the developer terminal after a click on the page around it (#608)
Accept optional whitespace in HTTP request headers
Answer POST on a dynamic route that opts in, with a body bounded by Content-Length (#619)
Co-authored-by: webfront-release[bot] <webfront-release[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6cc0166a-704b-4ae9-80cb-e89bcef06652

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator Author

Replaced by the release/1.1.0 branch, which also carries the merge of master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants