summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h
AgeCommit message (Collapse)Author
2021-07-14LibJS: Implement Atomics.isLockFreeTimothy Flynn
2021-07-14LibJS: Implement Atomics.compareExchangeTimothy Flynn
2021-07-14LibJS: Implement Atomics.exchangeTimothy Flynn
2021-07-14LibJS: Implement Atomics.storeTimothy Flynn
2021-07-14LibJS: Implement Atomics.xorTimothy Flynn
2021-07-14LibJS: Implement Atomics.orTimothy Flynn
2021-07-14LibJS: Implement Atomics.andTimothy Flynn
2021-07-14LibJS: Implement Atomics.loadTimothy Flynn
2021-07-14LibJS: Begin implementing AtomicsTimothy Flynn
This adds the Atomics object to the global object and sets up only its @@toStringTag property.
2021-07-12LibJS: Add Temporal.Instant.prototype.equals()Idan Horowitz
2021-07-12LibJS: Add Temporal.Instant.compare()Idan Horowitz
2021-07-10LibJS: Implement RegExp.prototype.hasIndices proposalTimothy Flynn
https://tc39.es/proposal-regexp-match-indices/
2021-07-10LibJS: Parse the RegExp.prototype.hasIndices flagTimothy Flynn
2021-07-09LibJS: Add %TypedArray%.prototype.subarrayIdan Horowitz
2021-07-09LibJS: Implement Temporal.Instant.fromEpochNanoseconds()Linus Groh
2021-07-09LibJS: Implement Temporal.Instant.fromEpochMicroseconds()Linus Groh
2021-07-09LibJS: Implement Temporal.Instant.fromEpochMilliseconds()Linus Groh
2021-07-09LibJS: Implement Temporal.Instant.fromEpochSeconds()Linus Groh
2021-07-08LibJS: Implement Temporal.Instant.prototype.epochNanosecondsLinus Groh
2021-07-08LibJS: Implement Temporal.Instant.prototype.epochMicrosecondsLinus Groh
2021-07-08LibJS: Implement Temporal.Instant.prototype.epochMillisecondsLinus Groh
2021-07-08LibJS: Implement Temporal.Instant.prototype.epochSecondsLinus Groh
2021-07-08LibJS: Implement Temporal.TimeZone.prototype.idLinus Groh
2021-07-08LibJS: Implement Date.prototype.toTemporalInstant()Linus Groh
2021-07-07LibJS: Implement Temporal.now.instant()Linus Groh
2021-07-07LibJS: Implement Temporal.now.timeZone()Linus Groh
2021-07-07LibJS: Add preparation for Temporal constructors and prototypesLinus Groh
Add a JS_ENUMERATE_TEMPORAL_OBJECTS macro and use it to generate: - Forward declarations - CommonPropertyNames class name members - Constructor and prototype GlobalObject members, getters, visitors, and initialize_constructor() calls
2021-07-07LibJS: Add the Temporal namespace object :^)Linus Groh
Currently empty, but we gotta start somewhere! This is the start of implementing the Temporal proposal (currently stage 3). I have decided to start a new subdirectory (Runtime/Temporal/) as well as a new C++ namespace (JS::Temporal) for this so we don't have to prefix all the files and classes with "Temporal" - there will be a lot. https://tc39.es/proposal-temporal/
2021-07-06LibJS: Implement Object.getOwnPropertyDescriptors()Idan Horowitz
2021-06-28LibJS: Add and use the %ThrowTypeError% intrinsicIdan Horowitz
2021-06-27LibJS: Rename Function => FunctionObjectAndreas Kling
2021-06-19LibJS: Add the Number.prototype.toFixed methodIdan Horowitz
2021-06-17LibJS: Add the Object.prototype.__lookup{Getter, Setter}__ methodsIdan Horowitz
These are a part of the Annex B extension of the specification.
2021-06-17LibJS: Add the Object.prototype.__define{Getter, Setter}__ methodsIdan Horowitz
These are a part of the Annex B extension of the specification.
2021-06-17LibJS: Add the Object.prototype.__proto__ native accessor propertyIdan Horowitz
This is part of the Annex B extension of the specification.
2021-06-16LibJS: Add the String.prototype.codePointAt() methodIdan Horowitz
This commit also brings charAt & charCodeAt closer to the specification
2021-06-16LibJS: Add the String.fromCodePoint() methodIdan Horowitz
2021-06-15LibJS: Add all of the FinalizationRegistry.prototype methodsIdan Horowitz
More specifically: cleanupSome, register & unregister. FinalizationRegistery.prototype.cleanupSome is actually still a stage 2 proposal, but since test262 test cases already exist for it, i decided to go for it :)
2021-06-15LibJS: Add the Object.fromEntries methodIdan Horowitz
2021-06-14LibJS: Implement Array.prototype.copyWithin genericallydavidot
2021-06-14LibJS: Implement Array.prototype.flatMapdavidot
Also made recursive_array_flat more compliant with the spec So renamed it to flatten_into_array
2021-06-14LibJS: Add all of the DataView.prototype.set* methodsIdan Horowitz
2021-06-14LibJS: Add all of the DataView.prototype.get* methodsIdan Horowitz
2021-06-13LibJS: Avoid lots of string-to-int during global object constructionAndreas Kling
We were doing a *lot* of string-to-int conversion while creating a new global object. This happened because Object::put() would try to convert the property name (string) to an integer to see if it refers to an indexed property. Sidestep this issue by using PropertyName for the CommonPropertyNames struct on VM (vm.names.foo), and giving PropertyName a flag that tells us whether it's a string that *may be* a number. All CommonPropertyNames are set up so they are known to not be numbers.
2021-06-12LibJS: Add the Object.getOwnPropertySymbols methodIdan Horowitz
2021-06-12LibJS: Add the WeakRef built-in objectIdan Horowitz
2021-06-12LibJS: Implement Object.assign()Linus Groh
2021-06-11LibJS: Implement the Error Cause proposalLinus Groh
Currently stage 3. https://github.com/tc39/proposal-error-cause
2021-06-11LibJS: Implement AggregateErrorLinus Groh
2021-06-11LibJS: Implement generator functions (only in bytecode mode)Ali Mohammad Pur