Alex Henrie
a8ea431566
Bug 1614868 - Ignore combining diacritic characters in history search. r=jfkthame,mak
...
IsCombiningDiacritic(-1) returns false, so there is no need to specially
handle -1 in GetLowerUTF8Codepoint_inline.
It is no longer necessary for GetNaked to check whether a character is a
combining character because all callers now skip combining diacritics
and GetNaked already makes sure that decomposition removes a diacritic
and not something else.
Differential Revision: https://phabricator.services.mozilla.com/D62533
2020-02-17 20:42:04 +00:00
Alex Henrie
9ee4dc3b13
Bug 1611568 - Ignore combining diacritic characters when "Match Diacritics" is off. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D61081
2020-02-10 18:09:05 +00:00
Alex Henrie
497b982004
Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D51841
2019-12-09 19:26:40 +00:00
Brindusan Cristian
f8193f77a3
Backed out changeset b89936db7178 (bug 202251) for bc failures at browser_misused_characters_in_strings.js. CLOSED TREE
2019-12-05 23:10:09 +02:00
Alex Henrie
a6c666a04f
Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D51841
2019-12-05 18:08:20 +00:00
Alex Henrie
fd5feb4ae7
Bug 1591490 - Use the NS_IS_SURROGATE_PAIR macro everywhere. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D50697
2019-10-27 05:05:51 +00:00
Sylvestre Ledru
d42e742a3e
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D24168
2019-03-31 15:12:55 +00:00
Jonathan Kew
084162a8f0
Bug 1529241 - Handle emoji-zwj sequences in unicode::ClusterIterator so that we avoid breaking them across lines or during selection. r=m_kato
...
Depends on D25100
Differential Revision: https://phabricator.services.mozilla.com/D25101
2019-03-28 09:57:40 +00:00
Tooru Fujisawa
5ef6d9cc06
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Benjamin Bouvier
5e1b39e9bd
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Ehsan Akhgari
35c4e1a185
Bug 1508472 - Part 4: Fourth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13193
2018-11-28 09:16:55 +00:00
Jonathan Kew
419ce9151a
Bug 1426827 - Treat Fitzpatrick skin-tone modifiers as cluster extenders when building textruns. r=m_kato
2018-07-25 09:38:10 +01:00
Jonathan Kew
9bb0dbd107
Bug 1477010 - Treat plane-14 tag characters as cluster extenders when building textruns, so that emoji flag sequences behave as single units. r=m_kato
2018-07-25 09:38:07 +01:00
Chris Peterson
f7ceeaf5cf
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Jonathan Kew
4ad5fdf041
Bug 1402271 - patch 3 - Remove non-ENABLE_INTL_API code paths from the nsUnicodeProperties code. r=m_kato
2017-09-25 09:18:20 +01:00
Xidorn Quan
151f9df969
Bug 1368418 part 3 - Remove nsCategoryImp. r=emk
...
MozReview-Commit-ID: 5qCoeqfM2s5
2017-05-29 16:17:39 +10:00
Jonathan Kew
a91ad773c1
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
7b2b9b33ae
Backed out changeset 5d9a785a37c4 (bug 1281448) for Android bustage. r=backout
2016-11-14 10:45:52 +01:00
Jonathan Kew
8c6fdf4408
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
Kan-Ru Chen
b40fc4d570
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
9d5d4a051a
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
4219a72191
Backed out changeset 1d3177608997 (bug 1081858)
2016-10-26 18:49:07 +02:00
Sebastian Hengst
2bb81ae320
Backed out changeset 763deb5caa30 (bug 1081858)
2016-10-26 18:49:07 +02:00
Kan-Ru Chen
ea3140183e
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
2fd25cb09a
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
1e3af032f6
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
3e7437372f
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
6a751ed39f
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
635e706efa
Bug 1081858 - Part 3. Implement IsEastAsianWidthFWH using ICU or nsUnicodeProperties data. r=jfkthame
2016-10-26 08:37:04 +08:00
Jonathan Kew
f4822344a7
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
fb7bbddd76
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
f7974294b8
Bug 898984 - Part 1: Add ClusterReverseIterator in nsUnicodeProperties. r=jfkthame
2013-08-11 03:37:00 +09:00
Jonathan Kew
dcf383ae88
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
Xidorn Quan
99b7b18633
Bug 1097499 part 8 - Move CountGraphemeClusters to mozilla::unicode. r=emk
...
MozReview-Commit-ID: J9yR8RPs5u8
2016-04-22 09:18:41 +10:00
Xidorn Quan
f4b949c3e6
Bug 1097499 part 7 - Add reverse function of GetFullWidth. r=emk
...
MozReview-Commit-ID: HRDoZPzr1GO
2016-04-22 09:18:41 +10:00
Jonathan Kew
cbb738f072
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
Jonathan Kew
0ff3300765
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
Ted Clancy
be306f8be0
Bug 1157727 - Part 1: Add paired bracket type property to our character data (patch originally by :tedders1, updated by :jfkthame). r=jfkthame
2015-10-06 01:26:23 -07:00
Carsten "Tomcat" Book
786418daae
Backed out changeset fb72e312f137 (bug 1157727)
2015-11-25 15:37:03 +01:00
Ted Clancy
1be466534e
Bug 1157727 - Part 1: Add paired bracket type property to our character data (patch originally by :tedders1, updated by :jfkthame). r=jfkthame
2015-10-06 01:26:23 -07:00
Makoto Kato
a692911554
Bug 1170072 - Part 2. Use ICU instead of GetCharProps1 and its supporting data if ICU is turned on. r=jfkthame
2015-09-07 11:56:13 +09:00
Makoto Kato
777bfe0962
Bug 1170072 - Part 1. Make GetCharProps1 as static function. r=jfkthame
2015-09-07 11:54:46 +09:00
Jonathan Kew
5ba34972de
Bug 1066756 - Include characters with Unicode category Sk (modifier symbol) in double-click word selection. r=mats
2014-09-15 17:19:24 +01:00
Masatoshi Kimura
0bf2510193
Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame
2014-05-31 15:11:29 +09:00
Jonathan Kew
f9fd16c84c
backout changeset 48b74ab18f92 (bug 1018034) due to MS Sans Serif regression with Thai system locale (see bug 1020826).
2014-06-06 22:41:07 +01:00
Masatoshi Kimura
0ca01f16b8
Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame
2014-05-31 15:11:29 +09:00
Birunthan Mohanathas
88a0348924
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
2013-12-08 21:52:54 -05:00
Ehsan Akhgari
04764fe325
Bug 921472 - Minimize the #includes in intl/; r=smontagu
2013-09-27 12:45:04 -04:00
Ms2ger
41ff79c3ee
Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
...
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00