mirror of https://github.com/boa-dev/boa.git
Tree:
84a5e45447
add-vhs-ci
benchmarks
control-flow-graph
expect-lints
feature/node_span
feature/snapshot
features
gh-readonly-queue/main/pr-2877-b0ddf5eed00a53281d67fc7d846233fc0d99ce9c
gh-readonly-queue/main/pr-3144-8e48cec73fae708420b9af88813d4870243c491a
main
nan-boxing
optimization/static-shapes
real_conformance
reduce-environment-allocations
refactor/interner
refactor/register-vm
release-0.20
releases/0.17
releases/0.19
semver_checks
tco
utility-crate
wasm-debugger
nightly
v0.10
v0.11
v0.12
v0.13
v0.14
v0.15
v0.16
v0.17
v0.17.1
v0.17.2
v0.17.3
v0.18
v0.19
v0.19.1
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.5.0
v0.5.1
v0.6.0
v0.7.0
v0.8.0
v0.9.0
${ noResults }
1 Commits (84a5e454470b15f9755a51b3782d844ff89c32f7)
Author | SHA1 | Message | Date |
---|---|---|---|
José Julián Espina |
47351efa53
|
Reestructure repo and CI improvements (#3505)
* Reestructure repo * cargo update & fmt * Fix CI * Add newline * Fix playground CI * Fix CI * Fix CI (for real this time) * Fix CI (fr fr) |
12 months ago |
dependabot[bot] |
d16a364350
|
Bump wasm-bindgen from 0.2.88 to 0.2.89 (#3485)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.88 to 0.2.89. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.88...0.2.89) --- updated-dependencies: - dependency-name: wasm-bindgen dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
1 year ago |
José Julián Espina |
421ff7065f
|
Migrate to workspace lints (#3334)
* Migrate to workspace lints * Fix last warnings |
1 year ago |
dependabot[bot] |
2a26c29174
|
Bump getrandom from 0.2.10 to 0.2.11 (#3459)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.10 to 0.2.11. - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.2.10...v0.2.11) --- updated-dependencies: - dependency-name: getrandom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
1 year ago |
dependabot[bot] |
acb014e3eb
|
Bump wasm-bindgen from 0.2.87 to 0.2.88 (#3448)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.87 to 0.2.88. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.87...0.2.88) --- updated-dependencies: - dependency-name: wasm-bindgen dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
1 year ago |
José Julián Espina |
04ed7bee70
|
Implement `Atomics` builtin (#3394)
* Implement `Atomics` builtin * Apply review |
1 year ago |
José Julián Espina |
615ae4e096
|
Introduce experimental features (#3318)
* Introduce experimental features * Fix tests |
1 year ago |
José Julián Espina |
940e603d3b
|
Migrate to workspace deps (#3313)
* Migrate to workspace deps * cargo fmt |
1 year ago |
dependabot[bot] |
733c9ca75a
|
Bump chrono from 0.4.30 to 0.4.31 (#3287)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.30 to 0.4.31. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.30...v0.4.31) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
1 year ago |
dependabot[bot] |
306709177b
|
Bump chrono from 0.4.26 to 0.4.30 (#3263)
* Bump chrono from 0.4.26 to 0.4.30 Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.26 to 0.4.30. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.26...v0.4.30) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Replace deprecated methods --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jedel1043 <jedel0124@gmail.com> |
1 year ago |
Iban Eguia Moraza |
49f00590a4
|
Removed time 0.1 dependency, updated dependencies (#3122)
|
1 year ago |
dependabot[bot] |
2f35bdf262
|
Bump wasm-bindgen from 0.2.86 to 0.2.87 (#3038)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.86 to 0.2.87. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.86...0.2.87) --- updated-dependencies: - dependency-name: wasm-bindgen dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
1 year ago |
dependabot[bot] |
45e0b880a4
|
Bump getrandom from 0.2.9 to 0.2.10 (#3010)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.9 to 0.2.10. - [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/getrandom/compare/v0.2.9...v0.2.10) --- updated-dependencies: - dependency-name: getrandom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
2 years ago |
José Julián Espina |
65bf54d7e0
|
Fix WASM playground (#2992)
|
2 years ago |
dependabot[bot] |
14176a2cee
|
Bump chrono from 0.4.25 to 0.4.26 (#2982)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.25 to 0.4.26. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.25...v0.4.26) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
2 years ago |
dependabot[bot] |
44ef49efa7
|
Bump chrono from 0.4.24 to 0.4.25 (#2977)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.24 to 0.4.25. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.24...v0.4.25) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
2 years ago |
dependabot[bot] |
cafde4dc8b
|
Bump wasm-bindgen from 0.2.85 to 0.2.86 (#2934)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.85 to 0.2.86. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.85...0.2.86) --- updated-dependencies: - dependency-name: wasm-bindgen dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
2 years ago |
dependabot[bot] |
c827313c93
|
Bump wasm-bindgen from 0.2.84 to 0.2.85 (#2923)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.84 to 0.2.85. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.84...0.2.85) --- updated-dependencies: - dependency-name: wasm-bindgen dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
2 years ago |
Iban Eguia Moraza | 63d9d67ecb |
Added a Boa runtime (#2743)
This Pull Request fixes/closes #718. It changes the following: - Adds a new `boa_runtime` crate, that will only include `console` for now - Changes the `boa_cli` crate to use the new `boa_runtime` crate for the console, instead of the `console` feature of `boa_engine` - Removes the `console` feature in `boa_engine` - Adds a new `boa_testing` helper crate with some useful functions for testing `boa`. This part duplicates the code from `boa_engine`, but I could not make `boa_engine` work with this crate as a dependency due to circular dependencies. Maybe doing it a bit generic could work, but didn't have enough time to check it. To be checked: wether the WASM example works as expected with the console. |
2 years ago |
José Julián Espina | 53e4825a19 |
Implement var initializers in for-in loops (#2842)
This Pull Request implements [Initializers in ForIn Statement Heads](https://tc39.es/ecma262/#sec-initializers-in-forin-statement-heads) from the Annex B. This also cleans up the "annex-b" feature to be able to disable it with `--no-default-features`, since I couldn't test the error messages when the feature is disabled. |
2 years ago |
Iban Eguia Moraza | 6412b30d5d |
Make the `wasmbind` feature of the `chrono` crate optional (#2810)
This Pull Request fixes/closes #2475. It changes the following: - Do not use the `wasmbind` feature by default in the `chrono` crate. This can be enabled selectively if needed. - Updated the `boa_wasm` crate to use this new approach. I'm interested on knowing if this fixes @lastmjs's issue, and on checking with the team if this is the best approach to solve it. |
2 years ago |
dependabot[bot] | 12974ec800 |
Bump getrandom from 0.2.8 to 0.2.9 (#2792)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.8 to 0.2.9. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.2.9] - 2023-04-03</h2> <h3>Added</h3> <ul> <li>AIX support <a href="https://redirect.github.com/rust-random/getrandom/issues/282">#282</a></li> <li><code>getrandom_uninit</code> function <a href="https://redirect.github.com/rust-random/getrandom/issues/291">#291</a></li> <li><code>wasm64-unknown-unknown</code> support <a href="https://redirect.github.com/rust-random/getrandom/issues/303">#303</a></li> <li>tvOS and watchOS support <a href="https://redirect.github.com/rust-random/getrandom/issues/317">#317</a></li> <li>QNX/nto support <a href="https://redirect.github.com/rust-random/getrandom/issues/325">#325</a></li> <li>Support for <code>getrandom</code> syscall on NetBSD ≥ 10.0 <a href="https://redirect.github.com/rust-random/getrandom/issues/331">#331</a></li> <li><code>RtlGenRandom</code> fallback for non-UWP Windows <a href="https://redirect.github.com/rust-random/getrandom/issues/337">#337</a></li> </ul> <h3>Breaking Changes</h3> <ul> <li>Update MSRV to 1.36 <a href="https://redirect.github.com/rust-random/getrandom/issues/291">#291</a></li> </ul> <h3>Fixed</h3> <ul> <li>Solaris/OpenBSD/Dragonfly build <a href="https://redirect.github.com/rust-random/getrandom/issues/301">#301</a></li> </ul> <h3>Changed</h3> <ul> <li>Update MSRV to 1.36 <a href="https://redirect.github.com/rust-random/getrandom/issues/291">#291</a></li> <li>Use getentropy on Emscripten <a href="https://redirect.github.com/rust-random/getrandom/issues/307">#307</a></li> <li>Solaris: consistantly use <code>/dev/random</code> source <a href="https://redirect.github.com/rust-random/getrandom/issues/310">#310</a></li> <li>Move 3ds selection above rdrand/js/custom fallback <a href="https://redirect.github.com/rust-random/getrandom/issues/312">#312</a></li> <li>Remove buffer zeroing from Node.js implementation <a href="https://redirect.github.com/rust-random/getrandom/issues/315">#315</a></li> <li>Use <code>open</code> instead of <code>open64</code> <a href="https://redirect.github.com/rust-random/getrandom/issues/326">#326</a></li> <li>Remove #cfg from bsd_arandom.rs <a href="https://redirect.github.com/rust-random/getrandom/issues/332">#332</a></li> <li>Hermit: use <code>sys_read_entropy</code> syscall <a href="https://redirect.github.com/rust-random/getrandom/issues/333">#333</a></li> <li>Eliminate potential panic in sys_fill_exact <a href="https://redirect.github.com/rust-random/getrandom/issues/334">#334</a></li> <li>rdrand: Remove checking for 0 and !0 and instead check CPU family and do a self-test <a href="https://redirect.github.com/rust-random/getrandom/issues/335">#335</a></li> <li>Move <code>__getrandom_custom</code> definition into a const block <a href="https://redirect.github.com/rust-random/getrandom/issues/344">#344</a></li> <li>Switch the custom backend to Rust ABI <a href="https://redirect.github.com/rust-random/getrandom/issues/347">#347</a></li> </ul> <p><a href="https://redirect.github.com/rust-random/getrandom/issues/282">#282</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/282">rust-random/getrandom#282</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/291">#291</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/291">rust-random/getrandom#291</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/301">#301</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/301">rust-random/getrandom#301</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/303">#303</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/303">rust-random/getrandom#303</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/307">#307</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/307">rust-random/getrandom#307</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/310">#310</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/310">rust-random/getrandom#310</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/312">#312</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/312">rust-random/getrandom#312</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/315">#315</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/315">rust-random/getrandom#315</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/317">#317</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/317">rust-random/getrandom#317</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/325">#325</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/325">rust-random/getrandom#325</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/326">#326</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/326">rust-random/getrandom#326</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/331">#331</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/331">rust-random/getrandom#331</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/332">#332</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/332">rust-random/getrandom#332</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/333">#333</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/333">rust-random/getrandom#333</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/334">#334</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/334">rust-random/getrandom#334</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/335">#335</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/335">rust-random/getrandom#335</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/337">#337</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/337">rust-random/getrandom#337</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/344">#344</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/344">rust-random/getrandom#344</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/347">#347</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/347">rust-random/getrandom#347</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
José Julián Espina | 0babe195fb |
Implement `escape` and `unescape` (#2768)
<!--- Thank you for contributing to Boa! Please fill out the template below, and remove or add any information as you feel necessary. ---> This Pull Request implements the [`escape`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/escape) and [`unescape`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/unescape) functions. Both are technically deprecated, but they're also part of the [Additional ECMAScript Features for Web Browsers](https://tc39.es/ecma262/#sec-additional-ecmascript-features-for-web-browsers) section, so it is preferable to have them in place. |
2 years ago |
dependabot[bot] | 845a7f468d |
Bump wasm-bindgen from 0.2.83 to 0.2.84 (#2585)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.83 to 0.2.84. <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | f6e189e628 |
Bump getrandom from 0.2.7 to 0.2.8 (#2359)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.7 to 0.2.8. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.2.8] - 2022-10-20</h2> <h3>Changed</h3> <ul> <li>The <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API">Web Cryptography API</a> will now be preferred on <code>wasm32-unknown-unknown</code> when using the <code>"js"</code> feature, even on Node.js <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a></li> </ul> <h3>Added</h3> <ul> <li>Added benchmarks to track buffer initialization cost <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/272">#272</a></li> </ul> <h3>Fixed</h3> <ul> <li>Use <code>$crate</code> in <code>register_custom_getrandom!</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/270">#270</a></li> </ul> <h3>Documentation</h3> <ul> <li>Add information about enabling <code>"js"</code> feature <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a></li> <li>Fix link to <code>wasm-bindgen</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a></li> <li>Document the varied implementations for underlying randomness sources <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/276">#276</a></li> </ul> <p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/284">rust-random/getrandom#284</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/295">rust-random/getrandom#295</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/272">#272</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/272">rust-random/getrandom#272</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/270">#270</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/270">rust-random/getrandom#270</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/280">rust-random/getrandom#280</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/278">rust-random/getrandom#278</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/276">#276</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/276">rust-random/getrandom#276</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
José Julián Espina | e9e85f5a49 |
Switch to workspace inherited properties (#2297)
This Pull Request switches our codebase to the brand new [workspace inherited keys](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table), which allows us to define common package options that are usable within each crate's Cargo.toml file. It also allows to share dependency versions between crates, but I defined only shared versions for our workspace members. It would be a good follow-up to lift all the shared dependencies between crates into the global Cargo.toml. |
2 years ago |
Iban Eguia | f5be60975b |
Updated dependencies for 0.16 release (#2300)
This Pull Request updates the dependencies for the 0.16 release. Co-authored-by: José Julián Espina <jedel0124@gmail.com> |
2 years ago |
dependabot[bot] | 1d5ec2555e |
Bump wasm-bindgen from 0.2.82 to 0.2.83 (#2280)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.82 to 0.2.83. <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | 4235c15e8e |
Bump wasm-bindgen from 0.2.81 to 0.2.82 (#2204)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.81 to 0.2.82. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md">wasm-bindgen's changelog</a>.</em></p> <blockquote> <h1><code>wasm-bindgen</code> Change Log</h1> <hr /> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | 7f6d44ea01 |
Bump wasm-bindgen from 0.2.80 to 0.2.81 (#2123)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.80 to 0.2.81. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md">wasm-bindgen's changelog</a>.</em></p> <blockquote> <h2>0.2.81</h2> <p>Released 2022-06-14.</p> <p><a href="https://github.com/rustwasm/wasm-bindgen/compare/0.2.80...0.2.81">changes</a></p> <hr /> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
dependabot[bot] | 31edb264d0 |
Bump getrandom from 0.2.6 to 0.2.7 (#2121)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.6 to 0.2.7. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.2.7] - 2022-06-14</h2> <h3>Changed</h3> <ul> <li>Update <code>wasi</code> dependency to <code>0.11</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/253">#253</a></li> </ul> <h3>Fixed</h3> <ul> <li>Use <code>AtomicPtr</code> instead of <code>AtomicUsize</code> for Strict Provenance compatibility. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/263">#263</a></li> </ul> <h3>Documentation</h3> <ul> <li>Add comments explaining use of fallback mechanisms <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/257">#257</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/260">#260</a></li> </ul> <p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/263">#263</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/263">rust-random/getrandom#263</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/260">#260</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/260">rust-random/getrandom#260</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/253">#253</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/253">rust-random/getrandom#253</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/257">#257</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/257">rust-random/getrandom#257</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
2 years ago |
Iban Eguia | 1dbd31e2b7 |
Added changelog, updated dependencies, bumped version number for 0.15 (#2102)
This Pull Request bumps the version number to 0.15, adds the changelog for this new versions and updates all dependencies to the latest versions. |
3 years ago |
jedel1043 | 518bad8109 |
Integrate ICU4X into `Intl` module (#2083)
<!--- Thank you for contributing to Boa! Please fill out the template below, and remove or add any information as you feel neccesary. ---> This Pull Request integrates an `ICU4X` data provider API in our codebase, to make use of the internationalization APIs that this crate provides. It changes the following: - Creates an API for pluggable icu data providers at `Context` creation, adding an `Icu` struct to store the provider (and some other internationalization tools) at runtime. - Slightly changes locale related functions to preserve the `Locale` type and ensure correctness. (Will make some other changes related to this). - Integrates the `sys_locale` crate to fetch the current default locale of an user instead of always returning `en-US`. |
3 years ago |
Jason Williams | 01bd50fa72 |
cargo workspaces fixes #2001 (#2026)
This adds cargo-workspaces to our repo for easier publishing. (I think we may need to do a dry run of this first to test) fixes https://github.com/boa-dev/boa/issues/2001 |
3 years ago |
Iban Eguia | 8d746ecc0b |
Upgraded wasm-bindgen (#2020)
This Pull Request supersedes #2018 and #2017. It changes the following: - Updates the wasm-bindgen dependency now that a new version without the clippy bug has been released - Updates all dependencies to their latest versions |
3 years ago |
dependabot[bot] | c23d32b977 |
Bump getrandom from 0.2.5 to 0.2.6 (#1986)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.5 to 0.2.6. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.2.6] - 2022-03-28</h2> <h3>Added</h3> <ul> <li>Nintendo 3DS (<code>armv6k-nintendo-3ds</code>) support <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/248">#248</a></li> </ul> <h3>Changed</h3> <ul> <li>Retry <code>open</code> when interrupted <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/252">#252</a></li> </ul> <p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/248">#248</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/248">rust-random/getrandom#248</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/252">#252</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/252">rust-random/getrandom#252</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
3 years ago |
jedel1043 | f25ce46a1e |
Migrate to NPM and cleanup Playground (#1951)
This Pull Request closes #1912 by migrating to a NPM based build, hopefully making it easier to contribute to the Playground. Also, reduces the number of features of the editor, since most of them were support for other languages or features that don't make sense in a playground environment. This considerably reduces the number of fetched files per page load and the total size of the playground. |
3 years ago |
Aaron Ross | 520b81ea66 |
add README for crates.io publish (#1952)
This Pull Request closes #1948. It changes the following: - set `readme` in `boa_engine` so `README.md` will be published to crates.io - remove unnecessary `exclude` field from `Cargo.toml` in all apps I was unsure whether using a path outside of the workspace root was allowed for `readme` since it [doesn't get included in the release tarball](https://github.com/rust-lang/cargo/issues/5911), but this exact path is used by [juniper](https://github.com/graphql-rust/juniper/blob/master/juniper/Cargo.toml#L13) and [seems to work there](https://crates.io/crates/juniper). I believe `cargo publish` does a bit more than just uploading the tarball, including pulling the `readme` from any arbitrary path. The default behaviour of `cargo package`/`cargo publish` if neither `exclude` or `include` is specified is to include all files from the package root, excluding - dotfiles - .gitignore'd files - subpackages (any subdirectory with a `Cargo.toml` file) - the `/target` directory There's no need to explicitly exclude files from the parent directory since they're already excluded by default. This can be verified by running `cargo package --list` inside any workspace app: ```plain $ cd boa_wasm $ cargo package --list .gitignore Cargo.toml Cargo.toml.orig src/lib.rs ``` You can read more [here](https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields). |
3 years ago |
jasonwilliams | 16f3a0bd29 |
give everything a version
|
3 years ago |
Jason Williams |
be901735e5
|
generated changelog for 0.14 (#1882)
Co-authored-by: João Borges <rageknify@gmail.com> |
3 years ago |
dependabot[bot] | d07945ddf3 |
Bump getrandom from 0.2.4 to 0.2.5 (#1863)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.4 to 0.2.5. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.2.5] - 2022-02-22</h2> <h3>Added</h3> <ul> <li>ESP-IDF targets (<code>*‑espidf</code>) support <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/245">#245</a></li> </ul> <h3>Fixed</h3> <ul> <li>Webpack warning caused by dynamic require <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/234">#234</a></li> <li>Error checking on iOS for <code>SecRandomCopyBytes</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/244">#244</a></li> </ul> <p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/234">#234</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/234">rust-random/getrandom#234</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/244">#244</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/244">rust-random/getrandom#244</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/245">#245</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/245">rust-random/getrandom#245</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
3 years ago |
Iban Eguia |
4d2772d6a0
|
Rename "Boa" to boa_engine, moved GC and profiler to their crates (#1844)
* Separated GC and Profiler * Fixed prettierignore * Removed re-exports, fixed benchmarks, added some caches * Removed empty line * Update boa_engine/Cargo.toml Co-authored-by: raskad <32105367+raskad@users.noreply.github.com> * Fixed the profiler * Removed empty file Co-authored-by: raskad <32105367+raskad@users.noreply.github.com> |
3 years ago |
Iban Eguia | e37cb6c9f6 |
Updated dependencies (#1803)
The main idea behind this is to upgrade the Unicode version from 13 to 14. I also upgraded the rest of the dependencies, so this closes #1802, #1800 and #1799. |
3 years ago |
Iban Eguia | e92cff5920 |
Interner support in the parser (#1765)
This builds on top of #1758 to try to bring #1763 to life. Something that should probably be done here would be to convert `JsString` to a `Sym` internally. Then, further optimizations could be done adding common strings to a custom interner type (those that we know statically). This is definitely work in progress, but I would like to have feedback on the API, and feel free to contribute. Co-authored-by: raskad <32105367+raskad@users.noreply.github.com> |
3 years ago |
Iban Eguia | 48185f393d |
Lexer string interning (#1758)
This Pull Request is part of #279. It adds a string interner to Boa, which allows many types to not contain heap-allocated strings, and just contain a `NonZeroUsize` instead. This can move types to the stack (hopefully I'll be able to move `Token`, for example, maybe some `Node` types too. Note that the internet is for now only available in the lexer. Next steps (in this PR or future ones) would include also using interning in the parser, and finally in execution. The idea is that strings should be represented with a `Sym` until they are displayed. Talking about display. I have changed the `ParseError` type in order to not contain anything that could contain a `Sym` (basically tokens), which might be a bit faster, but what is important is that we don't depend on the interner when displaying errors. The issue I have now is in order to display tokens. This requires the interner if we want to know identifiers, for example. The issue here is that Rust doesn't allow using a `fmt::Formatter` (only in nightly), which is making my head hurt. Maybe someone of you can find a better way of doing this. Then, about `cursor.expect()`, this is the only place where we don't have the expected token type as a static string, so it's failing to compile. We have the option of changing the type definition of `ParseError` to contain an owned string, but maybe we can avoid this by having a `&'static str` come from a `TokenKind` with the default values, such as "identifier" for an identifier. I wanted for you to think about it and maybe we can just add that and avoid allocations there. Oh, and this depends on the VM-only branch, so that has to be merged before :) Another thing to check: should the interner be in its own module? |
3 years ago |
dependabot[bot] | 76a27ce2a5 |
Bump wasm-bindgen from 0.2.78 to 0.2.79 (#1789)
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.78 to 0.2.79. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md">wasm-bindgen's changelog</a>.</em></p> <blockquote> <h2>0.2.79</h2> <p>Released 2022-01-19.</p> <p><a href="https://github.com/rustwasm/wasm-bindgen/compare/0.2.78...0.2.79">changes</a></p> <hr /> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
3 years ago |
dependabot[bot] | 4bae3bbe99 |
Bump getrandom from 0.2.3 to 0.2.4 (#1783)
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.3 to 0.2.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.2.4] - 2021-12-13</h2> <h3>Changed</h3> <ul> <li>Use explicit imports in the <code>js</code> backend <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/220">#220</a></li> <li>Use <code>/dev/urandom</code> on Redox instead of <code>rand:</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/222">#222</a></li> <li>Use <code>NonZeroU32::new_unchecked</code> to convert wasi error <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/233">#233</a></li> </ul> <h3>Added</h3> <ul> <li>SOLID targets (<code>*-kmc-solid_*</code>) support <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/235">#235</a></li> <li>Limited Hermit (<code>x86_64-unknown-hermit</code>) support <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/236">#236</a></li> </ul> <p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/220">#220</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/220">rust-random/getrandom#220</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/222">#222</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/222">rust-random/getrandom#222</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/233">#233</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/233">rust-random/getrandom#233</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/235">#235</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/235">rust-random/getrandom#235</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/236">#236</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/236">rust-random/getrandom#236</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
3 years ago |
Iban Eguia |
a5c85708a2
|
Clean-up contribution guidelines, dependencies, Test262, MSRV (#1683)
|
3 years ago |
João Borges |
8aeef422ed
|
Respect rust 1.56 (#1681)
* Style: Respect rust1.56 * Chore: Change to 2021 edition |
3 years ago |
Jason Williams |
c977b8e5aa
|
changelog v0.13 (#1590)
Co-authored-by: Iban Eguia <iban.eguia@cern.ch> |
3 years ago |