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

4982 Коммитов

Автор SHA1 Сообщение Дата
Zibi Braniecki 907ab624b4 Bug 1631593 - Move generateBundles to be stored on Localization C++. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71814
2020-05-19 16:28:05 +00:00
Zibi Braniecki f6d6adc6b3 Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-19 16:27:58 +00:00
Zibi Braniecki 1b6968ba58 Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-19 16:30:42 +00:00
Zibi Braniecki e014d9fa76 Bug 1631593 - Remove unused observers from JSM. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D71676
2020-05-19 16:27:36 +00:00
André Bargull b029ce9ac8 Bug 1557727 - Part 1: Add resources for Intl.DisplayNames to ICU data file. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D52163
2020-05-19 11:17:21 +00:00
Aaron Klotz 87ce5afbf3 Bug 1637452: Part 16 - Fix JNI includes in intl; r=zbraniecki
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75379
2020-05-15 17:06:15 +00:00
Stas Malolepszy dd59a74cce Bug 1637254 - Update docs about fluent.migrate 0.9. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D75108
2020-05-14 06:30:05 +00:00
Nathan Froyd d196dbda07 Bug 1636571 - use GeneratedFile template in intl/; r=firefox-build-system-reviewers,rstewart
The template is slightly nicer and slightly more modern.

Differential Revision: https://phabricator.services.mozilla.com/D74461
2020-05-08 20:36:10 +00:00
André Bargull 57a5eb29e7 Bug 1632434 - Part 1: Update in-tree ICU to release 67.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D72908
2020-04-29 23:47:31 +00:00
Simon Giesecke 844c8bce2a Bug 1626570 - Improve handling of copying arrays in intl/. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D72350
2020-05-05 10:42:23 +00:00
Razvan Maries c2b627950c Backed out 10 changesets (bug 1626570) for build bustages. CLOSED TREE
Backed out changeset a3f17d392234 (bug 1626570)
Backed out changeset 5247e1ddd5d6 (bug 1626570)
Backed out changeset c339fd44c9f8 (bug 1626570)
Backed out changeset 4c69a4c013b3 (bug 1626570)
Backed out changeset e85450d69351 (bug 1626570)
Backed out changeset 793f978248b3 (bug 1626570)
Backed out changeset 68b4c2418d83 (bug 1626570)
Backed out changeset 52d0911d4ad3 (bug 1626570)
Backed out changeset a7d4e3a59ee3 (bug 1626570)
Backed out changeset 6c06d397a5d2 (bug 1626570)
2020-05-05 13:37:08 +03:00
Simon Giesecke ce0c1f66e6 Bug 1626570 - Improve handling of copying arrays in intl/. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D72350
2020-05-05 09:46:19 +00:00
Zibi Braniecki fe12cd1036 Bug 1627809 - Add Localization::AddResourceId and Localization::RemoveResourceId for DOM to use. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D70975
2020-04-30 17:56:24 +00:00
Zibi Braniecki 1427870732 Bug 1627809 - Move Localization.jsm construction to Localization constructor. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D70973
2020-04-30 18:22:38 +00:00
Zibi Braniecki 9211c5cc8a Bug 1627809 - Remove unncessary eager attribute from Localization API. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D70972
2020-04-30 17:55:38 +00:00
Emilio Cobos Álvarez d55b448a0c Bug 1633675 - Avoid various string copies in FluentBundle constructor. r=zbraniecki
We were copying the string in C++, then again in Rust...

Differential Revision: https://phabricator.services.mozilla.com/D73034
2020-04-29 20:11:30 +00:00
André Bargull 1265aecea0 Bug 1633331: Update tzdata in ICU data files to 2020a. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D72588
2020-04-28 08:47:11 +00:00
Simon Giesecke 191a830575 Bug 1628715 - Part 7: Add MOZ_NONNULL_RETURN to infallible nsTArray::AppendElements. r=xpcom-reviewers,necko-reviewers,nika,valentin
Differential Revision: https://phabricator.services.mozilla.com/D70831
2020-04-24 13:31:14 +00:00
Jonathan Kew 3751d26654 Bug 425915 - Use complex line breaker to identify word boundaries in SEAsian languages without interword spaces. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D71206
2020-04-23 14:18:08 +00:00
Jonathan Kew db407a2c45 Bug 1618034 - Strip private subtags in nsLanguageAtomService::GetUncachedLanguageGroup so that we can parse the standard subtags and use the proper font prefs. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D72050
2020-04-23 10:04:18 +00:00
MHD d93413f35e Bug 1629435 - Using bool literals instead of integer literals. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D70825

--HG--
extra : moz-landing-system : lando
2020-04-14 15:17:44 +00:00
Sylvestre Ledru 51ca3d607b no bug - lint doc: Update some old links r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D70576

--HG--
extra : moz-landing-system : lando
2020-04-13 19:48:48 +00:00
Zibi Braniecki cd914eae85 Bug 1621674 - Settle on returning null for missing values/messages out of Localization. r=smaug,stas
Differential Revision: https://phabricator.services.mozilla.com/D70250

--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki a7712e985a Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D66549

--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki fcdb32de94 Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66531

--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:03 +00:00
Stefan Hindli 37b364e264 Backed out 3 changesets (bug 1621674) for causing xpcshell permafailures in browser/extensions/formautofill/test/unit/test_createRecords.js CLOSED TREE
Backed out changeset f45de944f20a (bug 1621674)
Backed out changeset 0b2fdf331bce (bug 1621674)
Backed out changeset 2f7e9c807020 (bug 1621674)
2020-04-08 00:49:16 +03:00
Zibi Braniecki 2f35997cd0 Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D66549

--HG--
extra : moz-landing-system : lando
2020-04-07 20:12:21 +00:00
Zibi Braniecki 7510f5c207 Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66531

--HG--
extra : moz-landing-system : lando
2020-04-07 18:03:46 +00:00
Razvan Maries 24116686ba Backed out 3 changesets (bug 1621674) for newtab perma failures. CLOSED TREE
Backed out changeset f197d83fd8a1 (bug 1621674)
Backed out changeset 939beec809c1 (bug 1621674)
Backed out changeset a657cda5467e (bug 1621674)
2020-04-07 21:00:15 +03:00
Zibi Braniecki 401872b352 Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66549

--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:23 +00:00
Zibi Braniecki 804246b7c6 Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66531

--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:12 +00:00
Jonathan Kew aceaf80ca1 Bug 1595428 - Allow potential line-break after fullwidth comma and period. r=m_kato
(Also fixes the handling of FULLWIDTH OPEN/CLOSE WHITE PARENTHESIS, which do not
map directly to ASCII counterparts.)

Differential Revision: https://phabricator.services.mozilla.com/D69646

--HG--
extra : moz-landing-system : lando
2020-04-07 01:01:58 +00:00
Eric Rahm 832dbc65d1 Bug 1626454 - Remove nsAutoPtr usage from intl/uconv/. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D69125

--HG--
extra : moz-landing-system : lando
2020-04-03 21:05:34 +00:00
sonakshi a6f08454e0 Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67729

--HG--
extra : moz-landing-system : lando
2020-03-31 18:47:30 +00:00
Razvan Maries 40412d7928 Backed out changeset 2515c5b5a0d2 (bug 1622619) for build bustages. CLOSED TREE 2020-03-31 17:18:38 +03:00
sonakshi fc4a38cd03 Bug 1622619 - Replace URIParams with nsIURI in PContent.ipdl r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D67729

--HG--
extra : moz-landing-system : lando
2020-03-31 13:38:55 +00:00
Jonathan Kew 4a5876c846 Bug 1624244 - Exclude Japanese characters KATAKANA-HIRAGANA [SEMI-]VOICED SOUND MARK from the diacritics that can be ignored during search. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D67834

--HG--
extra : moz-landing-system : lando
2020-03-30 13:53:20 +00:00
Sylvestre Ledru 504c3243d5 Bug 1617369 - Reformat intl/l10n/rust/fluent-ffi/ using rustfmt r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D68019

--HG--
extra : moz-landing-system : lando
2020-03-24 16:45:42 +00:00
Alex Henrie 0c84c81f97 Bug 812837 - Define the folded case of Turkish variants of "I" to be simply "i". r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D67092

--HG--
extra : moz-landing-system : lando
2020-03-23 16:57:08 +00:00
Zibi Braniecki 626c2efa7d Bug 1623778 - Improve error reporting for AddResource. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D67695

--HG--
extra : moz-landing-system : lando
2020-03-21 04:05:33 +00:00
Mihai Alexandru Michis 63f586a915 Backed out changeset 41722eea7dd5 (bug 1623778) for causing failures in l10n/test/mochitest/localization/test_format
CLOSED TREE
2020-03-21 04:28:33 +02:00
Zibi Braniecki 7f4b927d9e Bug 1623778 - Improve error reporting for AddResource. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D67695

--HG--
extra : moz-landing-system : lando
2020-03-21 01:13:28 +00:00
Simon Giesecke 7e9a7de895 Bug 1620632 - Rename confusingly named types/macros for relocation handling of nsTArray. r=froydnj
Specifically, this renames
* nsTArray_CopyChooser to nsTArray_RelocationStrategy
* the Copy template argument of nsTArray_base to RelocationStrategy
* nsTArray_CopyWithConstructors to nsTArray_RelocateUsingMoveConstructor
* nsTArray_CopyWithMemutils to nsTArray_RelocateUsingMemutils
* DECLARE_USE_COPY_CONSTRUCTORS to MOZ_DECLARE_RELOCATE_USING_MOVE_CONSTRUCTOR

Differential Revision: https://phabricator.services.mozilla.com/D66243

--HG--
extra : moz-landing-system : lando
2020-03-20 17:04:27 +00:00
Masatoshi Kimura 3df19bc1d4 Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen
Only 3 callers are using a non-UTF-8 charset as the first parameter.
* MediaDocument.cpp: This does not make sense because the "filename" part of
  URLs will always be encoded with UTF-8.
* nsContextMenu.js: This is wrong because "mailto:" URLs don't care about the
  document charset.
* Finder.jsm: This caused bug 1623222.

Differential Revision: https://phabricator.services.mozilla.com/D67386

--HG--
extra : moz-landing-system : lando
2020-03-19 10:45:28 +00:00
André Bargull 55764bc9be Bug 1610512 - Part 4: Update Gecko to Unicode 13. r=jfkthame
Add generated files to "Generated.txt" to exclude them from being linted to
avoid a "trailing whitespace" error in a comment copied over from the original
Unicode files.

Depends on D66557

Differential Revision: https://phabricator.services.mozilla.com/D66558

--HG--
extra : moz-landing-system : lando
2020-03-17 14:09:20 +00:00
André Bargull 5020091e8c Bug 1610512 - Part 1: Update in-tree ICU to release 66.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66555

--HG--
extra : moz-landing-system : lando
2020-03-19 01:09:56 +00:00
Sylvestre Ledru c5ea8090c4 Bug 1622328 - L10nRegistry.jsm: Add the license r=fluent-reviewers,zbraniecki
Depends on D66807

Differential Revision: https://phabricator.services.mozilla.com/D66808

--HG--
extra : moz-landing-system : lando
2020-03-13 19:10:53 +00:00
Zibi Braniecki 3fa4afd67f Bug 1621024 - Skip reporting errors if the file is not found in the L10nRegistry.loadSync. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D66538

--HG--
extra : moz-landing-system : lando
2020-03-16 15:49:58 +00:00
Zibi Braniecki 3f8c67d7fd Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Zibi Braniecki e137e48a88 Bug 1560038 - Use i64 for storing epoch instead of usize. r=emilio
epoch is stored as double in ICU. Storing it as usize caused overflow on 32-bit Windows 7
which resulted in dates being formatted to epoch=0.
This patch switches to use f64 on the Rust side.

Depends on D66504

Differential Revision: https://phabricator.services.mozilla.com/D66872

--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Zibi Braniecki ea853ecb4b Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66504

--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Razvan Maries a34f5e0ded Backed out 2 changesets (bug 1560038) for perma failures on browser_application_panel_list-single-worker.js. CLOSED TREE
Backed out changeset 7cd88f40fc85 (bug 1560038)
Backed out changeset 54dbe282c9ac (bug 1560038)
2020-03-14 00:43:41 +02:00
Zibi Braniecki 44eca5f333 Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-11 23:29:05 +00:00
Zibi Braniecki 8334ed0644 Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66504

--HG--
extra : moz-landing-system : lando
2020-03-13 19:02:21 +00:00
Mihai Alexandru Michis a3ed8c38b3 Backed out changeset 396cfd215808 (bug 1560038) for causing dt failures in browser_application_panel_list-single-worker.js
CLOSED TREE
2020-03-12 00:32:24 +02:00
Zibi Braniecki 7c466415ee Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Zibi Braniecki 97c1c396b4 Bug 1560038 - Add FluentDateTime. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61048

--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Zibi Braniecki 18b3cdb6e8 Bug 1560038 - Add NumberFormat bindgen for Fluent. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57402

--HG--
extra : moz-landing-system : lando
2020-03-11 15:38:12 +00:00
Zibi Braniecki 4cf04c19e6 Bug 1560038 - Add FluentBundle. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54325

--HG--
extra : moz-landing-system : lando
2020-03-11 15:37:39 +00:00
Zibi Braniecki 312c9d7359 Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54324

--HG--
extra : moz-landing-system : lando
2020-03-11 15:36:56 +00:00
Zibi Braniecki 51c9856f7e Bug 1560038 - Add FluentResource. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54323

--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:33 +00:00
Zibi Braniecki 275c56f717 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58858

--HG--
extra : moz-landing-system : lando
2020-03-11 07:17:07 +00:00
Zibi Braniecki be99e44ab9 Bug 1560038 - Fix tests in preparation for the swap to fluent-rs. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D57401

--HG--
extra : moz-landing-system : lando
2020-03-11 04:29:26 +00:00
Daniel Varga a2cbf61a81 Backed out 9 changesets (bug 1560038) for causing build bustage
CLOSED TREE

Backed out changeset 12069dae9b8d (bug 1560038)
Backed out changeset a0845cf79487 (bug 1560038)
Backed out changeset dc2406d01a63 (bug 1560038)
Backed out changeset 1b11616a5ee5 (bug 1560038)
Backed out changeset 06cdc27a39a7 (bug 1560038)
Backed out changeset a390456d9d26 (bug 1560038)
Backed out changeset 7e3d839a3e9d (bug 1560038)
Backed out changeset 0678db762fed (bug 1560038)
Backed out changeset 3b9b16532bf3 (bug 1560038)
2020-03-11 04:53:10 +02:00
Zibi Braniecki 4d2733ee86 Bug 1560038 - Switch uses of FluentBundle to use fluent-rs.
Differential Revision: https://phabricator.services.mozilla.com/D57403

Depends on D61048

--HG--
extra : rebase_source : 0be62fa98f0a91274c96a509eeafceb6da667894
2020-03-10 20:03:59 +02:00
Zibi Braniecki aeceebc56b Bug 1560038 - Add FluentDateTime.
Differential Revision: https://phabricator.services.mozilla.com/D61048

Depends on D57402

--HG--
extra : rebase_source : 5c400a6d96622aa4249eb4df6d6350298d692993
2020-03-10 20:03:59 +02:00
Zibi Braniecki f3fb7c3716 Bug 1560038 - Add NumberFormat bindgen for Fluent.
Differential Revision: https://phabricator.services.mozilla.com/D57402

Depends on D54325

--HG--
extra : rebase_source : aa280aafee4f860bc597e43da29e9baff660e7bb
2020-03-10 20:30:09 +02:00
Zibi Braniecki 0114269ceb Bug 1560038 - Add FluentBundle.
Differential Revision: https://phabricator.services.mozilla.com/D54325

Depends on D54324

--HG--
extra : rebase_source : 1e5118fcdaba1121b775c9afdee8264212c3a5e3
2020-03-10 14:16:07 +02:00
Zibi Braniecki 3d02e9e6cf Bug 1560038 - Add FluentMessage and FluentPattern.
Differential Revision: https://phabricator.services.mozilla.com/D54324

Depends on D54323

--HG--
extra : rebase_source : 24e514ce2b188735a869584e140bc8334d4ab5a6
2020-03-10 14:15:33 +02:00
Zibi Braniecki 8b91a599a2 Bug 1560038 - Add FluentResource.
Differential Revision: https://phabricator.services.mozilla.com/D54323

Depends on D56641

--HG--
extra : rebase_source : 1087ad4b1f401d942f3be65a1a215b0ef7d1a10e
2020-03-10 20:05:06 +02:00
Zibi Braniecki 42a7b711f8 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs
Differential Revision: https://phabricator.services.mozilla.com/D58858

Depends on D57401

--HG--
extra : rebase_source : 83e372046314c15b34b96ae354838910fd3f17f5
2020-03-10 20:04:55 +02:00
Zibi Braniecki cd3c354a56 Bug 1560038 - Fix tests in preparation for the swap to fluent-rs.
Differential Revision: https://phabricator.services.mozilla.com/D57401

--HG--
extra : rebase_source : aa3cff839e85e22e26209e89126d0af01c3ff5c5
2020-03-10 14:11:03 +02:00
Daniel Varga 22ab1c2ce6 Backed out 9 changesets (bug 1560038) for causing build bustages.
CLOSED TREE

Backed out changeset 350df98095f8 (bug 1560038)
Backed out changeset 56dd15fbeced (bug 1560038)
Backed out changeset 570aa7aaceb5 (bug 1560038)
Backed out changeset fc4da4a1c192 (bug 1560038)
Backed out changeset 7c69b0e5fd93 (bug 1560038)
Backed out changeset 1caf41590caf (bug 1560038)
Backed out changeset b4bf28bec6a8 (bug 1560038)
Backed out changeset e923de659c2b (bug 1560038)
Backed out changeset 7f1be4424898 (bug 1560038)
2020-03-10 22:22:40 +02:00
Zibi Braniecki e61d360bfc Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki b0cb42b186 Bug 1560038 - Add FluentDateTime. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61048

--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki 9f8601dc40 Bug 1560038 - Add NumberFormat bindgen for Fluent. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57402

--HG--
extra : moz-landing-system : lando
2020-03-10 18:30:09 +00:00
Zibi Braniecki fed784dcef Bug 1560038 - Add FluentBundle. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54325

--HG--
extra : moz-landing-system : lando
2020-03-10 12:16:07 +00:00
Zibi Braniecki 9cffa798e1 Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54324

--HG--
extra : moz-landing-system : lando
2020-03-10 12:15:33 +00:00
Zibi Braniecki 288da34db6 Bug 1560038 - Add FluentResource. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54323

--HG--
extra : moz-landing-system : lando
2020-03-10 18:05:06 +00:00
Zibi Braniecki 603fc09fd5 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58858

--HG--
extra : moz-landing-system : lando
2020-03-10 18:04:55 +00:00
Zibi Braniecki ee47c3b078 Bug 1560038 - Fix tests in preparation for the swap to fluent-rs. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D57401

--HG--
extra : moz-landing-system : lando
2020-03-10 12:11:03 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Simon Giesecke 65378eb4e0 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in intl. r=hsivonen
Depends on D65290

Differential Revision: https://phabricator.services.mozilla.com/D65291

--HG--
extra : moz-landing-system : lando
2020-03-04 09:11:10 +00:00
Sylvestre Ledru 82b428a40f Bug 1617369 - Reformat intl/ using rustfmt r=zbraniecki,hsivonen
Depends on D64875

Differential Revision: https://phabricator.services.mozilla.com/D64876

--HG--
extra : moz-landing-system : lando
2020-03-03 08:21:47 +00:00
Mike Shal bdf30a6e22 Bug 1618620 - Convert props2arrays.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D64622

--HG--
extra : moz-landing-system : lando
2020-02-28 00:28:24 +00:00
Tooru Fujisawa 9939f785e0 Bug 1612515 - Part 4: Move RunCBindgen.py to /build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D64541

--HG--
rename : layout/style/RunCbindgen.py => build/RunCbindgen.py
extra : moz-landing-system : lando
2020-02-28 14:07:15 +00:00
Kris Maglione c31aa68fb4 Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.

Differential Revision: https://phabricator.services.mozilla.com/D63962

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00
Simon Giesecke aaf6cb4e75 Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63899

--HG--
extra : moz-landing-system : lando
2020-02-25 17:03:36 +00:00
Zibi Braniecki 3895fefe4e Bug 1616999 - Move the ICU include to GTK OSPreferences. r=jfkthame
Depends on D63563

Differential Revision: https://phabricator.services.mozilla.com/D63564

--HG--
extra : moz-landing-system : lando
2020-02-21 15:36:45 +00:00
Zibi Braniecki 6f2e83a1a0 Bug 1616999 - Use unic-langid-ffi new_langid_for_mozilla in fluent-langneg. r=jfkthame
Depends on D63562

Differential Revision: https://phabricator.services.mozilla.com/D63563

--HG--
extra : moz-landing-system : lando
2020-02-21 15:36:15 +00:00
Zibi Braniecki 739a75a9f8 Bug 1616999 - Move LocaleService::IsLocaleRTL to use unic_langid. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D63562

--HG--
extra : moz-landing-system : lando
2020-02-22 00:19:35 +00:00
Zibi Braniecki dcb4bfbaa7 Bug 1616999 - Rename MozLocale::AddLikelySubtags to Maximize following ECMA402 Intl.Locale convention. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D63561

--HG--
extra : moz-landing-system : lando
2020-02-21 21:03:15 +00:00
Zibi Braniecki 9d26727a4e Bug 1607052 - Unify language identifier canonicalization in LocaleService and OSPreferences to use unic_langid, and extend GTK's RegionalPrefs reading to fallback on SystemLocales. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D63393

--HG--
extra : moz-landing-system : lando
2020-02-21 00:39:18 +00:00
Noemi Erli 04fcf27147 Backed out changeset 4f406ca4f899 (bug 1607052) for causing xpcshell failures in test_localeService.js CLOSED TREE
--HG--
extra : rebase_source : c91f40748db91ac3563bd0215f4e707912553502
2020-02-21 02:19:32 +02:00
Mike Shal c8abdd68c2 Bug 1616630 - Use py3_action for GENERATED_FILES that already support it; r=firefox-build-system-reviewers,kvark,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D63438

--HG--
extra : moz-landing-system : lando
2020-02-21 00:05:17 +00:00
Zibi Braniecki 374e0856d0 Bug 1607052 - Unify language identifier canonicalization in LocaleService and OSPreferences to use unic_langid, and extend GTK's RegionalPrefs reading to fallback on SystemLocales. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D63393

--HG--
extra : moz-landing-system : lando
2020-02-20 22:19:42 +00:00
Csoregi Natalia 6360b24e80 Backed out 2 changesets (bug 1616630) for Android bustage. CLOSED TREE
Backed out changeset 15016546c954 (bug 1616630)
Backed out changeset dcb7dc51633b (bug 1616630)
2020-02-20 21:24:11 +02:00
Mike Shal 39492660f4 Bug 1616630 - Use py3_action for GENERATED_FILES that already support it; r=firefox-build-system-reviewers,kvark,rstewart
Depends on D63437

Differential Revision: https://phabricator.services.mozilla.com/D63438

--HG--
extra : moz-landing-system : lando
2020-02-20 16:21:55 +00:00
Noemi Erli 27e963773a Backed out changeset c3e43b7b1376 (bug 1607052) for causing leaks CLOSED TREE 2020-02-20 20:17:46 +02:00
Zibi Braniecki c7b7faf558 Bug 1607052 - Unify language identifier canonicalization in LocaleService and OSPreferences to use unic_langid, and extend GTK's RegionalPrefs reading to fallback on SystemLocales. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D63393

--HG--
extra : moz-landing-system : lando
2020-02-20 17:35:06 +00:00
Simon Giesecke 9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

Differential Revision: https://phabricator.services.mozilla.com/D62604

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Dorel Luca d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke 59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

Differential Revision: https://phabricator.services.mozilla.com/D62604

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
Mike Shal d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Alex Henrie 676b1a533d 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

--HG--
extra : moz-landing-system : lando
2020-02-17 20:42:04 +00:00
Cosmin Sabou ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Brindusan Cristian e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Mike Shal e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Zibi Braniecki 3d1443faf0 Bug 1613569 - Deduplicate resources when generating bundles. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D62621

--HG--
extra : moz-landing-system : lando
2020-02-13 18:41:25 +00:00
Zibi Braniecki 0e3495e946 Bug 1612096 - Update unic-langid && fluent-langneg. r=jfkthame,manishearth
Differential Revision: https://phabricator.services.mozilla.com/D61222

--HG--
extra : moz-landing-system : lando
2020-02-06 17:05:32 +00:00
Alex Henrie d346ee224f Bug 1611568 - Ignore combining diacritic characters when "Match Diacritics" is off. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D61081

--HG--
extra : moz-landing-system : lando
2020-02-10 18:09:05 +00:00
Jonathan Kew 681901607e Bug 1613350 - Update localized quotation marks data to CLDR release 36.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61675

--HG--
extra : moz-landing-system : lando
2020-02-05 12:49:07 +00:00
Mark Banner 53b74572ff Bug 1613139 - Enable ESLint for intl/uconv (manual changes). r=hsivonen
Depends on D61583

Differential Revision: https://phabricator.services.mozilla.com/D61584

--HG--
extra : moz-landing-system : lando
2020-02-05 08:43:49 +00:00
Mark Banner b3e53ab97f Bug 1613139 - Simplify how the intl/uconv tests are set up; pass arguments direct to test functions rather than using globals. r=hsivonen
Depends on D61582

Differential Revision: https://phabricator.services.mozilla.com/D61583

--HG--
rename : intl/uconv/tests/unit/CharsetConversionTests.js => intl/uconv/tests/unit/head_charsetConversionTests.js
extra : moz-landing-system : lando
2020-02-05 08:45:15 +00:00
Mark Banner 4a5936ae45 Bug 1613139 - Enable ESLint for intl/uconv (automatic changes). r=hsivonen
# ignore-this-changeset

Depends on D61581

Differential Revision: https://phabricator.services.mozilla.com/D61582

--HG--
extra : moz-landing-system : lando
2020-02-05 09:04:45 +00:00
Mark Banner 0007396a1a Bug 1613139 - Enable ESLint for intl/locale and intl/strres (manual changes). r=zbraniecki
Depends on D61580

Differential Revision: https://phabricator.services.mozilla.com/D61581

--HG--
extra : moz-landing-system : lando
2020-02-04 15:33:24 +00:00
Mark Banner c4d713de2b Bug 1613139 - Enable ESLint for intl/locale and intl/strres (automatic changes). r=zbraniecki
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D61580

--HG--
extra : moz-landing-system : lando
2020-02-05 09:04:33 +00:00
Brian Grinstead 3d2d2d0ea7 Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop
This patch was generated with a script. It doesn't include all files:

- Files that use the preprocessor or fail to parse are skipped
- Files that are loaded as JSMs but don't use the .jsm extension are skipped (those will be renamed in Bug 1609269)

It was generated with the following command using d855222aa2/no-this-property-read.js:

```
hg revert --all &&
cp .gitignore .rgignore &&
rg --files-without-match -g '*.jsm' '^#endif|^#include|^#filter' | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-read.js --ignore-pattern ./mobile/android/modules/Sanitizer.jsm --ignore-pattern ./js/xpconnect/tests/unit/syntax_error.jsm &&
./mach eslint `hg st | rg '^M ' | sed 's/^M //'`
```

Differential Revision: https://phabricator.services.mozilla.com/D60187

--HG--
extra : moz-landing-system : lando
2020-01-29 21:50:04 +00:00
Zibi Braniecki 47a052741f Bug 1607052 - Cut out the POSIX encoding part from the locale during sanitization. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D60177

--HG--
extra : moz-landing-system : lando
2020-01-22 13:52:23 +00:00
Alex Henrie b670bcef3e Bug 1606731 - Ignore diacritics when searching the browser history. r=jfkthame,mak
Differential Revision: https://phabricator.services.mozilla.com/D58584

--HG--
extra : moz-landing-system : lando
2020-01-22 17:39:56 +00:00
Jonathan Kew 083ae19512 Bug 1293584 - Fix implementation of word-break:keep-all to better follow the spec. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D60275

--HG--
extra : moz-landing-system : lando
2020-01-21 08:02:20 +00:00
Zibi Braniecki 4fb4f2f900 Bug 1609585 - Migrate all possible uses from AppLocalesAsLangTag(s) to AppLocale(s)AsBCP47. r=marionette-reviewers,jfkthame,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D60096

--HG--
extra : moz-landing-system : lando
2020-01-17 19:29:09 +00:00
Axel Hecht c7b5617848 Bug 1601321, rework Fluent migration documentation, r=flod,stas
* Split existing migration document
* Add some overview on migration recipes
* Review legacy migration docs
* Not a lot of changes to the Fluent-to-Fluent parts, intentionally

The changes to the legacy docs are mostly driven by how much
a particular caveat bugged me. There's surely more to do on that doc.

Differential Revision: https://phabricator.services.mozilla.com/D59320

--HG--
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/fluent.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/legacy.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/localizations.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/overview.rst
rename : intl/l10n/docs/migrations/index.rst => intl/l10n/docs/migrations/testing.rst
extra : moz-landing-system : lando
2020-01-10 16:56:03 +00:00
Emilio Cobos Álvarez 278b36aafb Bug 1607816 - Replace mozilla::{Max, Min}Value with std::numeric_limits. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59153

--HG--
extra : moz-landing-system : lando
2020-01-08 16:30:40 +00:00
Jonathan Kew d4c9c481d2 Bug 1606209 - Remove hyphenation-resource telemetry probes that are no longer interesting. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D58349

--HG--
extra : moz-landing-system : lando
2020-01-07 09:37:48 +00:00
Mihai Alexandru Michis c4518fcd8c Backed out changeset 25ec03d2ae24 (bug 1606209) for causing bustages in nsHyphenationManager.cpp
CLOSED TREE
2020-01-07 01:03:33 +02:00
Jonathan Kew c278823866 Bug 1606209 - Remove hyphenation-resource telemetry probes that are no longer interesting. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D58349

--HG--
extra : moz-landing-system : lando
2020-01-06 22:15:16 +00:00
Andreea Pavel 0618bdbfe4 Backed out changeset f34592b66d45 undo typo on a CLOSED TREE 2020-01-06 14:35:59 +02:00
Andreea Pavel e830f0abe2 No bug - fix typo to have a commit to triggering commit ingestion again. CLOSED TREE 2020-01-06 14:16:53 +02:00
Jonathan Kew 72877316d6 Bug 1606744 - Add a default region subtag to the system locale code if GlobalizationPreferences returns a bare language code, to avoid problems with DirectWrite localized font-name API. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D58632

--HG--
extra : moz-landing-system : lando
2020-01-03 17:52:27 +00:00
Zibi Braniecki 2627475cc8 Bug 1605489 - Do not report missing files from L10nRegistry.loadSync to the console. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D58152

--HG--
extra : moz-landing-system : lando
2019-12-27 16:05:26 +00:00
Chris Peterson 406763af7f Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

Differential Revision: https://phabricator.services.mozilla.com/D56440

--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Staś Małolepszy 7f46605b1e Bug 1604839 - Update Fluent.jsm to @fluent/bundle 0.14.1. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D57764

--HG--
extra : moz-landing-system : lando
2019-12-19 17:59:38 +00:00
Jan Horak 1c5b3d792c Bug 1603112 Do not include intl.properties in shared bundles to apply changes from installed langpacks; r=kmag
When the intl.properties is in shared string bundles (ie. in shared memory) the
newly loaded langpacks the intl.properties is not reloaded. This leads for
example to wrong intl.accept_languages setting - en-US, en for any installed
langpack.

Differential Revision: https://phabricator.services.mozilla.com/D57327

--HG--
extra : moz-landing-system : lando
2019-12-18 08:41:09 +00:00
Henri Sivonen 5c2bad25ab Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D56362

--HG--
extra : moz-landing-system : lando
2019-12-12 17:50:19 +00:00
Oana Pop Rus df78d6011c Backed out changeset 0810ad586986 (bug 1551276) for wpt failures in ar-ISO-8859-6-late.tentative.html on a CLOSED TREE 2019-12-12 16:38:54 +02:00
Henri Sivonen 07527a83c9 Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D56362

--HG--
extra : moz-landing-system : lando
2019-12-12 12:59:47 +00:00
Alex Henrie 00867c4809 Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
Differential Revision: https://phabricator.services.mozilla.com/D51841

--HG--
extra : moz-landing-system : lando
2019-12-09 19:26:40 +00:00
Gabriele Svelto 69790bc62e Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55443

--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
Brindusan Cristian 4b11b63400 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 ca467c4b3f Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
Differential Revision: https://phabricator.services.mozilla.com/D51841

--HG--
extra : moz-landing-system : lando
2019-12-05 18:08:20 +00:00
Boris Zbarsky 75124bdd98 Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53067

--HG--
extra : moz-landing-system : lando
2019-12-05 04:44:32 +00:00
Axel Hecht 074c50bcd7 Bug 1587046, fix mistakes in Fluent markup l10n doc, r=stas
There's a few mistakes in the Fluent markup docs, most found
by standard8:

- data-l10n-name is missing
- data-l10n-args needs to be valid JSON
- setAttributes lacks closing `);`
- No nested DOM support (that's not mentioned in the bug)

Differential Revision: https://phabricator.services.mozilla.com/D55831

--HG--
extra : moz-landing-system : lando
2019-12-04 17:23:09 +00:00
Axel Hecht 4dfde3744d Bug 1599045 - part 3, Fluent is the status-quo, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D55127

--HG--
extra : moz-landing-system : lando
2019-12-03 15:43:45 +00:00
Axel Hecht abdae0cda5 Bug 1599045, part 2 - merge compare-locales docs into build docs, r=flod
The "Localization" docs in tools/compare-locales are really mostly
build, so merging that content into the builds doc.

Removing Android parts, add Fluent there, noting DTD deprecation.

Moving the glossary to the actual l10n docs.

With proper top-level structure, show 2 levels of l10n and intl
on the front-matter page.

Differential Revision: https://phabricator.services.mozilla.com/D55126

--HG--
rename : tools/compare-locales/docs/glossary.rst => intl/l10n/docs/glossary.rst
extra : moz-landing-system : lando
2019-12-03 15:43:10 +00:00
Axel Hecht 476d78e55c Bug 1599045, part 1 - untangle l10n from intl documentation, r=flod
We'll be doing redirects at the final stage of this patch queue.

Differential Revision: https://phabricator.services.mozilla.com/D55124

--HG--
rename : intl/l10n/docs/index.rst => intl/l10n/docs/fluent/index.rst
rename : intl/l10n/docs/fluent_review.rst => intl/l10n/docs/fluent/review.rst
rename : intl/l10n/docs/fluent_tutorial.rst => intl/l10n/docs/fluent/tutorial.rst
rename : intl/l10n/docs/fluent_migrations.rst => intl/l10n/docs/migrations/index.rst
rename : intl/docs/localization.rst => intl/l10n/docs/overview.rst
extra : moz-landing-system : lando
2019-12-03 15:42:34 +00:00
Zibi Braniecki d50efd5781 Bug 1597822 - Hook up intl.l10n.pseudo in DOM/chrome. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D53892

--HG--
extra : moz-landing-system : lando
2019-11-26 16:41:55 +00:00
Sylvestre Ledru 8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D54686

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00