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
HalidOdat
c3115aae53
Removed file
4 years ago
HalidOdat
607a534cc7
Fix abstract relational comparison (`<`, `>`, `<=` and `=>`) ( #617 )
4 years ago
HalidOdat
36ac8dc7c1
Fix compilation error
4 years ago
54k1
91d9100ad9
Set __proto__ of function instances ( #604 )
4 years ago
HalidOdat
f651210c00
Remove `Value::as_num_to_power()` ( #616 )
4 years ago
Jonathan Dickinson
8fd5533460
Date Implementation ( #596 )
...
Co-authored-by: Jonathan Dickinson <jonathanD@k2.com>
4 years ago
HalidOdat
8036a49f26
Removed internal_slots from object ( #601 )
4 years ago
HalidOdat
7f2ea6f2d1
Made `String.prototype.lastIndexOf()` spec compliant ( #598 )
4 years ago
HalidOdat
9fdadf85d7
Fixed `String.prototype.indexOf()` bug, when the search string is empty ( #599 )
4 years ago
Paul Lancaster
9a3b69ff9f
Merge pull request #589 from KashParty/master
...
Implement the comma operator
4 years ago
HalidOdat
356ce1a827
Made `String.prototype.indexOf` spec compliant. ( #597 )
...
- Added tests
4 years ago