Kevin
4700436ad0
`boa_temporal` structure changes and docs update ( #3504 )
...
* API changes and docs update
* cargo fmt all
1 year ago
Kevin
d27555740d
Build out ZonedDateTime, TimeZone, and Instant ( #3497 )
...
* Build out ZonedDateTime, TimeZone, and Instant
* Post rebase fix on zdt
1 year ago
José Julián Espina
055e8fe3ce
Implement erased objects ( #3494 )
...
* Enable unsized types on the GC
* Implement erased objects
* Add utility macros
* Migrate builtins to erased objects
* Migrate VM to erased objects
* Migrate object wrappers to erased objects
* Migrate published crates to erased objects
* Fix warnings
* Decrease used space percentage for GC
* cargo clippy
* Fix docs
* cargo fmt
* Extract `upcast` function
* Add missing upcast usage
* cargo fmt
1 year ago
Kevin
c113b74b09
Migrate iso parsing to boa_temporal ( #3500 )
1 year ago
dependabot[bot]
3f7f39085a
Bump clap from 4.4.10 to 4.4.11 ( #3501 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.10 to 4.4.11.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.10...v4.4.11 )
---
updated-dependencies:
- dependency-name: clap
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
Haled Odat
a9c33cdff7
Implement Inline Caching ( #2767 )
1 year ago
Haled Odat
6506f6520f
Use `Vec<T>` for keeping track of gc objects ( #3493 )
...
* Use `Vec<T>` for keeping track of gc objects
* Apply review
1 year ago
dependabot[bot]
e7c7d3a8d7
Bump thin-vec from 0.2.12 to 0.2.13 ( #3499 )
...
Bumps [thin-vec](https://github.com/gankra/thin-vec ) from 0.2.12 to 0.2.13.
- [Changelog](https://github.com/Gankra/thin-vec/blob/main/RELEASES.md )
- [Commits](https://github.com/gankra/thin-vec/compare/v0.2.12...v0.2.13 )
---
updated-dependencies:
- dependency-name: thin-vec
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]
4df1048fc3
Bump futures-lite from 2.0.1 to 2.1.0 ( #3498 )
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: futures-lite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Veera
1fe164b80f
Fix a Parser Idempotency Issue ( #3172 )
...
* Fix a Parser Idempotency Issue
This PR fixes #3133 by correctly implementing `ToIndentedString`
for `with` statement.
It also replaces the existing `ToInternedString` implementation
because it is implemented for all types implementing
`ToIndentedString` in `boa_interner/src/lib.rs`.
* Add test for with statement formatting
---------
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
1 year ago
Kevin
e51e628127
Migrate `Temporal` to its own crate. ( #3461 )
...
* Update round and total method
* Begin Temporal crate migration
* Add dyn Any context and some small changes
* General completion and clean up work of migration
* Finish up clean up and linting of draft
* Post-rebase update and a couple changes
* Rename and some cleanup
* Remove migrated record file
* Apply Review
1 year ago
Haled Odat
13ba869d2e
Reduce `WeakGc<T>` memory usage ( #3492 )
...
* Reduce `WeakGc<T>` memory usage
Makes inner storage of `WeakGc<T>` store `()` in place of `Ephemeron` value,
insteadthe of a clone of the `Gc<T>` which is already stored in the key.
Reducing the size by the width of one pointer.
* Apply review
1 year ago
Haled Odat
d8e8c7a2cd
`Context` independent `CodeBlock`s ( #3424 )
...
* `Context` independent `CodeBlock`s
This allows us to share `CodeBlock`s between `Context`, which makes
functions sharable between `Context`s.
* Apply review
1 year ago
José Julián Espina
eb2f33e74a
Transition `Intl` types to `NativeObject` API ( #3491 )
1 year ago
José Julián Espina
9f181ef3aa
Add utility methods to the `Class` trait ( #3488 )
1 year ago
dependabot[bot]
67c4b2cc9e
Bump @playwright/test from 1.40.0 to 1.40.1 ( #3486 )
...
Bumps [@playwright/test](https://github.com/microsoft/playwright ) from 1.40.0 to 1.40.1.
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.40.0...v1.40.1 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-type: direct:development
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]
5274b916b8
Bump clap from 4.4.8 to 4.4.10 ( #3484 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.8 to 4.4.10.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.8...v4.4.10 )
---
updated-dependencies:
- dependency-name: clap
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]
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
dependabot[bot]
b2223cb52a
Bump proc-macro2 from 1.0.69 to 1.0.70 ( #3482 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.69...1.0.70 )
---
updated-dependencies:
- dependency-name: proc-macro2
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]
f0f4a9a94f
Bump hashbrown from 0.14.2 to 0.14.3 ( #3483 )
...
Bumps [hashbrown](https://github.com/rust-lang/hashbrown ) from 0.14.2 to 0.14.3.
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.14.2...v0.14.3 )
---
updated-dependencies:
- dependency-name: hashbrown
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
Alistair
b010c63a83
Switch `make_data` parameter from `this` to `new_target` ( #3478 )
1 year ago
dependabot[bot]
72fc6514d9
Bump simple_logger from 4.2.0 to 4.3.0 ( #3477 )
...
Bumps [simple_logger](https://github.com/borntyping/rust-simple_logger ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/borntyping/rust-simple_logger/releases )
- [Commits](https://github.com/borntyping/rust-simple_logger/compare/v4.2.0...v4.3.0 )
---
updated-dependencies:
- dependency-name: simple_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
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]
07e2356f1d
Bump serde from 1.0.192 to 1.0.193 ( #3475 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.192 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193 )
---
updated-dependencies:
- dependency-name: serde
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
a8aad0bd44
Bump ICU4X to 1.4 and finish Intl impls with new APIs ( #3469 )
...
* Migrate to workspace lints
* Fix last warnings
* Bump ICU4X@1.4 and implement missing APIs
1 year ago
dependabot[bot]
e5f7335115
Bump @playwright/test from 1.39.0 to 1.40.0 ( #3472 )
...
Bumps [@playwright/test](https://github.com/microsoft/playwright ) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.39.0...v1.40.0 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
dependency-type: direct:development
update-type: version-update:semver-minor
...
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]
af1a918930
Bump itertools from 0.11.0 to 0.12.0 ( #3466 )
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.11.0 to 0.12.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
raskad
4f0bb592ba
Update regex.match spec and code ( #3462 )
1 year ago
tj825
bbde84a776
Make well_known_symbols functions pub ( #3465 )
1 year ago
dependabot[bot]
3a4fe6fdc0
Bump prettier from 3.0.3 to 3.1.0 ( #3464 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
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]
45f09b8d9d
Bump clap from 4.4.7 to 4.4.8 ( #3463 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.7 to 4.4.8.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.7...v4.4.8 )
---
updated-dependencies:
- dependency-name: clap
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
Alistair
89fd3becfc
`[[HostDefined]]` Improvements ( #3460 )
...
* Refactor the `[[HostDefined]]` implementation.
Currently `[[HostDefined]]` doesn't permit you to mutably borrow two objects from the `[[HostDefined]]` field since the `FxHashMap` is wrapped under a `GcRefCell`.
This commit implements a `get_mut_many` (from `hashbrown`'s `HashMap`) method to permit accessing several `NativeObject`s using a `NativeTuple`.
Additionally, this commit takes the opportunity to provide automatic downcasting on the `insert` and `remove` methods for `[[HostDefined]]`.
* Update `[[HostDefined]]` example.
1 year ago
José Julián Espina
baa4f9893b
Simplify all extensions APIs of `Context` ( #3456 )
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]
1f80580505
Bump serde from 1.0.190 to 1.0.192 ( #3457 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.190 to 1.0.192.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.192 )
---
updated-dependencies:
- dependency-name: serde
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]
27f1c71f0f
Bump toml from 0.8.6 to 0.8.8 ( #3458 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.6 to 0.8.8.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.6...toml-v0.8.8 )
---
updated-dependencies:
- dependency-name: toml
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
Kevin
f551af9386
Progress on Duration's round/total method updates ( #3451 )
...
* Update round and total method
* Apply review
* Cargo fmt
* validate rounding increment to u64
1 year ago
dependabot[bot]
ebb0f1d4a1
Bump futures-lite from 2.0.0 to 2.0.1 ( #3454 )
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: futures-lite
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]
43f46d32e8
Bump syn from 2.0.38 to 2.0.39 ( #3455 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.38 to 2.0.39.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.38...2.0.39 )
---
updated-dependencies:
- dependency-name: syn
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
Haled Odat
1e90f56ec3
Prevent `DefVar` opcode emit for global binding ( #3453 )
1 year ago
Kevin
34d5c519ea
Duration methods and some cleanup ( #3443 )
1 year ago
Haled Odat
857033a42e
Move parameter environment creation to opcode ( #3433 )
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
dependabot[bot]
dca84573b3
Bump indexmap from 2.0.2 to 2.1.0 ( #3447 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 2.0.2 to 2.1.0.
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/2.0.2...2.1.0 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Haled Odat
329bf3b299
Move `arguments` object creation to opcode ( #3432 )
1 year ago
Haled Odat
2c12bae7b6
Unify generator and ordinary function creation ( #3441 )
...
* Unify generator and ordinary function creation
* Remove GetGenerator opcode
* Remove GetArrowFunction opcode
1 year ago
dependabot[bot]
cc9b6baba7
Bump arbitrary from 1.3.1 to 1.3.2 ( #3446 )
...
Bumps [arbitrary](https://github.com/rust-fuzz/arbitrary ) from 1.3.1 to 1.3.2.
- [Changelog](https://github.com/rust-fuzz/arbitrary/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-fuzz/arbitrary/compare/derive_arbitrary@1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: arbitrary
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]
ef53108ceb
Bump web-time from 0.2.2 to 0.2.3 ( #3445 )
...
Bumps [web-time](https://github.com/daxpedda/web-time ) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/daxpedda/web-time/releases )
- [Changelog](https://github.com/daxpedda/web-time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/daxpedda/web-time/compare/v0.2.2...v0.2.3 )
---
updated-dependencies:
- dependency-name: web-time
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]
80587ac620
Bump serde_json from 1.0.107 to 1.0.108 ( #3444 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.107 to 1.0.108.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108 )
---
updated-dependencies:
- dependency-name: serde_json
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