| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
Needed to include jscntxt.h due to de-unified building.
|
|
|
|
| |
As pointed out by roytam1 during testing with Discord.
|
|
|
|
|
|
| |
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].
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
first converting them to strings.
https://bugzilla.mozilla.org/show_bug.cgi?id=1543677
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1543677
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1456569
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1507484
Implement IC support for BigInt.
https://bugzilla.mozilla.org/show_bug.cgi?id=1522431
|
|
|
|
| |
The decimal parser strips leading 0s, so prevent tokenbuf being empty.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1501104
|
|
|
|
|
|
| |
argument.
https://bugzilla.mozilla.org/show_bug.cgi?id=1317383 Part 2.
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 Part 5.
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1528582
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1490387
|
|
|
|
|
| |
Fixes Hex, Octal and Binary BigInt literal parsing.
Previously it was only parsing in decimal.
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1490387
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1471134 Parts 3-5.
|
|
|
|
| |
https://bugzilla.mozilla.org/show_bug.cgi?id=1466893
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
Separate code paths make it easier to follow and specialize than a single
one-size-fits-all function.
Based-on: m-c 1405766, 1411954
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
operations & conversions.
https://bugzilla.mozilla.org/show_bug.cgi?id=1441657
Implement mozilla::WrappingMultiply.
Prerequisite for our V8 fast forward.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
| |
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 Part 1.0.
However leaving out the --enable-bigint changes.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
martok/UXP-contrib:intl-upgrades into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2265
|
| |
| |
| |
| |
| |
| |
| |
| | |
options
- remove mozExtensions flag and expose to client code
Based-on: m-c 1557718
|
| |
| |
| |
| |
| | |
- Reference updates (UTS 35)
- variant subtag and transform extension canonicalisation
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Based-on: m-c 1386146, 1430809
|
| |
| |
| |
| |
| |
| | |
default Intl objects
Based-on: m-c 1365650
|
| |
| |
| |
| |
| |
| | |
BCP47 language tags
Based-on: m-c 1321789
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Based-on: m-c 866473
|