Jonne Ransijn
755b83c01a
LibJS: Implement tc39/proposal-atomics-microwait
(Atomics.pause)
...
Implements the https://github.com/tc39/proposal-atomics-microwait
proposal which has recently hit Stage 3.
This commit passes all relevant tests in `test262`.
2024-11-03 08:05:58 -05:00
Pavel Shliak
e60c1ddd4d
LibJS: Adds calendar_id identifier
2024-10-30 10:29:48 +01:00
Andreas Kling
cc4b3cbacc
Meta: Update my e-mail address everywhere
2024-10-04 13:19:50 +02:00
Timothy Flynn
7d0e33cb27
LibJS: Implement Uint8Array.prototype.setFromHex
2024-09-03 17:43:03 +02:00
Timothy Flynn
c7afd175bc
LibJS: Implement Uint8Array.fromHex
2024-09-03 17:43:03 +02:00
Timothy Flynn
440183b669
LibJS: Implement Uint8Array.prototype.setFromBase64
2024-09-03 17:43:03 +02:00
Timothy Flynn
e8f27160bf
LibJS: Implement Uint8Array.fromBase64
...
Note that we can currently only use simdutf for Base64 decoding if the
provided stopBeforePartial option is loose, which is the default. There
is an open issue for simdutf to implement strict and stop-before-partial
options. Until then, for those options, we implement a slow decoder that
is written exactly as the spec steps dictate.
See: https://github.com/simdutf/simdutf/issues/440
2024-09-03 17:43:03 +02:00
Timothy Flynn
c69d6fab8f
LibJS: Implement Uint8Array.prototype.toHex
2024-09-03 17:43:03 +02:00
Timothy Flynn
b97f9f2c55
LibJS: Implement Uint8Array.prototype.toBase64
2024-09-03 17:43:03 +02:00
Gasim Gasimzada
785180dd45
LibJS+WebContent: Implement console.table
...
- Expose table from console object
- Add new Table log level
- Create a JS object that represents table rows and columns
- Print table as HTML using WebContentConsoleClient
2024-08-22 09:08:50 +01:00
Linus Groh
cad95ce274
LibJS: Implement Promise.try()
...
See: https://github.com/tc39/proposal-promise-try
2024-04-09 10:18:35 +02:00
Matthew Olsson
3c9c134d71
LibWeb: Implement KeyframeEffect::{get,set}_keyframes
2024-02-13 19:44:44 +01:00
Timothy Flynn
29ac6e3689
LibJS: Partially implement resizable ArrayBuffer objects
...
This is (part of) a normative change in the ECMA-262 spec. See:
a9ae96e
This implements just support for resizing ArrayBuffer objects. This does
not implement the SharedArrayBuffer changes, as we do not have enough
support to do so.
2023-12-26 11:16:10 +01:00
Timothy Flynn
026363024f
LibJS: Stub out Atomics.notify
...
We don't have the facilities to implement this method fully (namely, a
fully realized SharedArrayBuffer). But we can implement enough to
validate the values passed in by the user.
2023-11-30 09:51:46 -05:00
Timothy Flynn
78edaad97d
LibJS: Stub out Atomics.wait and Atomics.waitAsync
...
We don't have the facilities to implement these methods fully (namely, a
fully realized SharedArrayBuffer). But we can implement enough to
validate the values passed in by the user.
2023-11-30 09:51:46 -05:00
Timothy Flynn
1d76738dde
LibJS: Change Intl.Locale info APIs from property getters to methods
...
This is a normative change in the Intl Locale Info spec. See:
e550152
2023-11-13 20:10:58 +01:00
Timothy Flynn
a357874c77
LibJS: Implement Intl.Locale.prototype.firstDayOfWeek
...
This is a normative change in the Intl Locale Info spec. See:
f03a814
2023-11-13 20:10:58 +01:00
Shannon Booth
fe4f2923f8
LibJS: Implement Array.fromAsync
2023-07-16 14:56:10 +01:00
Timothy Flynn
36d156428b
LibJS: Implement the Promise.withResolvers proposal
...
https://github.com/tc39/proposal-promise-with-resolvers
2023-07-13 00:02:19 +02:00
Linus Groh
419e710c1c
LibJS: Re-implement the Array Grouping proposal as static methods
...
Closes #19495 .
2023-07-12 00:03:54 +02:00
PrestonLTaylor
850c252b3e
LibJS: Implement ArrayBuffer.prototype.transfer & transferToFixedLength
2023-06-30 23:23:15 +02:00
PrestonLTaylor
bd0ccbe3c8
LibJS: Implement the ArrayBuffer.prototype.detached getter
2023-06-30 12:47:15 +01:00
Timothy Flynn
35380b2aef
LibJS: Implement Iterator.prototype.toArray
2023-06-26 10:39:07 +02:00
Timothy Flynn
67028ee3a3
LibJS: Implement Iterator.prototype.drop
2023-06-26 10:39:07 +02:00
Timothy Flynn
0e2f9f006d
LibJS: Implement Iterator.prototype.take
2023-06-26 10:39:07 +02:00
Timothy Flynn
396655d145
LibJS: Begin implementing console.dir
...
The intent of the spec is that the output of console.dir is interactable
within the console. Our Printer implementation currently just prints the
provided object as a string, and doesn't check the provided `options`
argument. But having console.dir defined prevents exceptions from being
thrown on real websites.
2023-06-22 06:46:27 +02:00
davidot
6255ca4a42
LibJS: Add DisposableStack{, Prototype, Constructor}
...
Since the async parts of the spec are not stage 3 at this point we don't
add AsyncDisposableStack.
2023-01-23 09:56:50 +00:00
davidot
3353cf68f1
LibJS: Add SuppressedError{, Prototype, Constructor}
2023-01-23 09:56:50 +00:00
Timothy Flynn
f3db548a3d
AK+Everywhere: Rename FlyString to DeprecatedFlyString
...
DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so
let's rename it to A) match the name of DeprecatedString, B) write a new
FlyString class that is tied to String.
2023-01-09 23:00:24 +00:00
Luke Wilde
fa1416987a
LibJS: Add yearOfWeek calendar methods and properties
...
This is a normative change in the Temporal spec.
See:
- 7fa4d18
- caa941d
2022-12-26 09:30:36 +01:00
Idan Horowitz
2e806dab07
LibJS: Implement Set.prototype.isDisjointFrom
2022-12-02 13:09:15 +01:00
Idan Horowitz
3470f33a0f
LibJS: Implement Set.prototype.isSupersetOf
2022-12-02 13:09:15 +01:00
Idan Horowitz
e29be4eaa8
LibJS: Implement Set.prototype.isSubsetOf
2022-12-02 13:09:15 +01:00
Idan Horowitz
e359eeabe8
LibJS: Implement Set.prototype.symmetricDifference
2022-12-02 13:09:15 +01:00
Idan Horowitz
be8329d5f6
LibJS: Implement Set.prototype.difference
2022-12-02 13:09:15 +01:00
Idan Horowitz
9e693304ff
LibJS: Implement Set.prototype.intersection
2022-12-02 13:09:15 +01:00
Idan Horowitz
fee65f6453
LibJS: Implement Set.prototype.union
2022-12-02 13:09:15 +01:00
Timothy Flynn
3ee5217adc
LibJS: Implement String.prototype.toWellFormed
2022-12-01 17:03:55 +01:00
Timothy Flynn
0bb46235a7
LibJS: Implement String.prototype.isWellFormed
2022-12-01 17:03:55 +01:00
leeight
0d96468e9b
LibJS: Implement RegExp legacy static properties
...
RegExp legacy static properties Spec url is https://github.com/tc39/proposal-regexp-legacy-features
2022-10-17 17:08:33 +02:00
Ali Mohammad Pur
f4b26b0cea
LibJS: Hook up the 'v' (unicodeSets) RegExp flag
2022-07-20 21:25:59 +01:00
Timothy Flynn
33698b9615
LibJS+js: Parse new constructor options from Intl.NumberFormat V3
...
This contains minimal changes to parse newly added and modified options
from the Intl.NumberFormat V3 proposal, while maintaining main spec
behavior in Intl.NumberFormat.prototype.format. The parsed options are
reflected only in Intl.NumberFormat.prototype.resolvedOptions and the js
REPL.
2022-07-13 19:22:26 +01:00
Timothy Flynn
f089c11b5b
LibJS: Implement Intl.PluralRules.prototype.selectRange
2022-07-12 00:43:34 +01:00
Timothy Flynn
36abcd820d
LibJS: Implement Intl.PluralRules.prototype.select
2022-07-08 11:51:54 +02:00
Timothy Flynn
b3deec061e
LibJS: Implement Intl.Locale.prototype.weekInfo property
2022-07-06 16:56:42 +02:00
Timothy Flynn
88a560dd84
LibJS: Implement Intl.Locale.prototype.textInfo property
2022-07-06 16:56:42 +02:00
Timothy Flynn
814f13bc2a
LibJS: Implement Intl.Locale.prototype.timeZones property
2022-07-06 16:56:42 +02:00
Timothy Flynn
f6aa6a480c
LibJS: Implement Intl.Locale.prototype.numberingSystems property
2022-07-06 16:56:42 +02:00
Timothy Flynn
ee2be5895f
LibJS: Implement Intl.Locale.prototype.hourCycles property
2022-07-06 16:56:42 +02:00
Timothy Flynn
4d32f38a76
LibJS: Partially implement Intl.Locale.prototype.collations property
...
We do not yet parse collation data from the CLDR. This stubs out the
collations property, analogous to Intl.supportedValuesOf.
2022-07-06 16:56:42 +02:00