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

768529 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar b79cfd62d3 Bug 1729076 - Remove unused mlgshaders. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D124504
2021-09-03 23:20:48 +00:00
owlishDeveloper 2942d2a222 Bug 1726209 - Add null check when retreiving UUID of a Node r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D123274
2021-09-03 22:43:01 +00:00
Kagami Sascha Rosylight bc233d2be7 Bug 1723117 - Limit max_workers value of ProcessPoolExecutor to 61 r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D121360
2021-09-03 22:27:05 +00:00
Nika Layzell 8bd29055b8 Bug 1725572 - Wait for parent ack when discarding BC from child, r=kmag
I am not confident that this will fix the underlying issue causing this crash,
but given how small of a change it is, I figure it's worth trying to land
quickly to see if the crash rate drops with it.

Differential Revision: https://phabricator.services.mozilla.com/D124503
2021-09-03 22:21:49 +00:00
Byron Campen [:bwc] f0dde51af4 Bug 1726177: For repeating precise, keep the cadence when we finish firing late. r=xpcom-reviewers,nika,jesup
Covers the case where we finish late because the callback took a long time,
and the case where we fired really late (eg; because of sleep).

Differential Revision: https://phabricator.services.mozilla.com/D123814
2021-09-03 21:59:00 +00:00
Byron Campen [:bwc] 4aee661e93 Bug 1726177: Update IDL file to better reflect previous behavior, and cover this behavior in the test-case. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D123813
2021-09-03 21:59:00 +00:00
Brendan Dahl dbf37fedb5 Bug 1729049 - Switch from deprecated pref renderInteractiveForms to annotationMode. r=pdfjs-reviewers,calixte
Depends on D124481

Differential Revision: https://phabricator.services.mozilla.com/D124482
2021-09-03 21:27:15 +00:00
Brendan Dahl df88d56edf Bug 1729049 - Update pdf.js to version 2.11.191 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D124481
2021-09-03 21:27:14 +00:00
Ting-Yu Lin 30a1f1e161 Bug 1728319 - Tweak an assertion to recognize integer overflow due to huge margin/border/padding. r=dholbert
We could fix the testcase in this patch by promoting
`FlexLine::mTotalItemMBP` to `AuCoord64`, but then
`layout/generic/crashtests/1488762-1.html` will start crashing. It is
because `FlexItem::OuterMainSize()` can return negative size due to
integer overflow, and the negative sizes will accumulate in
`mTotalOuterHypotheticalMainSize`.

Instead of promoting more variables to `AuCoord64` to workaround huge
margin/border/padding that we cannot handle gracefully, this patch
tweaks the assertion to check only if `mTotalOuterHypotheticalMainSize`
and `mTotalItemMBP` have valid values.

Differential Revision: https://phabricator.services.mozilla.com/D124409
2021-09-03 21:23:52 +00:00
Mitchell Hentges d60e22aec0 Bug 1723237: Allow empty lines in python requirements files r=ahal
This allows strategic grouping of dependencies, which can be convenient.

Differential Revision: https://phabricator.services.mozilla.com/D122895
2021-09-03 20:46:24 +00:00
Mitchell Hentges f3c64fd210 Bug 1712133: Add missing space to pypi-optional error message r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D122894
2021-09-03 20:46:24 +00:00
Mitchell Hentges c74698f4b4 Bug 1717051: Remove obsolete virtualenv code r=ahal
The "six"-related comment is no longer relevant, and `here` isn't used.

Differential Revision: https://phabricator.services.mozilla.com/D122885
2021-09-03 20:46:23 +00:00
Mitchell Hentges 2b15db71aa Bug 1717051: Consolidate state_dir creation r=firefox-build-system-reviewers,glandium
We had logic in both `mach_bootstrap` and the Mach Bootstrapper to
create the state_dir.

This joins them and has the added benefit of creating the state dir
earlier in the Mach lifecycle (as will be needed for early instantiation
of the Mach virtualenv).

Differential Revision: https://phabricator.services.mozilla.com/D120400
2021-09-03 20:46:23 +00:00
Mitchell Hentges d9613ed9e7 Bug 1717051: Move arm64 rosetta check to bootstrap r=firefox-build-system-reviewers,glandium
It was originally added to "create-mach-environment" because that would
eventually be called by "./mach bootstrap".
However, as "create-mach-environment" is going away, this moves it
closer to the command that it's meant to impact.

Differential Revision: https://phabricator.services.mozilla.com/D120399
2021-09-03 20:46:23 +00:00
Mitchell Hentges ef3a0ed88c Bug 1717051: Validate if optional dependencies are out-of-date r=ahal
Though it's acceptable for an optional dependency to not be installed,
it *is* a problem if it's installed to the wrong version.

Differential Revision: https://phabricator.services.mozilla.com/D122886
2021-09-03 20:46:22 +00:00
Mitchell Hentges f5b0cb5bc1 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
Mitchell Hentges 1db9ce10c0 Bug 1708260: Remove "imp" usage when loading Mach r=firefox-build-system-reviewers,glandium
We always run on Python 3.6+, so the `imp` usage was dead code.

Differential Revision: https://phabricator.services.mozilla.com/D120398
2021-09-03 20:46:21 +00:00
Stephen A Pohl c494ddeedd Bug 1728167: Add ability for standard users to install from a DMG through elevation. r=mstange,application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D123899
2021-09-03 20:41:31 +00:00
Chris H-C 86fc7a1397 Bug 1715639 - Introducing `mach data-review` for one of your Glean data review needs r=janerik,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D124464
2021-09-03 20:20:12 +00:00
Kershaw Chang 95f5b8933d Bug 1727173 - Make h3/h2 excluded list synced between socket process and parent process, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D123376
2021-09-03 20:14:39 +00:00
Sandor Molnar ed29500ab4 Backed out changeset 150afb585fe2 (bug 1721463) for causing python unit test failures. CLOSED TREE 2021-09-03 23:24:15 +03:00
Sandor Molnar e3e47f564b Backed out changeset 63c10baf1578 (bug 1727916) for causing browser-chrome failures in en-US/appmenuitem. 2021-09-03 23:22:36 +03:00
Joel Maher d33208a49c Bug 1727802 - skip invalid character in log handling. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D123788
2021-09-03 19:54:40 +00:00
Byron Campen ef7f2682b5 Bug 1729020: Move this crashtest to mochitest, so we can do some checking. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D124469
2021-09-03 19:48:10 +00:00
Byron Campen 4d53a52ead Bug 1678920: Avoid race in SetLocalSSRC. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D124466
2021-09-03 19:46:19 +00:00
Cosmin Sabou 42026f4a8e Backed out changeset 1fd12639face (bug 1728670) for causing content crashes. CLOSED TREE 2021-09-03 22:50:58 +03:00
Timothy Nikkel 7a00827c3b Bug 1728699. Use IsRootContentDocumentCrossProcess in one place in ScrollFrameHelper::BuildDisplayList. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D124282
2021-09-03 02:23:03 +00:00
Molly Howell 84c9447e39 Bug 1727916 - Convert several customizable toolbar item names to sentence case. r=fluent-reviewers,flod,emalysz
This required migrating several strings to Fluent, and the bulk of this patch
is those migrations. The rest of the items matched up with an entry in the app
menu, so those items were switched over to use the app menu strings.

Differential Revision: https://phabricator.services.mozilla.com/D124270
2021-09-03 19:26:59 +00:00
Cosmin Sabou f4575710bd Backed out 6 changesets (bug 1712151, bug 1725708, bug 1724465) for causing invalid handle xpcshell failures. CLOSED TREE
Backed out changeset 90b9ff20b311 (bug 1725708)
Backed out changeset 75336eb10063 (bug 1725708)
Backed out changeset f438e13f8986 (bug 1724465)
Backed out changeset 11de3a4312bd (bug 1725708)
Backed out changeset 2c6edefd8417 (bug 1712151)
Backed out changeset 9ccf99dae3c7 (bug 1712151)
2021-09-03 22:33:24 +03:00
Timothy Nikkel 185e176645 Bug 1728706. Use IsRootContentDocumentCrossProcess for top layer related optimization in ScrollFrameHelper::BuildDisplayList. r=botond
The reason this IsRootContentDocument check was added was because of a test where there is fixed pos content in the top layer of a subdocument. This fixed pos content gets removed from the display list as part of this optimization. So no WebRenderLayerScrollData gets created for the asr of this fixed pos content, which causes an assert. (from https://bugzilla.mozilla.org/show_bug.cgi?id=1664804#c18 )

The code that ensures there is WebRenderLayerScrollData for the root asr is here https://searchfox.org/mozilla-central/rev/55e8eba74b60b92d04b781f7928f54ef76b13fa9/gfx/layers/wr/WebRenderCommandBuilder.cpp#1636 and it happens for all root content documents in the process, so this optimization is valid for any root content document in the process.

Differential Revision: https://phabricator.services.mozilla.com/D124298
2021-09-03 19:17:17 +00:00
Mike Conley 38e8910b47 Bug 1725837 - Adjust detail text size in Downloads Panel, and remove hardcoded width. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D124243
2021-09-03 19:16:06 +00:00
Sandor Molnar 06f9e93e66 Backed out changeset 3bdf9c5f10cc (bug 1729051) build bustages. CLOSED TREE 2021-09-03 22:13:35 +03:00
Matt Woodrow a1f669f3aa Bug 1728709 - Add nsDisplayItem::GetPaintRect that computes a value using the current clip extents. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D124299
2021-09-03 18:58:18 +00:00
Eitan Isaacson a6a943d0ea Bug 1729058 - Enable cache initialization in update pushes. r=morgan
There can be a scenario where an initial cache is pushed to an accessible via an update and not an "initial" push that a doc load or a subtree show would give.

For example, an accessible might not have a name, description, or numeric value (that is all we currently cache), but then get a name later in its lifetime. If that is the case the accessible will get a cache AccAttributes with a DeleteEntry value for "description" since its description is still empty. That entry should not be stored in the cache.

Differential Revision: https://phabricator.services.mozilla.com/D124484
2021-09-03 18:56:24 +00:00
Andrew Osmond eae74a37c7 Bug 1729051 - Simplify imgFrame to only use shared surfaces for raster images. r=jrmuizel
In practice we already only use SourceSurfaceSharedData as our
rasterized image backing. This means we no longer need to lock the data
to keep it in memory (when we used volatile memory), nor to try to
optimize the surface for the DrawTarget.

Differential Revision: https://phabricator.services.mozilla.com/D124476
2021-09-03 18:53:19 +00:00
Molly Howell ddce135a13 Bug 1493174 - Fix running Visual Studio using the mach ide command. r=firefox-build-system-reviewers,mhentges
There are two problems that this patch addresses:
1) The path to the VS solution file that we're using to launch it is malformed,
   because os.path.join is using backslash seperators, but we're passing it a
   path which already contains forward slash seperators, and mixing the two is
   not valid. This is preventing VS from being launched at all.
2) We're throwing if explorer.exe does not return 0 when we call it to launch
   VS, but explorer.exe always returns 1 when run this way, even if it
   succeeded, so we output a spurious exception to the console.

Differential Revision: https://phabricator.services.mozilla.com/D124488
2021-09-03 18:32:05 +00:00
Aki Sasaki db6510e6be Bug 1728330 - remove pushsnap tasks. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124411
2021-09-03 18:14:31 +00:00
Ruben Calvo fc77d39368 Bug 1728366 - force date picker years to be in a valid range. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D124125
2021-09-03 18:08:05 +00:00
Cosmin Sabou 31551df91a Bug 1698179 - Disable browser_markers-cycle-collection.js on linux webrender debug for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124479
2021-09-03 18:07:58 +00:00
Eitan Isaacson babc6af3e3 Bug 1728940 - Reverse reverted null check in ATK value functions. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D124480
2021-09-03 18:02:37 +00:00
Jonathan Kew b2d4f24a8a Bug 1729055 - Provide a webfont for text-decoration-skip-ink-005.html in case no CJK font is present on the system. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D124478
2021-09-03 17:59:12 +00:00
Mitchell Hentges 1c5be829d7 Bug 1725708: `./mach vendor python` should populate from a clean state r=ahal
Rather than deleting the expected target directory of each package
that's being vendored, clear the whole `third_party/python` directory
and re-populate it from scratch.

As part of this, there's an "exclusion" list for packages that can't
be vendored from PyPI.

This has some benefits:
* It'll be harder to forget scraps of files and directories and leave
  them in `third_party/python`.
* The exclusion list makes it more clear which packages are managed
  manually, and the friction it adds to the workflow will guide
  developers to use "requirements.in" instead.

The `test_up_to_date_vendor` test will verify that the vendor directory
is always clean.

Differential Revision: https://phabricator.services.mozilla.com/D123124
2021-09-03 17:31:58 +00:00
Mitchell Hentges 4abd2ed050 Bug 1725708: Move all possible vendored deps to centralized system r=ahal
Note that, as part of adding this packages to the automated vendoring
system, some dependencies were automatically added - most notably,
dependencies of `taskcluster` that become visible with Python 3.6+.

Also, adds `**/.git` to the exclusions because:
* `.git` is part of our `.hgignore`, but
* `.git` is part of the `aiohttp` `tar.gz` file.

Since the file isn't needed for `pip install`-ing `aiohttp`,
and since we want `./mach vendor python` to be a no-op when there's
no requirement changes, we exclude it.

Differential Revision: https://phabricator.services.mozilla.com/D123122
2021-09-03 17:31:57 +00:00
Mitchell Hentges 867eb3842a Bug 1724465: Upgrade `virtualenv` to 20.7.0 r=ahal
This upgrades:
* `pip` 20.3.1 => 21.2.2
* `setuptools` 51.0.0 => 57.4.0
* `wheel` 0.36.1 => 0.36.2

Differential Revision: https://phabricator.services.mozilla.com/D123120
2021-09-03 17:31:52 +00:00
Mitchell Hentges 6d2c906280 Bug 1725708: Remove unused "pep487" vendored package r=ahal
There's no usages of the `pep487` module.

Differential Revision: https://phabricator.services.mozilla.com/D123121
2021-09-03 17:31:52 +00:00
Mitchell Hentges c4d21d6eef Bug 1712151: Vendor pystache automatically r=ahal
Add pystache to vendor `requirements.in` so that it's vendored according
to `./mach vendor python` "ignore" rules.
This ensures that sufficient files are vendored such that installing the
package from it's `setup.py` file is possible.

Differential Revision: https://phabricator.services.mozilla.com/D122898
2021-09-03 17:31:51 +00:00
Mitchell Hentges 251f4d7144 Bug 1712151: Use compatible version of pyasn1-modules r=ahal
The existing version of `pyasn1-modules` (`0.1.5`) is incompatible with
our version of `pyasn1` (`0.4.8`).

By bumping `pyasn1-modules` to `0.2.8`, we now meet its compatibility
requirements.

Differential Revision: https://phabricator.services.mozilla.com/D122897
2021-09-03 17:31:50 +00:00
Cosmin Sabou eda6b9ae4c Backed out changeset a954692bd4c5 (bug 1728699) for content crashes. CLOSED TREE 2021-09-03 20:58:53 +03:00
Cosmin Sabou efbb4a2760 Backed out 8 changesets (bug 1413836) for delegatesFocus related wpt failures. CLOSED TREE
Backed out changeset 53c86681259e (bug 1413836)
Backed out changeset dc6a694146fd (bug 1413836)
Backed out changeset ae89d15d28eb (bug 1413836)
Backed out changeset 979fef259e32 (bug 1413836)
Backed out changeset d829be6f2813 (bug 1413836)
Backed out changeset c1d1d4b5ab74 (bug 1413836)
Backed out changeset 19e3256ea07c (bug 1413836)
Backed out changeset dc8d5d9533e4 (bug 1413836)
2021-09-03 20:48:24 +03:00
Edgar Chen 71a718fbc8 Bug 1729008 - Part 2: Make HTMLFormElement::IsLastActiveElement take nsGenericHTMLFormElement as argument; r=smaug
Depends on D124459

Differential Revision: https://phabricator.services.mozilla.com/D124462
2021-09-03 17:21:44 +00:00