From 23f608828a8249572954c2591786ba523cb74479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CM4n5ter=E2=80=9D?= Date: Mon, 23 Nov 2026 21:46:38 +0800 Subject: [PATCH] chore(nsh): sync main with upstream 0.6.1 (cherry-pick #7145) Cherry-pick df16a5281e16666627ad673a5a57f2dec0607667 ("chore(nsh): sync rust-preview with upstream 0.6.1 (#7145)") onto main ahead of syncing to the latest upstream longbridge/nsh revision. Preserves all post-19e6a11cc main changes (including #7168, #7187, #7188, #7193, #7194, #7196, #7197) with zero merge conflicts. (cherry picked from commit df16a5281e16666627ad673a5a57f2dec0607667) Generated-by: Maka (Gemini) --- Cargo.lock | 32 +- LICENSE | 2 +- docs/code-origin-audit.md | 2 +- products/maka/cli/DEPENDENCIES.rust.tsv | 30 +- products/maka/cli/THIRD_PARTY_NOTICES.txt | 42 +- products/maka/cli/notices.json | 32 +- .../nsh/.github/workflows/rust-app.yml | 2 + third-party/nsh/Cargo.lock | 70 +- third-party/nsh/Cargo.toml | 44 +- third-party/nsh/SOURCE.md | 4 +- .../nsh/crates/nsh-base/src/carousel.rs | 52 +- .../crates/nsh-base/src/editor/highlight.rs | 5 +- third-party/nsh/crates/nsh-base/src/syntax.rs | 11 + .../crates/nsh-base/src/text_view/formula.rs | 4 + .../nsh-base/src/text_view/highlight.rs | 1 + .../crates/nsh-core/src/animation/graph.rs | 566 +- .../nsh/crates/nsh-core/src/core/mod.rs | 11 + .../nsh/crates/nsh-core/src/core/tests.rs | 96 + .../nsh/crates/nsh-core/src/effects.rs | 21 + .../crates/nsh-core/src/element/builder.rs | 11 + .../nsh/crates/nsh-core/src/element/host.rs | 7 + .../nsh/crates/nsh-core/src/js/host.rs | 6 +- .../nsh/crates/nsh-core/src/js/host_values.rs | 24 +- third-party/nsh/crates/nsh-core/src/js/mod.rs | 5 + third-party/nsh/crates/nsh-core/src/lib.rs | 25 +- third-party/nsh/crates/nsh-core/src/ops.rs | 4 + .../crates/nsh-core/src/runtime/updater.rs | 12 +- third-party/nsh/crates/nsh-core/src/style.rs | 4 + .../nsh/crates/nsh-engine/src/shader_off.rs | 6 + .../nsh-engine/tests/engine/platform.rs | 40 +- .../nsh/crates/nsh-js/src/declarations.rs | 5 + third-party/nsh/crates/nsh-js/src/dom.rs | 17 +- .../nsh/crates/nsh-macros/src/assets.rs | 6 + .../nsh/crates/nsh-macros/src/host_props.rs | 31 +- .../java/com/longbridge/nsh/AppActivity.java | 2 + .../java/com/longbridge/nsh/Box.java | 5 + .../java/com/longbridge/nsh/DevActivity.java | 13 +- .../java/com/longbridge/nsh/ModalHost.java | 7 + .../java/com/longbridge/nsh/Mounter.java | 64 +- .../java/com/longbridge/nsh/NshView.java | 8 + .../java/com/longbridge/nsh/ScrollBox.java | 21 +- .../java/com/longbridge/nsh/StackBox.java | 22 +- .../com/longbridge/nsh/TabBarComponent.java | 35 +- .../java/com/longbridge/nsh/VideoBox.java | 51 +- .../crates/nsh-platform-android/src/encode.rs | 3 + .../crates/nsh-platform-ios/src/navigation.rs | 113 +- .../nsh/crates/nsh-platform-ios/src/video.rs | 33 +- .../crates/nsh-platform-linux/src/native.rs | 9 +- .../crates/nsh-platform-macos/src/native.rs | 19 +- .../crates/nsh-platform-macos/src/synth.rs | 304 +- .../tests/host/Video.test.tsx | 15 + .../nsh-platform-macos/tests/host/Video.tsx | 5 + .../nsh-platform-web/tests/video/App.test.tsx | 53 + .../nsh-platform-web/tests/video/App.tsx | 58 + .../nsh-platform-web/tests/video/clip.mp4 | Bin 0 -> 4573 bytes .../nsh-platform-web/tests/video/nsh.json | 4 + .../nsh-platform-web/web/browser/bootstrap.js | 6 +- .../nsh-platform-web/web/browser/dom.js | 7 +- .../web/browser/reactive.test.mjs | 27 + .../nsh/crates/nsh-platform-web/web/nsh.js | 57 +- .../examples/transparent.rs | 5 + .../crates/nsh-platform-windows/src/app.rs | 17 +- .../nsh-platform-windows/src/app_window.rs | 17 +- .../nsh-platform-windows/src/backdrop.rs | 232 + .../crates/nsh-platform-windows/src/chrome.rs | 4 - .../nsh-platform-windows/src/compose.rs | 235 +- .../crates/nsh-platform-windows/src/lib.rs | 1 + .../crates/nsh-platform-windows/src/native.rs | 7 + .../nsh-platform-windows/src/native/video.rs | 9 +- .../crates/nsh-platform-windows/src/render.rs | 131 +- .../nsh-platform-windows/src/surface.rs | 28 +- .../crates/nsh-platform-windows/src/system.rs | 22 +- .../crates/nsh-platform-windows/src/window.rs | 44 +- .../nsh-platform-windows/src/window_state.rs | 125 +- third-party/nsh/docs/dev/animation.md | 5 +- third-party/nsh/docs/dev/api-naming.md | 2 +- third-party/nsh/docs/dev/compatibility.md | 2 +- third-party/nsh/docs/dev/elements.md | 2 +- third-party/nsh/docs/dev/features.md | 12 +- third-party/nsh/docs/dev/js-modules.md | 12 +- third-party/nsh/docs/dev/native-pipeline.md | 2 +- third-party/nsh/docs/dev/pitfalls.md | 9 +- third-party/nsh/docs/dev/styles.md | 2 +- third-party/nsh/docs/dev/web.md | 9 +- third-party/nsh/docs/dev/windows.md | 32 +- .../skills/nsh/references/coding-guides.md | 2 +- .../nsh/tests/compat/cases/windows/App.tsx | 25 + .../tests/compat/cases/windows/backdrop.tsx | 19 + .../nsh/tests/compat/cases/windows/nsh.json | 4 + .../nsh/tests/compat/cases/windows/script.txt | 15 + third-party/nsh/upstream.json | 6971 +++++++++-------- third-party/nsh/website/docs/coding-guides.md | 2 +- .../nsh/website/docs/jsx-and-components.md | 2 +- .../nsh/website/docs/platform-specific.md | 9 +- third-party/nsh/website/docs/platforms.md | 2 +- third-party/nsh/website/docs/styling.md | 15 + .../nsh/website/zh-CN/docs/coding-guides.md | 2 +- .../website/zh-CN/docs/jsx-and-components.md | 2 +- .../website/zh-CN/docs/platform-specific.md | 9 +- .../nsh/website/zh-CN/docs/platforms.md | 2 +- third-party/nsh/website/zh-CN/docs/styling.md | 6 + 101 files changed, 6412 insertions(+), 3812 deletions(-) create mode 100644 third-party/nsh/crates/nsh-platform-web/tests/video/App.test.tsx create mode 100644 third-party/nsh/crates/nsh-platform-web/tests/video/App.tsx create mode 100644 third-party/nsh/crates/nsh-platform-web/tests/video/clip.mp4 create mode 100644 third-party/nsh/crates/nsh-platform-web/tests/video/nsh.json create mode 100644 third-party/nsh/crates/nsh-platform-windows/src/backdrop.rs create mode 100644 third-party/nsh/tests/compat/cases/windows/App.tsx create mode 100644 third-party/nsh/tests/compat/cases/windows/backdrop.tsx create mode 100644 third-party/nsh/tests/compat/cases/windows/nsh.json create mode 100644 third-party/nsh/tests/compat/cases/windows/script.txt diff --git a/Cargo.lock b/Cargo.lock index 93ca4e72a12..08c741a7332 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10471,7 +10471,7 @@ dependencies = [ [[package]] name = "nsh-base" -version = "0.6.0" +version = "0.6.1" dependencies = [ "chrono", "html5ever 0.27.0", @@ -10500,7 +10500,7 @@ dependencies = [ [[package]] name = "nsh-bundler" -version = "0.6.0" +version = "0.6.1" dependencies = [ "anyhow", "dunce", @@ -10525,7 +10525,7 @@ dependencies = [ [[package]] name = "nsh-core" -version = "0.6.0" +version = "0.6.1" dependencies = [ "cap-std", "chrono", @@ -10565,7 +10565,7 @@ dependencies = [ [[package]] name = "nsh-engine" -version = "0.6.0" +version = "0.6.1" dependencies = [ "crossbeam-channel", "env_filter", @@ -10586,7 +10586,7 @@ dependencies = [ [[package]] name = "nsh-i18n" -version = "0.6.0" +version = "0.6.1" dependencies = [ "rust-i18n-support", "serde_json", @@ -10594,7 +10594,7 @@ dependencies = [ [[package]] name = "nsh-js" -version = "0.6.0" +version = "0.6.1" dependencies = [ "futures-util", "getrandom 0.4.3", @@ -10616,7 +10616,7 @@ dependencies = [ [[package]] name = "nsh-macros" -version = "0.6.0" +version = "0.6.1" dependencies = [ "imagesize 0.15.0", "proc-macro2", @@ -10628,7 +10628,7 @@ dependencies = [ [[package]] name = "nsh-package" -version = "0.6.0" +version = "0.6.1" dependencies = [ "base64 0.22.1", "ed25519-dalek 2.2.0", @@ -10642,7 +10642,7 @@ dependencies = [ [[package]] name = "nsh-platform-apple" -version = "0.6.0" +version = "0.6.1" dependencies = [ "block2 0.6.2", "cc", @@ -10665,7 +10665,7 @@ dependencies = [ [[package]] name = "nsh-platform-linux" -version = "0.6.0" +version = "0.6.1" dependencies = [ "crossbeam-channel", "gdk4-x11", @@ -10685,7 +10685,7 @@ dependencies = [ [[package]] name = "nsh-platform-macos" -version = "0.6.0" +version = "0.6.1" dependencies = [ "block2 0.6.2", "crossbeam-channel", @@ -10714,7 +10714,7 @@ dependencies = [ [[package]] name = "nsh-platform-tui" -version = "0.6.0" +version = "0.6.1" dependencies = [ "crossbeam-channel", "icy_sixel", @@ -10731,7 +10731,7 @@ dependencies = [ [[package]] name = "nsh-platform-windows" -version = "0.6.0" +version = "0.6.1" dependencies = [ "crossbeam-channel", "image", @@ -10751,7 +10751,7 @@ dependencies = [ [[package]] name = "nsh-terminal" -version = "0.6.0" +version = "0.6.1" dependencies = [ "anyhow", "base64 0.22.1", @@ -10763,7 +10763,7 @@ dependencies = [ [[package]] name = "nsh-testing" -version = "0.6.0" +version = "0.6.1" dependencies = [ "crossbeam-channel", "log", @@ -10775,7 +10775,7 @@ dependencies = [ [[package]] name = "nsh-updater" -version = "0.6.0" +version = "0.6.1" dependencies = [ "base64 0.22.1", "ed25519-dalek 2.2.0", diff --git a/LICENSE b/LICENSE index 32eb9b52760..0fa52a80f38 100644 --- a/LICENSE +++ b/LICENSE @@ -340,7 +340,7 @@ third-party/nsh contains NSH initially imported from https://github.com/M4n5ter/nsh at revision de176695240d550f2b303643b8019146c7989e7f and synchronized with https://github.com/longbridge/nsh through revision -80b17ee2ca33fa187a0a8575d5644e62b817517b. +2f51d8611677c8a6bbad937b39756e8d0cc45350. Copyright 2026 Longbridge . Original license texts, the complete source inventory and local integration changes are recorded in third-party/nsh/{LICENSE-APACHE,upstream.json,SOURCE.md}. diff --git a/docs/code-origin-audit.md b/docs/code-origin-audit.md index c99b22b27bb..00800ab39a7 100644 --- a/docs/code-origin-audit.md +++ b/docs/code-origin-audit.md @@ -67,7 +67,7 @@ and original-request ownership model; no upstream implementation or tests are co - `website/src/assets/social.en.png`: English website preview rendered by `website/scripts/social-preview.mjs`; includes the product mark and self-hosted OFL-1.1 fonts. - `website/src/assets/social.zh-CN.png`: Chinese website preview rendered by the same source and toolchain. - `third-party/nsh/crates/nsh-base/fonts/katex.pack.zst`: Zstandard-compressed KaTeX math fonts (`KaTeX_*.ttf`); source and revision are recorded in `third-party/nsh/upstream.json`, and the SIL OFL-1.1 license is preserved alongside it in `katex.LICENSE.txt`. -- `third-party/nsh/crates/nsh-platform-macos/tests/host/clip.mp4`: Unmodified NSH native video test fixture from the pinned upstream snapshot; Apache-2.0. +- `third-party/nsh/crates/nsh-platform-macos/tests/host/clip.mp4` and `third-party/nsh/crates/nsh-platform-web/tests/video/clip.mp4`: Byte-identical, unmodified NSH video test fixtures from the pinned upstream snapshot; Apache-2.0. - `third-party/nsh/crates/nsh-testing/tests/testing/fonts/Pacifico-Regular.woff2`: Unmodified Pacifico WOFF2 test font from the NSH source snapshot; its SIL OFL-1.1 notice is preserved in `examples/gallery/fonts/OFL.txt`. - `third-party/nsh/examples/gallery-rs/icon.png`: Unmodified NSH example application artwork; source and revision are recorded in `third-party/nsh/upstream.json`. - `third-party/nsh/examples/gallery-rs/native/assets/bounce.gif`: Unmodified NSH gallery animation fixture from the same source snapshot. diff --git a/products/maka/cli/DEPENDENCIES.rust.tsv b/products/maka/cli/DEPENDENCIES.rust.tsv index 0402e8d5f14..ea57e6bbcd9 100644 --- a/products/maka/cli/DEPENDENCIES.rust.tsv +++ b/products/maka/cli/DEPENDENCIES.rust.tsv @@ -766,21 +766,21 @@ nonmax@0.5.5 X X normpath@1.5.2 X X notify-types@2.1.0 X X notify@8.2.1 X -nsh-base@0.6.0 X -nsh-bundler@0.6.0 X -nsh-core@0.6.0 X -nsh-engine@0.6.0 X -nsh-i18n@0.6.0 X -nsh-js@0.6.0 X -nsh-macros@0.6.0 X -nsh-package@0.6.0 X -nsh-platform-apple@0.6.0 X -nsh-platform-linux@0.6.0 X -nsh-platform-macos@0.6.0 X -nsh-platform-tui@0.6.0 X -nsh-platform-windows@0.6.0 X -nsh-terminal@0.6.0 X -nsh-updater@0.6.0 X +nsh-base@0.6.1 X +nsh-bundler@0.6.1 X +nsh-core@0.6.1 X +nsh-engine@0.6.1 X +nsh-i18n@0.6.1 X +nsh-js@0.6.1 X +nsh-macros@0.6.1 X +nsh-package@0.6.1 X +nsh-platform-apple@0.6.1 X +nsh-platform-linux@0.6.1 X +nsh-platform-macos@0.6.1 X +nsh-platform-tui@0.6.1 X +nsh-platform-windows@0.6.1 X +nsh-terminal@0.6.1 X +nsh-updater@0.6.1 X ntapi@0.4.3 X X nu-ansi-term@0.50.3 X num_cpus@1.17.0 X X diff --git a/products/maka/cli/THIRD_PARTY_NOTICES.txt b/products/maka/cli/THIRD_PARTY_NOTICES.txt index 279e20ab725..ae5055c9f79 100644 --- a/products/maka/cli/THIRD_PARTY_NOTICES.txt +++ b/products/maka/cli/THIRD_PARTY_NOTICES.txt @@ -4234,7 +4234,7 @@ json-strip-comments@3.1.2 (Apache-2.0) kurbo@0.13.1 (Apache-2.0 OR MIT) lru-slab@0.1.3 (MIT OR Apache-2.0 OR Zlib); authors declared by package: Benjamin Saunders nohash-hasher@0.2.0 (Apache-2.0 OR MIT); authors declared by package: Parity Technologies -nsh-js@0.6.0 (Apache-2.0) +nsh-js@0.6.1 (Apache-2.0) ntapi@0.4.3 (Apache-2.0 OR MIT); authors declared by package: MSxDOS numtoa@0.2.4 (MIT OR Apache-2.0); authors declared by package: Michael Aaron Murphy opentelemetry-http@0.32.0 (Apache-2.0) @@ -4373,7 +4373,7 @@ https://crates.io/api/v1/crates/zeroize/1.9.1/download :: LICENSE-APACHE https://crates.io/api/v1/crates/zeroize_derive/1.5.0/download :: LICENSE-APACHE https://crates.io/api/v1/crates/zune-core/0.5.1/download :: LICENSE-APACHE https://crates.io/api/v1/crates/zune-jpeg/0.5.15/download :: LICENSE-APACHE -https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-js) :: third_party/llrt-types/LICENSE +https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-js) :: third_party/llrt-types/LICENSE https://raw.githubusercontent.com/dudykr/ddbase/19f6487518dbebbc198346bfb979313ef457199e/LICENSE https://raw.githubusercontent.com/dudykr/ddbase/d46ef439d30d2b64eb87d4e197929548b51b21be/LICENSE https://raw.githubusercontent.com/google/flatbuffers/7e163021e59cca4f8e1e35a7c828b5c6b7915953/LICENSE @@ -29347,9 +29347,9 @@ For these and/or other purposes and motivations, and without any expectation of ================================================================================ -nsh-base@0.6.0 (Apache-2.0) +nsh-base@0.6.1 (Apache-2.0) -https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-base) :: fonts/katex.LICENSE.txt +https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-base) :: fonts/katex.LICENSE.txt The KaTeX fonts in katex.pack.zst (KaTeX_*.ttf of https://github.com/KaTeX/KaTeX, unmodified, packed in one zstd-compressed file): @@ -29449,9 +29449,9 @@ OTHER DEALINGS IN THE FONT SOFTWARE. ================================================================================ -nsh-base@0.6.0 (Apache-2.0) +nsh-base@0.6.1 (Apache-2.0) -https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-base) :: src/emoji_picker/emoji.LICENSE.txt +https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-base) :: src/emoji_picker/emoji.LICENSE.txt emoji.tsv is generated from emojibase-data (https://github.com/milesj/emojibase), whose names and keywords come from the Unicode Common Locale Data Repository. @@ -29524,22 +29524,22 @@ authorization of the copyright holder. ================================================================================ -nsh-base@0.6.0 (Apache-2.0) -nsh-bundler@0.6.0 (Apache-2.0) -nsh-core@0.6.0 (Apache-2.0) -nsh-engine@0.6.0 (Apache-2.0) -nsh-i18n@0.6.0 (Apache-2.0) -nsh-js@0.6.0 (Apache-2.0) -nsh-macros@0.6.0 (Apache-2.0) -nsh-package@0.6.0 (Apache-2.0) -nsh-platform-apple@0.6.0 (Apache-2.0) -nsh-platform-linux@0.6.0 (Apache-2.0) -nsh-platform-macos@0.6.0 (Apache-2.0) -nsh-platform-tui@0.6.0 (Apache-2.0) -nsh-platform-windows@0.6.0 (Apache-2.0) -nsh-updater@0.6.0 (Apache-2.0) +nsh-base@0.6.1 (Apache-2.0) +nsh-bundler@0.6.1 (Apache-2.0) +nsh-core@0.6.1 (Apache-2.0) +nsh-engine@0.6.1 (Apache-2.0) +nsh-i18n@0.6.1 (Apache-2.0) +nsh-js@0.6.1 (Apache-2.0) +nsh-macros@0.6.1 (Apache-2.0) +nsh-package@0.6.1 (Apache-2.0) +nsh-platform-apple@0.6.1 (Apache-2.0) +nsh-platform-linux@0.6.1 (Apache-2.0) +nsh-platform-macos@0.6.1 (Apache-2.0) +nsh-platform-tui@0.6.1 (Apache-2.0) +nsh-platform-windows@0.6.1 (Apache-2.0) +nsh-updater@0.6.1 (Apache-2.0) -https://raw.githubusercontent.com/longbridge/nsh/80b17ee2ca33fa187a0a8575d5644e62b817517b/LICENSE-APACHE +https://raw.githubusercontent.com/longbridge/nsh/2f51d8611677c8a6bbad937b39756e8d0cc45350/LICENSE-APACHE Copyright 2026 Longbridge diff --git a/products/maka/cli/notices.json b/products/maka/cli/notices.json index fab339f97b6..65fb483511b 100644 --- a/products/maka/cli/notices.json +++ b/products/maka/cli/notices.json @@ -727,20 +727,20 @@ "cargo:normpath@1.5.2 registry+https://github.com/rust-lang/crates.io-index": "acb5de38e99086d3276bed3185ae9c77a77fbfee275f73691c6acffff082bf8e", "cargo:notify-types@2.1.0 registry+https://github.com/rust-lang/crates.io-index": "20250f0f40c0ead47cfbe86741c39d97177cc07e34caaa1af8cabe7f6de98aee", "cargo:notify@8.2.1 registry+https://github.com/rust-lang/crates.io-index": "f61b2470546ca6ebb76c0f48c3eda5e7cab429bd32c8ae4dd515840c6e25a1a9", - "cargo:nsh-base@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-base)": "803294dd3d8f486aad81b92842eaa81a87e89b3dce70a6c1d5bd4770264c923e", - "cargo:nsh-bundler@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-bundler)": "de99da70bbeec133a8ceeb6ef8895b269e159122cc1842904f41c07d6bdbfe9b", - "cargo:nsh-core@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-core)": "f97aa34b1859deb8f53d7a381b5031acf4dc854ad569d906341604f4928fb75c", - "cargo:nsh-engine@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-engine)": "cd1b119cad40eeea0a956acd64061514f07c93547140db4949a28962dc2797db", - "cargo:nsh-i18n@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-i18n)": "5521f2eb6bbce9b5a4a61ca522861bb6d67716fd383a9c1a398382847354c208", - "cargo:nsh-js@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-js)": "f4d09070c7061f62c611ac214f47a5f328c31e56e64bdacf4bb68205c0e02846", - "cargo:nsh-macros@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-macros)": "680c2617f04721ccd70662e6f9f0fc8ee862f0a8a38e7cb2622f2bc6b1fce339", - "cargo:nsh-package@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-package)": "b57460b56b04f4f8e020a277b92916c787a8057529df79052f57560e99e837ca", - "cargo:nsh-platform-apple@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-platform-apple)": "7045c631c9a791aaa14f38ccfb9f1ae90ea97f1c709965db150d6a4295be582e", - "cargo:nsh-platform-linux@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-platform-linux)": "f8ceac3bc80e29ab081c53d59494ef8cb8e64c493e8e1fec2a0b689695f3f2b9", - "cargo:nsh-platform-macos@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-platform-macos)": "35bf4cbf1231578efa2b1addb974bdb226aac59d1a9c816e242d630fbf0f343b", - "cargo:nsh-platform-tui@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-platform-tui)": "af6f6a27d08eda342c713842b523911f69c091b39f877b56c34fa12dd1ac7acc", - "cargo:nsh-platform-windows@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-platform-windows)": "dad17f814feb85ca908af183980e6c7fd0fa1393d08e7b6b8ed7d117ded00aeb", - "cargo:nsh-updater@0.6.0 https://github.com/longbridge/nsh#80b17ee2ca33fa187a0a8575d5644e62b817517b (adapted; third-party/nsh/crates/nsh-updater)": "67128dd872a450237232afe2cac6cd1ab8b4e6248a0e82fa833b335dd97f4185", + "cargo:nsh-base@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-base)": "1739300d8b13141eef0bce8637a6a50d636b87bc7b1e4204518f1db679a2c272", + "cargo:nsh-bundler@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-bundler)": "79b117401b29074186af3757e52296b5cc6d0c5ec0d07898804ea770386c9524", + "cargo:nsh-core@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-core)": "9992ac2005d788a3fe8c63b4e441ccc3b6b0560e20ddbd54c452257d1f92064f", + "cargo:nsh-engine@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-engine)": "7d86fc4080d738d15050fa65590d0b402e1e474649e4ce033273313abdd8dfdb", + "cargo:nsh-i18n@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-i18n)": "8fc12c7c994f67915cdfa7fe560a6bb3c17db04648431e2d932b0d5e90f33f04", + "cargo:nsh-js@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-js)": "d32b449d3937706a5d956d17e0652d9a5bbfab190c9795c6773d5a8513442d8f", + "cargo:nsh-macros@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-macros)": "5f6d562d11f3d76d45160627ac73004864e815d8a3e37c1ad6f3ae010d7cf630", + "cargo:nsh-package@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-package)": "eaa9c89fd51d1acf90dde3bc72aeb3b5afa5f2c2f6dc3cd6d88f7f9e451091a3", + "cargo:nsh-platform-apple@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-platform-apple)": "804e368f71bb4fcacfd382ae84558b2e525455d578a14a1062083c5f43490527", + "cargo:nsh-platform-linux@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-platform-linux)": "38c00d8d24a9b1a0e141bb4e4d982e46ee43bcea48a5defc2603444ff7a8c971", + "cargo:nsh-platform-macos@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-platform-macos)": "35ab2cdcb7e66e82bbdd0963e76ece2534aa7320cd2dc3f9035a368b85ace7c9", + "cargo:nsh-platform-tui@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-platform-tui)": "19f513ee78507c7c07d07c70e54186c81c068060b0b51cd4727a3aaa437f423f", + "cargo:nsh-platform-windows@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-platform-windows)": "7019f4560f350df00e7c89ee57a5754c06a13a62695291fdca4400b0a1909bad", + "cargo:nsh-updater@0.6.1 https://github.com/longbridge/nsh#2f51d8611677c8a6bbad937b39756e8d0cc45350 (adapted; third-party/nsh/crates/nsh-updater)": "aeb90db17d9a52a5d5c40637a8dc430aa5fc07831306a22ecbb1a30144764ca0", "cargo:ntapi@0.4.3 registry+https://github.com/rust-lang/crates.io-index": "40cdfacbfb9756e7f9146f306911bedb70d9cf79262082cfb44445297ba56aa9", "cargo:nu-ansi-term@0.50.3 registry+https://github.com/rust-lang/crates.io-index": "5086839706242cfb143f201ef19f31e5fd8b3ca3a342fdb4a25ab41c08e50121", "cargo:num_cpus@1.17.0 registry+https://github.com/rust-lang/crates.io-index": "958d3e111ec03bcbd28164d98568f8fe17f27109a441c9d8c8c9a541399a77d7", @@ -1359,8 +1359,8 @@ "cargo:wayland-scanner@0.31.11 registry+https://github.com/rust-lang/crates.io-index": "4fdfd5aaf4d3cc7fee2ef94f14401fbd8c4e020b43515e88003b9cb765dfc416", "cargo:wayland-sys@0.31.11 registry+https://github.com/rust-lang/crates.io-index": "0a01d39447f3a2c4e548c0268d6aad682cec5a173cc0dbe0e2f0c02d19feca16", "cargo:web_atoms@0.2.6 registry+https://github.com/rust-lang/crates.io-index": "19f085c6c5614b10fab18ef26c9d8306817103bf3ebbe7c68e3b9118e0de09ac", - "cargo:web-transport-proto@0.2.8 registry+https://github.com/rust-lang/crates.io-index": "669f72fa1d8f8c3ca2e0ce08ecf98eecaa900938b0374eeb5e29fa33797273ee", "cargo:web-time@1.1.0 registry+https://github.com/rust-lang/crates.io-index": "f47832e2a5f6f6d7a6f8ead64233a9cdf67366f82b9d65b906d883f17047cb9f", + "cargo:web-transport-proto@0.2.8 registry+https://github.com/rust-lang/crates.io-index": "669f72fa1d8f8c3ca2e0ce08ecf98eecaa900938b0374eeb5e29fa33797273ee", "cargo:webpki-root-certs@1.0.11 registry+https://github.com/rust-lang/crates.io-index": "664b50f912031c49e875c87a079c8f05ec982666dd72838b17ea9c024a9828fa", "cargo:webpki-roots@0.26.11 registry+https://github.com/rust-lang/crates.io-index": "91547ddd2243096de6223886f8a9f47fcf78518b6e4e4856def58d1456b4aacb", "cargo:webpki-roots@1.0.11 registry+https://github.com/rust-lang/crates.io-index": "ede05ea0407ef834058624f0c305aa0701afdce4a5705d9b8093681c29c27c3f", @@ -1489,5 +1489,5 @@ "npm:preact@11.0.0-beta.0 https://registry.npmjs.org/preact/-/preact-11.0.0-beta.0.tgz sha512-IcODoASASYwJ9kxz7+MJeiJhvLriwSb4y4mHIyxdgaRZp6kPUud7xytrk/6GZw8U3y6EFJaRb5wi9SrEK+8+lg==": "da4f7ecf86f57891c776c0bef60deac13ff94c989832f12b1b5df88826fdf5eb", "npm:zod@4.6.7 https://registry.npmjs.org/zod/-/zod-4.6.7.tgz sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==": "8d405b2be44c8f37150acc9a7b5f1cf6103ddc26b043e56d34625b1c45d3a2ff" }, - "sha256": "828c05163f2f2b9df4d1425f20c26266a11d4e6ea05a57cd28feada9bd7228b1" + "sha256": "43432038107ca12889eadeccaaa74d26e9bafdfd5a3242db94cbf0d9a3ef9717" } diff --git a/third-party/nsh/.github/workflows/rust-app.yml b/third-party/nsh/.github/workflows/rust-app.yml index 4842d643f0b..fd9a4acca62 100644 --- a/third-party/nsh/.github/workflows/rust-app.yml +++ b/third-party/nsh/.github/workflows/rust-app.yml @@ -252,6 +252,8 @@ jobs: ./target/debug/nsh test examples/gallery/tests/controls.test.tsx --target web --filter 'one-time code' ./target/debug/nsh test examples/gallery/tests/overlays.test.tsx --target web --filter 'Escape cancels' ./target/debug/nsh test examples/gallery/tests/rich-editor.test.tsx --target web --filter 'Backspace after the caret moves' + # The browser's own `