Repository navigation
WebFront 1.1.0
WebFront 1.1 ships with developer environment 1.0.1. It adds POST routes with a bounded body, application-selected programs
in a native pseudoterminal, and a faster, less flashy start of the native windows. No breaking change.
Added
- Answer
POSTon a dynamic route that opts in withhttp::RouteOptions::postBodyLimit: the body, bounded byContent-Length, reaches the handler asRouteRequest::body;Response::accepted(202) andResponse::unauthorized(401) have their reason phrases (#619,docs/HTTP_ASSETS.md). - CEF supports
WindowOptions::backgroundand shows its window when the first document has loaded or after one second (#611,docs/FRONTENDS.md). - Print a hint on standard error when the development file system serves a stylesheet whose
font-familylists four or more costly families (#611,docs/WEBKITGTK.md). - Run the start-up time of the native windows, cold and warm (cold is fully cold on Linux only), as
<Frontend>StartupTime-coldand-warm(labelstartup) with generous limits, timed from the start of the program so that the frontend's initialization counts (#611,docs/WEBKITGTK.md). - Run application-selected programs in a native pseudoterminal with an optional xterm.js page adapter and replay across reloads (#613,
docs/PTY.md). - Skip GStreamer's initialization, and its plugin scan, in WebKitGTK for an application whose pages never use audio or video, with
WindowOptions::media = false; the default keeps media (#611,docs/WEBKITGTK.md). - WKWebView supports
WindowOptions::background, translucent colours included, andWEBFRONT_STARTUP_TRACE=1(#611,docs/WKWEBVIEW.md). - WebView2 supports
WindowOptions::backgroundandWEBFRONT_STARTUP_TRACE=1(#611,docs/WEBVIEW2.md). - Choose the colour of the WebKitGTK view under the page with
WindowOptions::background(WebKitGTK; the other embedded frontends are listed here), and read the start-up milestones of a WebKitGTK view withWEBFRONT_STARTUP_TRACE=1(#611,docs/WEBKITGTK.md).
Changed
- Reveal the WKWebView window when the document has loaded or after one second (#611,
docs/WKWEBVIEW.md). - Reveal the WebView2 window after the first frame or one second (#611,
docs/WEBVIEW2.md). - Show the WebKitGTK window when the page reports its first frame, or when a one-second timer fires, even if the page has not painted, instead of at once; the embedded pages, the starter and the examples use the cheap
sans-serifandmonospacefont stacks (#611,docs/WEBKITGTK.md).
Fixed
- Accept HTTP request headers with optional spaces or tabs after the colon, tabs in values, and empty values (#621).
- Read an obsolete line fold in a request header as one space (RFC 9112, section 5.2), not as the two lines glued together: a
Content-Lengthfolded as1and0was read as10(#619). - Keep the input focus of the developer terminal after a click on the page around it (title, notice, blank areas) while the terminal has the window, selection and controls excepted (#608).
- Remove the white flash of an embedded view between the developer environment's bootstrap page and the project's page, by giving the window the environment's dark colour (
#141821) when the application sets none; on macOS the view then no longer paints its own white behind it (#611,docs/WKWEBVIEW.md). - Select detected GPU architectures supported by nvcc by default for the host-loop CUDA renderer (
docs/HOST_LOOP_EXAMPLE.md).