neeldug
72c4daef24
Fix CI Commit failure ( #695 )
...
Unsure as to whether this should be committed or not, but should fix
failing CI
4 years ago
dependabot[bot]
e16927f06f
Bump serde from 1.0.115 to 1.0.116 ( #698 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.115 to 1.0.116.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.115...v1.0.116 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
c2014fb5a5
Bump rustyline from 6.2.0 to 6.3.0 ( #696 )
...
Bumps [rustyline](https://github.com/kkawakam/rustyline ) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/kkawakam/rustyline/releases )
- [Commits](https://github.com/kkawakam/rustyline/compare/v6.2.0...v6.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
8abe5bb049
Bump ryu-js from 0.2.0 to 0.2.1 ( #697 )
...
Bumps [ryu-js](https://github.com/boa-dev/ryu-js ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/boa-dev/ryu-js/releases )
- [Changelog](https://github.com/boa-dev/ryu-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/boa-dev/ryu-js/compare/v0.2.0...v0.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Halid Odat
81089d1377
Feature `gc` module ( #694 )
4 years ago
João Borges
3f06e9a6ca
Feat: Rename Object::prototype() and Object::set_prototype() ( #693 )
...
closes boa-dev/boa#607
4 years ago
dependabot[bot]
1d5383b351
Bump css-loader from 4.2.2 to 4.3.0 ( #691 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v4.2.2...v4.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
652aa3dc8b
Bump wasm-bindgen from 0.2.67 to 0.2.68 ( #692 )
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.67 to 0.2.68.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.67...0.2.68 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
7d318f0582
Bump criterion from 0.3.2 to 0.3.3 ( #680 )
...
Bumps [criterion](https://github.com/bheisler/criterion.rs ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/bheisler/criterion.rs/releases )
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.2...0.3.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Halid Odat
efd9ab87c5
Move `object` module to root ( #689 )
4 years ago
Halid Odat
79da43a020
Dependabot for boa_tester ( #688 )
4 years ago
dependabot[bot]
3850625173
Update criterion requirement from =0.3.2 to =0.3.3 in /boa ( #678 )
...
* Update criterion requirement from =0.3.2 to =0.3.3 in /boa
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs ) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases )
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.2...0.3.3 )
Signed-off-by: dependabot[bot] <support@github.com>
* Removed specific criterion version
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Halid Odat <halidodat@gmail.com>
4 years ago
Halid Odat
edfafc4e03
Feature `Context` ( #656 )
...
- Move `Console` to `Context`
- Change `Context::global()` to `Context::global_object()`
- Remove some `use std::borrow::Borrow`
- Add some pub exports
- Add `Context::eval()`
- Deprecate forward_val, forward, exec
- Make boa_cli use Context::eval()
- Deprecated forward forward_val and exec
- Make deprecated functions
4 years ago
Halid Odat
a12ce8200e
Move `property` module to root ( #684 )
4 years ago
Halid Odat
59d328e67c
Move value module from builtins ( #674 )
4 years ago
dependabot[bot]
b9ef8d4b77
Bump indexmap from 1.5.2 to 1.6.0 ( #687 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.5.2...1.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
neeldug
3725e5dcfb
Formats dependabot.yml with Prettier ( #685 )
...
Should stop webassembly CI from failing.
4 years ago
Iban Eguia
8fde98afa9
Add ECMAScript test suite (test262) ( #567 )
4 years ago
Halid Odat
76aba2ad55
Class module ( #677 )
...
- Added example and documenation
4 years ago
dependabot[bot]
41a38747ab
Bump copy-webpack-plugin from 6.0.3 to 6.1.0 ( #681 )
4 years ago
dependabot[bot]
1490c2e714
Bump html-webpack-plugin from 4.3.0 to 4.4.1 ( #682 )
4 years ago
dependabot[bot]
959c39ae84
Bump indexmap from 1.5.1 to 1.5.2 ( #679 )
4 years ago
dependabot[bot]
f6ec2d89ee
Bump file-loader from 6.0.0 to 6.1.0 ( #683 )
4 years ago
Halid Odat
f372a2248f
Fix invalid dependabot key.
4 years ago
neeldug
ef1423d71f
Adds `Dependabot` configuration file ( #676 )
...
* Adds `cargo` dependabot checks for dependencies
- Allows dependabot to automatically check for dependency version
updates daily using cargo.
- `versioning-strategy` supports default strategy and lockfile-only for
cargo, will need to see which is more suitable.
- Perhaps add `rebase-strategy` and `reviewers` if necessary, although
with proper unit tests, shouldn't be too necessary.
* Adds github-actions updates to dependabot
4 years ago
Halid Odat
460b4a23b0
Add `#[track_caller]` to `GcObject` methods that can panic ( #673 )
4 years ago
Tunahan Karlıbaş
744ee9f642
Fix panic when calling function that mutates itself ( #667 )
4 years ago
Iban Eguia
1673871116
Some cleanup ( #666 )
4 years ago
João Borges
be20b65a9e
Fix: String.prototype.replace substitutions, closes #610 ( #629 )
4 years ago
Halid Odat
ad162e09e3
Feature native class objects (`NativeObject` and `Class` traits) ( #627 )
4 years ago
neeldug
2d31ea3481
Added approx_eq! macro for expm1 tests. ( #665 )
...
* Added approx_eq! macro for expm1 tests.
Added approx_eq! macro for expm1 tests due to floating point arithmetic
inaccuracies, using default ULP & epsilon values. approx_eq! macro does
not work for NaN values, however, for tests this should be okay anyway!
Solves #664 .
* Modified Cargo.toml to remove unneeded feature.
Removed std feature as was unused in test.
* Moves `float-cmp` to Dev Dependencies
Refactors tan() unit test, previously unused, to use approx_eq!() macro
for assertion to pass on CI.
* Fixes cargo fmt errors
4 years ago
Paul Lancaster
cb93472b4a
New lexer ( #559 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
Co-authored-by: Paul Lancaster <paul@lancasterzone.com>
Co-authored-by: neeldug <5161147+neeldug@users.noreply.github.com>
4 years ago
Halid Odat
b0c387bfce
Add documentation to `GcObject` methods ( #661 )
4 years ago
Halid Odat
0fc8052f4e
Implement `std::error::Error` for `GcObject` borrow errors ( #662 )
4 years ago
Jarred Holman
c7531afd10
Add missing ops to exec module ( #635 )
...
* Node::ConditionalOp
* Node::Continue
4 years ago
Halid Odat
4f5930cc5e
Make `GcObject::contruct` not take 'this' ( #660 )
4 years ago
HalidOdat
14d7791f40
Move `require_object_coercible` to `Value` ( #654 )
4 years ago
neeldug
4009204bf3
Added CLEAN_JS and MINI_JS benches ( #581 )
...
* Added CLEAN_JS and MINI_JS benches
These benches are arbitrary code which is subject to change,
functionally the programs are identical.
* Forgot semicolon
* Adding parsing benchmarks for CleanJS & MiniJS
Added identical benchmark cases for parser.
* Migrating Clean and Mini benchmarks to new format
Adding js scripts in bench_scripts & moving exec, full and parser
benchmarks to new include_str!() macro.
4 years ago
Paul Lancaster
8ade420692
Test + fmt fix ( #646 )
...
* Test + fmt fix
* Use u64 instead of u128 in test
4 years ago
Jonathan Dickinson
13f73749c8
Fix undefined constant expression evaluation ( #645 )
4 years ago
neeldug
bbacf1d095
Benchmark refactor ( #640 )
4 years ago
HalidOdat
b42dd4cd8b
Index `PropertyKey`, `Object` iterators and symbol support ( #603 )
...
* Index `PropertyKey`, `Object` iterators and `Symbol` indexing support.
* PR feedback
4 years ago
54k1
7a51530dcd
Fix 532, 533, 641 ( #642 )
4 years ago
54k1
2d1dabb554
Change default return type from null to undefined ( #643 )
...
* Change default return type from null to undefined
* Change default return value of block
* Add link to spec
* Add tests
4 years ago
HalidOdat
c9afbf4221
Refactor `Function` ( #626 )
...
Co-authored-by: Iban Eguia <razican@protonmail.ch>
4 years ago
HalidOdat
d025207fc1
Feature `boa::Result<T>` ( #637 )
4 years ago
HalidOdat
6e7b362424
Changed to Value::to_*int32 => Value::to_*32 ( #638 )
4 years ago
Jonathan Dickinson
908cb3a4bf
Fix Stack Overflow for `Debug::fmt` ( #630 )
...
* Fix infinite recursion for Debug::fmt
* Limit recursion in `Debug for GcObject`
* PR feedback
* Add comment to `RecursionLimiter::VISITED`
4 years ago
HalidOdat
c5b708b2ef
Moved value operations from `Interpreter` to `Value` ( #625 )
4 years ago
HalidOdat
b8d0b3cd3b
Fix compilation error
4 years ago