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
HalidOdat
4474b714b2
Added syntax highlighting for strings ( #595 )
4 years ago
HalidOdat
a6710fa614
`RegExp` specialization ( #592 )
4 years ago
Paul Lancaster
7b3f42de54
Merge pull request #587 from joshwd36/Well-Known-Symbols
...
Implement Well-Known Symbols
4 years ago
joshwd36
e11b846284
Add comment
4 years ago
João Borges
667a820dee
Introduce PropertyKey for field acces, fix #172 (quotes around displayed strings) ( #373 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
4 years ago
HalidOdat
24a72ea847
Added keyword and operator colors and matching bracket validator to cli ( #590 )
4 years ago
HalidOdat
795adc519a
Better error formatting and cli color ( #586 )
4 years ago
KashParty
2df2db3c2f
Removed trailing comma
4 years ago