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

7739 Коммитов

Автор SHA1 Сообщение Дата
Myeongjun Go d83a7f3703 Bug 1614443 - added browsertime usage command(--browsertime-help) r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D67985

--HG--
extra : moz-landing-system : lando
2020-03-26 12:44:08 +00:00
Gregory Mierzwinski 61a0db5200 Bug 1623055 - Update in-tree browsertime to 8.3.0. r=perftest-reviewers,tarek,AlexandruIonescu
This patch updates the in-tree browsertime to v8.3.0.

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

--HG--
extra : moz-landing-system : lando
2020-03-26 07:58:39 +00:00
byron jones 8559ac6776 Bug 1623544 - Install python3-pip on Debian during bootstrap; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D68160

--HG--
extra : moz-landing-system : lando
2020-03-25 15:31:09 +00:00
Jon Bauman 6ec77fef76 Bug 1624057 - Update mp4parse-rust to 63ca8c6. r=kinetik
Also update the update-rust.sh script in a couple ways:
- Stop copying the source for mp4parse_fallible into the tree; use crates.io
- Include submodules in mp4parse-rust checkout; needed for tests
- Exclude unnecessary build.rs from mp4parse_fallible, it was causing problems
- Update mp4rust_capi/Cargo.toml patch to exclude cdylib. It's only necessary for test_ffi and causes build problems otherwise

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

--HG--
extra : moz-landing-system : lando
2020-03-26 02:08:51 +00:00
Simon Fraser ba6f2afbaa Bug 1623197 Change fzf management check to avoid side effects r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67830

--HG--
extra : moz-landing-system : lando
2020-03-25 10:07:26 +00:00
Simon Fraser f02a5bdd6c Bug 1623328 Handle missing target_task_set in try estimates r=ahal
I'm unsure of the root cause as the file should exist if generate_tasks has worked, but this should avoid errors in the meantime while we investigate.

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

--HG--
extra : moz-landing-system : lando
2020-03-24 16:39:37 +00:00
Kartikaya Gupta 5867f01980 Bug 1624307 - Add a try preset for a Linux/Android F-push. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67858

--HG--
extra : moz-landing-system : lando
2020-03-24 17:05:57 +00:00
James Willcox 2ef4e466f8 Bug 1291377 - Don't use custom linker on Android 6.0+ r=glandium
We still need it for Android < 6.0 (API 23) because otherwise we don't
have a way to hook up mozalloc.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 15:35:48 +00:00
Sylvestre Ledru ec872314a4 Bug 1624355 - coding style doc: Remove some leftover files r=sg
Moved to docs/code-quality/coding-style

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

--HG--
extra : moz-landing-system : lando
2020-03-24 09:35:23 +00:00
Sylvestre Ledru 94abcf9c31 Bug 1624038 - mozlint/shell test - Fix a regression in the lint r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67704

--HG--
extra : moz-landing-system : lando
2020-03-23 19:15:15 +00:00
Dave Townsend 6ed37285b4 Bug 1622717: When parsing an AST allow the chosen parser to override the default scope manager and visitor keys. r=Standard8
There appears to be a bug in babel-eslint where it still uses the old
`ExperimentalSpreadProperty` and `ExperimentalRestProperty` node types when
babel itself (and hence the AST visitor keys) have switched to `SpreadElement`
and `RestElement`. I suspect there isn't much point in filing a babel-eslint
issue for this, they are currently in the process of working on v11 which does
fix the issue but is currently only available as a beta release.

There are three alternatives:

1. Use the beta babel-eslint.
2. Hack the visitor keys to include the old node types.
3. Traverse the AST changing the nodes from the old types to the new types.

Using a beta version is probably not a great idea so this patch does 2 which is
the simplest of the other options. It does have the drawback however that if
any eslint rules we use rely on the new node type names they will fail to work.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 12:58:28 +00:00
Tarek Ziadé 5fb873ad16 Bug 1607522 - improve dependency detection r=sefeng,perftest-reviewers,sparky
When a package is installed with "pip --user", the import works right after the virtualenv activation.
Even if we force its install via mozbuild virtualenv it will fail. This patch checks if the installed package is **inside** or
**outside** the virtualenv. If it's outside, it forces its installation **inside**.

Notice that we might want to move that logic in mozbuild/virtualenv.py

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

--HG--
extra : moz-landing-system : lando
2020-03-20 14:16:34 +00:00
Sylvestre Ledru 79fdde2eb7 Bug 1623320 - mozlint - Run license analysis on dotfiles r=linter-reviewers,ahal DONTBUILD
Depends on D67316

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

--HG--
extra : moz-landing-system : lando
2020-03-21 10:20:32 +00:00
Sylvestre Ledru 00ce6e0715 no bug - mozlint/flake8 - Show the flake8 version in debug mode r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67322

--HG--
extra : moz-landing-system : lando
2020-03-20 18:49:09 +00:00
Sylvestre Ledru 7cfa120eb9 Bug 1623320 - Add support to run mozlint on dotfile r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67316

--HG--
extra : moz-landing-system : lando
2020-03-20 21:51:03 +00:00
Anurag Aggarwal dead557566 Bug 1614820 - Fixed normandy docs not re rendering.r=sylvestre,ahal
Differential Revision: https://phabricator.services.mozilla.com/D66911

--HG--
extra : moz-landing-system : lando
2020-03-20 20:21:07 +00:00
Mark Banner b9bfdfd17c Bug 1623862 - Properly handle errors when the ESLint process fails. r=ahal
In the failure case, errors has value, but output doesn't. So previously we were printing the errors but returning success to the lint handler.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 19:33:46 +00:00
Rob Lemley 4543cab9bf Bug 1622974 - Add global exclude file for Thunderbird mozlint tests. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67078

--HG--
extra : moz-landing-system : lando
2020-03-20 16:51:35 +00:00
Rob Lemley c7061b9ab3 Bug 1622974 - Add mozlint parameter to set additional config file path. r=ahal
Adds --config-paths parameter to mach mozlint where test configuration
files (.yml) can be located. The default path "tools/lint" is set automatically
and additional paths have preference over the default.
This allows Thunderbird to run mozlint-based tests in Taskcluster with a
different configuration.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 17:12:27 +00:00
Bogdan Tara 05377fcd08 Backed out changeset fe0c22951e7c (bug 1291377) for mozglue related Android bustages CLOSED TREE 2020-03-20 16:39:42 +02:00
James Willcox e2c25ee165 Bug 1291377 - Don't use custom linker on Android 6.0+ r=glandium
We still need it for Android < 6.0 (API 23) because otherwise we don't
have a way to hook up mozalloc.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 14:20:48 +00:00
Bogdan Tara a3db8af185 Backed out 3 changesets (bug 1602832) for assertion failing on IOInterposer.cpp CLOSED TREE
Backed out changeset 9123faab0d42 (bug 1602832)
Backed out changeset 4c3764b3d7bc (bug 1602832)
Backed out changeset 9c955a99c95d (bug 1602832)
2020-03-20 14:03:28 +02:00
Kershaw Chang 2086e3d17b Bug 1602832 - P3: Skip failed tests r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67448

--HG--
extra : moz-landing-system : lando
2020-03-19 15:01:44 +00:00
Sylvestre Ledru e6ccb2916d Bug 1623287 - mozlint/license: Fix test for real by generating an incorrect license
Differential Revision: https://phabricator.services.mozilla.com/D67573

--HG--
extra : moz-landing-system : lando
2020-03-19 22:46:30 +00:00
Michael Forney 48e9b9c824 Bug 1615713 - Update breakpad to upstream revision 5bba75bfd6ec386b8e3af0b91332388a378135bf r=gsvelto
This includes several fixes required to build against musl libc.

Conflicts were resolved in 00-arm-exidx-rollup.patch and
10-json-upload.patch. 08-dont-add-sp-to-clobber-list.patch was
applied upstream and is no longer needed. The others applied cleanly.

breakpad_getcontext.S is now built conditionally based upon the
available of getcontext() from libc, rather than only on Android.
The profiler was updated to reflect this change.

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

--HG--
rename : toolkit/crashreporter/breakpad-patches/09-gnu-alt-form-minimal-support.patch => toolkit/crashreporter/breakpad-patches/08-gnu-alt-form-minimal-support.patch
rename : toolkit/crashreporter/breakpad-patches/10-json-upload.patch => toolkit/crashreporter/breakpad-patches/09-json-upload.patch
rename : toolkit/crashreporter/google-breakpad/src/common/android/breakpad_getcontext.S => toolkit/crashreporter/google-breakpad/src/common/linux/breakpad_getcontext.S
rename : toolkit/crashreporter/google-breakpad/src/common/android/breakpad_getcontext_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/linux/breakpad_getcontext_unittest.cc
extra : moz-landing-system : lando
2020-03-19 22:52:26 +00:00
Ed Lee 83b72d6d87 Bug 1623741 - [mozlint] Use python3 and include mozfile now that mozversioncontrol uses it r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D67551

--HG--
extra : moz-landing-system : lando
2020-03-19 21:34:11 +00:00
Sylvestre Ledru 76c375bf85 Bug 1622328 - license list: remove the refreshed items r=ahal
+ Bring back the gpl definition (no issue)

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

--HG--
extra : moz-landing-system : lando
2020-03-19 21:18:55 +00:00
Andrew Halberstadt 3315f2c93c Bug 1623433 - [mozlint] Create a LintProcess utility class to consolidate some of our lint implementations, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67410

--HG--
extra : moz-landing-system : lando
2020-03-19 14:47:34 +00:00
Sylvestre Ledru be18fd4dba Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D67319

--HG--
extra : moz-landing-system : lando
2020-03-19 13:47:51 +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
Sylvestre Ledru 1e0b6c9c84 Bug 1623287 - mozlint/license: Remove a string which valid GPLv3
Differential Revision: https://phabricator.services.mozilla.com/D67300

--HG--
extra : moz-landing-system : lando
2020-03-18 22:08:27 +00:00
Andrew Halberstadt f4ff3c2181 Bug 1623339 - [lint.flake8] Fix path filtering bug when specifying subdirectory of excluded path, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67335

--HG--
rename : tools/lint/test/files/flake8/subdir/exclude/bad.py => tools/lint/test/files/flake8/subdir/exclude/exclude_subdir/bad.py
extra : moz-landing-system : lando
2020-03-18 17:02:34 +00:00
Andrew Halberstadt 9ad2608875 Bug 1623339 - [lint] Honour --no-filter in the flake8 linter, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67333

--HG--
extra : moz-landing-system : lando
2020-03-18 17:02:22 +00:00
William Lachance e4da848fd8 Bug 1623132 - Rewrite printconfigsetting to use configparser, python 3 r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D67210

--HG--
extra : moz-landing-system : lando
2020-03-18 15:07:24 +00:00
Sylvestre Ledru 3f086df181 Bug 1622328 - Add some new license/generated code patterns r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66801

--HG--
extra : moz-landing-system : lando
2020-03-16 11:57:16 +00:00
Julien Wajsberg 90a5bc29a0 Bug 1623067 - Uses a padding for 6 characters instead of 5 for the help of the features bitfield r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D67144

--HG--
extra : moz-landing-system : lando
2020-03-17 22:55:36 +00:00
Chris Fronk d5b004443b Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D64511

--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-17 12:42:12 +00:00
Markus Stange de0a0463d6 Bug 1557570 - Make baseprofiler/core/shared-libraries-linux.cc compile on Android. r=glandium
Stop including "Linker.h" and always include <link.h> instead, which also comes with ElfW() and other things that this code needs.
Also fix up "!/" path detection code.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 03:26:57 +00:00
Gerald Squelart bc32add109 Bug 1622179 - Replace direct dependencies on BlocksRingBuffer with ProfileBufferEntryWriter's where possible - r=canaltinova
This removes most dependencies on BlocksRingBuffer, to ease the transition to
the upcoming Fission-friendly profile buffer, including:
- Length type,
- SumBytes(),
- Gecko extensions of serialization.

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

--HG--
rename : tools/profiler/public/BlocksRingBufferGeckoExtensions.h => tools/profiler/public/ProfileBufferEntrySerializationGeckoExtensions.h
extra : moz-landing-system : lando
2020-03-16 20:32:35 +00:00
Kartikaya Gupta 8881acea8d Bug 1621718 - Use proper email parsing library for parsing patches. r=ahal
This uses the `email` module to parse the .patch file that Github generates,
so that it properly decodes encoded-words in the headers. Also using this
module is better with python3, so this patch also takes the command off the
python2 whitelist and makes it python3-compatible.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 19:46:13 +00:00
Simon Fraser 77fba7508b Bug 1616354 Change priority order for |mach try| push estimates target set r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D66575

--HG--
extra : moz-landing-system : lando
2020-03-16 18:32:11 +00:00
Julian Descottes d58c991801 Bug 1621576 - Add a linter rule to check unbalanced addObserver/removeObserver r=Standard8
Depends on D66369

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

--HG--
extra : moz-landing-system : lando
2020-03-16 12:42:54 +00:00
Nicholas Nethercote 9a11249061 Bug 1621468 - Stop using `fix_stack_using_bpsyms.py` in `dmd.py`. r=gsvelto
This uses `fix-stacks`'s new Breakpad symbols support from
https://github.com/mozilla/fix-stacks/pull/16.

The patch also updates some comments in `dmd.py` to account for some very
slight changes in `fix-stacks`'s output.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 01:15:27 +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
Dave Townsend 8aefbf2bdc Bug 1617959: Switch to the babel-eslint parser and turn on support for optional chaining and nullish coalescing operator syntaxes. r=Standard8
The babel-eslint parser defaults to assuming all scripts are modules. Although
we're moving in that direction it seems reasonable to set the default as regular
scripts for now. All the places that were previously overriding the parser are
already specifying the sourceType in their eslint configs.

I chose to put the babel config in a file that babel itself won't look to avoid
the risk of this config impacting the use of babel elsewhere in the tree.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 19:15:11 +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
Sylvestre Ledru 70e97e578f Bug 1622405 - Remove ConEmu r=dmajor
Depends on D66829

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:15:53 +00:00
Andrew Halberstadt 41e1cf03ee Bug 1603463 - [tryselect] Ignore 'auto' and 'empty' selectors in estimates and history, r=gbrown
Neither of these selectors involve the user choosing tasks, so showing
estimates or saving them in the 'mach try again' history doesn't make much
sense.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:33:51 +00:00
Andrew Halberstadt 2cf0c4fbc5 Bug 1603463 - [tryselect] Add the ability to run 'mach try auto' with alternative scheduling algorithms, r=tomprince
This allows us to change the default optimization strategy used in try pushes.
While probably not super useful to developers, it can help us easily test
changes to new and experimental optimizations on try.

This also changes the default to the 'bugbug_push_schedules' strategy, since
SETA is more or less random and shouldn't be used by 'mach try auto'. In the
future, we'll switch this back to simply using the default optimization as the
default will ideally be the best one that we have.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:32:14 +00:00
Andrew Halberstadt 56ba8a9ddf Bug 1603463 - Implement |mach try auto| which selects tasks on try automatically, r=tomprince
The 'auto' in 'mach try auto' stands for two things:

1. It automatically picks tasks for you.
2. It runs the same scheduling algorithms as autoland.

It accomplishes this by creating a new target_tasks method that spoofs the
'project' parameter to autoland.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:35:43 +00:00