Moonchild
2f27335cc4
Issue #1751 -- Remove XP_DARWIN
2021-05-05 10:27:04 +08:00
Moonchild
a9c8f3a84a
Issue #1751 -- Remove XP_IOS
2021-05-05 10:26:14 +08:00
roytam1
7f6520be1a
Merge remote-tracking branch 'origin/master' into custom
2021-04-02 10:50:32 +08:00
Moonchild
4651d97342
Issue #1756 - Clean up ICU patch.
...
We don't need ICU_UNUM_HAS_FORMATDOUBLEFORFIELDS because we don't support any
ICU other than the one in-tree.
2021-04-02 10:34:14 +08:00
Moonchild
bdcb9cc504
Issue #1756 - Expose NumberFormat.formatToParts() to content.
2021-04-02 10:34:12 +08:00
Moonchild
5df0028108
Issue #1756 - Initial wrapped implementation in C++
2021-04-02 10:34:10 +08:00
roytam1
f9ded55f98
Merge remote-tracking branch 'origin/master' into custom
2021-03-25 09:26:26 +08:00
Moonchild
b8f2ada817
Issue #1053 - Remove __ANDROID__ defines (except in third party code)
2021-03-25 09:04:29 +08:00
roytam1
333a06698b
Merge remote-tracking branch 'origin/master' into custom
2021-03-11 10:14:22 +08:00
Moonchild
9985a44c41
Issue #1053 - Remove android blocks from configure.
2021-03-11 10:13:51 +08:00
Moonchild
50653a7c4c
Issue #1053 - Remove build system MOZ_ANDROID_* defines and related code.
2021-03-11 10:13:09 +08:00
roytam1
b4f0558f68
Merge remote-tracking branch 'origin/master' into custom
2021-02-16 14:04:35 +08:00
Moonchild
d6c1cc53ba
[js] Add XMMRegName for invalid_xmm
2021-02-16 14:03:47 +08:00
Moonchild
bd0f8a2eca
Issue #1739 - Implement numeric separators.
...
Resolves #1739
2021-02-16 14:03:45 +08:00
Moonchild
dc1d14fcb9
Issue #1738 - Follow-up: Update comment (no code changes)
2021-02-16 14:03:44 +08:00
roytam1
b1db2370ed
Merge remote-tracking branch 'origin/master' into custom
2021-02-12 10:52:27 +08:00
Moonchild
23c9fab20d
Issue #1738 - Part 2: Implement well-formed JSON stringify
...
This implements the ES2019 spec for JSON stringification, including
lower-casing, properly escaping lone surrogates, etc.
2021-02-12 10:50:21 +08:00
Moonchild
feab62b009
Issue #1738 - Part 1: Improve performance of JSON stringify
...
- Use some pointer voodoo and instead of stringbuffer append()
- Use a lookup table instead of char comparisons for chr < 256
- Stop using a Hashtable/MovableCellHasher for JSON CycleDetector
2021-02-12 10:50:19 +08:00
Moonchild
ebf2abb0e3
Update tzdata to 2021a
...
Because people are apparently never satisfied with the time zones on the planet!
2021-02-12 10:50:02 +08:00
Moonchild
34dc51690f
Issue #1732 - Implement JSON superset proposal.
...
This change makes unicode line and paragraph separators allowed in JS strings,
removing the only quirk of the JS string definition that made JSON not a valid
subset of JS.
Resolves #1732
2021-02-12 10:49:19 +08:00
roytam1
f9d748b5f0
Merge remote-tracking branch 'origin/master' into custom
2021-02-05 07:37:11 +08:00
Moonchild
4ff9d87cb4
Issue #1726 - Add verification test for string.replaceAll()
2021-02-05 07:35:08 +08:00
meatloaf
00a689060f
Issue #1726 - Implement String.replaceAll()
...
This also implements IsRegExp, as this demands it.
Ported from https://bugzilla.mozilla.org/show_bug.cgi?id=1540021
2021-02-05 07:35:06 +08:00
roytam1
d18f993c44
Merge remote-tracking branch 'origin/master' into custom
2021-02-03 10:12:19 +08:00
Moonchild
0989dc6d2d
[js] Remove unused promise selfhosting functions.
...
These are leftovers from when promises were fully self-hosted and could cause
confusion if left in place.
2021-02-03 10:04:44 +08:00
roytam1
d72c60c303
Merge remote-tracking branch 'origin/master' into custom
2021-01-27 21:05:06 +08:00
Moonchild
5d2fea0dac
[js] Add AutoEnterOOMUnsafeRegion to JS_TransplantObject.
...
Transplanting objects is inherently oom-unsafe, so add
`AutoEnterOOMUnsafeRegion` to `JS_TransplantObject()` and annotate crashes
accordingly if they do happen.
2021-01-27 21:02:55 +08:00
roytam1
a324d0a18c
Merge remote-tracking branch 'origin/master' into custom
2021-01-14 22:41:39 +08:00
Matt A. Tobin
325e57e916
Issue #1624 - Fix slot access intrinsics for objects with > 16 reserved slots
...
Also flips ion inlining pref back on
2021-01-14 22:19:19 +08:00
roytam1
4348f3ba45
Merge remote-tracking branch 'origin/master' into custom
2020-12-24 09:37:20 +08:00
Moonchild
aa38ed97fa
Issue #1701 - Implement Intl.PluralRules API
2020-12-24 09:36:34 +08:00
roytam1
10126898e3
Merge remote-tracking branch 'origin/master' into custom
2020-12-04 08:53:18 +08:00
Moonchild
ec0865128b
Issue #1624 - Make ion inlining optimizations a pref.
...
This also adds it to JS_SetGlobalJitCompilerOption()
2020-12-04 08:52:49 +08:00
roytam1
ee11f1749b
Merge remote-tracking branch 'origin/master' into custom
2020-12-02 09:58:28 +08:00
Moonchild
7996b9e2cf
Issue #1624 - Globally disable inlining optimizations in the JS JIT compiler.
2020-12-02 09:57:31 +08:00
roytam1
e1f2b2f85a
Merge remote-tracking branch 'origin/master' into custom
2020-11-27 10:03:56 +08:00
Matt A. Tobin
50684945ba
Issue #1676 - Follow-up: Put js/src (including vm), jit, and wasm back into unified sources.
...
Function template inflation in intermediate code. The linker problem we hit with the corrupt file was because there were too many function descriptors and relation in the .lib
2020-11-27 10:02:14 +08:00
roytam1
ee137dacc1
Merge remote-tracking branch 'origin/master' into custom
2020-11-13 09:15:56 +08:00
Moonchild
87982cb409
Issue #1679 - Part 2: Some small issues to address buildability.
...
- Explicitly |this| the Asserts in Cell.as<>
- Unified deprot in regexp-error.h
- Convert RegExpShared* inner() to a reinterpret_cast because for SOME reason
.as<> no longer works after the reimport (which is a static cast)
2020-11-13 09:15:22 +08:00
Matt A. Tobin
dbeab6d3af
Issue #1679 - Part 1: First pass account for some of the refactoring differences in regexp-shim.h
...
This is the patch Moonchild committed on the aborted branch before the plan was revised.
2020-11-13 09:15:20 +08:00
Matt A. Tobin
d646d4403f
Bug 1328948 - Add is(), as() to Cell.
...
Tag #1679
2020-11-13 09:15:16 +08:00
Matt A. Tobin
0789f637d1
Issue #1677 - Part 6: Implement NativeRegExpMacroAssembler for new regexp import based on irregexp/NativeRegExpMacroAssembler.cpp
2020-11-13 09:15:13 +08:00
Matt A. Tobin
e3a3e92316
Issue #1677 - Part 5: "Simplify" regexp re-import process (and re-import from later revision)
...
I am going on record to say Mozilla are utter fucking assholes for pulling this as part of their progression.
2020-11-13 09:15:11 +08:00
Matt A. Tobin
12c7f5df33
Issue #1677 - Part 4: Implement shim for regexp
2020-11-13 09:15:10 +08:00
Matt A. Tobin
fdb560b34d
Issue #1677 - Part 3: Create shim definitions for V8-specific code in new regexp implementation
2020-11-13 09:15:08 +08:00
roytam1
f506982aa1
Merge remote-tracking branch 'origin/master' into custom
2020-11-06 09:44:53 +08:00
Matt A. Tobin
a3bc68b4e9
Issue #1677 - Part 2: Add build files
2020-11-06 09:43:55 +08:00
Matt A. Tobin
6dc6ff456e
Issue #1677 - Part 1: Import new V8 regexp code with Mozilla's header modifications
2020-11-06 09:43:54 +08:00
Matt A. Tobin
5f32ee0c71
Issue #1676 - Part 21: Use js-cxxflags.mozbuild in testing code and js shell
2020-11-06 09:43:34 +08:00
Matt A. Tobin
b38a250130
Issue #1676 - Part 20: Split vtune sources out of js/src/moz.build
2020-11-06 09:43:32 +08:00