1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00
serenity/Userland/Libraries/LibJS/Runtime/Temporal
Linus Groh ecd163bdf1 LibJS+LibWeb: Replace GlobalObject with Realm in object constructors
No functional changes - we can still very easily get to the global
object via `Realm::global_object()`. This is in preparation of moving
the intrinsics to the realm and no longer having to pass a global
object when allocating any object.
In a few (now, and many more in subsequent commits) places we get a
realm using `GlobalObject::associated_realm()`, this is intended to be
temporary. For example, create() functions will later receive the same
treatment and are passed a realm instead of a global object.
2022-08-23 13:58:30 +01:00
..
AbstractOperations.cpp LibJS: Validate fractionalSecondDigits after truncation 2022-07-30 10:50:50 +01:00
AbstractOperations.h LibJS: Refactor common option reading into the GetDifferenceSettings AO 2022-06-24 22:12:03 +01:00
Calendar.cpp LibJS: Remove unnecessary checks for undefined before ToPositiveInteger 2022-07-05 23:15:52 +02:00
Calendar.h LibJS: Move MergeLists into non-Temporal ECMA-262 amendments 2022-06-18 13:54:46 +01:00
CalendarConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
CalendarConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
CalendarPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
CalendarPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
Duration.cpp LibJS: Correct BalanceDurationRelative algorithm 2022-08-06 13:42:37 +01:00
Duration.h LibJS: Remove invalid CreateDateDurationRecord AO overload 2022-07-20 21:07:49 +01:00
DurationConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
DurationConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
DurationPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
DurationPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
Instant.cpp LibJS: Refactor common option reading into the GetDifferenceSettings AO 2022-06-24 22:12:03 +01:00
Instant.h LibJS: Refactor Temporal since/until to common AOs 2022-05-08 00:07:58 +02:00
InstantConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
InstantConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
InstantPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
InstantPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
ISO8601.cpp LibJS: Support IANA legacy names in the Temporal ISO 8601 grammar 2022-07-30 10:50:50 +01:00
ISO8601.h LibJS: Support IANA legacy names in the Temporal ISO 8601 grammar 2022-07-30 10:50:50 +01:00
Now.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
Now.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainDate.cpp LibJS: Consistently check Temporal overflow options 2022-07-05 23:15:52 +02:00
PlainDate.h LibJS: Introduce ISO Date Records 2022-05-16 20:46:46 +01:00
PlainDateConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainDateConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainDatePrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainDatePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainDateTime.cpp LibJS: Remove invalid CreateDateDurationRecord AO overload 2022-07-20 21:07:49 +01:00
PlainDateTime.h LibJS: Assert RoundISODateTime is called with values within the limits 2022-06-24 22:12:03 +01:00
PlainDateTimeConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainDateTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainDateTimePrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainDateTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainMonthDay.cpp LibJS: Check PlainMonthDay is in the ISO date time limits in creation 2022-07-22 17:10:03 +01:00
PlainMonthDay.h LibJS: Convert PlainMonthDay AOs to ThrowCompletionOr 2021-09-16 13:53:37 +01:00
PlainMonthDayConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainMonthDayConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainMonthDayPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainMonthDayPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainTime.cpp LibJS: Add previously skipped assertion in RegulateTime 2022-08-03 22:46:38 +01:00
PlainTime.h LibJS: Remove invalid CreateDateDurationRecord AO overload 2022-07-20 21:07:49 +01:00
PlainTimeConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainTimePrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainYearMonth.cpp LibJS: Use null-prototype objects in a few more places in Temporal 2022-06-29 07:35:42 +01:00
PlainYearMonth.h LibJS: Inline ConstrainISOYearMonth into RegulateISOYearMonth 2022-06-15 17:49:20 +01:00
PlainYearMonthConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainYearMonthConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainYearMonthPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
PlainYearMonthPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
Temporal.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
Temporal.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
TimeZone.cpp LibJS: Disallow out-of-range return from previous / next transition 2022-07-30 10:50:50 +01:00
TimeZone.h LibJS: Fix some clang-tidy warnings in Temporal 2022-04-04 19:22:58 +01:00
TimeZoneConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
TimeZoneConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
TimeZonePrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
TimeZonePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
ZonedDateTime.cpp LibJS: Replace comparisons of "0"_bigint with SignedBigInteger::is_zero 2022-07-18 08:51:07 +01:00
ZonedDateTime.h LibJS: Make options mandatory in Difference{Zoned,ISO}DateTime 2022-06-15 17:49:20 +01:00
ZonedDateTimeConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
ZonedDateTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
ZonedDateTimePrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00
ZonedDateTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in object constructors 2022-08-23 13:58:30 +01:00