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

4758 Коммитов

Автор SHA1 Сообщение Дата
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
Jonathan Kew 828e1b8a82 Bug 1598656 - Ensure RoUninitialize is not called until after the COMPtr<>s have been released. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D54505

--HG--
extra : moz-landing-system : lando
2019-11-25 13:55:05 +00:00
Jonathan Kew fbf91045d0 Bug 1593414 - Try to use the full list of user-preferred languages on Windows to guide CJK font-preference priority. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D54043

--HG--
extra : moz-landing-system : lando
2019-11-21 15:42:00 +00:00
Zibi Braniecki 85728020f5 Bug 1581960 - Use fluent-locale-rs for LocaleService::NegotiateLanguages. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D49991

--HG--
extra : moz-landing-system : lando
2019-11-19 23:07:08 +00:00
Zibi Braniecki 39cfaa9784 Bug 1571915 - Switch MozLocale to use unic-langid. r=emilio,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D49668

--HG--
extra : moz-landing-system : lando
2019-11-19 23:04:06 +00:00
Moritz Birghan 975648e245 Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614

--HG--
extra : moz-landing-system : lando
2019-11-18 13:03:58 +00:00
Jonathan Kew 89f321af1e Bug 1487212 - When hyphenation resources are compressed in omnijar, load them into shared memory and share among all content processes. r=heycam,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52835

--HG--
extra : moz-landing-system : lando
2019-11-14 20:05:58 +00:00
Jonathan Kew 9f628e9a75 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-14 14:07:23 +00:00
Jonathan Kew 895e75b455 Bug 1595645 - Add support for characters with CLASS_CLOSE_LIKE_CHARACTER missed in implementation of word-break:break-all. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D52674

--HG--
extra : moz-landing-system : lando
2019-11-14 10:34:54 +00:00
Gurzau Raul 6831800684 Backed out changeset f0968dabe1ff (bug 1590167) for build bustage at force-cargo-library-build on a CLOSED TREE. 2019-11-14 01:24:59 +02:00
Jonathan Kew 7bb39d9e94 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-13 22:11:22 +00:00
Gurzau Raul 1e2ebb9f42 Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE.
Backed out changeset 4d16c3d62cfc (bug 1575008)
Backed out changeset 97b8c3759aae (bug 1590167)
2019-11-13 21:38:23 +02:00
Jonathan Kew 62b6903f65 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-12 12:05:24 +00:00
Emma Malysz 8a6959fd07 Bug 1594874, remove xbl.properties and instances r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D52281

--HG--
extra : moz-landing-system : lando
2019-11-11 19:31:08 +00:00
Boris Zbarsky 59e9c84c17 Bug 1588260 part 2. Switch nsICollation away from using xpidl [array]. r=peterv,emk
Differential Revision: https://phabricator.services.mozilla.com/D49052

--HG--
extra : moz-landing-system : lando
2019-11-11 18:03:42 +00:00
Csoregi Natalia 2a4ef535b5 Backed out changeset 0ecfae072196 (bug 1590167) for reftest failures on 1507661-spurious-hyphenation-after-explicit.htm. CLOSED TREE 2019-11-08 23:41:05 +02:00
Jonathan Kew c01eaab5f5 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-08 17:33:48 +00:00
Mihai Alexandru Michis 129577da8f Backed out changeset 14e64e208672 (bug 1590167) for causing failures in spurious-hyphenation-after-explicit.html and nsHyphenator.cpp 2019-11-08 15:38:44 +02:00
Jonathan Kew 09fc119a12 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-08 12:33:23 +00:00
Noemi Erli 3e13b4783a Backed out changeset ec5a8a6a37d4 (bug 1594874) for causing Linux build bustages CLOSED TREE 2019-11-08 03:51:10 +02:00
Emma Malysz f52491766c Bug 1594874, remove xbl.properties and instances r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D52281

--HG--
extra : moz-landing-system : lando
2019-11-08 00:10:59 +00:00
Coroiu Cristina 27a753cc4a Backed out changeset 96048cce4b80 (bug 1571656) for xpcshell failures at toolkit/components/places/tests/unifiedcomplete/test_autofill_origins.js on a CLOSED TREE 2019-11-06 22:59:45 +02:00
Moritz Birghan 70c7a633fb Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614

--HG--
extra : moz-landing-system : lando
2019-11-06 18:07:54 +00:00
Alex Henrie 4e325c4480 Bug 969980 - Use case folding for case-insensitive searches. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50940

--HG--
extra : moz-landing-system : lando
2019-10-29 19:56:56 +00:00
Alex Henrie 74cc0f4dce Bug 1591490 - Use the NS_IS_SURROGATE_PAIR macro everywhere. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50697

--HG--
extra : moz-landing-system : lando
2019-10-27 05:05:51 +00:00