summaryrefslogtreecommitdiff
path: root/js/src
Commit message (Collapse)AuthorAge
* Issue #2298 - Support '#x in obj' ergonomic brand check syntaxMartok2023-08-30
|
* Issue #2298 - Carry private-ness of names through ParseNodeHandlerMartok2023-08-30
|
* Issue #2255 - Disable untested code path in Stopwatch.(h|cpp).Brian Smith2023-08-14
| | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1325299 Multiprocessor support in Windows returned bogus times causing debug asserts. This may or may not be related to the issue but found it trying to debug it.
* Issue #2172 - add null zone sanity checksMartok2023-08-09
|
* Issue #2172 - ensure pointers in RegExpShared are updated after GC compactingMartok2023-08-08
|
* Issue #2172 - add missing RegExpShared TraceKind declarationMartok2023-08-08
|
* No Issue - Fix building with --enable-js-ltoBrian Smith2023-08-06
| | | | Needed to include jscntxt.h due to de-unified building.
* Issue #1240 - Follow-up: Add missing JSVAL_TYPE_BIGINT cases in JitFrames.cpp.Brian Smith2023-07-28
| | | | As pointed out by roytam1 during testing with Discord.
* Issue #1240 - Follow-up: Fix incorrect values in Number() constructor.Brian Smith2023-07-28
| | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1466893 Our code base was using the return value to create the Number object. However with the BigInt changes, it is no longer stored in rval, use args[0].
* Issue #2026 - Part 4 - Fill in missing dense elements case and fix a comment.Brian Smith2023-07-28
| | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1456569 Skipped this during the initial implementation, not sure when or if this code path is used, but I figure it should be there just in case. Also fix debug builgs by removing an no longer valid MOZ_ASSERT.
* Issue #2026 - Part 2b - Format BigInts representable as int64_t without ↵Brian Smith2023-07-25
| | | | | | first converting them to strings. https://bugzilla.mozilla.org/show_bug.cgi?id=1543677
* Issue #2026 - Part 2a - Support BigInt in NumberFormat and toLocaleString.Brian Smith2023-07-25
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1543677
* Issue #2026 - Part 1 - Implement BigInt64 and BigUint64Array.Brian Smith2023-07-24
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1456569
* Issue #1240 - Part 11 - Fix several issue reported on review.Brian Smith2023-07-23
| | | | | | | | | | Skip over block delimiters when parsing BigInt literals. Update BigInt hashing to account for the possibility of moving GC. https://bugzilla.mozilla.org/show_bug.cgi?id=1531018 Make HashableValue comparison of BigInts infallible. https://bugzilla.mozilla.org/show_bug.cgi?id=1530406 Fix BigInt constructor API CallArgs usage. https://bugzilla.mozilla.org/show_bug.cgi?id=1526279
* Issue #1240 - Part 10 - Implement minimal Ion support for BigInt.Brian Smith2023-07-21
| | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1507484 Implement IC support for BigInt. https://bugzilla.mozilla.org/show_bug.cgi?id=1522431
* Issue #1240 - Part 9 - Fix incorrectly parsing decimal BigInt 0n.Brian Smith2023-07-21
| | | | The decimal parser strips leading 0s, so prevent tokenbuf being empty.
* Issue #1240 - Part 8 - Fix incorrect asserts with debug enabled.Brian Smith2023-07-21
| | | | | | Fix BigInt errors in remainder operations https://bugzilla.mozilla.org/show_bug.cgi?id=1524136 Also fix 2 debug asserts in fallthroughs due to missing BigInt cases.
* Issue #1240 - Part 5g - Implement BigInt comparison operators.Brian Smith2023-07-19
| | | | | | | Implement BigInt support for equality operators. https://bugzilla.mozilla.org/show_bug.cgi?id=1486173 Part 3. Implement BigInt support for relational comparison operators. https://bugzilla.mozilla.org/show_bug.cgi?id=1492669
* Issue #1240 - Part 6c - Implement asIntN and asUintN methods for BigInt values.Brian Smith2023-07-19
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1501104
* Issue #1240 - Part 6b - Use ToIndex when constructing TypedArray with length ↵Brian Smith2023-07-19
| | | | | | argument. https://bugzilla.mozilla.org/show_bug.cgi?id=1317383 Part 2.
* Issue #1240 - Part 6a - Implement BigInt.prototype.toLocaleString.Brian Smith2023-07-19
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 Part 5.
* Issue #1240 - Part 5f - Add DataView methods for BigInt access.Brian Smith2023-07-19
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1528582
* Issue #1240 - Part 5e - BigInt bitwise operators.Brian Smith2023-07-19
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1490387
* Issue #1240 - Part 5d - Use the radix when parsing BigInts.Brian Smith2023-07-19
| | | | | Fixes Hex, Octal and Binary BigInt literal parsing. Previously it was only parsing in decimal.
* Issue #1240 - Part 5c -Implement ToInt32OrBigInt operation.Brian Smith2023-07-19
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1490387
* Issue #1240 - Part 5b - BigInt support for basic arithmetic operations.Brian Smith2023-07-19
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1471134 Parts 3-5.
* Issue #1240 - Part 5a - BigInt to Number conversion.Brian Smith2023-07-19
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1466893
* Merge branch 'master' into bigint-mergedBrian Smith2023-07-18
|\
| * Issue #2271 - Use declared names of self-hosted functions for cloningMartok2023-07-13
| | | | | | | | | | | | | | | | | | Ensure that cloning a self-hosted function always has access to the declared name from the source and that it doesn't get lost on successive clones. This is done by storing the declared name in an extended slot on rename, and cloning it with the function. Based-on: m-c 1546232
| * Issue #2271 - Separate cloning of native and interpreted functionsMartok2023-07-13
| | | | | | | | | | | | | | Separate code paths make it easier to follow and specialize than a single one-size-fits-all function. Based-on: m-c 1405766, 1411954
* | Issue #1240 - Part 4 - Implement parser support for BigInt literals.Brian Smith2023-07-18
| | | | | | | | | | | | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1505849 Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1456568 Un-result-ified the BigInt XDR code, so we can enable it. https://bugzilla.mozilla.org/show_bug.cgi?id=1419094 Uninitialised memory read with BigInt right-shift https://bugzilla.mozilla.org/show_bug.cgi?id=1679003
* | Issue #1240 - Part 3c - Fast-forward to the V8 version of BigIntType.Brian Smith2023-07-13
| | | | | | | | | | | | | | | | | | Disabling some sections temporarily since the dependencies are not there yet. Based on the following: https://bugzilla.mozilla.org/show_bug.cgi?id=1502797 https://bugzilla.mozilla.org/show_bug.cgi?id=1471134 https://bugzilla.mozilla.org/show_bug.cgi?id=1441098 Part 3 & 4 Add structured clone support for BigInt and Enable BigInt wrapping from DOM bindings. https://bugzilla.mozilla.org/show_bug.cgi?id=1522738
* | Issue #1240 - Part 3b - Implement WrappingOperations.h for wraparound math ↵Brian Smith2023-07-13
| | | | | | | | | | | | | | | | operations & conversions. https://bugzilla.mozilla.org/show_bug.cgi?id=1441657 Implement mozilla::WrappingMultiply. Prerequisite for our V8 fast forward.
* | Issue #1240 - Part 3a - Adjust mozilla::FloatingPoint<T>'s definition.Brian Smith2023-07-13
| | | | | | | | | | | | | | | | So only the barest details are specified for floating-point encodings, with every other number, bit mask, &c. mathematically derived. Also add a bunch of documentation comments. https://bugzilla.mozilla.org/show_bug.cgi?id=1508725 Prerequisite for our V8 fast forward.
* | Issue #1240 - Part 2 - Define the BigIntObject class for BigInt wrapper objects.Brian Smith2023-07-13
| | | | | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 Part 3. In our Part 3 we will fast forward to the V8 implementation skipping GMP.
* | Issue #1240 - Part 1 - Define a new BigInt primitive type.Brian Smith2023-07-13
|/ | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 Part 1.0. However leaving out the --enable-bigint changes.
* [multiple] Update Intl tests.Moonchild2023-07-02
|
* Issue #1656 - Follow-up: Re-nuke the vim lines introduced in #2265Moonchild2023-07-02
|
* Merge pull request 'Intl API Updates' (#2265) from ↵Moonchild2023-07-02
|\ | | | | | | | | | | martok/UXP-contrib:intl-upgrades into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2265
| * Issue #2046 - Implement Intl.DateTimeFormat's date-/timeStyle and hourCycle ↵Martok2023-06-30
| | | | | | | | | | | | | | | | options - remove mozExtensions flag and expose to client code Based-on: m-c 1557718
| * Issue #1819 - Further align Intl.Locale to specMartok2023-06-30
| | | | | | | | | | - Reference updates (UTS 35) - variant subtag and transform extension canonicalisation
| * Issue #2259 - Performance improvements for LanguageTag parsingMartok2023-06-30
| | | | | | | | | | | | | | | | | | - parsing: dont normalise things that don't need to be normalised anymore: extension, private-use, variant, language, script, and region subtags - Add missing() and present() methods to LanguageSubtag - Change mozilla::Range to mozilla::Span for slightly better code Based-on: m-c 1592588
| * Issue #2259 - Performance improvements in LocaleMartok2023-06-30
| | | | | | | | | | | | | | | | | | - Move BestAvailableLocale function to C++ - Move default locale computation to C++ - Add available-locales set to SharedIntlData - Remove separate sets for DateFormat and NumberFormat available locales. Based-on: m-c 1373089
| * Issue #1819 - Implement Intl.Locale proposalMartok2023-06-30
| | | | | | | | | | | | | | | | | | | | | | This is according to spec for the mozilla71 cycle, a follow-up will further adjust to spec. - Add Intl.Locale as native C++ - Port Unicode BCP 47 locale identifier parser to C++ - Port language tag parser to C++ - adjust make_intl_data to generate the data Based-on: m-c 1433303, 1570370
| * Issue #2259 - process Unicode langtags and locale identifiers according to ↵Martok2023-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BCP 47 Major spec change: text references are to BCP47 (not the implementing RFCs) and the single source of truth is now Unicode CLDR. - Switch from IANA to CLDR for make_unicode - Update grandfathered tag handling directly in the parser - Don't support extlang, irregular, privateuse or 4-letter subtags - Adjust comments to refer to Unicode BCP 47 locale identifiers, remove RFC 5646 - Canonicalize/order langtags correctly - Tokenize BCP47 in reusable class Based-on: m-c 1407674(partial), 1451082, 1530320, 1522070, 1531091
| * Issue #2195 - Add support for hourCycle to Intl.DateTimeFormatMartok2023-06-30
| | | | | | | | Based-on: m-c 1386146, 1430809
| * Issue #2259 - Improve ResolveLocale performance when initializing the ↵Martok2023-06-30
| | | | | | | | | | | | default Intl objects Based-on: m-c 1365650
| * Issue #2259 - Support Unicode extensions with multiple value subtags in ↵Martok2023-06-30
| | | | | | | | | | | | BCP47 language tags Based-on: m-c 1321789
| * Issue #2259 - Reimplement String.prototype.toLocale{Lower,Upper}Case per ↵Martok2023-06-29
| | | | | | | | | | | | | | | | | | | | ECMAScript Intl specification - Update make_unicode to output SpecialCasing - Handle special casing - Use realloc instead of malloc when resizing a newly created string buffer Based-on: m-c 1318403, 1431957
| * Issue #2259 - Implement caseFirst option in Intl.CollatorMartok2023-06-29
| | | | | | | | Based-on: m-c 866473