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

733674 Коммитов

Автор SHA1 Сообщение Дата
Itiel 7fb34265a7 Bug 1675599 - Make "OK" button in the Select Helper Application dialog the default button r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D96097
2020-11-06 09:14:57 +00:00
Razvan Maries e8fb159ca9 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2020-11-06 11:37:38 +02:00
Razvan Maries a5d9abfda1 Merge autoland to mozilla-central a=merge 2020-11-06 11:32:19 +02:00
Razvan Maries ad08fd8438 Backed out 2 changesets (bug 1669503) for crashing in mozilla::MP3TrackDemuxer::GetNextFrame. a=backout DONTBUILD
Backed out changeset 863ecb9b15d5 (bug 1669503)
Backed out changeset d5cbc458d318 (bug 1669503)
2020-11-06 11:28:35 +02:00
Razvan Maries 78b884f32d Backed out changeset 905f54a1dfed (bug 1666734) for perma failures on test_get_printer_paper_sizes.html. CLOSED TREE 2020-11-06 08:01:06 +02:00
Timothy Nikkel 7e80528f10 Bug 1674935. Collect and notify scroll frame in nsDisplayListBuilder not in ContainerState. r=mattwoodrow
Scroll frames can appear in multiple containers.

Notifying the scroll frame causes it to clear it list of scroll updates. So we lose the scroll updates prematurely.

Previously https://phabricator.services.mozilla.com/D88650 moved the notify from happening the first time the scroll frame was encountered in a container to when the container is finished.

This patch moves this handling out of the container state and into nsDisplayListBuilder.

The bug could still happen for webrender. I'll fix that in another bug to reduce scope and risk.

Differential Revision: https://phabricator.services.mozilla.com/D95926
2020-11-06 05:46:24 +00:00
Narcis Beleuzu ba9ddd45c5 Backed out 3 changesets (bug 1675639) for Bpgo bustages. CLOSED TREE
Backed out changeset 9a7b394ca845 (bug 1675639)
Backed out changeset 270207ea42c1 (bug 1675639)
Backed out changeset 3d38566d80c6 (bug 1675639)
2020-11-06 03:32:33 +02:00
Mike Hommey 767eea09f0 Bug 1675477 - Remove MozillaDeveloper*Path from Info.plist. r=firefox-build-system-reviewers,haik,mhentges
They cause differences between the x86-64 and arm64 halves of a
universal build, and are not necessary in release builds.

As a side effect, we now end up normalizing Info.plist contents.

Differential Revision: https://phabricator.services.mozilla.com/D96015
2020-11-05 20:24:26 +00:00
Jean-Yves Avenard bd9b1e07c0 Bug 1673192 - Don't attempt to launch the RDD process when it's not needed. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D96147
2020-11-06 00:45:34 +00:00
Gijs Kruitbosch 7d0a4e99b9 Bug 1432604 - use the last-used folder for new bookmarks, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D94880
2020-11-05 21:08:10 +00:00
Gijs Kruitbosch c4136e1973 Bug 1425290 - also default bookmark properties (for keyword search bookmarks and multiple tab bookmarks) to the new default parent, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D95231
2020-11-06 00:37:09 +00:00
Gijs Kruitbosch bbab3fdc92 Bug 1425290 - use the new default bookmark location pref for 'bookmark this link' and 'bookmark this frame', r=mak
Differential Revision: https://phabricator.services.mozilla.com/D94879
2020-11-05 21:08:09 +00:00
Gijs Kruitbosch 543bac450b Bug 1665389 - create bookmarks on the toolbar by default, r=mak,jaws
This adds a pref containing a parent GUID, a lazy pref getter that validates
that GUID (asynchronously), and starts using the pref from the
PlacesCommandHook.

It also sets the future default (toolbar) into firefox.js, and overrides
that on the default branch when the new 2020 bookmarks pref is not set.

Finally, it sets the pref to the unfiled default for existing profiles
with a migration. If we end up delaying shipping, we'll need to
update that migration - but I don't see a way around that.

Differential Revision: https://phabricator.services.mozilla.com/D94500
2020-11-05 21:08:40 +00:00
Nicolas Chevobbe 2e2dfdc264 Bug 1673641 - [devtools] Fix browser_browser_toolbox_evaluation_context.js failure on beta simulation. r=ladybenko.
The test was failing on Beta because we weren't setting the devtools.webconsole.input.context
pref, which is true only on Nightly.
This patch flip this pref in the test, which seems to make the test pass.

Differential Revision: https://phabricator.services.mozilla.com/D96061
2020-11-05 17:04:10 +00:00
Mihai Alexandru Michis 2122917797 Bug 1674722 - Fix lint failure in js/moz.configure a=lint-fix
CLOSED TREE
DONTBUILD
2020-11-06 09:59:55 +02:00
Butkovits Atila 44cba455b5 Backed out 2 changesets (bug 1660336) for bustages on hwcontext_vaapi.h. CLOSED TREE
Backed out changeset 1e094ee6647f (bug 1660336)
Backed out changeset a7089f76921f (bug 1660336)
2020-11-06 09:41:25 +02:00
Masayuki Nakano 6109e35d9e Bug 1579934 - Make `WhiteSpaceVisibilityKeeper::MergeFirstLineOf*()` stop handling their job if calling `DeleteInvisibleASCIIWhiteSpace()` makes the descendant block position changed r=m_kato
They join first line of a descendant block element into the line at the other
block contains the descendant block.  First of all of their jobs, they call
`DeleteInvisibleASCIIWhiteSpace()` to clean up unnecessary whitespaces at
the other block.  At this time, the point which tells whether the descendant
element is contained in the other block may become invalid if script runs
and it causes changing the DOM tree.  Therefore, they should check the
given point is still valid after calling `DeleteInvisibleASCIIWhiteSpace()`
because `AutoTrackDOMPoint` requires valid point.

Differential Revision: https://phabricator.services.mozilla.com/D95987
2020-11-06 06:38:49 +00:00
Martin Stransky e2223e1b92 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-06 06:54:00 +00:00
Martin Stransky 06de9a615d 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 16:08:34 +00:00
Lars T Hansen b50158f16e Bug 1674722 - Fix moz.configure setup for cranelift. r=rhunt
We want to enable cranelift on aarch64 hardware except on Windows (due
to ABI issues) and on x64 with the aarch64 simulator, but not on x64
in general (because it is immature).

Add a test case to ensure that cranelift is not enabled where we do
not expect it to be.

Differential Revision: https://phabricator.services.mozilla.com/D96058
2020-11-06 07:11:48 +00:00
Erik Nordin d9f598b6bf Bug 1666734 - Add two-sided printing checkbox to print UI r=sfoster,fluent-reviewers,flod,AlaskanEmily
This patch adds a new checkbox to the print UI for two-sided printing.
The checkbox is only visible if the currently selected printer supports
two-sided printing.

Notable Changes:
  - Add new section and checkbox for two-sided printing.
  - Add new getter to settings proxy for supportsDuplex.
  - Add new setter/getter to settings proxy for printDuplex.
  - Add new test for no duplex with PDF printer.
  - Add new test for toggle duplex in portrait orientation.
  - Add new test for toggle duplex in landscape orientation.
  - Add new test for toggle orientation with duplex checked.
  - Correctly set duple mode in GTK print settings.

Depends on D94026

Differential Revision: https://phabricator.services.mozilla.com/D93621
2020-11-06 06:33:27 +00:00
Mike Hommey 53fee2f4c4 Bug 1675437 - Use preprocessor to create Info.plist files. r=firefox-build-system-reviewers,mhentges
While we're in the vicinity, change the manual preprocessing of
Info.plist.in to uses of the preprocessor.

Differential Revision: https://phabricator.services.mozilla.com/D96014
2020-11-05 15:03:47 +00:00
Mike Hommey ead183252e Bug 1675437 - Avoid using iconv to create InfoPlist.strings. r=firefox-build-system-reviewers,mhentges
Since python creates little-endian utf-16 consistently whether
cross-compiling from Linux or compiling natively on macOS, we could
write a small script that essentially replaces iconv. On the other hand,
we're also doing some manual preprocessing on the InfoPlist.strings.in
files, and we might as well use the preprocessor for that.

So, we augment the preprocessor to allow an explicit output encoding
other than utf-8, and use the preprocessor instead of `sed | iconv`.

Differential Revision: https://phabricator.services.mozilla.com/D96013
2020-11-05 15:07:30 +00:00
Mike Hommey 60c444155f Bug 1675437 - Add application name to the crash reporter bundle display name. r=Gijs
Back in bug 382762, it was originally set to contain the application
name, and the Makefile parts have remained, but the application name was
removed in later iterations because back then, the crash reporter would
be shipped with XulRunner and that would be a problem for XulRunner
apps.

XulRunner is long dead, so we can go back to the original idea.

The real motive behind this is that InfoPlist.strings.in needs to be
converted to UTF-16 at build time, and that while we currently do that
with iconv, we want to change that, and a convenient way to do so is to
use the preprocessor, but then the preprocessor doesn't like that this
specific InfoPlist.strings.in doesn't have any preprocessing directives,
so this adds one.

Differential Revision: https://phabricator.services.mozilla.com/D96012
2020-11-05 11:08:22 +00:00
Matt Woodrow e05d3c80f8 Bug 1673983 - Preload d3d11 attachments for CompositorD3D11 if we might use it with software WebRender. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95980
2020-11-06 00:02:07 +00:00
Matt Woodrow ec72f3a124 Bug 1673983 - Support using D3D11 textures as external compositor surfaces with D3D11 compositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95800
2020-11-06 00:01:54 +00:00
Matt Woodrow 979882e86f Bug 1673983 - Add RenderTextureHostSWGL support to D3D11 RenderTextureHosts. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95799
2020-11-06 00:01:36 +00:00
Matt Woodrow 603d0db408 Bug 1673983 - Add D3D11 RenderCompositor for SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95797
2020-11-06 00:00:47 +00:00
Andrey Bienkowski 9985e57c16 Bug 1675094 Replace executeSoon() with waitForTick() in accessible/tests/browser r=Jamie,yzen
Differential Revision: https://phabricator.services.mozilla.com/D95779
2020-11-05 18:27:40 +00:00
Narcis Beleuzu 46929ae82f Backed out 2 changesets (bug 1673664, bug 1673662) for Documentation failure on glean.py
Backed out changeset 430caac2467d (bug 1673662)
Backed out changeset 0bae1f5facda (bug 1673664)
2020-11-06 01:35:59 +02:00
Harry Twyford 6af06ad706 Bug 1674485 - Restore URL heuristic icon after unselecting a one-off. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95537
2020-11-05 22:17:20 +00:00
Emilio Cobos Álvarez 2bb4bb83ef Bug 1675639 - Shrink custom property maps before making them immutable. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D96132
2020-11-05 23:24:13 +00:00
Emilio Cobos Álvarez 34c14ecd28 Bug 1675639 - Update indexmap. r=boris
New versions have shrink_to_fit().

Depends on D96130

Differential Revision: https://phabricator.services.mozilla.com/D96131
2020-11-05 23:23:27 +00:00
Emilio Cobos Álvarez c545098f4e Bug 1675639 - Don't waste string space before making values immutable. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D96130
2020-11-05 23:09:11 +00:00
Jared Wein fb60475439 Bug 1674160 - Don't show the bookmarks toolbar if there are no visible toolbarbuttons or toolbaritems. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95539
2020-11-05 23:00:55 +00:00
Jared Wein 7465d643ed Bug 1003364 - Add Bookmarks Toolbar view options to the context menu of the Bookmarks Toolbar. r=mak,Gijs
This patch doesn't show the view options when right-clicking on folders or bookmarks within the toolbar, and also doesn't include an item to enter Customize mode to keep the menu from growing too large.

Differential Revision: https://phabricator.services.mozilla.com/D95798
2020-11-05 23:00:47 +00:00
Mats Palmgren a5415dec54 Bug 1674594 - Remove the obsolete nsMathMLmfencedFrame and associated pref and tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95451
2020-11-05 22:36:43 +00:00
Niklas Baumgardner 751a932372 Bug 1545752 - The Picture-in-Picture window opens on correct monitor. r=mconley
Depends on D90813

Differential Revision: https://phabricator.services.mozilla.com/D95215
2020-11-05 18:23:04 +00:00
Chris H-C 379680dc54 Bug 1673662 - Implement FOG C++ and JS APIs for String metrics r=brizental,janerik
Differential Revision: https://phabricator.services.mozilla.com/D95785
2020-11-05 14:30:21 +00:00
Narcis Beleuzu f4d84dca33 Backed out changeset 1c37a165ba43 (bug 1674874) for bc failure on browser_UsageTelemetry_urlbar_searchmode.js CLOSED TREE 2020-11-06 00:38:24 +02:00
Narcis Beleuzu 37bd723824 Backed out 4 changesets (bug 1673983) for linting failure on moz.build CLOSED TREE
Backed out changeset f408fc890ba1 (bug 1673983)
Backed out changeset 49ae9de85ab9 (bug 1673983)
Backed out changeset 91d8f0f829fd (bug 1673983)
Backed out changeset 91cb8ee8ddd8 (bug 1673983)
2020-11-06 00:10:34 +02:00
Narcis Beleuzu d2c8150d6f Backed out changeset 8b153da7c0d0 (bug 1674241) for Lint failure on DiscoveryStreamFeed.jsm 2020-11-06 00:08:00 +02:00
Chris H-C c96dbaf582 Bug 1673664 - Implement C++ and JS FOG APIs for UUID r=janerik,brizental
Differential Revision: https://phabricator.services.mozilla.com/D95590
2020-11-05 14:19:21 +00:00
Emilio Cobos Alvarez f48f3d8fe3 Bug 1675323 - Apply scrollbar-width to the content select scrollbox. r=mconley
(Instead of applying it directly to the menulist).

Since it's not inherited, we need to get the right value over to the scrollbox.
For that, export it from the arrowscrollbox, with the same name as the places
menupopup uses for the same purpose.

Differential Revision: https://phabricator.services.mozilla.com/D95887
2020-11-05 21:11:54 +00:00
Johann Hofmann 330170b6aa Bug 1675596 - Enable cookie purging by default in Release. r=englehardt
Differential Revision: https://phabricator.services.mozilla.com/D96096
2020-11-05 21:16:47 +00:00
Andrew Halberstadt 331bc892dd Bug 1675319 - [manifestparser] Properly support multiline skip-if statements, r=jmaher,extension-reviewers,zombie
This supports one manifestparser expression per line in the 'skip-if',
'fail-if' and 'run-if' keys. As a side effect the:

    skip-if = foo ||
        bar

syntax is no longer supported. Instead it can be:

    skip-if =
        foo  # bug 123
        bar  # bug 456

Differential Revision: https://phabricator.services.mozilla.com/D95927
2020-11-05 19:55:08 +00:00
Gavin Lazar Suntop f1c2e8e669 Bug 1674241 - Update popular topics r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D96095
2020-11-05 20:56:27 +00:00
Matt Woodrow af301ad5db Bug 1673983 - Preload d3d11 attachments for CompositorD3D11 if we might use it with software WebRender. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95980
2020-11-05 19:27:36 +00:00
Matt Woodrow d3116d3c9e Bug 1673983 - Support using D3D11 textures as external compositor surfaces with D3D11 compositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95800
2020-11-05 19:27:23 +00:00
Matt Woodrow 489a752d51 Bug 1673983 - Add RenderTextureHostSWGL support to D3D11 RenderTextureHosts. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95799
2020-11-05 20:18:13 +00:00