Jonathan Kew
26f06fc0de
Bug 1358275 - Preliminary cleanup: refactor nsTextFragment::UpdateBidiFlag(), moving its logic into nsBidiUtils function HasRTLChars() and making that function more precise in the process. r=dholbert
2017-04-26 23:25:48 +01:00
Zibi Braniecki
3d91da8726
Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
...
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.
This allows us to remove a lot of calls for the app locale.
The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.
MozReview-Commit-ID: DzmFEUvMq3N
--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst
0a04f3b9e2
Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout
2017-03-22 18:20:26 +01:00
Zibi Braniecki
c2cd68a689
Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
...
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.
This allows us to remove a lot of calls for the app locale.
The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.
MozReview-Commit-ID: DzmFEUvMq3N
--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
David Major
ed0b8f8653
Bug 1344615: Remove nsXPCOMStrings.{h,cpp} r=bsmedberg
...
These are now dead code.
MozReview-Commit-ID: AClU0Qx3kmN
--HG--
extra : rebase_source : df83cf89292da1519bb26027c11e14923d5c54a0
2017-03-06 17:52:54 +13:00
David Major
058a3a25a4
Bug 1344615: Rewrite a few straggling users of NS_String* APIs. r=bsmedberg
...
I've moved the body of the APIs into the few remaining callers.
MozReview-Commit-ID: 9ALoSmQHkGM
--HG--
extra : rebase_source : e0e747dec23424446b18d53ab65e4fa262e16554
2017-03-06 17:52:09 +13:00
Benjamin Smedberg
3d381083df
Bug 1332639 - Remove the external unicharutil library which isn't used and is now unlinkable, r=emk
...
MozReview-Commit-ID: UOPsyIOB8O
--HG--
extra : rebase_source : 38c986684710f54565ad6c99bdb9865205ce0255
2017-02-27 13:38:39 -05:00
Benjamin Smedberg
ca77995f5d
Bug 1333826 - Remove SDK_FILES, SDK_LIBRARY, and related is_sdk support in the build goop, r=mshal
...
MozReview-Commit-ID: 52vPyDXdFte
--HG--
extra : rebase_source : c3217730bb70eb7319152dd07536b12f49d6a597
2017-01-30 11:24:10 -05:00
Jonathan Kew
abeb0a335c
Bug 1331339 - Don't start a new script run when the current script appears in the next character's ScriptExtensions property, or next char is a cluster-extender. r=jrmuizel
2017-01-18 20:38:05 +00:00
Jonathan Kew
2a3c8294aa
Bug 1322989 - Preserve accent on Greek disjunctive eta (ή) when applying text-transform:uppercase. r=m_kato
2016-12-20 10:06:51 +00:00
Carsten "Tomcat" Book
fc4bd848dd
Backed out changeset 422af49b7ae8 (bug 1322989) for bustage
2016-12-20 11:35:57 +01:00
Jonathan Kew
60ef0df121
Bug 1322989 - Preserve accent on Greek disjunctive eta (ή) when applying text-transform:uppercase. r=m_kato
2016-12-20 10:06:51 +00:00
Jonathan Kew
b10ce4525f
Bug 1288961 - Update UTR-50 data to version 16, for Unicode 9 support. r=m_kato
2016-11-16 10:04:37 +00:00
Jonathan Kew
b809e13f8d
Bug 1281448 - part 1+2 - Update character property table generator script for Unicode 9 (in particular, security/xidmodifications.txt is replaced by security/IdentifierStatus.txt and IdentifierType.txt), and adjust APIs to fit the new identifier-type property model; update the generated data files. r=m_kato
2016-11-14 09:23:49 +00:00
Sebastian Hengst
4f23e5acc2
Backed out changeset 5d9a785a37c4 (bug 1281448) for Android bustage. r=backout
2016-11-14 10:45:52 +01:00
Jonathan Kew
51e4a42011
Bug 1281448 - part 1+2 - Update character property table generator script for Unicode 9 (in particular, security/xidmodifications.txt is replaced by security/IdentifierStatus.txt and IdentifierType.txt), and adjust APIs to fit the new identifier-type property model; update the generated data files. r=m_kato
2016-11-14 09:23:49 +00:00
Jonathan Kew
e007b6ec83
Bug 1301655 - pt 0 - Add an optional parameter to nsIChromeRegistry.getSelectedLocale to allow callers to request the locale be returned as a valid BCP47 lang tag. r=gandalf
2016-10-28 12:04:06 +01:00
Kan-Ru Chen
6a947f6166
Bug 1081858 - Part 4. Implement segment break transformation rules. r=jfkthame
...
MozReview-Commit-ID: BcOm4LVWGzW
2016-10-27 14:52:22 +08:00
Kan-Ru Chen
dc45f1b5b3
Bug 1081858 - Part 3. Implement IsEastAsianWidthFWH using ICU or nsUnicodeProperties data. r=jfkthame
...
MozReview-Commit-ID: DvBgSm5SJwD
2016-10-27 14:52:22 +08:00
Kan-Ru Chen
eb2f3cfed9
Bug 1081858 - Part 2. Add EastAsianWidthFWH data from Unicode's EastAsianWidth.txt to nsUnicodeProperties for builds without ICU. r=jfkthame
...
MozReview-Commit-ID: EOtAPx5ZY1U
2016-10-27 14:52:21 +08:00
Sebastian Hengst
c31797b642
Backed out changeset 1d3177608997 (bug 1081858)
2016-10-26 18:49:07 +02:00
Sebastian Hengst
ff84c3bee2
Backed out changeset 763deb5caa30 (bug 1081858)
2016-10-26 18:49:07 +02:00
Sebastian Hengst
552e6ad9a9
Backed out changeset 5044bee3df13 (bug 1081858)
2016-10-26 18:49:07 +02:00
Kan-Ru Chen
5f5b342806
Bug 1081858 - Part 4. Implement segment break transformation rules. r=jfkthame
...
MozReview-Commit-ID: BcOm4LVWGzW
2016-10-26 19:15:28 +08:00
Kan-Ru Chen
056f964bb8
Bug 1081858 - Part 3. Implement IsEastAsianWidthFWH using ICU or nsUnicodeProperties data. r=jfkthame
...
MozReview-Commit-ID: DvBgSm5SJwD
2016-10-26 19:15:27 +08:00
Kan-Ru Chen
f21980e3e5
Bug 1081858 - Part 2. Add EastAsianWidthFWH data from Unicode's EastAsianWidth.txt to nsUnicodeProperties for builds without ICU. r=jfkthame
...
MozReview-Commit-ID: EOtAPx5ZY1U
2016-10-26 19:15:27 +08:00
Jonathan Kew
3a650cc4a5
Bug 1312440 - Remove (unused) paired bracket data from our Unicode property tables when ICU is available. r=emk
2016-10-26 09:40:20 +01:00
Phil Ringnalda
93eb57bc06
Backed out 5 changesets (bug 1081858) for Android line-breaking reftest failures
...
Backed out changeset ac6306117c61 (bug 1081858)
Backed out changeset d9e96e907d0a (bug 1081858)
Backed out changeset 0dd35a1f895f (bug 1081858)
Backed out changeset ba420f595902 (bug 1081858)
Backed out changeset 44f9c7e8d124 (bug 1081858)
MozReview-Commit-ID: LV4YOozX3Ol
2016-10-25 20:38:20 -07:00
Kan-Ru Chen
ee45259740
Bug 1081858 - Followup, initialize nsCharProps2 properly. on a CLOSED TREE r=bustage
...
MozReview-Commit-ID: 2NHBuOsceOL
2016-10-26 09:28:41 +08:00
Kan-Ru Chen
7366a10541
Bug 1081858 - Part 4. Implement segment break transformation rules. r=jfkthame
...
MozReview-Commit-ID: BcOm4LVWGzW
2016-10-26 08:37:04 +08:00
Kan-Ru Chen
62f72040da
Bug 1081858 - Part 3. Implement IsEastAsianWidthFWH using ICU or nsUnicodeProperties data. r=jfkthame
2016-10-26 08:37:04 +08:00
Kan-Ru Chen
3c0597029f
Bug 1081858 - Part 2. Add EastAsianWidthFWH data from Unicode's EastAsianWidth.txt to nsUnicodeProperties for builds without ICU. r=jfkthame
...
MozReview-Commit-ID: EOtAPx5ZY1U
2016-10-26 08:37:03 +08:00
Dhanesh B. Sabane
a2ef7b10a8
Bug 1308137 - Remove code around IBMBIDI_SUPPORTMODE_*. r=xidorn
...
MozReview-Commit-ID: 96g2DBfpfX9
--HG--
extra : rebase_source : e8a299ab8ca6af6e93cf29ab9351282076e2aa1d
2016-10-16 18:05:17 +05:30
Jonathan Kew
594fdb205d
Bug 1305700 - pt 3 & 4 - Clean up/simplify use of ENABLE_INTL_API conditionals in nsUnicodeProperties (code rearrangement, no change in behavior). r=m_kato
2016-09-28 10:52:51 +01:00
Jonathan Kew
7f21325a4a
Bug 1305700 - pt 1 & 2 - Exclude case mappings from nsUnicodePropertyData.cpp, and use ICU case mappings instead of our own table when building with ENABLE_INTL_API. r=m_kato
2016-09-28 10:47:05 +01:00
Xidorn Quan
73cb8d2d09
Bug 898984 - Part 2: Support surrogate pair in XUL cropped element. r=jfkthame
2013-08-11 03:41:00 +09:00
Xidorn Quan
8c11d66ab2
Bug 898984 - Part 1: Add ClusterReverseIterator in nsUnicodeProperties. r=jfkthame
2013-08-11 03:37:00 +09:00
Jonathan Kew
e45cb1544d
Bug 1296050 - When checking whether bidi resolution is needed, ignore Unicode directional-control characters that do not actually introduce right-to-left-ness. r=xidorn
2016-09-05 14:15:32 +01:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Xidorn Quan
76db18facb
Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium
...
MozReview-Commit-ID: FuwAgEGjhxm
--HG--
extra : source : c07ceab42b47b18a1e8d436e7c888bdd113575fa
2016-07-20 15:00:13 +10:00
Xidorn Quan
17ee95ed83
Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
...
MozReview-Commit-ID: 66TD5A3L73D
--HG--
extra : source : e35f507952ccb081e77d5ba78c1b0d2ed566ac73
2016-07-20 15:00:13 +10:00
Jonathan Kew
0b98a9737f
Bug 1265631 - patch 2 - Implement GetLineBreakClass() accessor to get Unicode line-break class from ICU or nsUnicodeProperties data. r=masayuki
2016-04-26 10:32:17 +01:00
Jonathan Kew
982b1a0979
Bug 1265631 - patch 1 - Add line-break data from Unicode's LineBreak.txt to nsUnicodeProperties for builds without ICU. r=masayuki
2016-04-26 10:32:15 +01:00
Xidorn Quan
19931babd5
Bug 1097499 part 8 - Move CountGraphemeClusters to mozilla::unicode. r=emk
...
MozReview-Commit-ID: J9yR8RPs5u8
--HG--
extra : source : 7b937b3ba984e84da808cd072037726b56da1826
2016-04-22 09:18:41 +10:00
Xidorn Quan
20a1eb1cd7
Bug 1097499 part 7 - Add reverse function of GetFullWidth. r=emk
...
MozReview-Commit-ID: HRDoZPzr1GO
--HG--
extra : source : 84cb256d16e07d5316db23d5a08353cc7f1abe2a
2016-04-22 09:18:41 +10:00
Jonathan Kew
c60f6a1ae4
Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki
2016-04-21 18:58:59 +01:00
Gregory Szorc
a3f1e3bce6
Bug 1256514 - Disable C4577 to unblock compilation on VS2015; r=poiru
...
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warning occurs in 3rd party ICU
code. So I'm not sure what my options are for fixing this.
MozReview-Commit-ID: 9gOSotjaQsN
--HG--
extra : rebase_source : c1a6c51bcdd4e1a882f371e7beba4f88d5c059a4
2016-03-14 18:41:48 -07:00
Eric Rahm
c3a2dbf3de
Bug 1251780 - Remove unicharutil_standalone library. r=rbarker
2016-03-03 12:16:41 -08:00
Jonathan Kew
a3e547e385
Bug 724538 - Regenerate Unicode property data with updated script. r=emk
2016-01-13 15:45:22 +00:00
Jonathan Kew
06f42574aa
Bug 724538 - When ICU is available in the build, replace most of nsCharProps2 fields with ICU property accessors. r=emk
2016-01-13 15:45:22 +00:00