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

4800 Коммитов

Автор SHA1 Сообщение Дата
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