Commit Graph
269 Commits
Author SHA1 Message Date
Byron Campen 39f3b4e006 Bug 1910197: Use cryptography package to handle cert generation instead of pyOpenSSL. r=jmaher
Also, add a function that twisted expects.

Differential Revision: https://phabricator.services.mozilla.com/D218549
2024-08-05 18:22:35 +00:00
stransky 0203c6ffd6 Bug 1532281 [Linux] Don't build with dbus-glib r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D187208
2023-10-12 12:59:08 +00:00
Stanca Serban 9e06f9188b Backed out changeset 50b448b2d902 (bug 1532281) for causing Linux build bustages. CLOSED TREE 2023-09-05 11:38:18 +03:00
stransky 2c12276313 Bug 1532281 [Linux] Don't build with dbus-glib r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D187208
2023-09-05 08:14:21 +00:00
ahochheiden 7f05ed2814 Bug 1695312 - Add the ability for dispatch to ad-hoc load command modules that aren't already loaded r=firefox-build-system-reviewers,glandium
This is really just shuffling a bunch of things around. None of the
'load_*' member functions of the `Mach` class actually needed to be
member functions. They can all be static so that they can be used
anywhere. That combined with moving all the other 'mach_command' logic
to a different file, allows us to load the module for any command so
that we can successfully dispatch it.

Differential Revision: https://phabricator.services.mozilla.com/D184060
2023-07-25 00:24:53 +00:00
stransky 293844a3ea Bug 1835707 [Linux] Use gnome-screenshot by screentopng utility to get screenshot on Wayland r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D179418
2023-05-30 11:34:05 +00:00
Kershaw Chang 2d142517dc Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-16 21:28:58 +00:00
Marian-Vasile Laza 65ec8a9faf Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang f3923d09b5 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-13 11:12:32 +00:00
Byron Campen [:bwc] 3db7b41d9b Bug 1745843: Restrict the version of twisted to something that can work with our vendored attrs. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D169342
2023-02-09 19:44:05 +00:00
Marco Castelluccio 94829b72f1 Bug 1801836 - Remove no longer necessary 'from __future__' imports under testing/. r=linter-reviewers,webdriver-reviewers,perftest-reviewers,ahal,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165399
2022-12-23 10:08:06 +00:00
Marco Castelluccio 7bc1fece21 Bug 1790816 - Reformat testing/ with isort. r=linter-reviewers,webdriver-reviewers,perftest-reviewers,jgraham,gbrown,whimboo,sparky,ahal
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D162657
2022-12-21 14:38:37 +00:00
Joel Maher 30c809bc9a Bug 1804784 - update python psutil in CI to 5.9.3. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D164311
2022-12-09 18:28:56 +00:00
Geoff Brown c02c40c7a6 Bug 1790137 - Remove python 2 support for websocketprocessbridge; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D156994
2022-09-09 22:08:55 +00:00
John Schanck 0c61dbd6f9 Bug 1691122 - Remove subject common name fallback support in CertVerifier. r=keeler,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D143808
2022-04-28 19:48:06 +00:00
Emilio Cobos Álvarez 9b6e53c2cf Bug 1765504 - Make ifdefs match to fix -Wunused.
MANUAL PUSH: Trivial build fix.
2022-04-21 21:38:07 +02:00
ganguin d8686edaf4 Bug 1661450 - 5/8 Fix build system to handle undefined MOZ_X11 r=stransky
Force usage of EGL when building for wayland only.

Enable build component that get disabled by undefined MOZ_X11 but are required
for MOZ_WAYLAND.

Depends on D139530

Differential Revision: https://phabricator.services.mozilla.com/D139531
2022-04-20 09:32:08 +00:00
ganguin edfe488e85 Bug 1661450 - 3/8 Guard wayland specific code with MOZ_WAYLAND r=stransky
Change !GDK_IS_X11_DISPLAY to GDK_IS_WAYLAND_DISPLAY and additionally guard it
with MOZ_WAYLAND to ensure it gets correct in all cases:

* When only MOZ_X11 is defined (thus MOZ_WAYLAND undefined)
* When only MOZ_WAYLAND is defined
* When both MOZ_X11 and MOZ_WAYLAND are defined

Depends on D139528

Differential Revision: https://phabricator.services.mozilla.com/D139529
2022-04-20 09:32:07 +00:00
criss 6d86efe708 Backed out 10 changesets (bug 1661450) for causing build bustages on nsWindow.cpp. CLOSED TREE
Backed out changeset 2c41d82de0c5 (bug 1661450)
Backed out changeset 5f58fcd7ac0b (bug 1661450)
Backed out changeset 62e56a6dcd22 (bug 1661450)
Backed out changeset 4b422ffa729f (bug 1661450)
Backed out changeset 6ca4705772da (bug 1661450)
Backed out changeset 031a6313459f (bug 1661450)
Backed out changeset 06ddf05e97d6 (bug 1661450)
Backed out changeset 4388b1b9aafd (bug 1661450)
Backed out changeset 600f9fd09fa6 (bug 1661450)
Backed out changeset cc5e8efe3ebf (bug 1661450)
2022-04-19 12:25:14 +03:00
ganguin 77ce1a60a6 Bug 1661450 - 5/8 Fix build system to handle undefined MOZ_X11 r=stransky
Force usage of EGL when building for wayland only.

Enable build component that get disabled by undefined MOZ_X11 but are required
for MOZ_WAYLAND.

Depends on D139530

Differential Revision: https://phabricator.services.mozilla.com/D139531
2022-04-19 08:35:27 +00:00
ganguin b97a834215 Bug 1661450 - 3/8 Guard wayland specific code with MOZ_WAYLAND r=stransky
Change !GDK_IS_X11_DISPLAY to GDK_IS_WAYLAND_DISPLAY and additionally guard it
with MOZ_WAYLAND to ensure it gets correct in all cases:

* When only MOZ_X11 is defined (thus MOZ_WAYLAND undefined)
* When only MOZ_WAYLAND is defined
* When both MOZ_X11 and MOZ_WAYLAND are defined

Depends on D139528

Differential Revision: https://phabricator.services.mozilla.com/D139529
2022-04-19 08:35:26 +00:00
Alex Lopez 14596470dc Bug 1388894 - Replace list of mach modules to load with a dict of mach commands r=mhentges
This starts a centralized place to keep track of mach commands with some essential
metadata.

Differential Revision: https://phabricator.services.mozilla.com/D136790
2022-02-02 20:25:21 +00:00
Alex Lopez 9e855ab2e8 Bug 1388894 - Add function in Mach to load commands from files in bulk. r=mhentges
This reduces some code duplication and paves the way for modifying how
Mach loads modules.

The plan is to follow this up by making this function take a more fleshed out 'spec'
that maps command names to the files they're defined at and possibly more metadata.
Since this may affect how Mach works internally (e.g. with lazy loading in the roadmap),
it makes sense to move this logic inside the Mach class.

Differential Revision: https://phabricator.services.mozilla.com/D136789
2022-02-02 20:25:20 +00:00
Mike Hommey 48e9e01469 Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-30 20:56:43 +00:00
Iulian Moraru c7b6c03d9d Backed out changeset 7f9b4b6191ad (bug 1747756) for causing multiple failures. CLOSED TREE 2021-12-30 01:59:26 +02:00
Mike Hommey c20d6f43f8 Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-29 22:18:52 +00:00
Mike Hommey a71fe510de Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-23 20:29:07 +00:00
Cristian Tuns 2a2628c8e6 Backed out 2 changesets (bug 1747165) for causing nightly blockers(bustages) a=backout
Backed out changeset 4b1ab0915c94 (bug 1747165)
Backed out changeset 96043d814772 (bug 1747165)
2021-12-23 08:00:54 -05:00
Mike Hommey e91afd2299 Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-22 23:56:24 +00:00
Iulian Moraru 15a56a4be0 Backed out changeset 950519715871 (bug 1743907) for causing install python package failures. CLOSED TREE 2021-12-10 04:50:20 +02:00
Joel Maher 3d204db335 Bug 1743907 - remove reftest sandbox references to webrender. r=ahal,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D132728
2021-12-09 19:41:48 +00:00
Sylvestre Ledru d5b0405b2e Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=ahal,webdriver-reviewers,perftest-reviewers,whimboo,gerard-majax,alexandru.irimovici
This changed with this:
https://github.com/psf/black/pull/1740

Depends on D130964

Differential Revision: https://phabricator.services.mozilla.com/D130965
2021-11-22 22:10:03 +00:00
Alexandre Lissy 705537c6ee Bug 1726804 - Refactor definition and usage of GECKO_PROCESS_TYPE() r=nika,firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D121388
2021-11-19 14:02:55 +00:00
Alexandru Michis 5ec481c57b Backed out 2 changesets (bug 1726804) for causing sm bustages in geckoprocesstypes.
CLOSED TREE

Backed out changeset bf7f73fd1921 (bug 1726804)
Backed out changeset c9936f7534cb (bug 1726804)
2021-11-19 11:40:59 +02:00
Alexandre Lissy 53c5d162cd Bug 1726804 - Refactor definition and usage of GECKO_PROCESS_TYPE() r=nika,firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D121388
2021-11-19 08:33:42 +00:00
Iulian Moraru b9cb591d75 Backed out 2 changesets (bug 1707591) for causing python mozlint failures on test_yaml.py. CLOSED TREE
Backed out changeset a730ab2d0dbe (bug 1707591)
Backed out changeset 0269849fd7ef (bug 1707591)
2021-11-12 18:44:36 +02:00
Sylvestre Ledru bee69c85be Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=webdriver-reviewers,whimboo,gerard-majax
This changed with this:
https://github.com/psf/black/pull/1740

Differential Revision: https://phabricator.services.mozilla.com/D130965
2021-11-12 15:06:56 +00:00
Byron Campen [:bwc] 07b166e6e5 Bug 1731302: Update python requirements to enable TURN TLS support in the iceserver. r=jmaher
Also, specify the version of autobahn we want, since the latest on our pypi
does not support python 3.6.9, which is what we are using on android and linux.

Differential Revision: https://phabricator.services.mozilla.com/D126019
2021-09-23 17:30:20 +00:00
Byron Campen 7b1871e965 Bug 1730238: Re-enable these tests on windows 2004. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D125443
2021-09-13 23:57:36 +00:00
Mitchell Hentges 7753b911e2 Bug 1717051: Rename "mach_bootstrap.py" to "mach_initialize.py" r=firefox-build-system-reviewers,glandium
We've overloaded "bootstrap" to mean three different things:
* The "standalone bootstrap script": `python/mozboot/bin/bootstrap.py`.
  This is to freshly clone a new repo, then run `./mach bootstrap`.
* `./mach bootstrap`: Install necessary dependencies and set up the
  system for development.
* "Mach bootstrap": do the in-process initialization work Mach needs
  before it can run commands.

By using the term "initialize" instead, perhaps we can remove
ambiguity when discussing Mach.

I'm not attached to the name (or this change at all), but I'm interested
in reviewer thoughts :)

Differential Revision: https://phabricator.services.mozilla.com/D120410
2021-09-03 20:46:22 +00:00
Mike Hommey 288c7fe918 Bug 1721962 - Switch to pkg-config for X11 libraries. r=firefox-build-system-reviewers,jgilbert,andi
Differential Revision: https://phabricator.services.mozilla.com/D121309
2021-07-30 11:39:39 +00:00
Byron Campen 7ddbe75a4d Bug 1717054: Use autobahn instead of txws for websocketprocessbridge r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D118225
2021-06-25 18:27:44 +00:00
surajeet310 527a8ef689 Bug 1714688 - Removed 'if PY3' logic from testing/tools r=mhentges
Python2 is no longer used in testing/tools

Differential Revision: https://phabricator.services.mozilla.com/D118044
2021-06-24 15:27:35 +00:00
Csoregi Natalia 776823de66 Backed out 2 changesets (bug 1714688) for causing Bug 1717578. CLOSED TREE
Backed out changeset 997f00815e6b (bug 1714688)
Backed out changeset 941f6c6c51e3 (bug 1714688)
2021-06-22 19:06:18 +03:00
surajeet310 ff7a3502a6 Bug 1714688 - Removed unnecessary postfix '_3' from 'websocketprocessbridge_requirements_3.txt' r=mhentges
Now that only the file 'websocketprocessbridge_requirements.txt' is used, so the qualifier '_3' is redundant.

Differential Revision: https://phabricator.services.mozilla.com/D118255
2021-06-21 18:46:21 +00:00
surajeet310 637e7df311 Bug 1714688 - Removed 'if PY2' logic from testing/mozharness r=mhentges
Python2 is no longer used in testing/mozharness. Hence,all the instances of file 'websocketprocessbridge_requirements.txt' are removed as it is obsolete now.

Differential Revision: https://phabricator.services.mozilla.com/D118214
2021-06-21 18:46:20 +00:00
Byron Campen [:bwc] bc0390db1a Bug 857668: Teach test TURN server to open additional ports, on which it will respond with 300. r=mjf,ahal
Differential Revision: https://phabricator.services.mozilla.com/D115276
2021-05-27 21:08:37 +00:00
Byron Campen [:bwc] 4adbd29e61 Bug 857668: Some IPv6 fixes and refactoring in the test TURN server. r=mjf,ahal
Differential Revision: https://phabricator.services.mozilla.com/D115275
2021-05-27 21:08:37 +00:00
Byron Campen [:bwc] 1916847f80 Bug 1702323: Get this TURNS server code working again. r=ahal
Not that it helps us on CI, because of bug 1323439, but we can at
least run it locally.

Differential Revision: https://phabricator.services.mozilla.com/D110634
2021-04-05 14:53:00 +00:00
Mike Hommey 883ad833da Bug 1689467 - Allow mach commands in test package to use python 3. r=releng-reviewers,jmaher
Few mach commands require python 2 nowadays. It doesn't make sense to
error out anymore.

Differential Revision: https://phabricator.services.mozilla.com/D103448
2021-01-29 12:08:46 +00:00