summaryrefslogtreecommitdiff
path: root/js
Commit message (Collapse)AuthorAge
* Issue #2046 - Trim builtin/Intl.*'s #include set down to what is required ↵Martok2023-02-16
| | | | for Intl itself
* Issue #2046 - Move Intl.RelativeTimeFormat functionality into ↵Martok2023-02-16
| | | | builtin/intl/RelativeTimeFormat.*
* Issue #2046 - Move Intl.PluralRules functionality into ↵Martok2023-02-16
| | | | builtin/intl/PluralRules.*
* Issue #2046 - Move Intl.DateTimeFormat functionality into ↵Martok2023-02-16
| | | | builtin/intl/DateTimeFormat.*
* Issue #2046 - Move SharedIntlData into its own builtin/intl/SharedIntlData.* ↵Martok2023-02-15
| | | | files so the world doesn't have to import all shared Intl functionality.
* Issue #2046 - Move Intl.Collator functionality into builtin/intl/Collator.*Martok2023-02-15
|
* Issue #2046 - Move NewUNumberFormatForPluralRules next to its only useMartok2023-02-15
|
* Issue #2046 - Move Intl.NumberFormat functionality into ↵Martok2023-02-15
| | | | builtin/intl/NumberFormat.*
* Issue #2046 - Create helper method to call ICU string conversion methodsMartok2023-02-13
| | | | Based-on: m-c 1333844
* Issue #2046 - Move functionality used in the implementation of multiple ↵Martok2023-02-12
| | | | Intl.* constructors into builtin/intl/CommonFunctions.*
* Issue #2046 - Move ScopedICUObject into builtin/intl/ScopedICUObject.hMartok2023-02-12
|
* Issue #2103 - Fix typo in RegExp ParserMoonchild2023-02-02
| | | | | | | This corrects the typo where the left-hand character would determine if the right-hand character would be added or not. Resolves #2103
* Issue #2089 - Implement the Promise.any combinatorMartok2023-02-01
| | | | Based-on: m-c 1568903/9,1560300
* Issue #2089 - Rename shared Promise combinator functions, with helpers for ↵Martok2023-02-01
| | | | | | element functions Based-on: m-c 1568903/{5-8}
* Issue #2089 - Implement AggregateErrorMartok2023-02-01
| | | | Based-on: m-c 1568903/4,1641355(partial),1652148,1643397
* Issue #2089 - Move ErrorObject parts from jsexn.cpp to ErrorObject.cppMartok2023-02-01
| | | | Based-on: m-c 1568903/2
* Issue #2089 - Add cache for Promise property lookupsMartok2023-02-01
| | | | Based-on: m-c 1475678/11
* Issue #2099 - Remove unnecessary cast in GeneratorObject::suspend's do loop.Job Bautista2023-01-31
| | | | This resolves build bustage with --enable-debug.
* Merge pull request 'Promises pt. 2: Optimization and Unification' (#2096) ↵Moonchild2023-01-31
|\ | | | | | | | | | | from martok/UXP-contrib:mr/prom-async-pt2 into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2096
| * Issue #2089 - Report unhandled rejection for optimized away promiseMartok2023-01-27
| | | | | | | | Based-on: m-c 1498775
| * Issue #2089 - Further runtime perf improvements for PromiseStateMartok2023-01-27
| | | | | | | | | | | | | | | | - Reduce slot size of PromiseReactionRecord to fit into OBJECT8 alloc kind - Use the Call() helper from Interpreter.h to reduce code duplication - Clear the incumbent global slot when it's no longer used Based-on: m-c 1475678/{12-14}
| * Issue #2089 - Create a shared helper for PerformPromiseRace, ↵Martok2023-01-26
| | | | | | | | | | | | | | | | PerformPromiseAll and PerformPromiseAllSettled Replace the previous non-CommonPerformPromiseAllRace port with the unified one Based-on: m-c 1475678/10,1539694
| * Issue #2089 - Add a PromiseCapability struct, directly initialize dense ↵Martok2023-01-26
| | | | | | | | | | | | elements in PerformPromiseAll using NewbornArrayPush Based-on: m-c 1475678/{8,9}
| * Issue #2089 - Improve Runtime perf of PromisesMartok2023-01-26
| | | | | | | | | | | | | | | | - reduce typecasting - reduce rooting already rooted values - directly handle unwrapped promises Based-on: m-c 1475678/{1-7}
| * Issue #2089 - Don't use BlockOnPromise fast path with non-default resolving ↵Martok2023-01-26
| | | | | | | | | | | | functions, combine default resolving functions flags Based-on: m-c 1474348
| * Issue #2089 - Optimize Promise.then and Promise.all/race with default ↵Martok2023-01-26
| | | | | | | | | | | | resolving functions Based-on: m-c 1401508,1412200,1473970/{1-4}
| * Issue #2089 - Turn AsyncGeneratorResumeNext recursion into iteration to ↵Martok2023-01-26
| | | | | | | | | | | | avoid stack overflow Based-on: m-c 1416809
| * Issue #2089 - Only create result Promises in Promise#then and Promise#catch ↵Martok2023-01-26
| | | | | | | | | | | | if it's used or the creation is otherwise observable Based-on: m-c 1342070
| * Issue #2089 - Shrink Promise instances from 8 to 4 slots by moving debug ↵Martok2023-01-26
| | | | | | | | | | | | information to an external object Based-on: m-c 1342050
* | Issue #2083 - Follow-up: RegExpShared::source should be a GCPtr.Job Bautista2023-01-28
| | | | | | | | A hangover from before RegExpShared was a GC thing, as noted by m-c 1399928.
* | PR #2090 - Follow-up: Remove invalid MOZ_ASSERT in js::NativeDefineDataPropertyJob Bautista2023-01-27
| | | | | | | | We don't have isHelperThreadContext, and this is breaking debug builds.
* | Revert "Issue #1382 - RegExpShared::groupsTemplate_ cannot be a GCPtr since ↵Job Bautista2023-01-26
| | | | | | | | | | | | | | RegExpShared is managed by C++" This workaround has been obsoleted by the work on Issue #2083. This reverts commit bbd743608685ec77ebebe480761118db8a988253.
* | Issue #2083 - Part 5: Fix memory leak in RegExpObject.Job Bautista2023-01-26
| | | | | | | | Based on Mozilla bug 1345177.
* | Issue #2083 - Part 4: Give RegExpShared a finalizer.Job Bautista2023-01-26
| | | | | | | | Based on Mozilla bug 1345177.
* | Issue #2083 - Part 3: Fix RegExpShared rooting hazards now it's a GC thing.Job Bautista2023-01-26
| | | | | | | | | | | | | | | | | | | | | | Based on Mozilla bug 1345177. Changes from the original bug's patch: - The original patch didn't have a dotAll for a call to irregexp::ParsePattern, so let's make our dotAll a member of the MutableHandleRegExpShared re. - Make RegExpShared::initializeNamedCaptures, introduced in Issue #1285, static. This resolves a build bustage where static RegExpShared::compile was trying to use a member function.
* | Issue #2083 - Part 2: Remove use of RegExpGuard.Job Bautista2023-01-26
| | | | | | | | | | | | Based on Mozilla bug 1345177. There were more uses of RegExpGuard in js/src/builtin/RegExp.cpp not found in the original bug's patch.
* | Issue #2083 - Part 1: Make RegExpShared a GC thing.Job Bautista2023-01-26
|/ | | | | | | | | | Based on Mozilla bug 1345177. Changes from the original bug's patch: - We don't have JS::CurrentThreadIsHeapCollecting, so let's use trc->runtime()->isHeapCollecting() instead. - Mozilla bug 1337117 renamed runtimeFromMainThread to runtimeFromActiveCooperatingThread for Firefox 54, so let's use the former
* Issue #2093 - Trace HeapPtr<RegExpShared::groupsTemplate_> for GC ↵Martok2023-01-25
| | | | move/compact events, regression from #2072
* Issue #2091 - Parse \p{Extended_Pictographic} too.Job Bautista2023-01-25
| | | | | | This is essentially a follow up to Issue #1286. We already have UCHAR_EXTENDED_PICTOGRAPHIC in our in-tree ICU, so there's no reason to comment this case out.
* Issue #2089 - Avoid copying/recreating iterator result, ↵Martok2023-01-22
| | | | | | AsyncGeneratorRequest and GeneratorObject expression stacks Based-on: m-c 1394682,1410283,1396499
* Issue #2089 - In Promises, use a C++ version of SpeciesConstructor when ↵Martok2023-01-22
| | | | | | calling from C++ Based-on: m-c 1344656,1386534
* Issue #2089 - Use JS engine stack if necessary when reporting errorsMartok2023-01-22
| | | | Based-on: m-c 996060
* No issue - Throw error when resolving or rejecting promise returned by async ↵Martok2023-01-22
| | | | | | function with testing function Based-on: m-c 1418106
* No issue - add API to tell Profile Timeline Recording state to JS engineMartok2023-01-21
| | | | Based-on: m-c 1342070/5
* No issue - Cleanup unused function exports to self-hosted globalMartok2023-01-21
| | | | Based-on: m-c 1325696
* No issue - Remove "code" from jsprototype.h macrosMartok2023-01-21
| | | | Based-on: m-c 1394084
* No issue - reformat GlobalObject::skipDeselectedConstructorMartok2023-01-21
|
* No issue - implement js::NativeDefineDataProperty helperMartok2023-01-21
|
* No issue - factor out some frame iterator helper functions.Moonchild2023-01-18
|
* Issue #80 - Re-unify some more missed sources in js/srcJob Bautista2023-01-10
|