1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00
serenity/Userland/Libraries/LibJS/Runtime/Intl
Linus Groh b99cc7d050 LibJS+LibWeb: Replace GlobalObject with Realm in create() functions
This is a continuation of the previous two commits.

As allocating a JS cell already primarily involves a realm instead of a
global object, and we'll need to pass one to the allocate() function
itself eventually (it's bridged via the global object right now), the
create() functions need to receive a realm as well.
The plan is for this to be the highest-level function that actually
receives a realm and passes it around, AOs on an even higher level will
use the "current realm" concept via VM::current_realm() as that's what
the spec assumes; passing around realms (or global objects, for that
matter) on higher AO levels is pointless and unlike for allocating
individual objects, which may happen outside of regular JS execution, we
don't need control over the specific realm that is being used there.
2022-08-23 13:58:30 +01:00
..
AbstractOperations.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
AbstractOperations.h LibJS: Move PatternPartitionWithSource structure to AbstractOperations.h 2022-07-20 22:30:16 +01:00
Collator.cpp LibJS: Implement get Intl.Collator.prototype.compare 2022-02-20 22:05:59 -05:00
Collator.h LibJS: Reorganize spec steps for Intl.Collator 2022-03-15 17:30:58 +01:00
CollatorCompareFunction.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
CollatorCompareFunction.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
CollatorConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
CollatorConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
CollatorPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
CollatorPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DateTimeFormat.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
DateTimeFormat.h LibJS: Move PatternPartitionWithSource structure to AbstractOperations.h 2022-07-20 22:30:16 +01:00
DateTimeFormatConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DateTimeFormatConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DateTimeFormatFunction.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
DateTimeFormatFunction.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
DateTimeFormatPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
DateTimeFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DisplayNames.cpp LibJS: Remove a bunch of gratuitous JS namespace qualifiers 2022-04-03 15:19:33 +01:00
DisplayNames.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
DisplayNamesConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DisplayNamesConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DisplayNamesPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
DisplayNamesPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DurationFormat.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
DurationFormat.h LibJS: Disallow mixed-sign durations in Intl.DurationFormat 2022-07-02 18:32:35 +03:00
DurationFormatConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DurationFormatConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DurationFormatPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
DurationFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Intl.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
Intl.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ListFormat.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
ListFormat.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
ListFormatConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ListFormatConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ListFormatPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
ListFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Locale.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
Locale.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
LocaleConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
LocaleConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
LocalePrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
LocalePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
MathematicalValue.cpp LibJS: Implement a basic Intl mathematical value 2022-07-20 18:21:24 +01:00
MathematicalValue.h LibJS: Implement a basic Intl mathematical value 2022-07-20 18:21:24 +01:00
NumberFormat.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
NumberFormat.h LibJS: Implement Intl.NumberFormat.prototype.formatRangeToParts 2022-07-20 22:30:16 +01:00
NumberFormatConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
NumberFormatConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
NumberFormatFunction.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
NumberFormatFunction.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
NumberFormatPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
NumberFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PluralRules.cpp LibJS: Allow out-of-order plural ranges to be formatted 2022-07-26 10:46:08 -07:00
PluralRules.h LibJS: Hook the Intl mathematical value into Intl.NumberFormat 2022-07-20 18:21:24 +01:00
PluralRulesConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PluralRulesConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PluralRulesPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
PluralRulesPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
RelativeTimeFormat.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
RelativeTimeFormat.h LibJS: Use Intl.PluralRules within Intl.RelativeFormat 2022-07-08 11:51:54 +02:00
RelativeTimeFormatConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
RelativeTimeFormatConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
RelativeTimeFormatPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
RelativeTimeFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Segmenter.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
Segmenter.h LibJS: Implement the Intl CreateSegmentDataObject AO 2022-01-31 21:05:04 +02:00
SegmenterConstructor.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
SegmenterConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
SegmenterPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
SegmenterPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
SegmentIterator.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
SegmentIterator.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
SegmentIteratorPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
SegmentIteratorPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Segments.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
Segments.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
SegmentsPrototype.cpp LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
SegmentsPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00