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

4749 Коммитов

Автор SHA1 Сообщение Дата
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
André Bargull 9ff5de7a1b Bug 1583269 - Part 4: Update language tag mappings for CLDR 36. r=jwalden
Depends on D49445

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

--HG--
extra : moz-landing-system : lando
2019-10-19 01:39:59 +00:00
André Bargull e96ab7f00d Bug 1583269 - Part 2: Update in-tree ICU to release 65.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D49443

--HG--
rename : intl/icu/source/i18n/numparse_stringsegment.cpp => intl/icu/source/i18n/string_segment.cpp
rename : intl/icu/source/data/buildtool/__init__.py => intl/icu/source/python/icutools/databuilder/__init__.py
rename : intl/icu/source/data/buildtool/comment_stripper.py => intl/icu/source/python/icutools/databuilder/comment_stripper.py
rename : intl/icu/source/data/buildtool/locale_dependencies.py => intl/icu/source/python/icutools/databuilder/locale_dependencies.py
rename : intl/icu/source/data/buildtool/renderers/__init__.py => intl/icu/source/python/icutools/databuilder/renderers/__init__.py
rename : intl/icu/source/data/buildtool/renderers/makefile.py => intl/icu/source/python/icutools/databuilder/renderers/makefile.py
rename : intl/icu/source/data/buildtool/test/__init__.py => intl/icu/source/python/icutools/databuilder/test/__init__.py
rename : intl/icu/source/data/buildtool/test/__main__.py => intl/icu/source/python/icutools/databuilder/test/__main__.py
rename : intl/icu/source/data/buildtool/test/filtration_test.py => intl/icu/source/python/icutools/databuilder/test/filtration_test.py
extra : moz-landing-system : lando
2019-10-19 01:25:24 +00:00
André Bargull da21d4fea0 Bug 1583269 - Part 1: Remove custom patch to add thread-safety to icu::TimeZone::adoptDefault. r=jwalden
The custom patch is no longer necessary now that <https://unicode-org.atlassian.net/browse/ICU-20595>
has been fixed. Also inline `icu::TimeZone::recreateDefault` into its sole caller and then remove
this API addition.

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

--HG--
extra : moz-landing-system : lando
2019-10-19 01:23:08 +00:00
Geoff Brown c906073cd5 Bug 1585119 - Re-enable many mochitests on android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.
With the additional tests running, task times increase; I have added one
more test chunk for android mochitest-plain.
These tests were identified from a random sampling of mochitest manifests;
I intend to enable more mochitests in future patches.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 15:07:09 +00:00
Francesco Lodolo (:flod) e0d471ca93 Bug 1587728 - Add documentation for Fluent to Fluent migrations r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D48822

--HG--
extra : moz-landing-system : lando
2019-10-11 13:18:37 +00:00
Dave Townsend 1c67b00d98 Bug 1586216: Fallback to a synchronous channel load if the url preloader cannot load the ftl file. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48726

--HG--
extra : moz-landing-system : lando
2019-10-09 17:50:33 +00:00
Ricky Stewart c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

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

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
André Bargull b00d4ce2c4 Bug 1429776: Use recommended ICU build options flags. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D41043

--HG--
extra : moz-landing-system : lando
2019-10-07 13:43:24 +00:00
Daniel Varga 052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00