José Julián Espina
f2b9c83ceb
Build docs.rs docs with all features enabled ( #3794 )
8 months ago
José Julián Espina
c9d1401a58
Cleanup tester deps and patterns ( #3792 )
...
* Cleanup tester deps and patterns
* cargo fmt + clippy
8 months ago
Hans Larsen
958045c9ac
Properly resolve paths in SimpleModuleLoader and add path to Referrer::Script ( #3791 )
...
* Properly resolve paths in SimpleModuleLoader and add path to Referrer::Script
* Add missing example
* Carry active runnable on frame push
* Duplicate the tests with proper paths for Windows/Unix
* Use the right root for absolute referrers
* ugh cargo fmt
* Limit doctest to unix
* Limit doctest to unix, for real
* cargo fmt
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
8 months ago
dependabot[bot]
3059408a62
Bump trybuild from 1.0.90 to 1.0.91 ( #3778 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.90...1.0.91 )
---
updated-dependencies:
- dependency-name: trybuild
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>
8 months ago
Jason Williams
e754df35f5
don't run test262 on push ( #3774 )
...
* don't run test262 on push anymore
* wrap in an expression
* remove writing to the gh-pages branch
* checkout data repo for comparison
* check dirs
* add back in PR checks
8 months ago
Hans Larsen
08b0debbfb
Allow deserialization of missing objects properties into Option<> ( #3767 )
...
* Allow deserialization of missing objects properties into Option<>
Currently the TryFromJs derive macro requires that all properties
be defined in the object, whether they are declared as Option<> or
not. This commit makes it so if the field is not found in the
JsObject, we try to deserialize undefined.
This is more in line with JavaScript behaviour.
* Fix cargo fmt
* Fix clippies
* Empty commit to trigger rerun of workflow
* Remove circular dependency between boa_engine and boa_macros
* Missing "::" in macro
---------
Co-authored-by: jedel1043 <jedel0124@gmail.com>
8 months ago
dependabot[bot]
f922e2efeb
Bump rayon from 1.9.0 to 1.10.0 ( #3763 )
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.9.0...rayon-core-v1.10.0 )
---
updated-dependencies:
- dependency-name: rayon
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>
8 months ago
José Julián Espina
03d972957d
Apply new clippy lints for rustc 1.77 ( #3759 )
...
* First bump fixes
* Apply automatic clippy lints
* cargo fmt
* Apply manual lints
8 months ago
dependabot[bot]
ddac762d0a
Bump toml from 0.8.11 to 0.8.12 ( #3754 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.11 to 0.8.12.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12 )
---
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>
8 months ago
dependabot[bot]
902adc1738
Bump trybuild from 1.0.89 to 1.0.90 ( #3749 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.89...1.0.90 )
---
updated-dependencies:
- dependency-name: trybuild
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>
8 months ago
dependabot[bot]
5e9dd50873
Bump serde_yaml from 0.9.32 to 0.9.33 ( #3746 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.32 to 0.9.33.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.32...0.9.33 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
8 months ago
dependabot[bot]
1eb904a84b
Bump color-eyre from 0.6.2 to 0.6.3 ( #3741 )
...
Bumps [color-eyre](https://github.com/eyre-rs/eyre ) from 0.6.2 to 0.6.3.
- [Commits](https://github.com/eyre-rs/eyre/compare/v0.6.2...color-eyre-v0.6.3 )
---
updated-dependencies:
- dependency-name: color-eyre
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>
9 months ago
dependabot[bot]
c5d9c37d4f
Bump toml from 0.8.10 to 0.8.11 ( #3736 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.10 to 0.8.11.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.10...toml-v0.8.11 )
---
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>
9 months ago
dependabot[bot]
86b97a774d
Bump rayon from 1.8.1 to 1.9.0 ( #3700 )
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.8.1 to 1.9.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.1...rayon-core-v1.9.0 )
---
updated-dependencies:
- dependency-name: rayon
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>
9 months ago
José Julián Espina
d346bf8364
Split ICU4X data generation from `boa_icu_provider` ( #3682 )
...
* Split ICU4X data generation from `boa_icu_provider`
* npx prettier
* Revert to previous blob version
* Rename new feature to `intl_bundled`
* Replace missing `intl_core` configs
* Add missingg `intl_bundled` cfg
* Enable `intl_bundled` for `boa_wasm`
9 months ago
José Julián Espina
01baec0444
Create tool to regenerate the `ABOUT.md` ( #3692 )
9 months ago
dependabot[bot]
54413ad765
Bump serde_yaml from 0.9.31 to 0.9.32 ( #3683 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.31 to 0.9.32.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.31...0.9.32 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
9 months ago
José Julián Espina
9109491a38
Consider strict + no-strict tests as a single test ( #3675 )
9 months ago
dependabot[bot]
9efe598444
Bump toml from 0.8.9 to 0.8.10 ( #3660 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.9 to 0.8.10.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.9...toml-v0.8.10 )
---
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>
10 months ago
dependabot[bot]
2b1454ceba
Bump toml from 0.8.8 to 0.8.9 ( #3643 )
...
Bumps [toml](https://github.com/toml-rs/toml ) from 0.8.8 to 0.8.9.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.9 )
---
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>
10 months ago
José Julián Espina
c6f02b607b
Ignore `Cargo.lock` in fuzzer ( #3636 )
10 months ago
José Julián Espina
5628637cfb
Cleanup 262 tester and stabilize some experimental features ( #3632 )
...
* Cleanup 262 tester and graduate some experimental features
* Fix import
10 months ago
dependabot[bot]
1a556242fe
Bump serde_yaml from 0.9.30 to 0.9.31 ( #3629 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.30 to 0.9.31.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.30...0.9.31 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
10 months ago
José Julián Espina
4ddcb81d90
Run `cargo update` on fuzz crate ( #3607 )
10 months ago
raskad
0ed7da5730
`Date` refactor ( #3595 )
...
* Refactor date builtin
* Remove chrono dependency
* Replace custom modulo with rem_euclid
10 months ago
dependabot[bot]
2d3cee19b7
Bump rayon from 1.8.0 to 1.8.1 ( #3598 )
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.8.0 to 1.8.1.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.8.0...rayon-core-v1.8.1 )
---
updated-dependencies:
- dependency-name: rayon
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>
10 months ago
dependabot[bot]
3b51a84350
Bump trybuild from 1.0.88 to 1.0.89 ( #3585 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.88...1.0.89 )
---
updated-dependencies:
- dependency-name: trybuild
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>
11 months ago
dependabot[bot]
e13dcecee2
Bump trybuild from 1.0.87 to 1.0.88 ( #3570 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.87...1.0.88 )
---
updated-dependencies:
- dependency-name: trybuild
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>
11 months ago
dependabot[bot]
cbbcdabc96
Bump trybuild from 1.0.86 to 1.0.87 ( #3563 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.86...1.0.87 )
---
updated-dependencies:
- dependency-name: trybuild
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>
11 months ago
dependabot[bot]
3fb8d8826d
Bump serde_repr from 0.1.17 to 0.1.18 ( #3556 )
...
Bumps [serde_repr](https://github.com/dtolnay/serde-repr ) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/dtolnay/serde-repr/releases )
- [Commits](https://github.com/dtolnay/serde-repr/compare/0.1.17...0.1.18 )
---
updated-dependencies:
- dependency-name: serde_repr
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>
11 months ago
dependabot[bot]
66f763781a
Bump serde_yaml from 0.9.29 to 0.9.30 ( #3558 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.29 to 0.9.30.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.29...0.9.30 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
11 months ago
raskad
6ac435ffea
Fix rust 1.75 lints ( #3540 )
11 months ago
dependabot[bot]
d765b080e9
Bump serde_yaml from 0.9.28 to 0.9.29 ( #3534 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.28 to 0.9.29.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.28...0.9.29 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
11 months ago
dependabot[bot]
fffc5df60c
Bump serde_yaml from 0.9.27 to 0.9.28 ( #3530 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.27 to 0.9.28.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.27...0.9.28 )
---
updated-dependencies:
- dependency-name: serde_yaml
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>
11 months ago
dependabot[bot]
03adaed9b0
Bump trybuild from 1.0.85 to 1.0.86 ( #3525 )
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.85...1.0.86 )
---
updated-dependencies:
- dependency-name: trybuild
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>
11 months ago
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
Jason Williams
074df666eb
ignoring the tests/js/test.js file
5 years ago
Jason Williams
80a9e6a971
updating rest-spread (rebased) ( #213 )
...
* Adding support for rest/spread
5 years ago
Jason Williams
d4791837db
[WIP] - addition of Symbols ( #191 )
...
* Addition of Symbols
* Addition of Symbol benchmark
5 years ago
Elijah Caine M. Voigt
d725b0c769
Feature/number object ( #182 )
...
* Feature(Number): Tests for the Test Driven Development!
refs #34
* Feature: Skeleton code for Number
refs #34
* Feature: Most of Number() is complete
Includes:
- make_number()
- call_number()
- Number().toExponential()
- Number().toFixed()
- Number().toLocaleString() (ish)
- Number().toString()
- Number().valueOf()
- create_constructor()
- init()
Missing:
- Number().toPrecision()
refs #34
* Feature(Number): test compatability with const -> var
I don't have all the context on _why_ but all of the tests for `Number` started failing.
Upon investigation it was becuase `const` stopped acting the way I expected.
Switching my test cases from using `const` to using `var` variable declarations
made everything work again. I don't know enough about JS to know if this is a
bug or expected behavior. Based on changes to other tests, it is know
behavior.
Refs #34
* Changelog: Number() object.
Includes some clippy fixes.
Fixes #34
5 years ago
Jason Williams
3465e6bbca
short function syntax fixes #152 ( #199 )
...
* short function syntax
* updating parser plus adding test
5 years ago
Elijah Caine M. Voigt
d798566377
unassigned var is undefined ( #125 )
...
* Unassigned variables are set to `undefined` not `null`
Fixes #113
* Rust tests for `var x` and `let x` default to undefined
* CHANGELOG for issue #113 fix + add tests/js/test.js to gitignore.
5 years ago
Jason Williams
27178e1645
fixes #10 ( #112 )
5 years ago
Jason Williams
821632972b
Addition of arguments object ( #109 )
...
* testing PR
* making a start to arguments object
* arguments
* finishing arguments for now
5 years ago
Jason Williams
73d158cce2
testing small change ( #104 )
5 years ago
Jason Williams
910d20f6a5
support early returns, fixes #101
5 years ago
Jason Williams
e35b66b412
moving to function objects, work started on boashell other bug fixes
5 years ago
Jason Williams
c5b75c55ad
passing primitives to methods ( #86 )
...
* passing primitives to methods
* finishing unboxing_primitives, tests added, using internal_slots for __proto__
5 years ago
Jason Williams
903cbcdccc
Adding operations ( #85 )
...
* adding operations to exec
* using StringData instead of PrimitiveData (to match with spec)
* function signature changed to allow mutable ctx (this is needed for some functions)
* tidy (clippy)
* value to rust string (clippy)
* removing static lifetime - Not needed from Rust 1.36
5 years ago
Jason Williams
fe42b0c616
adding context into every native function, changing this to be passed… ( #73 )
5 years ago