Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
5a46538
Simplify the repository layout [#320]
ambroise-leclerc Oct 22, 2026
debc04b
Reduce asset check cost and parallelize CI tests [#298]
ambroise-leclerc Oct 21, 2026
1802002
Point the WKWebView test bundle at its relocated Info.plist template …
ambroise-leclerc Oct 22, 2026
2da9a00
Normalize the relocated WKWebView Info.plist template path [#320]
ambroise-leclerc Oct 22, 2026
2b87b67
Merge pull request #302 from ambroise-leclerc/298-faster-parallel-tests
AM-L Oct 22, 2026
f568fa1
Merge develop into 320-repository-layout [#320]
ambroise-leclerc Oct 22, 2026
937aa84
Make the repository layout check work on source archives; fix publish…
ambroise-leclerc Oct 22, 2026
f00ddb5
Detect Git automatically in the repository layout check and skip .git…
ambroise-leclerc Oct 22, 2026
690fe68
Remove the CodeScene configuration [#320]
ambroise-leclerc Oct 22, 2026
dced52b
Remove the Codecov upload and configuration [#320]
ambroise-leclerc Oct 22, 2026
742d3af
Merge pull request #323 from ambroise-leclerc/320-repository-layout
ambroise-leclerc Oct 22, 2026
3fc3e91
Record the published developer distribution 0.4.1 [#320]
ambroise-leclerc Oct 22, 2026
aea1e1d
Add ADR-016: the bootstrap environment as WebFront's foundation [#304]
ambroise-leclerc Oct 22, 2026
520f294
Merge pull request #324 from ambroise-leclerc/320-docs-publication-0.4.1
AM-L Oct 22, 2026
404fed2
Merge pull request #325 from ambroise-leclerc/304-adr-016
AM-L Oct 22, 2026
bf688db
Add the project manifest, wf init and a transactional manifest and lo…
ambroise-leclerc Oct 22, 2026
5e55774
Make group replacements durable before removing the journal, honor --…
ambroise-leclerc Oct 22, 2026
5ed2629
Keep the pin on the published distribution, keep tagged roots locked …
ambroise-leclerc Oct 22, 2026
a6dbc82
Serialize journal recovery and group publication between processes [#…
ambroise-leclerc Oct 22, 2026
b59f8c4
Clarify when the release pin is committed and make the lock test unab…
ambroise-leclerc Oct 22, 2026
2699fb2
Add wf restore, the application registry precedence and the local npm…
ambroise-leclerc Oct 22, 2026
7070e90
Close the journal before removing it, keep failed recoveries recovera…
ambroise-leclerc Oct 22, 2026
65950cf
Merge remote-tracking branch 'origin/305-project-manifest' into 306-w…
ambroise-leclerc Oct 22, 2026
c5ed385
Bound the whole restored graph before publishing and repair oversized…
ambroise-leclerc Oct 22, 2026
93957a7
Merge pull request #326 from ambroise-leclerc/305-project-manifest
AM-L Oct 22, 2026
9331c09
Keep registry paths on the application origin and report bridge failu…
ambroise-leclerc Oct 22, 2026
bdfe29b
Read the refused publication inside its thread in the concurrent open…
ambroise-leclerc Oct 22, 2026
a22c55e
Add wf run and wf exec: WebFront scripts in a Worker under the manife…
ambroise-leclerc Oct 22, 2026
c8a1652
Abort refused commits, unwind scripts at context.exit and skip the li…
ambroise-leclerc Oct 22, 2026
7289b3a
Merge pull request #327 from ambroise-leclerc/306-wf-restore
AM-L Oct 22, 2026
768d189
Keep unawaited writes, list the root, bound nested scripts and fix co…
ambroise-leclerc Oct 22, 2026
be2265f
Keep the message of script errors on WebKit, whose stack holds only t…
ambroise-leclerc Oct 22, 2026
e92b563
Merge pull request #328 from ambroise-leclerc/307-wf-run
AM-L Oct 22, 2026
4e4ada8
Copy the Linux CEF files once per destination and retry setup-cmake i…
ambroise-leclerc Oct 22, 2026
c5ccaf4
Copy CEF files to the target's output directory only when they change…
ambroise-leclerc Oct 22, 2026
be75abb
Hash the CMake archive from standard input in the setup action
ambroise-leclerc Oct 22, 2026
2cb1234
Merge pull request #329 from ambroise-leclerc/ci-cef-copy-race
AM-L Oct 22, 2026
dd2eaf6
Add wf check: a TypeScript type check in a Worker over an in-memory s…
ambroise-leclerc Oct 22, 2026
62cc5b2
Load the package.json files above the checked sources and keep compos…
ambroise-leclerc Oct 22, 2026
523d28b
Merge pull request #330 from ambroise-leclerc/322-wf-check
AM-L Oct 22, 2026
0206564
Report browser disconnections and give applications a timer sender [#…
ambroise-leclerc Oct 22, 2026
c76d8d8
Make the environment's terminal complete and add webfront::Commands […
ambroise-leclerc Oct 22, 2026
92f1305
Keep keys typed during a completion and start the prompt on a fresh l…
ambroise-leclerc Oct 22, 2026
0a6d9a0
Let the test terminal fit its element before resizing it [#308]
ambroise-leclerc Oct 22, 2026
8435881
Cut output that is not UTF-8 at the piece limit instead of looping [#…
ambroise-leclerc Oct 22, 2026
10fecf2
Release closed connections, pace command output and report stopped co…
ambroise-leclerc Oct 22, 2026
d6fdd4e
Complete quoted paths, share the history and restart the session afte…
ambroise-leclerc Oct 22, 2026
e205ffa
Pace printed output between its pieces [#308]
ambroise-leclerc Oct 22, 2026
c0730d9
Draw tall lines a screen at a time, interrupt replayed commands and p…
ambroise-leclerc Oct 23, 2026
e39b830
Share links under a lock, keep the command context alive and refuse a…
ambroise-leclerc Oct 23, 2026
3c9ab73
Keep keys typed during a command and never replace an unreadable hist…
ambroise-leclerc Oct 23, 2026
a455f03
Wake paced output on writes, ignore shutdown closures and free sessio…
ambroise-leclerc Oct 23, 2026
79c49a6
Load the terminal in parallel, keep early keys and state an exit code…
ambroise-leclerc Oct 23, 2026
be07be0
Pass a WebLinkId to the link of the writes test [#308]
ambroise-leclerc Oct 23, 2026
a2ca90c
Make writesAtMost safe from start to link end, own the command's stop…
ambroise-leclerc Oct 23, 2026
0f90ca3
Keep a CRLF split between output pieces and complete project paths on…
ambroise-leclerc Oct 23, 2026
b72dcfd
Move the shared path and tarball helpers into the developer environme…
ambroise-leclerc Oct 23, 2026
f214911
Remove the terminal component and the wf tool manager [#313]
ambroise-leclerc Oct 23, 2026
6a96a62
Let a print task outlive its context and pin the terminal's reserved …
ambroise-leclerc Oct 23, 2026
0b9ba24
End a terminal command whose connection closes [#308]
ambroise-leclerc Oct 23, 2026
56f8d90
Merge pull request #331 from ambroise-leclerc/308-terminal
AM-L Oct 23, 2026
2495371
Pin developer distribution 0.5.0 [#303]
ambroise-leclerc Oct 23, 2026
c1bae78
Record the published developer distribution 0.5.0 and end the public …
ambroise-leclerc Oct 23, 2026
81bd416
Merge pull request #332 from ambroise-leclerc/303-developer-0.5.0
ambroise-leclerc Oct 23, 2026
89ba79e
Add browser builds and incremental development previews [#309]
ambroise-leclerc Oct 23, 2026
4e24718
Merge pull request #333 from ambroise-leclerc/309-build-dev
AM-L Oct 23, 2026
17b22d3
Add wf test: manifest specs under the locked jasmine-core, with a str…
ambroise-leclerc Oct 23, 2026
0523d5a
Bound the wf test result, start older Jasmine, report suite failures …
ambroise-leclerc Oct 23, 2026
04779d9
Bound every wf test step by its deadline and Ctrl+C, inherit the scri…
ambroise-leclerc Oct 23, 2026
2d66a00
Merge pull request #334 from ambroise-leclerc/310-wf-test
AM-L Oct 23, 2026
35c0741
Add the webfront-wf driver, configure-time bootstrap provisioning and…
ambroise-leclerc Oct 23, 2026
751771a
Run the driver usage test under the display wrapper like the other br…
ambroise-leclerc Oct 23, 2026
58b00e9
Keep established connections when the network is cut, bound the boots…
ambroise-leclerc Oct 23, 2026
6b6b113
Serve the pinned starters from the driver and survive a lost bridge a…
ambroise-leclerc Oct 23, 2026
f68a828
Follow the entry declared by environment.json and keep the provisioni…
ambroise-leclerc Oct 23, 2026
95f0858
Merge pull request #336 from ambroise-leclerc/321-bootstrap-driver
ambroise-leclerc Oct 23, 2026
f05eaa9
Pin developer environment 0.6.0 [#321]
ambroise-leclerc Oct 23, 2026
c381e91
Pin the bootstrap environment of the tests on 0.6.0 and document the …
ambroise-leclerc Oct 23, 2026
4b84f78
Merge pull request #337 from ambroise-leclerc/303-developer-0.6.0
ambroise-leclerc Oct 23, 2026
9b39d8c
Run the browser integration suite through wf test and the local regis…
ambroise-leclerc Oct 23, 2026
fe620b0
Merge pull request #338 from ambroise-leclerc/311-webtest-wf-test
AM-L Oct 23, 2026
61aae53
Remove BabelFS, ReactFS, JasmineFS and their vendored sources [#312]
ambroise-leclerc Oct 23, 2026
2071735
Merge pull request #339 from ambroise-leclerc/312-remove-babel-react-…
AM-L Oct 23, 2026
a54188b
Guard the minimal core with a normative list and a size budget, gener…
ambroise-leclerc Oct 23, 2026
240b793
Correct the include size reference in the guard documentation [#314]
ambroise-leclerc Oct 23, 2026
d0504db
Refuse resource sizes the guard cannot read, except for the release d…
ambroise-leclerc Oct 23, 2026
c0ee031
Merge pull request #340 from ambroise-leclerc/314-minimal-core-guard
AM-L Oct 23, 2026
ee80d93
Build the developer environment with wf run from the pinned bootstrap…
ambroise-leclerc Oct 23, 2026
78b71b2
Test the self-build, publish without Node.js and document the migrati…
ambroise-leclerc Oct 23, 2026
1c65717
Run the publication shell scripts with bash and mark them executable …
ambroise-leclerc Oct 23, 2026
103b30c
Refuse an unreadable manifest before archiving, and stage into a site…
ambroise-leclerc Oct 23, 2026
3d6e8b9
Keep LF in the wf scripts, manifest and lock on Windows [#315]
ambroise-leclerc Oct 23, 2026
2eab569
Give each browser test group its own profile, so that two versions of…
ambroise-leclerc Oct 23, 2026
b6b6d5f
Trigger the developer packages workflow on its local actions [#315]
ambroise-leclerc Oct 23, 2026
c5c55b6
Check the pin against the base URL it was published under; fix two do…
ambroise-leclerc Oct 23, 2026
6cf7822
Bound the duration of the developer packages jobs [#315]
ambroise-leclerc Oct 23, 2026
a6e555b
Merge pull request #341 from ambroise-leclerc/315-self-hosted-environ…
ambroise-leclerc Oct 23, 2026
e59e435
Pin developer environment 0.6.1 [#315]
ambroise-leclerc Oct 23, 2026
0b17ea9
Document the release pin 0.6.1 [#315]
ambroise-leclerc Oct 23, 2026
89ef117
Merge pull request #342 from ambroise-leclerc/303-developer-0.6.1
AM-L Oct 23, 2026
38b6a12
Pin the bootstrap environment of the tests to 0.6.1 [#318]
ambroise-leclerc Oct 23, 2026
5d5a10a
Run the tests, the regeneration of the assets and the CI without Node…
ambroise-leclerc Oct 23, 2026
55e0003
Merge pull request #343 from ambroise-leclerc/318-pin-bootstrap-0.6.1
AM-L Oct 23, 2026
260a556
Fix the Windows CI failures and shorten the new tests [#318]
ambroise-leclerc Oct 23, 2026
efdfb2a
Restore the esbuild specs of wf dev and wf test [#318]
ambroise-leclerc Oct 23, 2026
0ae14cd
Update the counts of specs in the documentation [#318]
ambroise-leclerc Oct 23, 2026
3bd02aa
Restore the original shape of the registry and self-build tests [#318]
ambroise-leclerc Oct 23, 2026
3b93cb0
Match the stale-header diagnostic across the line wrapping of CMake […
ambroise-leclerc Oct 23, 2026
25601c1
Merge pull request #344 from ambroise-leclerc/318-no-node-tests
AM-L Oct 24, 2026
8464072
Fix wf test WebKit compatibility and remove redundant CI work [#335]
ambroise-leclerc Oct 23, 2026
e181578
Merge pull request #345 from ambroise-leclerc/335-compatible-test-can…
AM-L Oct 24, 2026
1824271
Remove third_party: fflate becomes a locked package of the wf project…
ambroise-leclerc Oct 24, 2026
098a4f4
Record the fflate provenance in ADR-009 and scan archives for vendore…
ambroise-leclerc Oct 24, 2026
64f6b3f
Merge pull request #347 from ambroise-leclerc/319-remove-third-party
AM-L Oct 24, 2026
2eca4e4
Qualify the developer journey end to end and fix the archives rooted …
ambroise-leclerc Oct 24, 2026
feae7b3
Keep the journey project path under MAX_PATH on Windows [#316]
ambroise-leclerc Oct 24, 2026
5ae647b
Accept ADR-013, ADR-014 and ADR-015 on the cross-platform journey pro…
ambroise-leclerc Oct 24, 2026
32e496e
Merge pull request #348 from ambroise-leclerc/316-developer-journey-q…
AM-L Oct 24, 2026
8bc286e
Document the standalone developer environment: README walkthrough, re…
ambroise-leclerc Oct 24, 2026
808605a
Read and write project paths beyond MAX_PATH on Windows and let sccac…
ambroise-leclerc Oct 24, 2026
015a159
Fix the walkthrough on the pinned 0.6.1: create the project directory…
ambroise-leclerc Oct 24, 2026
c299d7c
Create the directories of a group publication beyond MAX_PATH on Wind…
ambroise-leclerc Oct 24, 2026
b6aebb7
Give a complete tsconfig.json and keep comments out of the terminal c…
ambroise-leclerc Oct 24, 2026
b53086c
Open a project whose root exceeds MAX_PATH on Windows [#349]
ambroise-leclerc Oct 24, 2026
8f5b1f0
Address review: separate type checking from the pinned path, name the…
ambroise-leclerc Oct 24, 2026
6ae9267
Merge pull request #351 from ambroise-leclerc/349-windows-long-paths
AM-L Oct 24, 2026
4df7246
Merge pull request #350 from ambroise-leclerc/317-documentation
ambroise-leclerc Oct 24, 2026
2dc5f00
Remove .devcontainer and record why the other root entries stay [#352]
ambroise-leclerc Oct 24, 2026
08aabc6
Trim .gitattributes to the rules that apply to tracked files [#352]
ambroise-leclerc Oct 24, 2026
d2adc6d
Move .clang-tidy to cmake/ and .clang-format next to the C++ it forma…
ambroise-leclerc Oct 24, 2026
0fd640c
Merge pull request #353 from ambroise-leclerc/352-simplify-root
AM-L Oct 24, 2026
8828d53
Let the application keep the manifest and the lock in a directory of …
ambroise-leclerc Oct 24, 2026
9605fb6
Refuse a manifest directory inside .webfront and clean the archive di…
ambroise-leclerc Oct 24, 2026
1aa210b
Merge pull request #355 from ambroise-leclerc/354-manifest-directory
ambroise-leclerc Oct 24, 2026
acce047
Pin developer environment 0.6.2 [#354]
ambroise-leclerc Oct 24, 2026
6adb29c
Pin the bootstrap environment of the tests to 0.6.2 [#354]
ambroise-leclerc Oct 24, 2026
22ada1b
Merge remote-tracking branch 'origin/354-developer-0.6.2' into 354-pi…
ambroise-leclerc Oct 24, 2026
9a7f579
Merge pull request #357 from ambroise-leclerc/354-pin-bootstrap-0.6.2
ambroise-leclerc Oct 24, 2026
c5a170a
Move the manifest and the lock of the repository to js/developer [#354]
ambroise-leclerc Oct 24, 2026
7a7c237
Merge remote-tracking branch 'origin/develop' into 354-move-manifest
ambroise-leclerc Oct 24, 2026
3507d99
Merge pull request #358 from ambroise-leclerc/354-move-manifest
ambroise-leclerc Oct 24, 2026
9a4aa17
Draw the C++ source inside the README animation so it is never croppe…
ambroise-leclerc Oct 24, 2026
432a74a
Draw the animated window as a macOS window with rounded corners and c…
ambroise-leclerc Oct 24, 2026
9b25016
Merge pull request #360 from ambroise-leclerc/359-readme-animation
ambroise-leclerc Oct 24, 2026
34cbdcd
Describe the ten local CI lanes and check them against the workflows …
ambroise-leclerc Oct 24, 2026
0fb6193
Cover missing CI lanes and CRLF workflow checkouts [#346]
ambroise-leclerc Oct 24, 2026
d852f06
Merge pull request #361 from ambroise-leclerc/346-local-ci
AM-L Oct 24, 2026
f73cdc9
Stop paying for diagnostics on every bridge message [#363]
ambroise-leclerc Oct 24, 2026
6f9db37
Propose ADR-017 on direct frontend access, measured against HTML [#363]
ambroise-leclerc Oct 24, 2026
9ce3d90
Run local Linux CI over SSH with verified offline kits [#346]
ambroise-leclerc Oct 24, 2026
c5540e0
Make the benchmark robust to a closing window, build the regression t…
ambroise-leclerc Oct 24, 2026
a002f74
Measure WebView2 against the HTML bridge, with a shared buffer, and e…
ambroise-leclerc Oct 24, 2026
f036981
Fix the TSan allocation test and measure WKWebView transports [#363]
ambroise-leclerc Oct 25, 2026
1945840
Clarify ADR-017 and validate Linux transport performance in Release […
ambroise-leclerc Oct 25, 2026
1a7f9ac
Keep nested CMake configurations on the offline CPM cache [#346]
ambroise-leclerc Oct 25, 2026
bf348f6
Merge pull request #364 from ambroise-leclerc/363-adr-direct-frontend…
AM-L Oct 25, 2026
8f8acf0
Run native Windows local CI through interactive tasks [#346]
ambroise-leclerc Oct 25, 2026
634a921
Select a CTest configuration in the offline cache regression [#346]
ambroise-leclerc Oct 25, 2026
8bf4ed5
Merge develop into the native Windows CI implementation
ambroise-leclerc Oct 25, 2026
e304567
Merge develop and include the Release WebKit lane in local CI [#346]
ambroise-leclerc Oct 25, 2026
2556b17
Integrate Linux local CI and its offline CPM regression fixes [#346]
ambroise-leclerc Oct 25, 2026
6673694
Propagate the offline CPM cache to native CTest configurations [#346]
ambroise-leclerc Oct 25, 2026
548a3f0
Run the offline CPM fixture without generator discovery [#346]
ambroise-leclerc Oct 25, 2026
28fdb90
Merge remote-tracking branch 'origin/346-local-ci-linux' into 346-loc…
ambroise-leclerc Oct 25, 2026
292141b
Avoid Visual Studio discovery in the native CPM regression [#346]
ambroise-leclerc Oct 25, 2026
8cc41f0
Merge pull request #362 from ambroise-leclerc/346-local-ci-linux
AM-L Oct 25, 2026
210f8ab
Preserve local CI diagnostics and serialize Windows recovery channels…
ambroise-leclerc Oct 25, 2026
2e6bfda
Merge pull request #365 from ambroise-leclerc/346-local-ci-windows
ambroise-leclerc Oct 25, 2026
df9ae15
Run native macOS local CI lanes through Aqua LaunchAgents [#346]
ambroise-leclerc Oct 25, 2026
642a435
Merge pull request #367 from ambroise-leclerc/346-local-ci-macos
ambroise-leclerc Oct 25, 2026
c21c98b
Cache validated gzip fallback representations [#281]
ambroise-leclerc Oct 25, 2026
d8defb2
Merge pull request #369 from ambroise-leclerc/281-gzip-fallback-cache
AM-L Oct 25, 2026
326e938
Remove local SSH CI infrastructure [#346]
ambroise-leclerc Oct 25, 2026
f8feebe
Merge pull request #370 from ambroise-leclerc/346-remove-local-ci
AM-L Oct 25, 2026
7eafc8b
Start the Life example without arguments and detect the native window…
ambroise-leclerc Oct 25, 2026
123d2c4
Advance the developer environment sources to 0.6.3 [#366]
ambroise-leclerc Oct 25, 2026
43bf24d
Preserve explicit native frontend choices across reconfiguration [#366]
ambroise-leclerc Oct 25, 2026
f9fa77c
Bound gzip workers and keep transport benchmarks out of CI [#283]
ambroise-leclerc Oct 25, 2026
06e6e87
Merge pull request #372 from ambroise-leclerc/283-bounded-gzip-workers
AM-L Oct 25, 2026
472a5fa
Merge develop into 366-life-developer-defaults
ambroise-leclerc Oct 25, 2026
e28bc5d
Do not fail GCC builds on a stringop-overflow false positive inside s…
ambroise-leclerc Oct 25, 2026
d27e4fc
Merge pull request #371 from ambroise-leclerc/366-life-developer-defa…
ambroise-leclerc Oct 25, 2026
c241e7a
Buffer gzip reads and accelerate short Huffman codes [#282]
ambroise-leclerc Oct 25, 2026
96aaa6a
Prepare WebFront 0.5.0 [#282]
ambroise-leclerc Oct 25, 2026
7158ca2
Synchronize release branch with master
ambroise-leclerc Oct 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 0 additions & 60 deletions .codescene/code-health-rules.json

This file was deleted.

18 changes: 0 additions & 18 deletions .devcontainer/devcontainer.json

This file was deleted.

189 changes: 35 additions & 154 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,188 +1,69 @@
# Auto detect text files and perform LF normalization
* text=auto
#
# The above will handle all files NOT found below
#

# Documents
*.bibtex text diff=bibtex
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
# Documents and data
*.md text diff=markdown
*.mdx text diff=markdown
*.tex text diff=tex
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.txt text
*.sql text
*.csv text
*.json text
*.yml text
*.yaml text
*.toml text
*.xml text

# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
*.svg text
*.eps binary

# Scripts
*.bash text eol=lf
*.fish text eol=lf
*.sh text eol=lf
*.zsh text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf

# Embedded headers hold the exact bytes of their text sources. Freshness tests
# re-read those sources, so Windows checkouts must preserve LF for every asset.
assets/WebFront.js text eol=lf
include/system/WebFrontJsData.hpp text eol=lf
assets/fallback/index.html text eol=lf
assets/fallback/webfront-fallback.mjs text eol=lf
include/system/FallbackIndexHtmlData.hpp text eol=lf
include/system/FallbackModuleData.hpp text eol=lf
assets/components/terminal/* text eol=lf
assets/components/tools/* text eol=lf
include/system/ToolManagerModuleData.hpp text eol=lf
third_party/xterm/* text eol=lf
include/system/TerminalIndexHtmlData.hpp text eol=lf
include/system/TerminalModuleData.hpp text eol=lf
include/system/XtermModuleData.hpp text eol=lf
include/system/XtermCssData.hpp text eol=lf
include/system/XtermFitAddonData.hpp text eol=lf

# The fake npm registry of the browser integration test: its packuments are served byte for byte.
webtest/registry/* text eol=lf
webtest/registry/tarballs/* binary

# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text

# Archives
*.7z binary
*.gz binary
*.tar binary
*.tgz binary
*.zip binary

# Text files where line endings should be preserved
*.patch -text

# Sources
*.c text diff=cpp
*.cc text diff=cpp
*.cxx text diff=cpp
*.cpp text diff=cpp
*.c++ text diff=cpp
*.hpp text diff=cpp
*.h text diff=cpp
*.h++ text diff=cpp
*.hh text diff=cpp

# Compiled Object files
*.slo binary
*.lo binary
*.o binary
*.obj binary

# Precompiled Headers
*.gch binary
*.pch binary

# Compiled Dynamic libraries
*.so binary
*.dylib binary
*.dll binary

# Compiled Static libraries
*.lai binary
*.la binary
*.a binary
*.lib binary

# Executables
*.exe binary
*.out binary
*.app binary



*.cpp text diff=cpp
*.hpp text diff=cpp
*.h text diff=cpp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just comment the entries below and
# uncomment the group further below
###############################################################################

*.sln text eol=crlf
*.csproj text eol=crlf
*.vbproj text eol=crlf
*.vcxproj text eol=crlf
*.vcproj text eol=crlf
*.dbproj text eol=crlf
*.fsproj text eol=crlf
*.lsproj text eol=crlf
*.wixproj text eol=crlf
*.modelproj text eol=crlf
*.sqlproj text eol=crlf
*.wwaproj text eol=crlf

*.xproj text eol=crlf
*.props text eol=crlf
*.filters text eol=crlf
*.vcxitems text eol=crlf
# Scripts. These are explicitly windows files and should use crlf
*.sh text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf

#
# Exclude files from exporting
#

.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore

# Embedded headers hold the exact bytes of their text sources. Freshness tests
# re-read those sources, so Windows checkouts must preserve LF for every asset.
js/core/WebFront.js text eol=lf
js/core/bootstrap/* text eol=lf
js/core/favicon.ico binary
include/webfront/system/WebFrontJsData.hpp text eol=lf
js/core/fallback/index.html text eol=lf
js/core/fallback/webfront-fallback.mjs text eol=lf
include/webfront/system/FallbackIndexHtmlData.hpp text eol=lf
include/webfront/system/FallbackModuleData.hpp text eol=lf

# Fuzzer seeds retain exact protocol bytes, including HTTP CRLF.
fuzz/corpus/** binary
test/fuzz/corpus/** binary

# Pinned third-party sources and generated dependency data keep exact bytes on Windows.
third_party/react/* text eol=lf
third_party/babel/* text eol=lf
third_party/jasmine/* text eol=lf
third_party/jasmine/*.png binary
third_party/fflate/* text eol=lf
include/system/*Data.hpp text eol=lf
# Generated dependency data keeps exact bytes on Windows.
include/webfront/system/*Data.hpp text eol=lf

# Browser-powered developer bootstrap sources and generated payloads.
assets/developer/* text eol=lf
tools/assets/package-lock.json text eol=lf
js/developer/environment/* text eol=lf

# Starter archives and every hashed distribution input must be identical on Windows.
tools/developer/starters/pi/* text eol=lf
examples/life/ui/* text eol=lf
tools/developer/* text eol=lf
js/developer/tools/* text eol=lf

# The wf project of the repository: its scripts, manifest and lock are hashed inputs of the self-build.
js/developer/scripts/* text eol=lf
js/developer/webfront.project.json text eol=lf
js/developer/webfront-packages.lock.json text eol=lf
2 changes: 1 addition & 1 deletion CONTRIBUTING.md → .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ This workflow ensures that `master` always reflects the latest deployable versio

## Tooling

To ensure consistency, we use `.clang-format` and `.clang-tidy` to enforce our coding style. These configuration files are included in the root of the repository.
To ensure consistency, we use `.clang-format` and `clang-tidy` to enforce our coding style. `.clang-format` is next to the C++ it formats (`include/webfront/`, `test/` and `examples/` each have their own copy, so their styles may diverge); the clang-tidy configuration is `cmake/clang-tidy.yaml`, applied by `-DENABLE_CLANG_TIDY=ON` (or `clang-tidy --config-file=cmake/clang-tidy.yaml`).

- **Clang-Format:** Automatically formats your code to match our style guidelines.
- **Clang-Tidy:** Detects and warns about style violations, bugs, and non-modern C++ practices.
Expand Down
33 changes: 33 additions & 0 deletions .github/actions/remove-node/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Remove Node.js
description: >-
Deletes node, nodejs, npm, npx and corepack from the runner (an ephemeral machine), then checks that none is reachable:
the steps that follow are the proof that a path needs no Node.js.
runs:
using: composite
steps:
- name: Remove Node.js, npm and npx
shell: bash
run: |
# A hosted Windows runner has no sudo: its user may delete the files itself.
remove() { if [ "$RUNNER_OS" = Windows ]; then rm -f "$1"; else sudo rm -f "$1"; fi; }
for tool in node nodejs npm npx corepack; do
while path=$(command -v "$tool"); do
remove "$path" || exit 1
hash -r
done
done
# On Windows the command shims (npm.cmd, npx.cmd, corepack.cmd) are separate files next to the executables.
if [ "$RUNNER_OS" = Windows ]; then
for tool in npm npx corepack; do
while path=$(command -v "$tool.cmd"); do
rm -f "$path" || exit 1
hash -r
done
done
fi
for tool in node nodejs npm npx corepack; do
if command -v "$tool"; then
echo "::error::$tool is still reachable"
exit 1
fi
done
51 changes: 51 additions & 0 deletions .github/actions/setup-cmake/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Set up CMake
description: >-
Installs an exact CMake release from its Kitware archive, checked against a SHA-256 pinned here. No GitHub API call
lists the releases, so the installation cannot fail on an incomplete answer ("Unable to find version matching").
inputs:
version:
description: Exact CMake version; its archives must have a pinned SHA-256 below.
required: true
runs:
using: composite
steps:
- name: Install CMake ${{ inputs.version }}
shell: bash
env:
VERSION: ${{ inputs.version }}
run: |
set -euo pipefail
case "$RUNNER_OS" in
Linux) platform=linux-x86_64; extension=tar.gz; bin=bin ;;
macOS) platform=macos-universal; extension=tar.gz; bin=CMake.app/Contents/bin ;;
Windows) platform=windows-x86_64; extension=zip; bin=bin ;;
*) echo "::error::No CMake archive for $RUNNER_OS"; exit 1 ;;
esac
name="cmake-$VERSION-$platform"
# From cmake-<version>-SHA-256.txt of each Kitware release.
case "$name.$extension" in
cmake-4.4.4-linux-x86_64.tar.gz) expected=e5bb807f7728cb60cd8b27ebc97a2edb469b68655f21e844a600c3575b76f5bb ;;
cmake-4.4.4-macos-universal.tar.gz) expected=4b7b73704b1db9b374e5c9ab8e17ac6148b817b6396ee75cd94a852cbac9d305 ;;
cmake-4.4.4-windows-x86_64.zip) expected=bace36e94b31c68ab6fa295f26dfa11219e0701cf7c94b0284a7d1cb13dac536 ;;
cmake-4.3.1-linux-x86_64.tar.gz) expected=208d76804009cbe8ec9aea0aa052c857c6e59bd289b43b9941c99324dc78b1d8 ;;
cmake-4.3.1-macos-universal.tar.gz) expected=c21fe4ade82a6a236aae0b9fbd8263c7ac6824a3fb32d03594456e30b06f3b7f ;;
cmake-4.3.1-windows-x86_64.zip) expected=03a610be931546474e46a442d171ef10532f4fc847de9cf76b7a8065bbef6a23 ;;
*) echo "::error::No pinned SHA-256 for $name.$extension: add it to .github/actions/setup-cmake/action.yml"; exit 1 ;;
esac
archive="$RUNNER_TEMP/$name.$extension"
curl -fsSL --retry 5 --retry-all-errors --retry-delay 15 -o "$archive" \
"https://github.com/Kitware/CMake/releases/download/v$VERSION/$name.$extension"
# From standard input: with a file name, sha256sum escapes a Windows path and prefixes the hash with "\".
if command -v sha256sum > /dev/null; then actual=$(sha256sum < "$archive" | cut -d' ' -f1)
else actual=$(shasum -a 256 < "$archive" | cut -d' ' -f1); fi
if [ "$actual" != "$expected" ]; then
echo "::error::$name.$extension has SHA-256 $actual, expected $expected"; exit 1
fi
if [ "$extension" = zip ]; then
pwsh -NoProfile -Command "Expand-Archive -LiteralPath '$(cygpath -w "$archive")' -DestinationPath '$(cygpath -w "$RUNNER_TEMP")' -Force"
cygpath -w "$RUNNER_TEMP/$name/$bin" >> "$GITHUB_PATH"
else
tar -xzf "$archive" -C "$RUNNER_TEMP"
echo "$RUNNER_TEMP/$name/$bin" >> "$GITHUB_PATH"
fi
"$RUNNER_TEMP/$name/$bin/cmake" --version
Loading
Loading