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

4442 Коммитов

Автор SHA1 Сообщение Дата
Zibi Braniecki 6ab04fc7a2 Bug 1474786 - Update Fluent to master. r=stas
MozReview-Commit-ID: 5PMKF46TPVM

--HG--
extra : rebase_source : cb1efb34498c6d067cde90e5f999267ce91b08e9
2018-07-10 17:49:02 -07:00
André Bargull 7f4e8b545f Bug 1466471 - Part 6: Import patch to fix case conversion bug. r=Waldo 2018-07-05 07:14:07 -07:00
André Bargull 19d00748a5 Bug 1466471 - Part 5: Regenerate Unicode files after ICU update. r=jfkthame 2018-06-22 05:02:03 -07:00
André Bargull 5f0b43c2d6 Bug 1466471 - Part 2: Update in-tree ICU to release 62.1. rs=Waldo 2018-06-22 04:40:26 -07:00
André Bargull e41342954e Bug 1466471 - Part 1: Update patches for ICU 62. r=Waldo 2018-06-22 04:39:39 -07:00
Kris Maglione 55220193dd Bug 1470771: Follow-up: Fix null deref in Windows GPU process. r=me 2018-06-30 16:37:51 -07:00
Kris Maglione a2b2bbf6b6 Bug 1470771: Part 2 - Update StringBundle memory reporters to account for sharing. r=erahm
MozReview-Commit-ID: 5xRsvLj4Klu

--HG--
extra : rebase_source : 08cdb56e6260ea03c3b5040013289482b5edd44c
extra : absorb_source : 67a548b588e576913181feca037a28493539de35
2018-06-24 15:47:10 -07:00
Kris Maglione bfb5c20c11 Bug 1470771: Part 1 - Don't evict shared bundles from the bundle cache. r=erahm
MozReview-Commit-ID: 6BLN4hOH5fW

--HG--
extra : rebase_source : 445ebef3d6a50c44de6929b32cdbe2bc68daef35
extra : absorb_source : e3152069712927a73a54ca9d8240413f51ddec21
2018-06-24 14:32:19 -07:00
Kris Maglione f66e192f39 Bug 1470716: Remove unused ExtensibleStringBundle support. r=gandalf
MozReview-Commit-ID: HpNjXK0IURv

--HG--
extra : rebase_source : 988d650e15f4082ad0b778163b661ec105d71096
extra : absorb_source : 55ede0cae193e3dfb6c1ce9e1caffe51a9005aa6
2018-06-23 23:12:31 -07:00
Kris Maglione 54bf3bc3c5 Bug 1470608: Remove StringBundleOverride service. r=gandalf
MozReview-Commit-ID: GYEvzmstW54

--HG--
extra : rebase_source : 9ae0a0cef7f4ae0e373f6ace7d26767616881409
extra : absorb_source : 98dae21cc3acda425cc885f7ae473a54a5ac71b4
2018-06-23 22:56:19 -07:00
Kris Maglione e6da28f1ce Bug 1470365: Part 3 - Use shared memory for StringBundles loaded in the content process. r=erahm,smaug
MozReview-Commit-ID: LunnQyndnBf

--HG--
extra : rebase_source : f67e08fc83e8c2e280d886b2d69150c09fb48200
extra : absorb_source : 3b9b226aaca168e3b6537f3031ff22275bd27133
2018-06-29 22:53:12 -07:00
Kris Maglione d89b3482b9 Bug 1470365: Part 2 - Add StringBundle implementation using shared memory maps. r=erahm,gandalf
This adds a basic StringBundle implementation using shared memory maps, but
doesn't yet hook them up to anything. They behave the same as ordinary string
bundles, but have the additional restriction that they are permanent for the
length of the session, and cannot be removed from the cache.

MozReview-Commit-ID: 4juGhhpCWPn

--HG--
extra : rebase_source : 3a9e30eeb64482056ad5c5b1fc480cf1e8333691
extra : absorb_source : e38998a347b641d4fd4243a6a1b7365543fee3c4
2018-06-28 14:45:21 -07:00
Chris Peterson 2afd829d0f 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

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Francesco Lodolo (:flod) b8cbb8c7e1 Bug 1467183 - Add documentation for Fluent migrations, r=gandalf,Pike,stas
MozReview-Commit-ID: 8eaH4SaXfAu

--HG--
extra : rebase_source : a8af1c7613fd4dc50b6bedde45c8a2d61403ee8c
2018-06-07 18:19:00 +02:00
Andi-Bogdan Postelnicu 61063ef470 Bug 1453795 - I18N - Initialize member fields in classes/ structures. r=jfkthame
--HG--
extra : amend_source : 8acc147182e6a4dff7fdb6a324e12628f5211c07
2018-06-14 22:32:49 +03:00
Makoto Kato 128531b424 Bug 1434805 - Use LocaleList on Android N+. r=jchen
Android N+ has new Locale mode that selects multiple locale for font selection.
We should support it to be better locale system selection.

MozReview-Commit-ID: HndldWO5yOd

--HG--
extra : rebase_source : b07608b7c51ae530ccb80f79e24aee6eface4712
2018-06-08 17:35:43 +09:00
Henri Sivonen e4805fd183 Bug 1466807 - Update encoding_rs to 0.8.0. r=emk
MozReview-Commit-ID: 30vmruy1kiL

--HG--
extra : rebase_source : 0e3e489fde0485919cd03529ba5d6d030863bfc1
2018-06-05 13:50:20 +03:00
Kris Maglione 7b7264f453 Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB

--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Francesco Lodolo (:flod) fe5f3fd914 Bug 1467377 - Fix typos in Intl and L10n documentation r=gandalf
MozReview-Commit-ID: 9zP6j7COEiJ

--HG--
extra : rebase_source : 35b44964d38f53f62522d0709b18d7dfa1ca8a9a
2018-06-07 08:20:49 +02:00
Zibi Braniecki a3bf95f8ee Bug 1450781 - Enable pseudolocalization in Fluent. r=mossop
MozReview-Commit-ID: Cs8OubRRur4

--HG--
extra : rebase_source : 10f2ff4983d0785278a030d134a41582e4714f71
2018-06-01 12:37:13 -07:00
Mark Banner 009a516ef4 Bug 1444329 - Remove nsIScriptableUnicodeConverter::convertFromByteArray. r=hsivonen
MozReview-Commit-ID: IPgCK6slIqj

--HG--
extra : rebase_source : f5074678ccaf184e17660699a6e1173a6d951b6f
2018-06-04 11:25:54 +01:00
Emilio Cobos Álvarez fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Zibi Braniecki 2c11915c39 Bug 1438687 - Add Developer documentation for l10n. r=flod,Pike
MozReview-Commit-ID: J3jZuyyRKXM

--HG--
extra : rebase_source : 09023a869d19616e914b1c5494bd57808489003f
2018-04-26 14:19:22 -07:00
Zibi Braniecki 1f437852f1 Bug 1438687 - Add Developer documentation for Intl and mozIntl. r=jfkthame,Pike
MozReview-Commit-ID: HbKJoM66iD6

--HG--
extra : rebase_source : 41b92532ba1fee024b6435ee84f8f6df32bd48b3
2018-04-26 14:19:01 -07:00
Zibi Braniecki 41175a3f18 Bug 1438687 - Add Developer documentation for LocaleService. r=jfkthame,Pike
MozReview-Commit-ID: Jk2BhKBsW8S

--HG--
extra : rebase_source : 13919722aa508cac0f4c9638dc6ff9a6bf4607ce
2018-04-26 14:18:34 -07:00
Zibi Braniecki 81ade958bc Bug 1438687 - Document mozilla::intl::Locale. r=jfkthame,Pike
MozReview-Commit-ID: BzGKIfzR63

--HG--
extra : rebase_source : ecb85fd784636ad19ce9a62368c46747cebe0f10
2018-04-26 14:18:08 -07:00
Kristen Wright 5e4b4031fc Bug 1462138 - Part 1: Add a memory reporter for nsStringBundleService. r=erahm
Added memory reporter in nsStringBundleService. Added SizeOfIncluding/ExcludingThis functions in IStringBundle, StringBundle, ExtensibleStringBundle, PersistentProperties, StringBundleTextOverride.

--HG--
extra : rebase_source : 0756ed2181f02ffe42dd94db282ddf3dfa59047c
2018-05-18 13:16:31 -07:00
Zibi Braniecki 1c5fcde883 Bug 1453765 - Switch Fluent from warning to throwing errors when in debug/testing mode. r=Gijs
MozReview-Commit-ID: 1y7FTCPWRxb

--HG--
extra : rebase_source : fb4d20e383efd64bbdfce5ca1d78aca40716b57a
2018-05-22 20:49:29 -07:00
Csoregi Natalia acd92af57e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-23 01:02:30 +03:00
Zibi Braniecki 1627230c81 Bug 1462958 - Avoid infinite recursion if resourceIds is empty. r=mossop
`generateContextsForLocale` didn't have a condition for when `resolvedLength`
equals `resourcesLength` which triggeres an infinite recursion when `resourceIds` is
empty.

MozReview-Commit-ID: Csy1ROTfbE2

--HG--
extra : rebase_source : 587477279ed89bf17cd3243ae291222ecd9d34b4
2018-05-19 20:14:00 -07:00
Kris Maglione 6b12d08f7d Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
MozReview-Commit-ID: Iv4T1MVAF5

--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
Mike Hommey 42e9fd70c8 Bug 1462859 - Add --disable-layoutex when running ICU configure. r=froydnj
In some recent ICU update, --enable-layoutex changed from defaulting to
the "same-as-layout" to "yes", so --disable-layout doesn't imply
--disable-layoutex anymore, but we removed the layoutex files.

--HG--
extra : rebase_source : 4343c37d840aec94adcb8ccb7571969d6c0979e0
2018-05-19 11:23:18 +09:00
Zibi Braniecki 93ac8e7357 Bug 1461048 - Convert Fluent API calls to FluentDOM 0.3.0. r=mossop
MozReview-Commit-ID: K3eA8blcP2x

--HG--
extra : rebase_source : 8aca3e850d9c8f87e13aa5d1dcad588b9a272a94
2018-05-14 12:37:41 -07:00
Zibi Braniecki 1fc028c7d8 Bug 1461048 - Update FluentDOM to 0.3.0. r=mossop
MozReview-Commit-ID: FKHICfiqXVr

--HG--
extra : rebase_source : 93258d2425509bbdc2a4a9e77b98ed87da526af0
2018-05-14 12:14:27 -07:00
André Bargull a72259bbca Bug 1459285: Update tzdata in ICU data files to 2018e. r=Waldo 2018-05-09 01:12:01 -07:00
Chris Peterson 71422dcaa9 Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L

--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Zibi Braniecki 09e02253d3 Bug 1456565 - Fetch fallback locale eagerly in Fluent. r=stas
MozReview-Commit-ID: A9wBGxzdD2m

--HG--
extra : rebase_source : 5b8cd54faff389e9a94412b3ec928f1c36bdd4a2
2018-04-24 10:31:59 -07:00
Noemi Erli f296f0fe18 Backed out changeset 7f536b6a56e9 (bug 1456565) for Linting failures on a CLOSED TREE 2018-04-27 02:12:56 +03:00
Zibi Braniecki 15975eb37c Bug 1456565 - Fetch fallback locale eagerly in Fluent. r=stas
MozReview-Commit-ID: A9wBGxzdD2m

--HG--
extra : rebase_source : 1304e1e28a67b290c24f637ab68377e1d5c75646
2018-04-24 10:31:59 -07:00
Francesco Lodolo (:flod) 34c68c67c3 Bug 1454573 - Update languageNames.properties with missing locales: crh, mai, meh, mix r=m_kato
Also add missing locales to langGroups.properties (an, ast, az, uz) and language.properties (son)

MozReview-Commit-ID: 2dAOly4wxHm

--HG--
extra : rebase_source : 60adf737549f8bcd30bde205c82aa5d783c867d2
2018-04-19 11:50:19 +02:00
Zibi Braniecki 0b6e1bc746 Bug 1455048 - Revert the workaround added to Fluent for microtasks bug. r=mossop
MozReview-Commit-ID: AFpNRPfJpm7

--HG--
extra : rebase_source : 8b6b8a0733651c96e46a0e24a3cd11dddd2d0aff
2018-04-18 11:05:19 -07:00
André Bargull 1617c8c2c1 Bug 1447442 - Part 16: Replace MOZ_BEGIN_EXTERN_C in C++ header jspubtd.h and remove unused includes and declarations. r=jorendorff
--HG--
extra : rebase_source : 8103f7b6a3a4fc813c9a7b2355223357d46e7d35
2018-04-13 02:26:02 -07:00
Zibi Braniecki 4d776835e7 Bug 1450656 - Canonicalize ja-JP-mac to ja-JP-macos and use BCP47 version in Fluent. r=jfkthame
MozReview-Commit-ID: 2UbD2T8yyGm

--HG--
extra : rebase_source : 1e9f9c4ab8c97240edb3eb8e2e9d611fff907d7f
2018-04-10 14:19:05 -07:00
Zibi Braniecki b4b2c33b2d Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
MozReview-Commit-ID: La8uSw0sq4p

--HG--
extra : source : 658fedb903d0f037289ffb80026ddea376400caa
2018-04-11 13:06:35 -07:00
Coroiu Cristina 7e1be34a07 Backed out 4 changesets (bug 1453480) for failing browser-chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE
Backed out changeset 623b37fe0fe8 (bug 1453480)
Backed out changeset a3c36fa7ac0c (bug 1453480)
Backed out changeset 46a634d6853c (bug 1453480)
Backed out changeset 658fedb903d0 (bug 1453480)
2018-04-13 19:49:14 +03:00
Zibi Braniecki a8f62de0ae Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
MozReview-Commit-ID: La8uSw0sq4p

--HG--
extra : rebase_source : 95181fb06ec75c36ebc2c234fdac68956b9e049e
2018-04-11 13:06:35 -07:00
Sebastian Hengst 0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Coroiu Cristina 5061cec60a Backed out 3 changesets (bug 1453480, bug 1453878) for c2 failures at intl/l10n/test/dom/test_domloc_overlay.htm and browser-chrome failures at browser/components/preferences/in-content/tests/browser_fluent.js on a CLOSED TREE
Backed out changeset 8dd86546cc66 (bug 1453878)
Backed out changeset 6b5e7c13eb8c (bug 1453480)
Backed out changeset 385de3e4dca0 (bug 1453480)
2018-04-13 08:51:13 +03:00
Zibi Braniecki cc0beb7960 Bug 1453878 - Follow-up to fluent-dom to 0.2.0 landing. r=gandalf
MozReview-Commit-ID: D5jgJWzrDlX

--HG--
extra : rebase_source : 316dd7c060ddc0c023f601f8bb8ab91640c19c4e
2018-04-12 22:20:05 -07:00
Zibi Braniecki e3ad17f498 Bug 1453480 - Update fluent to 0.6.4 and fluent-dom to 0.2.0. r=stas
MozReview-Commit-ID: La8uSw0sq4p

--HG--
extra : rebase_source : 27e3611a5bb7abc11e8663186c6e4b1812a7f34b
2018-04-11 13:06:35 -07:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Bobby Holley 2b985ab718 Bug 1451421 - Add a ToLowerCaseASCII utility method for nsAtom. r=hisvonen 2018-04-06 15:30:15 -07:00
Jonathan Kew f919345739 Bug 1450724 - Fix potential build failure due to #defines from hnjalloc.h affecting other files included by hnjstdio.cpp. r=felipe 2018-04-03 10:01:03 +01:00
André Bargull 885f7cd752 Bug 1449574: Update tzdata in ICU data files to 2018d. r=Waldo
--HG--
extra : rebase_source : 31cf8dfab7a49519a56b5eefc4d0c711c0ddf645
2018-03-29 10:02:57 -07:00
André Bargull 4669025773 Bug 1445465 - Part 2: Update in-tree ICU to release 61.1. rs=Waldo
--HG--
extra : rebase_source : 581636d37a7aa1ed6044dd0729aeeaab97d3e57a
2018-03-27 07:37:54 -07:00
André Bargull 6847ff4290 Bug 1445465 - Part 1: Remove ICU patch no longer needed with ICU 61. r=Waldo
--HG--
extra : rebase_source : bea346207d1471f8397533b19b3f8658192830fa
2018-03-27 07:10:44 -07:00
Gurzau Raul d117255a14 Merge inbound to mozilla-central. a=merge 2018-03-29 00:55:16 +03:00
Henri Sivonen 66f351684b Bug 1448786 - Avoid UTF8ToUnicodeBuffer in OSPreferences_win.cpp. r=gandalf
MozReview-Commit-ID: 7a11ogGXo8E

--HG--
extra : rebase_source : b07613849ee7739066314b2b66b01078c8a7beec
2018-03-26 15:42:27 +03:00
Zibi Braniecki afbdd10615 Bug 1448891 - Lowercase private use tags in MozLocale in accordance with BCP47. r=jfkthame
MozReview-Commit-ID: 2mpCbJlevu4

--HG--
extra : rebase_source : d0835bbe17a87f511ede57c114cb4015a7c7bc1d
2018-03-27 07:11:27 +02:00
Zibi Braniecki c1d66520bf Bug 1447189 - Support BCP47 private use subtags in MozLocale. r=jfkthame
MozReview-Commit-ID: LJSb3vTENR5

--HG--
extra : rebase_source : ec7023f3722b1d925a5b3684852331e5a8e7796f
2018-03-22 15:19:15 -07:00
Henri Sivonen 21af10d5f4 Bug 1445692 - Remove UTF8InputStream. r=froydnj
MozReview-Commit-ID: 1az5nkKTkru

--HG--
extra : rebase_source : 6a21b4dad71ea351a51c741977b36dfb562c608b
2018-03-14 20:53:18 +02:00
Jonathan Kew 9ff23d9c3a Bug 1448771 - Merge fix from upstream. r=ryanvm 2018-03-26 20:35:48 +01:00
Jonathan Kew 0637c3d96d Bug 1448771 - Update hnjstdio to handle additional functions from stdio.h that libhyphen wants to use. r=glandium 2018-03-28 10:17:51 +01:00
Zibi Braniecki bb82a08086 Bug 1345957 - Tighten LocaleService::NegotiateLanguages input handling. r=jfkthame
MozReview-Commit-ID: 9ZxHI0RpYpi

--HG--
extra : rebase_source : 1db7f4b41f62acfd8e654fa2bdf9bfabb7350f0a
2018-03-06 18:54:57 -08:00
Gurzau Raul 3057041352 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 19:58:27 +02:00
Steve Fink 973f0383bc Bug 1446254 - Update various files for move to non262/, r=Waldo
--HG--
extra : rebase_source : c723ffc20d4acc02cadd1c27b747ab3e08f60617
2018-03-15 21:42:33 -07:00
Sebastian Hengst d247fb5f4e Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe

--HG--
extra : rebase_source : c8f1dc45041132252e28869ada6a386270267431
2018-03-14 21:44:46 +01:00
Zibi Braniecki a715714c3c Bug 1438613 - Remove explicit observer unregistering from Fluent. r=mossop
MozReview-Commit-ID: 3SavwzU9ZQD

--HG--
extra : rebase_source : 97a5a8d661d93ac3a35635bab527990b47d3b35c
2018-02-15 11:06:52 -08:00
Zibi Braniecki 314d9393b8 Bug 1443697 - Fix nits in Fluent for Firefox Developers. r=flod
MozReview-Commit-ID: 4QSBa01XXp3

--HG--
extra : rebase_source : 1d68adcced17cb5904f8a87aadc2f4a7309f17c1
2018-03-06 17:48:17 -08:00
Zibi Braniecki a17ecedb71 Bug 1438608 - Improve error reporting of Fluent missing strings. r=stas
MozReview-Commit-ID: 5HOsUGtDi3V

--HG--
extra : rebase_source : 14bae133efb1338813145c9c8a543302a1b0c0db
2018-03-06 01:25:23 -08:00
Zibi Braniecki e0dc62fb37 Bug 1363862 - Use Node.localize for fragment translation in Fluent DOM. r=stas
MozReview-Commit-ID: 1zAbSMapi86

--HG--
extra : rebase_source : 5b0ca1113bf99f6308db4655ebaec0ab6f2eb416
2018-03-01 16:49:37 -08:00
Zibi Braniecki db6356be2b Bug 1438655 - Add Introduction to Fluent for Firefox Developers. r=flod
MozReview-Commit-ID: 33v3OTFYRHi

--HG--
extra : rebase_source : 27c549ae74fd9f132a8066e864d570b9e3218e91
2018-02-27 23:52:26 -08:00
Matt Brubeck c01458e74e Bug 1381576 - Remove reference to obsolete encoding_rs/parallel-utf8 feature. r=ted
MozReview-Commit-ID: D5YdCGTBuL

--HG--
extra : source : 1ea18b70b170502da444405f233f925c58e1266d
2018-03-01 13:02:02 -08:00
shindli 0ba01aed1b Backed out 3 changesets (bug 1381576) for Bugzilla linting failure on a CLOSED TREE
Backed out changeset 3bc1743ad418 (bug 1381576)
Backed out changeset bbae7807c164 (bug 1381576)
Backed out changeset 1ea18b70b170 (bug 1381576)
2018-03-02 21:17:20 +02:00
Matt Brubeck 29e544108f Bug 1381576 - Remove reference to obsolete encoding_rs/parallel-utf8 feature. r=ted
MozReview-Commit-ID: D5YdCGTBuL

--HG--
extra : rebase_source : dea337046b7fb8491bb9c4d59b4d0c2e43cf6516
extra : histedit_source : d8abdea214803e323f0ac87d6916491a67513fc2
2018-03-01 13:02:02 -08:00
Florian Quèze c546946f86 Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8. 2018-02-28 18:51:34 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Brian Grinstead 97119973ca Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.

MozReview-Commit-ID: 9ojFxtkpPId

--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Jonathan Kew 37d0b4ea9b Bug 1440943 - Make GetScriptTagForCode safely return UNKNOWN tag if called with a script code that is out of range for the system ICU version. r=m_kato 2018-02-27 10:34:25 +00:00
Florian Quèze 682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Dorel Luca 6ad641c5c4 Merge mozilla-inboud to mozilla-central. a=merge 2018-02-22 11:59:54 +02:00
Jason Orendorff a48654929c Bug 1439665 - Part 1: #include some headers directly in files that use them. r=sfink.
"Include what you use."

--HG--
extra : rebase_source : 2239a380029e0efbc9dd3042459222a67c38d70f
extra : amend_source : 4453c32cc469caa592049167205666997f1a1e7b
extra : histedit_source : a533edd4a4d3d0642b08989e93674661d27baa6a%2C37d27eeef9580381ccc0de8507f60166dabf1730
2018-02-20 11:28:12 -06:00
Zibi Braniecki 6078ba1b11 Bug 1439018 - Temporarily disable bidi isolation in Fluent due to Microsoft not supporting FSI/PDI. r=stas
MozReview-Commit-ID: FTJyG4UhQA

--HG--
extra : rebase_source : f1e77036d03778c602a3265df6f759a748cbf825
2018-02-19 22:24:40 -10:00
Zibi Braniecki e3306c96dc Bug 1440188 - Fix eslint error from adding intl/l10n to eslint. r=gandalf
MozReview-Commit-ID: 8um44N5dZUv

--HG--
extra : rebase_source : 5d1a01c53a585bca9e396543bf29e3ee3b8565d9
2018-02-21 18:36:30 -08:00
Zibi Braniecki c797a57c90 Bug 1428769 - Add intl/l10n to be covered by eslint. r=Pike
MozReview-Commit-ID: 6Mu1A8xkxn4

--HG--
extra : rebase_source : e62867d32b0062a6aa076572b85fb9cec7afb81a
2018-02-20 14:02:54 -10:00
Zibi Braniecki 5849ff1145 Bug 1431260 - Migrate LocaleService::AvailableLocales from ChromeRegistry to multilocale.txt. r=jfkthame
MozReview-Commit-ID: 6S4VaAvDako

--HG--
extra : rebase_source : ea6ae09971a7cbf617081836079cb875ffe4cb18
2018-02-13 23:41:39 -08:00
Zibi Braniecki 06102292c3 Bug 1437427 - Workaround promise/microtask bug with a callback in Fluent runtime. r=Pike
MozReview-Commit-ID: 9uJpEHHBv8w

--HG--
extra : rebase_source : f09277ad5f2ea4a61d1f7ba9b908b35af9dd3360
2018-02-13 12:26:31 -08:00
Zibi Braniecki 168adb6f0b Bug 1438055 - Switch Fluent Localization class to use weak observers. r=mossop
MozReview-Commit-ID: 4R8OyziLRUo

--HG--
extra : rebase_source : 8a26c97c30e46af0a5f77060066046cd91ccb64c
2018-02-13 16:25:41 -08:00
Zibi Braniecki b9f1a4ecba Bug 1426063 - Add PLATFORM built-in to Fluent in Gecko. r=Pike
In order to allow localizations to produce different string depending on the
platform, we need to add a Gecko-specific built-in function to the MessageContext.

I'm explicitly listing the variables which we pass, rather than just passing the value
in order to ensure we don't start returning values we didn't plan for in case
the AppConstants.platform gets updated.

MozReview-Commit-ID: 1KZ6bf6zIY2

--HG--
extra : rebase_source : ce75c2c32bfb29b10b6ddbcaf6a71e2bf4cd4315
2017-12-20 14:25:10 -08:00
Zibi Braniecki 5fe1b2b553 Bug 1436790 - Update Fluent in Gecko to 0.6.2. r=Pike
MozReview-Commit-ID: BC2oTIGLips

--HG--
extra : rebase_source : b7d5122123ff49a2332d3848e235c0c6ae1c0921
2018-02-08 10:59:29 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Coroiu Cristina 6276356615 Merge mozilla-central to autoland on a CLOSED TREE 2018-02-02 19:43:07 +02:00
André Bargull 9129fc5348 Bug 1430761: Update tzdata in ICU data files to 2018c. r=Waldo 2018-02-01 05:36:03 -08:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Zibi Braniecki 8cebbf96af Bug 1435002 - Move Fluent's l10n.js to MozBeforeInitialXULLayout. r=smaug
MozReview-Commit-ID: GC9Yq9TxXyC

--HG--
extra : rebase_source : 10c9b5f1e6c62c12725f2814aabf28dbb175f0bf
2018-01-15 18:00:43 -08:00
Cosmin Sabou 7092b51729 Merge mozilla-central to autoland. a=merge on CLOSED TREE 2018-02-01 01:19:48 +02:00
Jonathan Kew 1640aa8219 Bug 1434169 - Update expectations in test_localeService_negotiateLanguages.js to NOT expect case/underscore normalization. r=gandalf 2018-01-31 20:28:51 +00:00
Jonathan Kew 12930d0cf2 Bug 1434169 - LocaleService::NegotiateLanguages should return locales in exactly the form they were provided in the availableLocales list, not case-normalized. r=gandalf 2018-01-31 20:28:51 +00:00
Zibi Braniecki 64594123bb Bug 1426054 - Update Fluent in Gecko to 0.6. r=Pike
This upstream uses fluent.js revision ae1b55a.

MozReview-Commit-ID: 1IynCPWWN14

--HG--
extra : rebase_source : d76bd81668e447e7fe8b62cf0834f040c32f6982
2018-01-26 14:01:34 -08:00