Commit Graph

8917 Commits

Author SHA1 Message Date
David Major
a6a4043334 Bug 1630661 - Fix webaudio querystring to autostart for PGO r=padenot
One of the recent changes made it so that the test doesn't start on its own unless the URL has "raptor".

I've confirmed that this
- Does not swamp out the profdata file
- Does not regress displaylist-mutate
- Improves the webaudio score

Differential Revision: https://phabricator.services.mozilla.com/D71197
2020-04-16 16:48:07 +00:00
Tetsuharu OHZEKI
10d22df012 Bug 1594283 - part 2: Rename nsIDocShell::GetSameTypeParentIgnoreBrowserBoundaries to nsIDocShell::GetSameTypeInProcessParentIgnoreBrowserBoundaries. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70549

--HG--
extra : moz-landing-system : lando
2020-04-14 19:17:21 +00:00
Axel Hecht
6fc0ca0a3b Bug 1628663, mach vendor python for l10n, move files to final destination, r=firefox-build-system-reviewers,rstewart
We've used to install both fluent.syntax and fluent.migrate into fluent,
split them up to make the diff of the actual vendor changes smaller.

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

--HG--
rename : third_party/python/fluent/fluent/__init__.py => third_party/python/fluent.migrate/fluent/__init__.py
rename : third_party/python/fluent/fluent/migrate/__init__.py => third_party/python/fluent.migrate/fluent/migrate/__init__.py
rename : third_party/python/fluent/fluent/migrate/blame.py => third_party/python/fluent.migrate/fluent/migrate/blame.py
rename : third_party/python/fluent/fluent/migrate/changesets.py => third_party/python/fluent.migrate/fluent/migrate/changesets.py
rename : third_party/python/fluent/fluent/migrate/context.py => third_party/python/fluent.migrate/fluent/migrate/context.py
rename : third_party/python/fluent/fluent/migrate/errors.py => third_party/python/fluent.migrate/fluent/migrate/errors.py
rename : third_party/python/fluent/fluent/migrate/helpers.py => third_party/python/fluent.migrate/fluent/migrate/helpers.py
rename : third_party/python/fluent/fluent/migrate/merge.py => third_party/python/fluent.migrate/fluent/migrate/merge.py
rename : third_party/python/fluent/fluent/migrate/tool.py => third_party/python/fluent.migrate/fluent/migrate/tool.py
rename : third_party/python/fluent/fluent/migrate/transforms.py => third_party/python/fluent.migrate/fluent/migrate/transforms.py
rename : third_party/python/fluent/fluent/migrate/util.py => third_party/python/fluent.migrate/fluent/migrate/util.py
rename : third_party/python/fluent/fluent/migrate/validator.py => third_party/python/fluent.migrate/fluent/migrate/validator.py
rename : third_party/python/fluent/fluent/__init__.py => third_party/python/fluent.syntax/fluent/__init__.py
rename : third_party/python/fluent/fluent/syntax/__init__.py => third_party/python/fluent.syntax/fluent/syntax/__init__.py
rename : third_party/python/fluent/fluent/syntax/ast.py => third_party/python/fluent.syntax/fluent/syntax/ast.py
rename : third_party/python/fluent/fluent/syntax/errors.py => third_party/python/fluent.syntax/fluent/syntax/errors.py
rename : third_party/python/fluent/fluent/syntax/parser.py => third_party/python/fluent.syntax/fluent/syntax/parser.py
rename : third_party/python/fluent/fluent/syntax/serializer.py => third_party/python/fluent.syntax/fluent/syntax/serializer.py
rename : third_party/python/fluent/fluent/syntax/stream.py => third_party/python/fluent.syntax/fluent/syntax/stream.py
extra : moz-landing-system : lando
2020-04-14 17:24:59 +00:00
David Major
4f3ce0d1f3 Bug 1628479 - Add a single-stage clang-cl toolchain task r=glandium
Currently the linux64-clang-9-win-cross toolchain depends on the win64-clang-cl toolchain for a few files. This causes very long lead times when toolchains are rebuilt, because of the un-parallelizable chain of tasks win64-clang-cl -> linux64-clang-9-win-cross -> builds.

As a partial mitigation, this patch adds a single-stage clang-cl build for consumption by the cross toolchain. It's not a very high quality build, but good enough for the purpose it serves, while being faster to build.

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

--HG--
rename : build/build-clang/clang-win64.json => build/build-clang/clang-win64-1stage.json
extra : moz-landing-system : lando
2020-04-14 03:00:34 +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
Andrea Marchesini
a765ed14dd Bug 1363541 - Modernize the PermissionManager - part 3 - DB handling in a separate thread, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D69965

--HG--
extra : moz-landing-system : lando
2020-04-11 13:41:19 +00:00
Dzmitry Malyshau
34dac56d81 Bug 1628754 - CBindGen update to 0.14.1 r=emilio,kats
Differential Revision: https://phabricator.services.mozilla.com/D70421

--HG--
extra : moz-landing-system : lando
2020-04-10 19:13:25 +00:00
Razvan Maries
b74e338c98 Backed out 6 changesets (bug 1363541) for perma failures. CLOSED TREE
Backed out changeset a775f6e9eb41 (bug 1363541)
Backed out changeset 9212bfd89eca (bug 1363541)
Backed out changeset bf41b0c139f6 (bug 1363541)
Backed out changeset aa7c6668b249 (bug 1363541)
Backed out changeset 9f413a8a47bb (bug 1363541)
Backed out changeset 827a9a2866bd (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 11:31:20 +03:00
Andrea Marchesini
f78d7b4bd4 Bug 1363541 - Modernize the PermissionManager - part 3 - DB handling in a separate thread, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D69965

--HG--
extra : moz-landing-system : lando
2020-04-10 06:36:03 +00:00
Mihai Alexandru Michis
6013b44308 Backed out changeset e60ce7274c9f (bug 1628754) for causing bustages in ServoStyleConsts.h
CLOSED TREE
2020-04-10 04:05:15 +03:00
Dzmitry Malyshau
e71799ed9d Bug 1628754 - Cbindgen update to 0.14.0 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70421

--HG--
extra : moz-landing-system : lando
2020-04-09 21:10:40 +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
Mike Hommey
2c5762dade Bug 1628519 - Use os.path.realpath in coverage_cflags. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70315

--HG--
extra : moz-landing-system : lando
2020-04-09 20:44:15 +00:00
Andi-Bogdan Postelnicu
56a9802f89 Bug 1625884 - move clang-tidy and clang-format to clang-10. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D70065

--HG--
extra : moz-landing-system : lando
2020-04-09 14:16:44 +00:00
Andi-Bogdan Postelnicu
741565d15e Bug 1625884 - add clang-10 to linux64 clang-tools. r=nalexander,dmajor
Patches that are applied on top on `clang-10` repo are based on the original
patches from our trunk and have been rebased on top of `clang-10`.
Please see as an example: `find_symbolizer_linux.patch` copied to `find_symbolizer_linux_clang_10.patch`.

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

--HG--
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-10-linux64.json
rename : build/build-clang/find_symbolizer_linux.patch => build/build-clang/find_symbolizer_linux_clang_10.patch
rename : build/build-clang/llvmorg-11-init-4265-g2dcbdba8540.patch => build/build-clang/llvmorg-11-init-4265-g2dcbdba8540_clang_10.patch
rename : build/build-clang/rG7e18aeba5062.patch => build/build-clang/rG7e18aeba5062_clang_10.patch
rename : build/build-clang/rename_gcov_flush.patch => build/build-clang/rename_gcov_flush_clang_10.patch
rename : build/build-clang/tsan-hang-be41a98ac222.patch => build/build-clang/tsan-hang-be41a98ac222_clang_10.patch
rename : build/build-clang/unpoison-thread-stacks.patch => build/build-clang/unpoison-thread-stacks_clang_10.patch
extra : moz-landing-system : lando
2020-04-09 14:16:48 +00:00
Coroiu Cristina
d37de5ed78 Backed out 6 changesets (bug 1363541) for browser-chrome failures at browser/base/content/test/performance/browser_startup_mainthreadio.js on a CLOSED TREE
Backed out changeset 947073be919f (bug 1363541)
Backed out changeset 1f397b686c11 (bug 1363541)
Backed out changeset d2ba944a47a3 (bug 1363541)
Backed out changeset 80d4d1f0c921 (bug 1363541)
Backed out changeset 9d6b9052f413 (bug 1363541)
Backed out changeset aeaa10789071 (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 01:00:15 +03:00
Andrea Marchesini
f71aefda4e Bug 1363541 - Modernize the PermissionManager - part 3 - DB handling in a separate thread, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D69965

--HG--
extra : moz-landing-system : lando
2020-04-09 13:26:29 +00:00
Mihai Alexandru Michis
55acbee264 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2020-04-09 22:35:35 +03:00
Cosmin Sabou
60934f9072 Backed out 3 changesets (bug 1625884) as requested by ANdi for causing build bustages. a=backout
Backed out changeset a35cfda6e271 (bug 1625884)
Backed out changeset 412c8c401196 (bug 1625884)
Backed out changeset 927ff250bc4b (bug 1625884)
2020-04-09 16:14:06 +03:00
Simon Giesecke
ee4a4129a1 Bug 1605075 - Ignore kfdg variables initialized from xvalues in KungFuDeatGripChecker. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D70325

--HG--
extra : moz-landing-system : lando
2020-04-09 09:48:13 +00:00
David Major
3f00878b3c Bug 1628492 - Remove the linux64-clang-9-cross toolchain r=glandium
The `linux64-clang-9-cross` toolchain was forked from `linux64-clang-9` in https://hg.mozilla.org/integration/autoland/rev/ca923afe3ed4 in order to pick up a patch for Windows compilation.

This is no longer necessary for two reasons:
1. Windows builds stopped depending on that patch in bug 1608460.
2. Even if we still needed that patch, the `linux64-clang-9` toolchain gained all of the Windows patches in bug 1618473.

Therefore the `clang-dist` task can go back to using unmodified `linux64-clang-9`.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 06:15:28 +00:00
Andi-Bogdan Postelnicu
ffe0a6a754 Bug 1625884 - move clang-tidy and clang-format to clang-10. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D70065

--HG--
extra : moz-landing-system : lando
2020-04-09 05:28:34 +00:00
Andi-Bogdan Postelnicu
06e7a3c818 Bug 1625884 - add clang-10 to linux64 clang-tools. r=nalexander,dmajor
Patches that are applied on top on `clang-10` repo are based on the original
patches from our trunk and have been rebased on top of `clang-10`.
Please see as an example: `find_symbolizer_linux.patch` copied to `find_symbolizer_linux_clang_10.patch`.

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

--HG--
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-10-linux64.json
rename : build/build-clang/find_symbolizer_linux.patch => build/build-clang/find_symbolizer_linux_clang_10.patch
rename : build/build-clang/llvmorg-11-init-4265-g2dcbdba8540.patch => build/build-clang/llvmorg-11-init-4265-g2dcbdba8540_clang_10.patch
rename : build/build-clang/rG7e18aeba5062.patch => build/build-clang/rG7e18aeba5062_clang_10.patch
rename : build/build-clang/rename_gcov_flush.patch => build/build-clang/rename_gcov_flush_clang_10.patch
rename : build/build-clang/tsan-hang-be41a98ac222.patch => build/build-clang/tsan-hang-be41a98ac222_clang_10.patch
rename : build/build-clang/unpoison-thread-stacks.patch => build/build-clang/unpoison-thread-stacks_clang_10.patch
extra : moz-landing-system : lando
2020-04-09 05:27:50 +00:00
Oana Pop Rus
19cf0ce806 Backed out changeset d52d4b62a347 (bug 1435148) for python tier2 failures in test_moz_configure.py on a CLOSED TREE
--HG--
extra : rebase_source : e49f5784a059023d769f6b554cc19c4151200949
2020-04-09 00:07:32 +03:00
Jesse Schwartzentruber
a91be586fd Bug 1435148 - Disable jemalloc when any sanitizer is used. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D70092

--HG--
extra : moz-landing-system : lando
2020-04-08 18:01:03 +00:00
David Major
9caebd9642 Bug 1326486 - build-clang: Convert 3-stage builds to 4-stage PGO builds. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D69084

--HG--
extra : moz-landing-system : lando
2020-04-07 14:12:51 +00:00
David Major
b9ae8ced29 Bug 1326486 - build-clang: Add support for PGO builds. r=glandium
This adds the ability to do four-stage PGO builds. This was surprisingly straightforward thanks to PGO being a well-supported scenario in LLVM's cmake.

For reference, the stages are:
stage1: Initial build with gcc
stage2: Instrumented build using stage1
stage3: Train by using the instrumented stage2 to build the clang tree
stage4: Optimize using the stage3 compiler and the profdata created with it

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

--HG--
extra : moz-landing-system : lando
2020-04-07 14:12:58 +00:00
David Major
ac66ff483a Bug 1326486 - build-clang: Add support for 4-stage builds r=glandium
Separating out the mechanical/"boring" changes to make the next patch more clear. This patch adds the ability to build a fourth stage that for now doesn't do anything special.

I changed to using >= to make it more obvious that e.g. "here is what's going to happen for stage 2" -- the off-by-one was too hard on my brain.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 14:13:01 +00:00
David Major
e97651891b Bug 1326486 - build-clang: Merge LLVM a84b200e604 to fix Windows PGO. r=glandium
a84b200e60

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

--HG--
extra : moz-landing-system : lando
2020-04-07 14:12:54 +00:00
David Major
705563e08e Bug 1326486 - build-clang: Install imports and asan symbols only in the final stage r=glandium
Otherwise, PGO builds would fail to find asan at stage2 because the instrumented build uses `LLVM_BUILD_RUNTIME=No`.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 14:12:56 +00:00
David Major
116a8a120b Bug 1326486 - build-clang: avoid building unnecessary things in intermediate stages. r=glandium
This will partially atone for making builds longer with PGO.

Depends on D69618

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

--HG--
extra : moz-landing-system : lando
2020-04-07 14:12:47 +00:00
David Major
009ae37b4f Bug 1326486 - build-clang: pass is_final_stage even for stage1. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D69618

--HG--
extra : moz-landing-system : lando
2020-04-07 14:12:49 +00:00
Arthur Iakab
d2c2253278 Backed out changeset 5616dd0ad683 (bug 1592877) for causing browser-chrome failures on browser_aboutCertError_manySANsError.js
CLOSED TREE
2020-04-08 15:26:13 +03:00
Lupita Arroyo
929140139b Bug 1592877 - Truncate SANs to 50 in aboutNetError.js and add a test for it. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D68730

--HG--
extra : moz-landing-system : lando
2020-04-08 11:22:10 +00:00
Mike Hommey
f805480ab5 Bug 1627163 - Switch python configure to python 3. r=firefox-build-system-reviewers,rstewart
This also does a few remaining python 2 incompatible changes to
.configure files.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 18:31:56 +00:00
Mike Hommey
19b511423c Bug 1627163 - Fix a few more python 3 incompatibilities in some .configure files. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69948

--HG--
extra : moz-landing-system : lando
2020-04-07 15:44:06 +00:00
Mike Hommey
2f950fc227 Bug 1627163 - Add comments to virtualenv_python2 that can be seen in virtualenv_python3. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69536

--HG--
extra : moz-landing-system : lando
2020-04-05 08:51:22 +00:00
Mihai Alexandru Michis
964773e27c Backed out 7 changesets (bug 1326486) for causing bpgo failures.
CLOSED TREE

Backed out changeset 810a84a18948 (bug 1326486)
Backed out changeset e04c57ed0c04 (bug 1326486)
Backed out changeset 493c338ad705 (bug 1326486)
Backed out changeset 96701b9815c2 (bug 1326486)
Backed out changeset 8adfc59eb3c5 (bug 1326486)
Backed out changeset 441282fd1fea (bug 1326486)
Backed out changeset a64593d4c645 (bug 1326486)
2020-04-07 17:08:08 +03:00
David Major
abffbe294c Bug 1326486 - build-clang: Convert 3-stage builds to 4-stage PGO builds. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D69084

--HG--
extra : moz-landing-system : lando
2020-04-07 08:32:59 +00:00
David Major
26ce55ba6d Bug 1326486 - build-clang: Add support for PGO builds. r=glandium
This adds the ability to do four-stage PGO builds. This was surprisingly straightforward thanks to PGO being a well-supported scenario in LLVM's cmake.

For reference, the stages are:
stage1: Initial build with gcc
stage2: Instrumented build using stage1
stage3: Train by using the instrumented stage2 to build the clang tree
stage4: Optimize using the stage3 compiler and the profdata created with it

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:32:32 +00:00
David Major
b893b82141 Bug 1326486 - build-clang: Add support for 4-stage builds r=glandium
Separating out the mechanical/"boring" changes to make the next patch more clear. This patch adds the ability to build a fourth stage that for now doesn't do anything special.

I changed to using >= to make it more obvious that e.g. "here is what's going to happen for stage 2" -- the off-by-one was too hard on my brain.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:29:02 +00:00
David Major
fc99fcb538 Bug 1326486 - build-clang: Merge LLVM a84b200e604 to fix Windows PGO. r=glandium
a84b200e60

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:27:54 +00:00
David Major
5f9aa001c2 Bug 1326486 - build-clang: Install imports and asan symbols only in the final stage r=glandium
Otherwise, PGO builds would fail to find asan at stage2 because the instrumented build uses `LLVM_BUILD_RUNTIME=No`.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:27:36 +00:00
David Major
ec2075139f Bug 1326486 - build-clang: avoid building unnecessary things in intermediate stages. r=glandium
This will partially atone for making builds longer with PGO.

Depends on D69618

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:27:26 +00:00
David Major
4eea888422 Bug 1326486 - build-clang: pass is_final_stage even for stage1. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D69618

--HG--
extra : moz-landing-system : lando
2020-04-07 08:25:29 +00:00
Mike Hommey
75c9894119 Bug 1627163 - Fix a couple python 3 incompatibilities in old.configure. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69533

--HG--
extra : moz-landing-system : lando
2020-04-05 08:51:21 +00:00
Mike Hommey
5e73bfc93a Bug 1627163 - Use POINTER from ctypes rather than wintypes. r=firefox-build-system-reviewers,rstewart
It's in both in python 2, but only in the former in python 3.

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

--HG--
extra : moz-landing-system : lando
2020-04-05 08:51:21 +00:00
Mike Hommey
15c01b2687 Bug 1627163 - Unify how python version is shown for py2 and py3. r=firefox-build-system-reviewers,rstewart
Using @checking doesn't go well with the virtualenv creation, so print
the version information after the fact. And do so uniformely for python
2 and python 3.

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

--HG--
extra : moz-landing-system : lando
2020-04-05 08:51:20 +00:00
Mike Hommey
a7c4179e58 Bug 1627163 - Remove mozconfig dependency from virtualenv_python3. r=firefox-build-system-reviewers,rstewart
This is yet another cargo-cult from virtualenv_python2, which is not
necessary because by the time we reach virtualenv_python3, the mozconfig
configure *has* been injected already.

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

--HG--
extra : moz-landing-system : lando
2020-04-05 08:51:20 +00:00
Mike Hommey
b63a0b8665 Bug 1627163 - Remove the --help dependency on virtualenv_python3. r=firefox-build-system-reviewers,rstewart
It was cargo-culted from virtualenv_python2, but is not necessary
because virtualenv_python3 is not going to re-execute python, which is
what the dependency is there to avoid.

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

--HG--
extra : moz-landing-system : lando
2020-04-05 08:51:19 +00:00