Commit Graph

3984 Commits

Author SHA1 Message Date
Jonathan Kew
9730543082 Bug 1324716 - Update IDN blacklist. r=smontagu 2017-01-11 21:21:46 +00:00
Gregory Moore
c337ff9019 Bug 1301640 - Replaced per-platform variants of nsIDateTimeFormat with single, ICU-backed version that has static c++ callers. r=emk
Also removed unused format selectors and removed option to pass in a locale. Changed all callers to use new version.

MozReview-Commit-ID: Gq0b1c3C1eO

--HG--
rename : intl/locale/unix/nsDateTimeFormatUnix.cpp => intl/locale/DateTimeFormatUnix.cpp
extra : source : 7e747433d1c9fae8a0acb4090f61335fcc165e4c
2016-11-21 15:58:37 -08:00
Robert Longson
a88f01d23a Bug 1325858 - Redundant handles open for HKLM\SYSTEM\ControlSet001\Control\TimeZoneInformation r=andrebargull 2016-12-30 16:36:05 +00:00
Masatoshi Kimura
a473040cee Backed out changeset 7e747433d1c9 (bug 1301640) for causing bug 1325751. r=backout
MozReview-Commit-ID: GEYAveO6sUj
2016-12-25 10:43:04 +09:00
Gregory Moore
fc8f05853a Bug 1301640 - Replaced per-platform variants of nsIDateTimeFormat with single, ICU-backed version that has static c++ callers. r=emk
Also removed unused format selectors and removed option to pass in a locale. Changed all callers to use new version.

MozReview-Commit-ID: Gq0b1c3C1eO

--HG--
rename : intl/locale/unix/nsDateTimeFormatUnix.cpp => intl/locale/DateTimeFormatUnix.cpp
extra : rebase_source : 54d8cfd01edce5f0a78c8b5c6eb89a245c12af01
2016-11-21 15:58:37 -08:00
André Bargull
e93f2e8f17 Bug 1323254 - Part 2: Update url to ICU svn repository in update script. r=Waldo 2016-12-13 12:50:45 -08:00
André Bargull
da4c250c9f Bug 1323254 - Part 1: Update in-tree ICU to release 58.2. r=Waldo 2016-12-13 13:15:43 -08: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
Jeff Walden
ac7e932894 Bug 1324536 - Only add/remove files in intl/{icu,tzdata}/{source,SVN-INFO} so that random other detritus in intl/{icu,tzdata} doesn't get included. r=anba
--HG--
extra : rebase_source : 04731d57ce73dce2a10c7e6a45d8dc4c72f6ddd1
2016-12-19 15:28:25 -05:00
Jeff Walden
373b09baf8 Bug 1289882 - Implement an experimental, off-by-default Intl.NumberFormat.prototype.formatToParts function. r=anba
--HG--
extra : rebase_source : 8e2b6032b3676723a58eb1b87c5909176cd51a49
2016-08-08 13:34:37 -07:00
Jeff Walden
619e6dfa67 Bug 1324240 - Ensure every aspect of SVN-INFO is consistently localized to English, rather than picking up the arbitrary locale of the last person to perform an update. r=anba
--HG--
extra : rebase_source : ea3bb6f366fef58acc22bfa178127dca9dcb56cb
2016-12-19 15:20:51 -05:00
Jonathan Kew
72ded08f57 Bug 1323338 - Update IDN tables. r=smontagu 2016-12-17 09:46:52 +00:00
Nicholas Nethercote
7983580fc4 Bug 1323904 - Remove the return value from nsStringBundleService::getStringBundle(). r=emk.
It's unused.

--HG--
extra : rebase_source : 29cd1956a3eaab769fae2b23203d7200661c9fc2
2016-12-16 13:31:22 +11:00
André Bargull
d1745aead9 Bug 1321030: Update tzdata in ICU data files to 2016j. r=Waldo 2016-11-29 15:16:21 -08:00
Masatoshi Kimura
9c32f727eb Bug 1318857 - Unhide nsTSubstring_CharT::StripChars in nsTString_CharT. r=froydnj
MozReview-Commit-ID: CyQhH2y9lbm

--HG--
extra : rebase_source : d733decec808e7a74deefe149672ec4bdbc7f3f1
2016-11-20 00:53:37 +09:00
Masatoshi Kimura
23e3e57a08 Bug 1143644 - Allow IDEOGRAPHIC SPACE in UnEscapeURIForUI r=m_kato
MozReview-Commit-ID: E1WVccrtKRg

--HG--
extra : rebase_source : e7b04b8303689e70fcd02fa997a0e3286c334ff4
2016-11-19 21:41:04 +09:00
André Bargull
af66848eae Bug 1314920 - Update tzdata in ICU data files to 2016i. r=Waldo
--HG--
extra : rebase_source : 3c3b0fa19d7d8f8a47148afaea4290fe6d9b6e65
2016-11-07 10:10:21 -08: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
Carsten "Tomcat" Book
b2a4dc4f2f Merge mozilla-central to mozilla-inbound 2016-11-14 10:35:18 +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
Masatoshi Kimura
c24fbf6d73 Bug 1314624 - Convert SampleWordBreakUsage() to a gtest. r=m_kato
MozReview-Commit-ID: HItg8STx7fD

--HG--
extra : rebase_source : 0b6988ba010173f2b59e69b4d684ca8f4df59823
2016-11-12 15:00:51 +09:00
Jonathan Kew
a4fc79804c Bug 1315986 followup - The static_assert to check Gecko vs ICU versions is only relevant when ENABLE_INTL_API is true. Bustage fix for Android on a CLOSED TREE. 2016-11-09 16:14:58 +00:00
Jonathan Kew
c0d2685148 Bug 1315986 - Update line-break class mapping in nsJISx4051LineBreaker to handle new classes in ICU58/Unicode 9, and add assertions to detect any future additions that will require further updates. r=masayuki 2016-11-09 15:07:54 +00:00
Phil Ringnalda
a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07: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
André Bargull
a934a3b70d Bug 1299615 - Part 3: Update in-tree ICU to release 58.1. rs=Waldo 2016-11-03 05:27:28 -07:00
André Bargull
5400a4420e Bug 1299615 - Part 1: Update ICU patch files to apply cleanly on ICU58. r=Waldo 2016-11-03 05:10:41 -07:00
Nicholas Nethercote
8b5e0633c0 Bug 1314497 (part 2) - Reformat intl/lwbrk/tests/TestLineBreak.cpp.
This patch makes no functional changes.

--HG--
extra : rebase_source : 9b0c1576d3b938037962a2c817845f680d73873d
2016-11-03 13:46:14 +11:00
Nicholas Nethercote
108b8f0823 Bug 1314497 (part 1) - Convert intl/lwbrk/tests/TestLineBreak.cpp to a gtest. r=emk.
This commit does the following.

- Converts the test to a gtest, including renaming the directory.

- Factors out the duplicated checking code into a separate Check() function.

- Avoids printing any output unless a failure occurs. (The gtest harness prints
  out minimal output, like the name of the current test.)

- Removes SampleWordBreakUsage(), which prints some output but doesn't actually
  test anything, and so isn't useful.

--HG--
rename : intl/lwbrk/tests/TestLineBreak.cpp => intl/lwbrk/gtest/TestLineBreak.cpp
rename : intl/lwbrk/tests/moz.build => intl/lwbrk/gtest/moz.build
extra : rebase_source : e673299e237a1a8a3b0a33cfc0a0024ab7dee271
2016-11-03 13:46:12 +11:00
Jonathan Kew
22a661f150 Bug 1301655 - pt 9 - Update test_bug22310.js to remove use of nsIScriptableDateFormat. r=gandalf 2016-10-28 12:04:07 +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
Masatoshi Kimura
ff573c6353 Bug 1312384 - Update windows-1255 converter to reflect a change to the Encoding Standard. r=smontagu
MozReview-Commit-ID: DNN89oY4rCY

--HG--
extra : rebase_source : 695240924df017157c6de22f1de5d34a983f5a3e
2016-10-25 23:34:10 +09: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