Brian Smith
07b6c03dc7
Issue #1240 - Part 3c - Fast-forward to the V8 version of BigIntType. 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
2023-07-25 09:09:18 +08:00
Brian Smith
13ac0d6483
Issue #1240 - Part 2 - Define the BigIntObject class for BigInt wrapper objects. 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.
2023-07-25 09:08:22 +08:00
Brian Smith
f041afc61d
Issue #1240 - Part 1 - Define a new BigInt primitive type. Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 Part 1.0. However leaving out the --enable-bigint changes.
2023-07-25 09:08:03 +08:00
Martok
8d97bd437a
Issue #2259 - Reimplement String.prototype.toLocale{Lower,Upper}Case per 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
2023-07-03 15:07:03 +08:00
Martok
5ad62567e0
Issue #2046 - Trim builtin/Intl.*'s #include set down to what is required for Intl itself
2023-02-21 08:16:55 +08:00
Moonchild
66424272f3
Issue #1999 - Switch to the unorm2 API for String.normalize()
...
Resolves #1999
2022-09-07 10:26:05 +08:00
Moonchild
59cf6bd808
Issue #1996 - Implement at() method on built-in indexables.
...
Resolves #1996
2022-09-01 10:19:41 +08:00
Brian Smith
13fcc4a046
Issue #1829 - Revert "Issue #1751 "
2022-05-04 09:40:24 +08:00
Moonchild
2f27335cc4
Issue #1751 -- Remove XP_DARWIN
2021-05-05 10:27:04 +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
Moonchild
dabd32f955
Issue #1656 - Part 7: Nuke vim config lines in JS
2020-09-25 22:04:24 +08:00
wolfbeast
cfed2447da
Revert #1137 - Remove unboxed arrays
...
- accounting for removal of watch()/unwatch()
- updated for intermediate code changes.
2020-02-27 07:34:50 +08:00
wolfbeast
90e01a7329
Revert 1320408 part 15: Make addDataProperty static
2020-02-27 07:33:07 +08:00
wolfbeast
c16e82c9b1
Issue #1302 - Add self-hosted implementation for string regex .matchAll
...
This resolves #1302 .
2019-11-28 10:32:42 +08:00
Gaming4JC
3fb93ffdf6
1320408 - Part 18: Change StringObject::init to static method.
2019-07-22 19:48:30 +08:00
Gaming4JC
a2451c8234
1320408 - Part 15: Change NativeObject::addDataProperty to static method.
2019-07-22 19:48:18 +08:00
Gaming4JC
cc8cb910dd
1320408 - Part 14: Change some GlobalObject methods to static method.
2019-07-22 19:48:14 +08:00
Gaming4JC
2391e18681
903389 - Fix uses of ClassMethodIsNative.
2019-07-22 19:47:04 +08:00
wolfbeast
87f3c86484
Make use of ArrayObjects in favor of generic JS objects.
...
ArrayObjects has been a thing for years but been under-used. About time
they are used where prudent.
2019-06-19 21:34:21 +08:00
wolfbeast
dee48511aa
Implement String.prototype.trimStart and trimEnd.
...
This renames our internal function names because *Left and *Right might
be deprecated and have to be removed later, making that trivial.
Resolves #1089
2019-05-17 22:17:20 +08:00
wolfbeast
5aa6fbb0ae
Fix build error with JS_HAS_TOSOURCE undefined.
2019-02-16 00:27:44 +08:00
wolfbeast
591dc9ea93
Reinstate string.prototype.contains()
...
This adds a compatibility function aliased to string.prototype.includes().
2019-02-16 00:01:40 +08:00
wolfbeast
8e9e42c7d8
Issue #325 Part 14: Remove EXPOSE_INTL_API conditionals.
2019-02-15 23:56:17 +08:00
wolfbeast
d1c16b1326
Issue #325 Part 5: Remove non-Intl legacy code paths from js.
2019-02-15 23:56:03 +08:00
janekptacijarabaci
e7ee7caf1e
Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScript
...
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2019-02-15 23:38:38 +08:00
roytam1
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00