Linus Groh
c171aa40a8
LibJS: Implement Temporal.Instant.prototype.toJSON()
2021-08-31 16:35:51 +02:00
Linus Groh
463eb361ad
LibJS: Implement Temporal.Instant.prototype.toLocaleString()
2021-08-31 16:35:51 +02:00
Linus Groh
576be0f8e7
LibJS: Implement Temporal.Instant.prototype.toString()
2021-08-31 16:35:51 +02:00
Linus Groh
e3254bf4c5
LibJS: Implement Temporal.Calendar.prototype.dateAdd()
2021-08-30 22:33:10 +01:00
Timothy Flynn
a2f0eeff7a
LibJS: Canonicalize Unicode locale extension attributes and keywords
2021-08-30 19:42:40 +01:00
Timothy Flynn
94e66f500c
LibJS: Reject structurally invalid Unicode locale extensions
2021-08-30 19:42:40 +01:00
Linus Groh
a8329272cc
LibJS: Implement Temporal.ZonedDateTime.prototype.eraYear
2021-08-27 23:36:52 +01:00
Linus Groh
b59e9260db
LibJS: Implement Temporal.ZonedDateTime.prototype.era
2021-08-27 23:36:52 +01:00
Linus Groh
f59e4d6738
LibJS: Implement Temporal.PlainYearMonth.prototype.eraYear
2021-08-27 23:36:52 +01:00
Linus Groh
b11ea98648
LibJS: Implement Temporal.PlainYearMonth.prototype.era
2021-08-27 23:36:52 +01:00
Linus Groh
f2f671f340
LibJS: Implement Temporal.PlainDateTime.prototype.eraYear
2021-08-27 23:36:52 +01:00
Linus Groh
276d3f5089
LibJS: Implement Temporal.PlainDateTime.prototype.era
2021-08-27 23:36:52 +01:00
Linus Groh
418c22f9b3
LibJS: Implement Temporal.PlainDate.prototype.eraYear
2021-08-27 23:36:52 +01:00
Linus Groh
6f7d6d917e
LibJS: Implement Temporal.PlainDate.prototype.era
2021-08-27 23:36:52 +01:00
Linus Groh
c3e0d78ba6
LibJS: Implement Temporal.Calendar.prototype.eraYear()
2021-08-27 23:36:52 +01:00
Linus Groh
f746850d1c
LibJS: Implement Temporal.Calendar.prototype.era()
2021-08-27 23:36:52 +01:00
Idan Horowitz
24dbf18936
LibJS: Implement Temporal.PlainDateTime.prototype.withPlainTime()
2021-08-27 19:01:30 +01:00
Idan Horowitz
0f464f38d3
LibJS: Implement Temporal.PlainTime.prototype.equals()
2021-08-27 19:01:30 +01:00
Idan Horowitz
684e62476b
LibJS: Implement Temporal.PlainTime.compare()
2021-08-27 19:01:30 +01:00
Idan Horowitz
a77cdc5f92
LibJS: Implement Temporal.PlainTime.from()
2021-08-27 19:01:30 +01:00
Idan Horowitz
bb857330d2
LibJS: Implement Temporal.PlainDate.prototype.toPlainDateTime()
2021-08-27 19:01:30 +01:00
Idan Horowitz
32fc81c186
LibJS: Implement Temporal.PlainDateTime.prototype.equals()
2021-08-27 16:40:16 +01:00
Idan Horowitz
9ed877e8e7
LibJS: Implement Temporal.PlainDateTime.compare()
2021-08-27 16:40:16 +01:00
Timothy Flynn
86b99fd9a6
LibJS: Extend Intl.DisplayNames.of to support currency tags
2021-08-27 12:32:24 +01:00
Timothy Flynn
a029e3d38a
LibJS: Extend Intl.DisplayNames.of to support script tags
2021-08-27 12:32:24 +01:00
Timothy Flynn
ca77a7c573
LibJS: Extend Intl.DisplayNames.of to support language tags
2021-08-27 12:32:24 +01:00
Timothy Flynn
a061d874c9
LibJS: Implement Intl.DisplayNames.prototype.resolvedOptions
2021-08-26 22:04:09 +01:00
Timothy Flynn
17bb652775
LibJS: Implement Intl.DisplayNames.prototype.of
...
Note that only option type=region is really implemented. Other types
will resort to the fallback option. This prototype method will be able
to implement other type options once LibUnicode supports more.
2021-08-26 22:04:09 +01:00
Timothy Flynn
38d29a40dc
LibJS: Implement Intl.getCanonicalLocales
2021-08-26 22:04:09 +01:00
Timothy Flynn
e8dd2eea74
LibJS: Implement the Intl.DisplayNames constructor
...
There is notably FIXME notations in this commit regarding Unicode locale
extensions. We are not parsing extensions (or private use extensions) at
all yet.
2021-08-26 22:04:09 +01:00
Timothy Flynn
0fb4e8b749
LibJS: Implement a nearly empty Intl.DisplayNames object
...
This adds plumbing for the Intl.DisplayNames object, constructor, and
prototype.
2021-08-26 22:04:09 +01:00
Linus Groh
6ce05026b4
LibJS: Implement Temporal.ZonedDateTime.prototype.toPlainMonthDay()
2021-08-24 01:53:30 +02:00
Linus Groh
ef581be4ec
LibJS: Implement Temporal.ZonedDateTime.prototype.toPlainYearMonth()
2021-08-24 01:53:30 +02:00
Linus Groh
fc58f93734
LibJS: Implement Temporal.PlainDateTime.prototype.toPlainMonthDay()
2021-08-24 01:53:30 +02:00
Linus Groh
5573efa3bd
LibJS: Implement Temporal.PlainDateTime.prototype.toPlainYearMonth()
2021-08-24 01:53:30 +02:00
Linus Groh
ad427f85ca
LibJS: Implement Temporal.PlainDateTime.from()
2021-08-23 20:54:52 +01:00
Timothy Flynn
4f186a9a1f
LibJS: Implement Promise.race on the Promise constructor
2021-08-23 00:01:46 +01:00
Timothy Flynn
949f294444
LibJS: Implement Promise.allSettled on the Promise constructor
2021-08-23 00:01:46 +01:00
Timothy Flynn
4dffa40a8d
LibJS: Implement Promise.any on the Promise constructor
2021-08-23 00:01:46 +01:00
Timothy Flynn
dee3b7b8c9
LibJS: Implement Promise.all on the Promise constructor
2021-08-21 23:08:49 +01:00
Timothy Flynn
6337eb52d8
LibJS: Implement RegExp.prototype.compile
...
This is an Annex B extension to RegExp.prototype.
2021-08-20 19:16:33 +02:00
Linus Groh
5d116372a8
LibJS: Implement Temporal.PlainMonthDay.prototype.toJSON()
2021-08-20 18:12:15 +01:00
Linus Groh
5904c6bf18
LibJS: Implement Temporal.PlainMonthDay.prototype.toLocaleString()
2021-08-20 18:12:15 +01:00
Linus Groh
ea44f33d5b
LibJS: Implement Temporal.PlainMonthDay.prototype.toString()
2021-08-20 18:12:15 +01:00
Linus Groh
c1c8d7861c
LibJS: Implement Temporal.PlainYearMonth.prototype.toJSON()
2021-08-20 18:12:15 +01:00
Linus Groh
70fb7bf57e
LibJS: Implement Temporal.PlainYearMonth.prototype.toLocaleString()
2021-08-20 18:12:15 +01:00
Linus Groh
421ad73b4f
LibJS: Implement Temporal.PlainYearMonth.prototype.toString()
2021-08-20 18:12:15 +01:00
Timothy Flynn
4f2cbe119b
LibRegex: Allow Unicode escape sequences in capture group names
...
Unfortunately, this requires a slight divergence in the way the capture
group names are stored. Previously, the generated byte code would simply
store a view into the regex pattern string, so no string copying was
required.
Now, the escape sequences are decoded into a new string, and a vector
of all parsed capture group names are stored in a vector in the parser
result structure. The byte code then stores a view into the
corresponding string in that vector.
2021-08-19 23:49:25 +02:00
Linus Groh
0e201fbb42
LibJS: Implement Temporal.PlainDate.prototype.toJSON()
2021-08-19 00:26:09 +01:00
Linus Groh
73d888e9e6
LibJS: Implement Temporal.PlainDate.prototype.toLocaleString()
2021-08-19 00:23:48 +01:00