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

733683 Коммитов

Автор SHA1 Сообщение Дата
Martin Stransky 84655dbdb1 Bug 1660336 Implement FFmpegLibWrapper::LinkVAAPILibs() to link VAAPI libraries and use at at FFmpegRuntimeLinker/FFVPXRuntimeLinker, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D90556
2020-11-05 07:38:26 +00:00
Martin Stransky 78ed8d65db Bug 1660336 Implement DMABufSurfaceWrapper and VAAPIDisplayHolder as templates, r=jya
Implemented DMABufSurfaceWrapper and VAAPIDisplayHolder as a versioned class templates
as they are going to be used by both system ffmpeg and bundled ffvpx decoders.

Differential Revision: https://phabricator.services.mozilla.com/D90555
2020-11-05 07:36:35 +00:00
Martin Stransky 84d22b3544 Bug 1660336 Add VP8/VP9 VAAPI HW decode code to bundled ffvpx and build it with MOZ_WAYLAND target, r=jya
- Update in-tree ffvpx library with VP8/VP9 VAAPI HW decode code from FFmpeg 4.2.
- Enable VP8/VP9 VAAPI HW decode on MOZ_WAYLAND target.

Differential Revision: https://phabricator.services.mozilla.com/D90554
2020-11-05 07:34:57 +00:00
stransky 5d32082985 Bug 1672989 Build PipeWire as a part of default builds, r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D94590
2020-11-05 07:47:03 +00:00
stransky 4e199e5fc1 Bug 1672947 Update PipeWire WebRTC code to PipeWire 0.3, r=ng
Differential Revision: https://phabricator.services.mozilla.com/D94589
2020-11-05 07:08:31 +00:00
stransky 4422f81baa Bug 1672987 Use PipeWire when Wayland display is actually used, r=dminor
Right now PipeWire is enabled when Wayland session is used regardless of an active Gtk backend (X11/Wayland).
Let's use PipeWire only when Wayland Gtk backend is used and disable it for X11 one to avoid possible regressions.

Differential Revision: https://phabricator.services.mozilla.com/D94588
2020-11-05 07:46:56 +00:00
alwu 0c0c2f3994 Bug 1674845 - part4 : add 'browser' subfolder for autoplay browser tests. r=bryce
subsuite media for browser tests.

Differential Revision: https://phabricator.services.mozilla.com/D95881
2020-11-05 06:15:07 +00:00
alwu 31f03aa534 Bug 1674845 - part3 : create 'mochitest' subfolder for autoplay related plain mochitests. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D95880
2020-11-05 04:50:13 +00:00
alwu 35d0af6eef Bug 1674845 - part2 : create 'autoplay' subfolder and move related files. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D95879
2020-11-05 04:50:11 +00:00
alwu 9fe8b678ad Bug 1674845 - part1 : use media utils's method to get shutdown barrier. r=bryce
We've already had a same method in media utils, so no need to keep this one. In addition, doing that can prevent the build ambiguous error when removing autoplay related files from `dom/media`.

Differential Revision: https://phabricator.services.mozilla.com/D95878
2020-11-05 04:50:16 +00:00
Cosmin Sabou 9cfe871d07 Backed out changeset 3492eea6f5f5 (bug 1656562) for browser_ext_themes_ntp_colors_perwindow.js leaks. CLOSED TREE
DONTBUILD
2020-11-05 07:59:42 +02:00
Dorel Luca d1d71a8e1a Backed out 4 changesets (bug 1674845) for Browser-chrome failures in toolkit/content/tests/browser/browser_findbar.js. CLOSED TREE
Backed out changeset 8f20a34998c6 (bug 1674845)
Backed out changeset 98b99d2dd52f (bug 1674845)
Backed out changeset 804d23738709 (bug 1674845)
Backed out changeset 64ca82a10039 (bug 1674845)
2020-11-05 06:47:47 +02:00
Punam Dahiya 0f53e3ab5b Bug 1656562 - Use Region API from AboutWelcomeParent r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D87123
2020-11-05 02:03:48 +00:00
Mark Hammond bcb7a913bb Bug 1675190 - Vendor new application-services into mozilla-central. r=extension-reviewers,janerik,eoger,dmose,rpl
Differential Revision: https://phabricator.services.mozilla.com/D95829
2020-11-05 03:50:21 +00:00
Lee Salzman 95a53c1f64 Bug 1675419 - remove redundant packing in SWGL fast-paths. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95957
2020-11-05 03:36:48 +00:00
alwu af08036437 Bug 1674845 - part4 : add 'browser' subfolder for autoplay browser tests. r=bryce
subsuite media for browser tests.

Differential Revision: https://phabricator.services.mozilla.com/D95881
2020-11-05 02:44:39 +00:00
alwu 89a2733812 Bug 1674845 - part3 : create 'mochitest' subfolder for autoplay related plain mochitests. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D95880
2020-11-04 21:31:04 +00:00
alwu 635563771a Bug 1674845 - part2 : create 'autoplay' subfolder and move related files. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D95879
2020-11-04 21:29:32 +00:00
alwu 0b3de2de6b Bug 1674845 - part1 : use media utils's method to get shutdown barrier. r=bryce
We've already had a same method in media utils, so no need to keep this one. In addition, doing that can prevent the build ambiguous error when removing autoplay related files from `dom/media`.

Differential Revision: https://phabricator.services.mozilla.com/D95878
2020-11-04 21:27:56 +00:00
Mark Hammond 96e2c6e149 Bug 1673795 - Integrate sync ping shutdown handling with TelemetryController and record if a sync shutdown ping was sent. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D94929
2020-11-05 02:44:05 +00:00
John Lin 197e95a345 Bug 1640416 - p5: run WebrtcMediaDataEncoder and the platform encoder in different thread pools/task queues. r=alwu
Some WebrtcMediaDataEncoder methods are blocking and wait for platform encoder
operations to complete. Running them in one thread pool/task queue will lead
to dead lock.

Differential Revision: https://phabricator.services.mozilla.com/D94464
2020-11-04 21:57:40 +00:00
John Lin 8df836d803 Bug 1640416 - p4: use assignment operator rather than Maybe::emplace(). r=alwu
Calling emplace() on instance with existing value will cause assertion.
Since Error() can be called multiple times, assignment operator is the correct way.

Differential Revision: https://phabricator.services.mozilla.com/D94463
2020-11-04 21:57:38 +00:00
John Lin 5a219579ad Bug 1640416 - p3: add test cases for video encoder config size. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D94462
2020-11-05 01:30:31 +00:00
John Lin 242224eb4b Bug 1640416 - p2: sanity-check video encoder config size arguements. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D94510
2020-11-04 21:57:41 +00:00
John Lin b9803a4d20 Bug 1640416 - p1: input size check before creating video encoder. r=alwu,geckoview-reviewers,snorp
On Android, software H.264 video encoder accepts some sizes when configuring
but will crash later after frames are sent to the encoder. Use method provided
in API 21+ to validate the input size and avoid using software encoder on
earlier versions to prevent crashes.

Differential Revision: https://phabricator.services.mozilla.com/D94461
2020-11-04 21:57:36 +00:00
Boris Chiou 1a43abe700 Bug 1665327 - The minor refactoring to avoid duplicate code when checking if the {min|max} block-size is auto. r=TYLin
The check of auto min/max block size happens many times and we can avoid
these duplicates.

Differential Revision: https://phabricator.services.mozilla.com/D95900
2020-11-04 22:48:55 +00:00
Boris Chiou 2ca58af841 Bug 1665327 - Support transferred {min|max} inline-size by using definite {min|max} block-size and aspect-ratio for non-replaced elements. r=TYLin
This addressed https://github.com/w3c/csswg-drafts/issues/5257.
The min-block-size or max-block-size should affect the inline size computed
through an aspect ratio.

I intentionally don't implement this for transferred {min|max}
block-size because
1. This is useful only if block-size is indefinite.
2. If block-size is indefinite, we may use the inline-size and aspect-ratio to
   get the block-size, which makes block-size definite.
3. This means it is useful when both inline-size and block-size are
   indefinite (e.g. auto).
   In this case, we still resolve a possible inline-size by clamping it
   between specified (and transferred) min and max inline-sizes. Then
   we map this inline-size to block-size through aspect-ratio. This
   transferred block-size should also be between specified (and
   transferred) min and max block-sizes.

Differential Revision: https://phabricator.services.mozilla.com/D94911
2020-11-04 23:44:03 +00:00
Dão Gottwald 6098d48cca Bug 1675050 - "Sponsored Top Sites" checkbox shouldn't need a restart to show up after enabling the remote settings backend. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D95753
2020-11-05 01:25:42 +00:00
Tim Nguyen e40d211058 Bug 1675400 - Remove menubutton support. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95948
2020-11-05 00:14:58 +00:00
Tim Nguyen e54c449102 Bug 1610404 - Remove leftover NS_NewGroupBoxFrame forward-declaration. r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D95949
2020-11-05 00:04:19 +00:00
Jonathan Kew 39bd0ca12a Bug 1675185 - For the hidden system font on macOS, instantiate Core Text fonts from a native CGFont rather than via a descriptor. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95454
2020-11-04 23:47:31 +00:00
Markus Stange c3e353b81f Bug 1458653 - Do not prevent fling acceleration based on the time that has elapsed between two flings. r=botond,geckoview-reviewers,snorp
The other fling acceleration restrictions make it so that there is no need for
this additional restriction anymore.
Removing this restriction allows a fling to be accelerated even if the previous
fling has been "spinning" for a while (a second or more), provided that the page
is still moving fast enough.
This matches Chrome's behavior.

Differential Revision: https://phabricator.services.mozilla.com/D95472
2020-11-04 23:32:38 +00:00
Markus Stange 713c5090f1 Bug 1458653 - Don't accelerate a fling if the fingers moved too slowly at any point during the touch scroll motion. r=botond
This avoids unexpected acceleration after a "fling, fling, pan-pause-fling" sequence.

Differential Revision: https://phabricator.services.mozilla.com/D95471
2020-11-04 23:27:05 +00:00
Markus Stange f16ac1664d Bug 1458653 - Don't accelerate a fling if the fingers paused at the beginning of the touch motion. r=botond
This avoids unexpected acceleration after a "fling, fling, touch-pause-fling" sequence.

The touch start timestamp is captured when we go from NOTHING to TOUCHING,
and the pan start timestamp is captured when we go from TOUCHING to PANNING.

Differential Revision: https://phabricator.services.mozilla.com/D95470
2020-11-04 23:25:15 +00:00
Markus Stange cfbcc7d97b Bug 1458653 - Don't accelerate a fling if the previous fling animation has slowed down below a velocity threshold. r=botond
This should prevent most cases of unintended fling acceleration. For example,
when scrolling paragraph-by-paragraph via a series of short flings, we would
often accelerate the next fling even if the previous fling had already slowed
down almost to a stop. With this change, we will no longer trigger acceleration
in that scenario.

This also matches Chrome's behavior.

This patch does not add a new pref for the new velocity threshold.
Chrome also shares the same velocity threshold for both velocities.

Differential Revision: https://phabricator.services.mozilla.com/D95469
2020-11-04 22:59:22 +00:00
Markus Stange 621c2b0fb7 Bug 1458653 - Add some basic fling acceleration tests. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D95468
2020-11-04 23:27:03 +00:00
Glenn Watson 38056c9366 Bug 1675159 - Pt 1 - Pass `buffer_age` via `render` rather than callback. r=jnicol
Implementing the Draw compositor via the native compositor interface
is simpler if the buffer age is passed into the top level render method.

Differential Revision: https://phabricator.services.mozilla.com/D95824
2020-11-04 22:12:40 +00:00
Dorel Luca af86d70b32 Backed out changeset b8f6130e6997 (bug 1673664) for Build bustages. CLOSED TREE 2020-11-05 01:24:33 +02:00
Shane Caraveo d31bd61d79 Bug 1672314 handle invalid addon startup data properly during startup r=rpl
We scan for addon changes twice, once early in startup (usually with no scanning) and once after ui startup.  We hold on to the startup data, and during both scans we restore that data into the addon location instances.  The problem here is if we install a builtin in-between these scans.  The new data from the install would get overwitten by the old data.  In some cases this caused addons to disappear (e.g. old data has incorrect path).  Other issues covered here is that we would never remove addon data for builtins removed from the system, and we would additionally mark builtins as sideloads, which caused other side effects (particularly with search addons) where we would not load the addon, but fortunately the search service later re-installes them.

Differential Revision: https://phabricator.services.mozilla.com/D95422
2020-11-04 16:43:14 +00:00
Emma Malysz 282008aabb Bug 1669708: do not disable cancel button when printing or waiting for page to finish rendering r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D95584
2020-11-04 23:11:29 +00:00
Aaron Klotz 01caccf15a Bug 1674904: Part 4 - Update AccessibleHandler to delayload dependencies that are only used during registration; r=Jamie
We should delayload DLLs that for APIs that are only used during registration
so that they aren't referenced during normal operation.

Differential Revision: https://phabricator.services.mozilla.com/D95609
2020-11-04 21:50:06 +00:00
Aaron Klotz d6adf2ddf1 Bug 1674904: Part 3 - Replace dll reg code in mscom/oop/Handler with calls to mscom/oop/Module; r=Jamie
`Handler` should now delegate its registration to `Module`.

Differential Revision: https://phabricator.services.mozilla.com/D95608
2020-11-04 22:11:23 +00:00
Aaron Klotz 87fbdfd39e Bug 1674904: Part 2 - New dll registration code in mscom/oop/module; r=Jamie
We add new DLL registration code. This is a rather generic function that
permits the following:

* Registering multiple `CLSID`s for the same DLL;
* Registering an optional `AppID`. Registering an `AppID` allows us to use a
  `DllSurrogate` to host the DLL out-of-process using Windows' built-in
  `dllhost.exe`. I'll be using this feature in a future bug.
* Supporting all available threading modelsl;
* Capable of registering either inproc servers or inproc handlers;
* Using the transaction-based registry API so that we can cleanly rollback
  during registration if any part(s) of it fail.

Differential Revision: https://phabricator.services.mozilla.com/D95606
2020-11-04 21:49:46 +00:00
Aaron Klotz 99bc464a75 Bug 1674904: Part 1 - Change mscom registration to dynamically link to GetProxyDllInfo when built outside of xul; r=Jamie
We need this so that the registration code is more versatile and may be linked
from outside of xul.

Differential Revision: https://phabricator.services.mozilla.com/D95605
2020-11-04 21:49:28 +00:00
Aaron Klotz f53b856004 Bug 1675370: Mark /ipc/mscom as exclusive to Windows; r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D95925
2020-11-04 21:40:04 +00:00
Chris H-C 3d603cdcd8 Bug 1673664 - Implement C++ and JS FOG APIs for UUID r=janerik,brizental
Differential Revision: https://phabricator.services.mozilla.com/D95590
2020-11-04 21:24:23 +00:00
Dorel Luca 613998bc92 Backed out 2 changesets (bug 1674801, bug 1674756) for Browse-chrome failures in places/tests/browser/browser_toolbar_other_bookmarks.js. CLOSED TREE
Backed out changeset d2697818f40d (bug 1674801)
Backed out changeset cbb47b6c9dc3 (bug 1674756)
2020-11-05 00:09:47 +02:00
Dorel Luca 15bd274cab Backed out changeset 644505d8afbb (bug 1675159) for Browser-chrome failures in browser/base/content/test/general/browser_save_video_frame.js. CLOSED TREE 2020-11-05 00:08:32 +02:00
Dorel Luca 7540cd9a23 Backed out changeset 81e8f84c8ec0 (bug 1675050) for Newtab failures. CLOSED TREE 2020-11-04 23:42:44 +02:00
Bryce Seager van Dyk 7ff2156750 Bug 1674153 - Remove MacOS snow leopard specific checking from test_can_play_type_mpeg.html. r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D95173
2020-10-30 23:17:22 +00:00