Граф коммитов

744 Коммитов

Автор SHA1 Сообщение Дата
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
Sebastian Hengst b546cd8468 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: intl. r=RyanVM
MozReview-Commit-ID: 6jNipDaL7br

--HG--
extra : rebase_source : 9186ab26dfc74cb2c4dbb24e5cb7279d6a8b33c2
2016-11-05 11:29:19 +01: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 db16886be0 Bug 728180 - Use ICU normalization functions to implement nsUnicodeNormalizer when ENABLE_INTL_API is defined, in place of our obsolete/unmaintained normalization code. r=emk 2016-09-29 12:27:50 +01:00
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
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10: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
Benjamin Smedberg bf05496a83 Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
MozReview-Commit-ID: EGqHHhCD7vD

--HG--
extra : rebase_source : a4b9593959dd3ba80189db47eabb056ea207490f
extra : amend_source : a744d833693f0fe7adbea961c00bb5fb55a91580
2016-07-07 12:14:25 -04:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07: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
Jan Beich 814acd7ab8 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Mike Hommey 2a82df055d Bug 1229293 - Enforce order when setting a HierarchicalStringList, and forbid reassignment. r=gps
The current implementation of HierarchicalStringList allows the following:

   FOO.bar = [
       'foo',
       'bar',
   ]

while

   FOO.bar += [
       'foo',
       'bar',
   ]

would be invalid because of the StrictOrderingOnAppendList enforcement.

It also allows to overwrite the entire list with a subsequent

   FOO.bar = [
	'baz',
   ]

while we've explicitly forbidden such things for every other list.

While in the vicinity, fix HierarchicalStringList._get_export_variable to not
call the HierarchicalStringList constructor uselessly.
2015-12-02 11:04:37 +09:00
Ted Clancy ff91b54508 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 30966e0b67 Backed out changeset fb72e312f137 (bug 1157727)
--HG--
extra : rebase_source : ffa0070599954ddc44f682fc30d15ff87354be64
2015-11-25 15:37:03 +01:00
Ted Clancy a5ce3508aa 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