Kevin
4700436ad0
`boa_temporal` structure changes and docs update ( #3504 )
...
* API changes and docs update
* cargo fmt all
12 months ago
Kevin
d27555740d
Build out ZonedDateTime, TimeZone, and Instant ( #3497 )
...
* Build out ZonedDateTime, TimeZone, and Instant
* Post rebase fix on zdt
12 months 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
12 months ago
Kevin
c113b74b09
Migrate iso parsing to boa_temporal ( #3500 )
12 months ago
Haled Odat
a9c33cdff7
Implement Inline Caching ( #2767 )
12 months 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>
12 months 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
12 months 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
12 months ago
José Julián Espina
eb2f33e74a
Transition `Intl` types to `NativeObject` API ( #3491 )
12 months ago
José Julián Espina
9f181ef3aa
Add utility methods to the `Class` trait ( #3488 )
1 year ago
Alistair
b010c63a83
Switch `make_data` parameter from `this` to `new_target` ( #3478 )
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
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
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
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
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
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]
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
José Julián Espina
04ed7bee70
Implement `Atomics` builtin ( #3394 )
...
* Implement `Atomics` builtin
* Apply review
1 year ago
Haled Odat
b4644a5b87
Move `FunctionKind` to `CodeBlock` ( #3440 )
...
* Move `FunctionKind` flag to CodeBlock
* Add `IS_ARROW` flag to codeblock
* Remove GetAsyncArrowFunction and GetFunctionAsync opcodes
* Remove GetGeneratorAsync opcode
1 year ago
Haled Odat
4b8ca7652c
Move ordinary function [[ConstructorKind]] to CodeBlock ( #3439 )
1 year ago
dependabot[bot]
8a5ae7c80f
Bump num_enum from 0.7.0 to 0.7.1 ( #3434 )
...
Bumps [num_enum](https://github.com/illicitonion/num_enum ) from 0.7.0 to 0.7.1.
- [Commits](https://github.com/illicitonion/num_enum/commits )
---
updated-dependencies:
- dependency-name: num_enum
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]
3ac1205c81
Bump portable-atomic from 1.5.0 to 1.5.1 ( #3436 )
...
Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/taiki-e/portable-atomic/releases )
- [Changelog](https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/portable-atomic/compare/v1.5.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: portable-atomic
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
fee4048b4c
Merge `CodeBlock` constant pools ( #3413 )
...
* Merge `CodeBlock` constant pools
* Apply review
1 year ago
dependabot[bot]
7bd10b6897
Bump futures-lite from 1.13.0 to 2.0.0 ( #3422 )
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 1.13.0 to 2.0.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/v1.13.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: futures-lite
dependency-type: direct:production
update-type: version-update:semver-major
...
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
06bb7dea80
Disallow changing type of already created objects ( #3410 )
...
* Disallow changing type of already created objects
* Fix regressions
* Fix spec steps
* Rollback restrictions and add new conversion
1 year ago
José Julián Espina
1fa7eb5f03
Implement the `array-grouping` proposal ( #3420 )
1 year ago
José Julián Espina
432deeee5f
Implement `change-array-by-copy` methods ( #3412 )
...
* Implement `change-array-by-copy` methods
* Apply review
1 year ago
dependabot[bot]
211f8a7be7
Bump portable-atomic from 1.4.3 to 1.5.0 ( #3416 )
...
Bumps [portable-atomic](https://github.com/taiki-e/portable-atomic ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/taiki-e/portable-atomic/releases )
- [Changelog](https://github.com/taiki-e/portable-atomic/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/portable-atomic/compare/v1.4.3...v1.5.0 )
---
updated-dependencies:
- dependency-name: portable-atomic
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
cec98927f3
Implement `get/set $boa.limits.stack` ( #3385 )
1 year ago
阿豪
caac9049c4
Fix Array.join when the array contains itself ( #3406 )
...
* Fix Array.join when the array contains itself
* add test
1 year ago
José Julián Espina
26d14a8463
Optimize `shift` for dense arrays ( #3405 )
...
* Optimize `Array.prototype.shift` for dense arrays
* Optimize shifts for dense arrays
1 year ago
dependabot[bot]
a2b5885855
Bump thiserror from 1.0.49 to 1.0.50 ( #3404 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.49 to 1.0.50.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.49...1.0.50 )
---
updated-dependencies:
- dependency-name: thiserror
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
f71039d9ed
Fix compilation for targets without `AtomicU64` ( #3399 )
...
* Fix compilation for targets without `AtomicU64`
* Throw compilation error if `AtomicUsize` is not available
* Apply review pt. 1
* Apply review pt. 2
* fix comment
1 year ago
José Julián Espina
9ef368f170
Implement asynchronous evaluation of scripts ( #3044 )
...
* Implement asynchronous evaluation of scripts
* cargo fmt
* FIx fuzz build
* Reduce execution table size
---------
Co-authored-by: Haled Odat <8566042+HalidOdat@users.noreply.github.com>
1 year ago
José Julián Espina
3296f87f18
Introduce a thread safe version of `JsError` ( #3398 )
1 year ago
Haled Odat
1d66836a32
Refactor ordinary VM calling ( #3295 )
...
* Refactor ordinary VM calling
- Prevent recursing in `__call__` and `__construct__` internal methods
* Apply review
* Refactor `Context::run()`
* Fix typo
* Apply review
1 year ago
Alistair
b6ff65885e
Add `Context::create_realm`. ( #3369 )
...
Provides a function for creating Realms with the default global bindings.
1 year ago
raskad
9030417a28
Fix var declaration deleted binding locator ( #3387 )
1 year ago
José Julián Espina
dd05f53468
Implement `SharedArrayBuffer` ( #3384 )
...
* Implement `SharedArrayBuffer`
* Add small documentation
* Fix docs
* Apply review
1 year ago
José Julián Espina
3177540979
Implement synthetic modules ( #3294 )
...
* Implement synthetic modules
* Add example
* Fix example
1 year ago
arexon
afb9283ce8
Implement `[[HostDefined]]` for `Module` and `Script` ( #3381 )
...
* Implement `[[HostDefined]]` for `Module` and `Script`
* Format
1 year ago