Commit Graph

5816 Commits

Author SHA1 Message Date
Tarek Ziadé
b6fd1a9c74 Bug 1631805 - Standardize options r=sparky
- each layer will have an implicit bool argument that's the layer name.
- each argument will be automatically prefixed with --layer-name-xxx
- a layer can set its own args with set_arg() but not other layers' args
- a layer can read all args
- an arg lookup will try in the layer itself first, with or without the layer
  prefix, then in all layers, with the prefix

Differential Revision: https://phabricator.services.mozilla.com/D71896
2020-04-22 15:04:27 +00:00
Tarek Ziadé
6ac291547f Bug 1631966 - prevent mozprofile to own the profile cleanup r=sparky
mozprofile is doing an undeterministic deletion of the profile
based on garbage collection, so we don't when it's happening.
This patch makes it deterministic and prevents double deletion.

Differential Revision: https://phabricator.services.mozilla.com/D71891
2020-04-22 13:21:59 +00:00
Tarek Ziadé
efd5a4fd5a Bug 1631851 - renamed and move --extra-options r=sparky
Moved the option to where it belongs

Differential Revision: https://phabricator.services.mozilla.com/D71890
2020-04-22 13:37:25 +00:00
Matthew Noorenberghe
bc3a45bd19 Bug 1631944 - Add Lockwise as a keyword for login and password preferences. r=jaws,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71830
2020-04-21 23:49:21 +00:00
xuanqi xu
b89b5e73ce Bug 1630873 - Shorten transformer names, and delete an obselete file. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D71700
2020-04-21 16:29:48 +00:00
Brindusan Cristian
c4fd863aaa Backed out 2 changesets (bug 1626174, bug 1625876) for build bustages at LibrarySandboxPreload.cpp and OggDemuxer.cpp. CLOSED TREE
Backed out changeset 40fea0f3ab6c (bug 1626174)
Backed out changeset a3117fce845d (bug 1625876)
2020-04-21 19:29:02 +03:00
shravanrn@gmail.com
f0399f4146 Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers
Depends on D68764

Differential Revision: https://phabricator.services.mozilla.com/D70652
2020-04-21 15:30:37 +00:00
Ricky Stewart
2399f846de Bug 1628838 - Fix mach python on Windows by unsetting PYTHONUNBUFFERED. r=glandium
The existence of this environment variable breaks the Python shell on Windows, so make sure it's unset (but only in this case to avoid regressing bug 1627873).

Differential Revision: https://phabricator.services.mozilla.com/D70542
2020-04-21 14:07:19 +00:00
Tooru Fujisawa
2108f90fcf Bug 1623965 - Improve error message when binary not found while testing. r=glandium,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,Bebe,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67726
2020-04-21 11:58:04 +00:00
Tarek Ziadé
95355d71ce Bug 1631596 - Fix the setup step in the browsertime layer r=acreskey
Adds back the setup step and surfaced clobber/install url

Differential Revision: https://phabricator.services.mozilla.com/D71651
2020-04-21 08:26:02 +00:00
Tarek Ziadé
43fca3ecc1 Bug 1628277 - Created the android layer r=acreskey
also, isolate the profile handling in its layer,
added the --proxy and --profile options

Differential Revision: https://phabricator.services.mozilla.com/D71044
2020-04-20 14:06:10 +00:00
Masatoshi Kimura
8d036ee03e Bug 1631199 - Specify the encoding explicitly when opening backend files to be deleted. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D71459
2020-04-20 15:25:54 +00:00
Bingjing Yan
907c0653c5 Bug 1523736 - migrate updates.dtd to fluent r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69490
2020-04-20 10:41:41 +00:00
Tarek Ziadé
11b953d576 Bug 1630972 - [mozperftest] Put the cycles inside the browser layer r=sparky
Cycles belong to the browser layer

Differential Revision: https://phabricator.services.mozilla.com/D71335
2020-04-17 15:08:25 +00:00
Tarek Ziadé
df5581830d Bug 1630586 - [mozperftest] refactor arguments r=sparky
Refactor out arguments

Differential Revision: https://phabricator.services.mozilla.com/D71168
2020-04-17 14:26:45 +00:00
Julian
2ca7b71c9f Bug 1609562 - Migrate popup-notifications.inc to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D69754
2020-04-17 20:13:27 +00:00
Daniel Varga
60946bafd9 Backed out changeset afe014a1b475 (bug 1523736) for causing build bustages
CLOSED TREE
2020-04-17 19:12:57 +03:00
Bingjing Yan
592cd1dc88 Bug 1523736 - migrate updates.dtd to fluent r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69490
2020-04-17 15:51:22 +00:00
Gijs Kruitbosch
b6f57a5d9e Bug 1629832 - add tooltips to all the window control buttons, r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D71199
2020-04-17 12:55:05 +00:00
Ricky Stewart
a68fb761e8 Bug 1630668 - Fix incompatible type signatures in subclasses of Repository r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D71200
2020-04-16 17:07:19 +00:00
Bob Clary
6caaf2e39b Bug 1630426 - mach should log to stderr if not logging to a file, r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D71107

--HG--
extra : moz-landing-system : lando
2020-04-15 22:33:43 +00:00
Ricky Stewart
c9156704b1 Bug 1630317 - Add a warning if there is an attempt to mach bootstrap from an "old commit" r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D71076

--HG--
extra : moz-landing-system : lando
2020-04-15 20:58:58 +00:00
Tom Prince
01409a49a6 Bug 1630047 - Allow mozversioncontrol to add or remove multiple files at once; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D70938

--HG--
extra : moz-landing-system : lando
2020-04-15 22:16:49 +00:00
Gregory Mierzwinski
7870c996a2 Bug 1628158 - Integrate perftest-notebook into mozperftest. r=tarek
This patch integrates the majority of the mach-perftest-notebook project from the github project to the in-tree mozperftest package/tool. Certain portions of it are disabled in this integration (posting to iodide, and transform searching).

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:24:36 +00:00
Ricky Stewart
cf2b22e357 Bug 1628621 - Ensure whenever we write to the terminal, if ascii or charmap are the default locale, use utf-8 instead. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D70429

--HG--
extra : moz-landing-system : lando
2020-04-15 04:00:15 +00:00
Ricky Stewart
6e90564cb9 Bug 1629159 - Open the mach log-file with the correct mode. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D70606

--HG--
extra : moz-landing-system : lando
2020-04-14 19:00:22 +00:00
Kartikaya Gupta
e9cc085269 Bug 1629595 - Avoid rewriting .mozconfig.json in mixed-python environments. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70708

--HG--
extra : moz-landing-system : lando
2020-04-14 17:47:48 +00:00
Julian
ef534a1b06 Bug 1609557 - Migrate placesContextMenu.inc.xhtml to Fluent. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68733

--HG--
extra : moz-landing-system : lando
2020-04-14 09:13:52 +00:00
Tarek Ziadé
2da872c93f Bug 1627623 - [mozperftest] Implement Andrew's tests r=acreskey
Implements https://github.com/acreskeyMoz/browsertime_on_android_scripts
changes to mach perftest and prototype

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

--HG--
extra : moz-landing-system : lando
2020-04-14 07:46:51 +00:00
Nicholas Nethercote
8139b4051e Bug 1619840 - Remove fix_{linux,macosx}_stack.py and fix_stack_using_bpsyms.py. r=erahm
This commit removes `test_fix_stack_using_bpsyms.py`. That test can't easily be
modified to work with `fix_stacks.py` because it relies on internal
implementation details of `fix_stack_using_bpsym.py`. The unit testing done in
the `fix-stacks` repo provides test coverage that is as good or better.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 06:55:54 +00:00
Mark Striemer
c34d93b70f Bug 1626381 - Include a title on about:addons categories r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D69571

--HG--
extra : moz-landing-system : lando
2020-04-10 06:03:35 +00:00
Mike Hommey
737ee65960 Bug 1581684 - Fix mach mach-completion mach -flag <command> for python 2 commands. r=ahal
This solves an edge case where tab completing a Python 2 command with global
arguments was using the wrong Python version.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 15:42:59 +00:00
Geoff Brown
9ccbc3975a Bug 1457057 - Exit 'mach gtest' with error if debugger not found; r=bc
Simple update to gtest mach command handling of debugger arguments.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 13:57:00 +00:00
Mike Hommey
0e36d45b8a Bug 1628927 - Convert symbolstore.py to python 3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70467

--HG--
extra : moz-landing-system : lando
2020-04-12 00:03:54 +00:00
Csoregi Natalia
8ed108064b Backed out changeset 789cef4e9c6d (bug 1628927) for symbol related bustage. CLOSED TREE 2020-04-11 04:31:34 +03:00
Mike Hommey
e62d5e9a93 Bug 1628927 - Convert symbolstore.py to python 3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70467

--HG--
extra : moz-landing-system : lando
2020-04-10 21:42:18 +00:00
Mike Hommey
8403480b31 Bug 1628498 - Fix corner-case in virtualenv creation. r=rstewart
This also reverts the previous hack around the issue.

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

--HG--
extra : moz-landing-system : lando
2020-04-10 21:40:25 +00:00
Artem
bb5ca86820 Bug 1624713 - Convert editBookmarkOverlay.dtd to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D68118

--HG--
extra : moz-landing-system : lando
2020-04-10 10:56:49 +00:00
Ricky Stewart
50c061e425 Bug 1628683 - Update chrome_map.py to support Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D70376

--HG--
extra : moz-landing-system : lando
2020-04-09 20:49:42 +00:00
Ricky Stewart
c8269c0f4d Bug 1628131 - Import WINFUNCTYPE from the correct module to preserve compatibility across py2/py3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D70430

--HG--
extra : moz-landing-system : lando
2020-04-09 19:13:44 +00:00
Andi-Bogdan Postelnicu
8d21444c67 Bug 1628748 - Switch to python3 seems to have broken the Compiler database backend. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D70394

--HG--
extra : moz-landing-system : lando
2020-04-09 15:54:33 +00:00
Emilio Cobos Álvarez
587d6bcab6 Bug 1628498 - Hackaround: Try to build virtualenv from scratch if there was a previous one. r=rstewart
This works for me and should allow trees to reopen.

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

--HG--
extra : histedit_source : 529e1cb5cdb3030f145f44fc1ebf0ea9ae00aa8f
2020-04-09 17:50:59 +00:00
Andrew Halberstadt
8592f79d9a Bug 1581684 - [mach] Fix regression to mach command completion, r=glandium
Not all callables have a __name__ attribute.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 05:00:20 +00:00
Benjamin Bouvier
0761d2bc71 Bug 1628641: Use OrderedDict.items() in place of Python 2's iteritems; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D70329

--HG--
extra : moz-landing-system : lando
2020-04-09 10:13:49 +00:00
Artem
c864bc38f7 Bug 1609563 - Migrate browser-allTabsMenu.inc.xhtml to Fluent r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D70238

--HG--
extra : moz-landing-system : lando
2020-04-09 06:14:25 +00:00
Gijs Kruitbosch
1e1ef247f3 Bug 1628255 - do not add a label/accesskey attribute to the button in the about:downloads and library downloads views, r=mconley,flod,fluent-reviewers
As noted by Jamie, accessible labels for richlistitem elements come from the
label elements that have value attributes within them.

In bug 1608202, we accidentally reused the same fluent message for the buttons
in about:downloads and the library download view (DownloadsViewUI.jsm) and
the context menuitems that do the same thing. This meant that
those menuitems gained a tooltip they shouldn't have, and the buttons gained
a label and accesskey they shouldn't have. The latter caused the
accessibility regression described in the bug.

This patch separates out the two usecases for the same string. I also checked
the other l10nIds used in DownloadsViewUI.jsm, and as far as I can tell this
is the only one that is reused in this way.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 21:39:14 +00:00
Mike Hommey
ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Mike Hommey
0fb4a38faf Bug 1621436 - Run process_install_manifest with python3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70156

--HG--
extra : moz-landing-system : lando
2020-04-09 00:21:12 +00:00
Lifan Zeng lifanfzeng
c6990491a5 Bug 1608191 - Port profileDowngrade.dtd to Fluent, r=fluent-reviewers,flod,Gijs
https://phabricator.services.mozilla.com/D66648

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:56:45 +00:00
Geoff Brown
dc33776dd5 Bug 1621244 - Ensure all test files are installed, even when running only a subset; r=bc
Most (all?) mach xpcshell-test calls result in calling install_tests(None) while
most mach test calls for the same test/directory result in calling install_tests()
with a collection of test objects. Providing test objects allows install_tests()
to optimize which tests are installed, but there have been several recent bugs
that appear to be related to that optimization. Let's rely less on that optimization
and make things consistent between test/xpcshell-test. (There's a parallel
consideration for test vs mochitest.)

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:30:14 +00:00