Commit graph

100 commits

Author SHA1 Message Date
ownedbywuigi
3812be3fd7 Add support for Loongarch architecture in double-conversion-utils.h 2026-04-23 07:52:59 +01:00
roytam1
263429ba00 Merge remote-tracking branch 'origin/tracking' into custom 2024-06-28 22:11:23 +08:00
roytam1
7eb7722992 Revert "Revert "PR #2514 - Don't split up happy emoji sequences""
This reverts commit 97db731ae7.
2024-06-28 22:11:17 +08:00
roytam1
b60182aade Revert "Revert part of #2492 and replace it with mozilla one."
This reverts commit ff8673e87e.
2024-06-28 22:11:08 +08:00
roytam1
5134d40d65 Revert "ported from mozilla: Bug 1819025 - Don't consider following join-controls when determining whether a space is collapsible. r=emilio (fad4426b7b)"
This reverts commit 854fac5c4c.
2024-06-28 22:10:57 +08:00
Andy
44f81b46b6 Issue #2538 - Part 3: Bring ZWJ Awareness to ClusterReverseIterator
Additional patch to resolve a bug exposed while working on the Cluster issue.
2024-06-28 22:05:40 +08:00
Andy
68bcd4e61e Issue #2538 - Part 2: Add IsEmojiClusterExtender
Check specifically for Emoji-specific clusters only in Emoji-specific contexts.
2024-06-28 22:05:20 +08:00
Andy
a1b6142e18 Issue #2538 - Part 1: Undo IsClusterExtender Change
This partially reverts commit 49b7816286498e9ad5b48864847f0a2adabff318.
So much for getting rid of the stupid constants...
2024-06-28 22:04:50 +08:00
roytam1
854fac5c4c ported from mozilla: Bug 1819025 - Don't consider following join-controls when determining whether a space is collapsible. r=emilio (fad4426b7b) 2024-06-08 12:10:00 +08:00
roytam1
ff8673e87e Revert part of #2492 and replace it with mozilla one.
this fixes some numbers can't be selected individually in my builds.
2024-06-08 12:05:16 +08:00
roytam1
97db731ae7 Revert "PR #2514 - Don't split up happy emoji sequences"
This reverts commit 52d7e4f3db.
2024-06-08 08:31:34 +08:00
roytam1
e76fa74573 Merge remote-tracking branch 'origin/tracking' into custom 2024-05-16 22:54:09 +08:00
Andy
52d7e4f3db PR #2514 - Don't split up happy emoji sequences
Loosely based on https://phabricator.services.mozilla.com/D25101
Includes changes to `GetEmojiPresentation`, added in e38b57ca.
The `EmojiComponent` response includes hair color, skin tone, ZWJ, VS16, Combining Enclosing Keycap, and the Tag unicode characters used for subdivision flag emojis.
This means that `IsClusterExtender` should support all these characters, and be forward compatible with any future Unicode changes.
This also lets us restructure `ClusterIterator::Next` to check for EmojiComponents after a TextDefault character, without any stupid constants.
2024-05-16 22:50:32 +08:00
roytam1
92e1373e8c icu: fix getting windows timezone on legacy windows
(todo: fix non-autoDST situation)
2024-04-24 16:43:13 +08:00
roytam1
de7e7860ff tzdata: update to 2024a 2024-04-21 07:47:52 +08:00
roytam1
a944026bae Merge remote-tracking branch 'origin/tracking' into custom 2024-04-02 22:57:21 +08:00
Andy
69f3b4e199 Issue #2492 - Standardized use of Emoji Character Properties
Detection of Emoji Components, for use as suffixes of TextDefault.
Detection of Non-Presentation Emojis as TextDefault.
Detection of all Extended Pictographics as EmojiDefault.
2024-04-02 22:54:46 +08:00
roytam1
c32aeee874 partly import changes from tenfourfox:
- update ESR base to 115; update EV roots, pins, TLDs, TZs; security pullup (55284dd80)
2023-09-01 10:07:24 +08:00
roytam1
6235ca420d Merge remote-tracking branch 'origin/tracking' into custom 2023-05-04 10:47:54 +08:00
Moonchild
d388e478a0 Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from the rest of js, caps, chrome, config, devtools, docshell,
image, intl. More to come.
2023-05-04 10:46:38 +08:00
roytam1
cc4ac7a04b Merge remote-tracking branch 'origin/tracking' into custom 2023-03-28 13:30:04 +08:00
Job Bautista
bad884a7c7 Issue #2165 - Build ICU as a shared library if we're building Spidermonkey shared.
It seems that if we're going to enable JS_SHARED_LIBRARY, we need ICU to be a
shared library too in order to prevent code duplication in mozjs.dll bloating
it to a whopping 21 MB.
This unfortunately means we have to fold icudata back to icu itself. But since
icudata is still separated from libxul (which is what really matters for #1451),
I think this is a fair compromise.
Building ICU as shared is offered as an option via --enable-shared-icu. But
technically you really need --enable-shared-icu if you're going to use
--enable-shared-js. Unfortunately I can't make configure exit with an error if
MOZ_SHARED_ICU is not defined when JS_SHARED_LIBRARY is enabled, because options
are controlled by different configure scripts (icu is based on bash, while js is
based on python), and I have no idea how to pass MOZ_SHARED_ICU to js's
moz.configure.

Tag #62
2023-03-28 12:11:00 +08:00
roytam1
f9dc0e6d15 Merge remote-tracking branch 'origin/tracking' into custom 2022-11-10 14:55:46 +08:00
Moonchild
bf19c2087b Update timezone data to 2022e 2022-11-10 14:55:09 +08:00
roytam1
a9c379217d partly import changes from tenfourfox:
- 102ESR: rev EV roots, TLDs, tzdata (c47bef11f)
2022-09-19 15:13:43 +08:00
roytam1
3a65ef9ca8 ICU: replace windows related source files with those from mypal68 (ICU 64.2) 2022-07-30 08:49:33 +08:00
roytam1
1822f2031e Merge remote-tracking branch 'origin/tracking' into custom 2022-07-30 08:49:22 +08:00
Job Bautista
3e6cbc6af3 Issue #1969 - Implement Intl.RelativeTimeFormat.
Based on Mozilla bugs 1270140, 1504656, 1483545, and 1504334.
Took note of Mozilla bug 1379222 which changed GetPrototypeFromCallableConstructor
 to GetPrototypeFromBuiltinConstructor.
There are many other changes I did myself since the initial implementation by
 Mozilla wouldn't work with this codebase.
2022-07-30 08:43:43 +08:00
Job Bautista
196f95dbff Issue #1971 - Part 4: Generated files for Unicode 11.0. 2022-07-30 08:43:43 +08:00
Job Bautista
9a4a62c8cc Issue #1971 - Part 3: Update unicharutil perl scripts for Unicode 11 upgrade.
ICU 62 (and therefore 63) requires at least Unicode 11.
2022-07-30 08:43:42 +08:00
Job Bautista
1e69214382 Issue #1971 - Part 2: Update ICU source to 63.2. 2022-07-30 08:43:41 +08:00
Job Bautista
8df84683be Issue #1971 - Part 1: Update build system for ICU 63.2 upgrade. 2022-07-30 08:43:38 +08:00
roytam1
d55284684f Merge remote-tracking branch 'origin/tracking' into custom 2022-06-27 21:51:39 +08:00
Job Bautista
8ad8bfb4ba Issue #326 - Part 6: Regenerate Unicode data tables with the stripped-down tool 2022-06-27 21:35:27 +08:00
Job Bautista
b8e7234b73 Issue #326 - Part 5: Simplify the genUnicodePropertyData.pl tool to generate only the data we need to supplement ICU properties
Backported from Mozilla bug 1402271.
Some removals were already done by Part 1b.
2022-06-27 21:35:13 +08:00
Job Bautista
54489c3029 Issue #326 - Part 4: Update Unicode data to release 10.0
genUnicodePropertyData.pl's output:
 unknown ICU script MASARAM_GONDI at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2641.
 unknown ICU script SOYOMBO at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2663.
 unknown ICU script ZANABAZAR_SQUARE at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2679.
 Data for CharProp2 = 14864
 Data for FullWidth = 2176
 Data for FullWidthInverse = 2688
 Total data = 19728
2022-06-27 21:34:53 +08:00
Job Bautista
7c2d948210 Issue #326 - Part 3: Explicitly make the Script enum a 16-bit type
This is so we can add a field to gfxShapedWord without making it bigger.
Backported from Mozilla bug 1353000.
2022-06-27 21:34:33 +08:00
roytam1
f0288d3d71 Merge remote-tracking branch 'origin/tracking' into custom 2022-06-23 08:55:51 +08:00
Job Bautista
cd64bfb143 Issue #326 - Part 2: Update UTR-50 data to version 16
Based on Mozilla bug 1288961.
2022-06-23 08:55:26 +08:00
Job Bautista
66d4f38c85 Issue #326 - Part 1c: Generated files for Unicode 9.0.
In order to generate these files, refer to
 https://wiki.mozilla.org/I18n:Updating_Unicode_version
For those too lazy to go to the link (or if the link no longer works), we need the
 following files from http://www.unicode.org/Public/9.0.0/ucd/:
 - UnicodeData.txt
 - Scripts.txt
 - EastAsianWidth.txt
 - BidiMirroring.txt
 - HangulSyllableType.txt
 - SpecialCasing.txt
 - ReadMe.txt (to record version/date of the UCD)
 - Unihan_Variants.txt (from Unihan.zip)
 As well as Identifier*.txt from http://www.unicode.org/Public/security/9.0.0/,
 which should be put in a "security" subdirectory under the UCD folder, and
 http://www.unicode.org/Public/vertical/revision-15/VerticalOrientation-15.txt put
 in a "vertical" subdirectory.
I suggest downloading all files with GetEmAll, just in case.
Change the perl command a bit, as the guide seems to be outdated:
 perl ../tools/genUnicodePropertyData.pl /path/to/platform/gfx/harfbuzz/src/ /path/to/platform/intl/icu/source/common/unicode/ /path/to/UCD-directory/
2022-06-23 08:55:09 +08:00
Job Bautista
291907ef3e Issue #326 - Part 1b: Remove outdated ENABLE_INTL_API code.
ENABLE_INTL_API has been removed since Issue #324.
2022-06-23 08:54:55 +08:00
Job Bautista
275ea2bcf5 Issue #326 - Part 1a: Update character property table generator script for Unicode 9, and adjust APIs to fit the new identifier-type property model
Backported from Mozilla bug 1281448.
2022-06-23 08:54:37 +08:00
roytam1
e207b5a162 partly import changes from tenfourfox: #651: TLDs, TZ data (fbd13e3c8) 2022-05-06 14:06:27 +08:00
roytam1
7f068ecce3 Merge remote-tracking branch 'origin/tracking' into custom 2022-05-04 10:14:24 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
roytam1
6de07653b9 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-28 10:45:19 +08:00
Moonchild
8d800b1cb0 Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
Moonchild
de7ec12f83 No issue - Minor performance improvement in BidiUtils 2022-03-22 23:02:58 +08:00
roytam1
34231f343b partly import changes from tenfourfox:
- #482: better bidi M1358275 M1392181 M1428774 + backbugs (e88a717ab)
- M1739352 M1732572(partial) M1717318(partial) M1586061 (03ffdeadb)
- M1737515 M1737470(no tests) +TLDs, tzdata (fd2b82f13)
2022-01-07 09:05:32 +08:00
roytam1
190b620c2d partly import changes from tenfourfox:
- first rolling release: update to 91ESR EV and roots, TZs, TLDs (d7c93b6cf)
- security: M1730935, M1735152, M1730048 (1603b00d0)
2021-11-01 10:39:52 +08:00