Commit Graph

3675 Commits

Author SHA1 Message Date
daxpedda
8e992dc906
Don't allow invalid Unicode scalar values in char (#3866) 2024-03-04 08:51:38 +01:00
daxpedda
807bdb48e4
Revert "Allow using 'static lifetimes in functions (#3856)" (#3865) 2024-03-02 11:55:19 +01:00
daxpedda
983ec579a3
Add NonNull<T> as parameter (#3857) 2024-03-02 09:11:13 +01:00
Lynn
0095fa73c9
Allow overriding headless test URL (#3861) 2024-03-02 08:58:19 +01:00
Doug A
002307746e
Update passing-rust-closures-to-js.md (#3859) 2024-02-28 15:59:05 +01:00
daxpedda
b9ccb8f3c5
Allow using 'static lifetimes in functions (#3856)
Co-authored-by: Liam Murphy <43807659+Liamolucko@users.noreply.github.com>
2024-02-27 22:22:50 +01:00
daxpedda
c80bf9a323
Add support for Option<*const T>, Option<*mut T> and NonNull<T> (#3852)
Co-authored-by: Liam Murphy <43807659+Liamolucko@users.noreply.github.com>
2024-02-26 11:49:55 +01:00
daxpedda
0c09e154cf
Fix CI (#3853) 2024-02-23 14:00:44 +01:00
Léo Gaspard
557e2e6518
Introduce impl TryFrom for Number that succeeds iff the value is within the safe range (#3847) 2024-02-23 09:06:00 +01:00
Aaron Hill
b5a74c8578
Add sorted_iter_mut for NonstandardWitSection.adapters for determinism (#3851) 2024-02-22 17:06:13 +01:00
daxpedda
00ab174fcc
Update Rust version for UI tests (#3850) 2024-02-21 23:17:19 +01:00
daxpedda
6150e210ca
Revert "Use single-threaded impl when MT is impossible"
This reverts commit 7ce38b42d3.
2024-02-20 11:02:21 +01:00
daxpedda
7ce38b42d3
Use single-threaded impl when MT is impossible 2024-02-20 10:59:25 +01:00
Dirk Stolle
12889ef666
Update JamesIves/github-pages-deploy-action in GHA workflow to newest v4 (#3841) 2024-02-10 23:43:24 +01:00
Nulled
a396d03d9e
feat(#3843): Add support for CanvasState.reset (#3844) 2024-02-10 09:00:36 +01:00
Daniel Bergey
db91cc2a28
readme: also link the guide built from the main branch (#3826) 2024-02-09 22:18:21 +01:00
Dirk Stolle
9f1d1188ca
Update actions/upload-artifact + actions/download-artifact to v4 (#3842) 2024-02-09 12:30:25 +01:00
Thomas Etter
114a4a198c
Add a typescript test (not just a compile test) for enums (#3740) 2024-02-09 08:24:33 +11:00
evdokimovs
e9cb333116
Add RtcPeerConnectionIceErrorEvent WebAPI (#3835) 2024-02-08 14:15:23 +01:00
Dirk Stolle
1f12124a60
Update setup-geckodriver action to use Node.js 20 (#3839) 2024-02-08 11:19:01 +01:00
Dirk Stolle
6eecd5b624
Update actions/setup-node in GitHub Actions workflows to v4 (#3838) 2024-02-08 11:18:17 +01:00
Dirk Stolle
0d2d56cc5e
Update actions/checkout in GitHub Actions workflows to v4 (#3837) 2024-02-08 11:17:33 +01:00
daxpedda
8198d2d259
Fix crates.io secret 2024-02-06 20:21:27 +01:00
logist322
b56728f0f4
Add RTCRtpTransceiver.setCodecPreferences() (#3828) 2024-02-06 13:04:56 +01:00
daxpedda
fe8bc949b5
Prepare v0.2.91 release (#3829) 2024-02-06 12:37:22 +01:00
daxpedda
4b6ef26f8a
Fixed nighly build of wasm-bindgen-futures (#3827) 2024-02-06 11:20:08 +01:00
Daniel Bergey
22f84e3b1c
readme: build badge for Github actions, not Azure pipeline (#3825) 2024-02-06 10:39:39 +01:00
daxpedda
3e469b2654
Deprecate --weak-refs in favor of run-time detection (#3822)
* Deprecate `--weak-refs` in favor of run-time detection

* Generate empty functions instead

* Fix integration tests

* Improve `Closure::into_js_value()` docs
2024-02-05 09:01:50 +01:00
daxpedda
1f7942dfdb
Fix #[wasm_bindgen(js_name = default)] for module imports (#3823) 2024-02-05 08:53:57 +01:00
G2
1f019db03a
Enabled and auto generated forget() method for UsbDevice (#3821) 2024-02-03 00:53:19 +01:00
Martin
9e699ac45d
Add deployment note for first wasm-pack build --target web example (#3819) 2024-02-02 19:44:39 +01:00
daxpedda
305cb25cbd
Fixed temporary folder detection on MacOS (#3817) 2024-01-31 22:40:37 +01:00
Erich Gubler
b1047882dc
chore(webgpu)!: update to latest WebGPU IDL as of 2024-01-30 (#3816) 2024-01-30 12:26:37 +01:00
Akiomi Kamakura
fb518d3b19
Fix example code in guide (#3813) 2024-01-26 10:20:47 +01:00
daxpedda
c1945151e3
Run cargo publich on deployment (#3811) 2024-01-26 02:04:55 +01:00
Liam Murphy
acef364c7e
Shrink JS-allocated strings down to the correct size before passing them to Rust (#3808)
* Shrink JS-allocated strings down to the correct size before passing them to Rust

Fixes #3801.

I opted to solve it this way rather than just pass the capacity to Rust
as well because it means the allocation isn't up to 3x bigger than it
needs to be anymore. I also removed a TODO about fixing that.

* Update reference tests

* Add changelog entry
2024-01-25 20:05:55 +11:00
Gabriel Grant
034fb355c3
Add step to update CHANGELOG in publishing.md (#3765) 2024-01-25 09:11:35 +01:00
Dietmar Maurer
c4f81f5922
Add unstable bindings for the FileSystemAccess API (#3799) (#3810) 2024-01-24 12:13:36 +01:00
daxpedda
aa65ab5d5a
Implement WASM_BINDGEN_TEST_NO_ORIGIN_ISOLATION (#3807) 2024-01-23 14:53:56 +01:00
daxpedda
d4cc943f56
Implement --skip flag in test runner (#3803) 2024-01-23 11:03:55 +01:00
daxpedda
0979fea92b
Add support for testing in more worker types (#3804)
Co-authored-by: Liam Murphy <43807659+Liamolucko@users.noreply.github.com>
2024-01-23 10:35:26 +01:00
Eric Seppanen
1942791d88
Use immutable buffers in SubtleCrypto methods (#3797) 2024-01-23 09:53:18 +01:00
Tom Schuster
64e4a258a8
Stabilize ClipboardEvent (#3791) 2024-01-19 11:00:09 +01:00
mx
55a7fb848a
Added "type found" msg to expose_assert_* fns #3766 (#3787) 2024-01-16 11:39:06 +01:00
Philip Dubé
8797e93202
wasm-bindgen-cli-support: update base64 0.9 to 0.21 (#3777) 2024-01-14 09:47:25 +01:00
Gabriel Grant
adcf7786d1
Bump versions & update changelog for 0.2.90 release (#3763) 2024-01-12 16:59:28 +01:00
Thomas Etter
a3332e4be6
CI fix for Rust 1.75 (#3761)
* fix wat output file

* cargo clippy --no-deps --all-features -p wasm-bindgen-macro-support --fix -- -D warnings

* add #[allow(unused_imports)] for the binding file in web-sys
2023-12-31 14:23:04 +11:00
daxpedda
c0ee195d7e
Stabilize QueuingStrategy (#3753) 2023-12-26 00:54:39 +01:00
daxpedda
0069b66e16
Add unstable bindings for the Compression Streams API (#3752) 2023-12-23 21:10:20 +01:00
David Young
a0707157da
Add bindings for HTMLFormElement.requestSubmit() (#3747) 2023-12-20 20:12:55 +01:00