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

26726 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu a475e11422 Backed out 2 changesets (bug 1652000) for bustages on ChromeUtils.cpp . CLOSED TREE
Backed out changeset 5f02a357671c (bug 1652000)
Backed out changeset 22bb2a5032b7 (bug 1652000)
2020-07-17 20:16:32 +03:00
David Teller 7c291bdfd1 Bug 1652000 - Refactoring ChromeUtils::RequestProcInfo to place a single request to GetProcInfo;r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D83335
2020-07-17 15:17:52 +00:00
Andrew Osmond 4a645cb26a Bug 1653464 - Improve Linux desktop and window protocol detection. r=nical
This patch adds detection for XWayland, as that is sometimes an
important distinction when debugging WebRender bugs. For all intents and
purposes, it should work the same as X11, but sometimes does not.

This patch also fixes the desktop environment detection for a few corner
cases. Budgie, in particular, claims to be a GNOME variant, which is not
correct for our purposes, and DWM wasn't detected at all.

Differential Revision: https://phabricator.services.mozilla.com/D83876
2020-07-17 09:57:25 +00:00
Makoto Kato 61c5bb1a5e Bug 1648534 - Read HKLM's EnableDesktopModeAutoInvoke entry if no entry in HKCU. r=masayuki
This is regression by bug 1618759 and bug 1197722.

By bug 1197722, we use registry value whether opening software keyboard even if
desktop mode. But this fix isn't enough.

Also, before landing bug 1618759, since TSF manages software keyboard state on
newer Windows 10 version such as Windows 10 RS1, bug 1197722's fix isn't used.
Then, after landing bug 1618759, since we use `EnableDesktopModeAutoInvoke`
again, this issue occurs.

Since `EnableDesktopModeAutoInvoke` is available if in HKLM, we should read
HKLM's key too.

Differential Revision: https://phabricator.services.mozilla.com/D83489
2020-07-17 03:02:15 +00:00
Cameron McCormack af3cb9efc8 Bug 1620467 - Part 5: Remove appearance values not used by the browser or Web content. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83431
2020-07-16 22:04:14 +00:00
Cameron McCormack dd61f595eb Bug 1620467 - Part 4: Change internal uses of -moz-appearance to appearance and -moz-default-appearance. r=emilio,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,ntim,agi,miketaylr
Uses of `-moz-appearance: none` are changed to `appearance: none`.

Uses of other values that are simply reverting the appearance back to
its default are changed to `appearance: auto`.

Uses of values in UA sheets that are defining the inherent appearance of
widgets are changed to:

  appearance: auto;
  -moz-default-appearance: <value>;

since those values are either no longer supported on (-moz-)appearance,
or are still supported but only in some limited form.

There are some uses of `-moz-appearance: textfield` on <input
type=number> elements that are renamed to `appearance: textfield`.

Differential Revision: https://phabricator.services.mozilla.com/D83430
2020-07-16 22:04:14 +00:00
Cameron McCormack 1fe732d979 Bug 1620467 - Part 3: Defer to -moz-default-appearance when appearance is auto. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83429
2020-07-16 22:04:12 +00:00
Edgar Chen 86341ec4ef Bug 1653214 - Part 2: Remove nsIBaseWindow::Create; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D83767
2020-07-16 20:42:20 +00:00
Butkovits Atila e5880f1a26 Backed out changeset 697243e0434b (bug 1640960) as requested by kvark. CLOSED TREE 2020-07-16 17:31:20 +03:00
Xidorn Quan c7ff1de54c Bug 1350875 part 4 - Have windows notify fullscreen will change. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D68681
2020-07-15 12:21:45 +00:00
Xidorn Quan 1ad851c5cb Bug 1350875 part 3 - Have GTK notify fullscreen will change. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D68680
2020-07-15 11:10:29 +00:00
Xidorn Quan 14becb6203 Bug 1350875 part 2 - Have cocoa always notify fullscreen will change. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D68679
2020-07-15 11:10:22 +00:00
Xidorn Quan cd22a67b7e Bug 1350875 part 1 - Have android notify fullscreen will change. r=snorp,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D68678
2020-07-15 14:23:14 +00:00
alwu 1493d7798d Bug 1621403 - part2 : implement `seekto` action. r=chunmin,emilio
Implement `Seekto` action [1]. In addtion, as `seekto` can go with additional properties, we create a new structure `MediaControlAction` to wrap `MediaControlKey` and `SeekDetails`, which can be sent with `seekto`.

[1] https://w3c.github.io/mediasession/#dom-mediasessionaction-seekto

Differential Revision: https://phabricator.services.mozilla.com/D82816
2020-07-16 00:16:33 +00:00
Emily McDonough b8cee90569 Bug 1631465 part 2 - Add unwritable margin information for OS X r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D83392
2020-07-15 18:25:19 +00:00
Emily McDonough 80b4720de5 Bug 1631465 part 1 - Add unwritable margin information to nsIPaper r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D83387
2020-07-15 18:38:08 +00:00
Simon Giesecke 96fb649d21 Bug 1652017 - Remove unnecessary includes for expensive nsIFrame.h. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83111
2020-07-15 13:44:39 +00:00
Simon Giesecke 0421532c89 Bug 1652008 - Add some missing include directives in widget/windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D83102
2020-07-15 13:43:37 +00:00
Simon Giesecke 426bb6e4a5 Bug 1651930 - Add missing include in nsXPLookAndFeel.cpp. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D83048
2020-07-15 12:45:07 +00:00
Simon Giesecke fea9dab7f2 Bug 1651714 - Reduce expensive includes for TabMessageUtils.h. r=smaug
With these changes, on my Linux analysis with ClangBuildAnalyzer, the
top two expensive headers, DOMTypes.h and TabMessageUtils.h are no longer
among the 30 most expensive headers.

Differential Revision: https://phabricator.services.mozilla.com/D82935
2020-07-15 13:24:20 +00:00
Dzmitry Malyshau 368c201e04 Bug 1640960 - Remove aPosition from all shaders, except debug ones r=gw,jrmuizel
we only draw quads, and for quads we have a fixed vertex buffer with positions.
If we get stop using instancing, we'll no longer have the luxury of 4 vertices there.
Given that they are trivial to compute, it seems simpler to just do that in the shader today.
So this PR is a required step on the way to instance-less rendering.

It appears that we are hitting a driver bug with Intel on macOS, where scissored clears don't work properly if we render without per-vertex attributes.
It doesn't make a ton of sense, but switching to quad clears appears to fix it for me. Added the corresponding entry to the wiki - https://github.com/servo/webrender/wiki/Driver-issues#bug-1652763---glitches-on-macos-intel-with-clears

Differential Revision: https://phabricator.services.mozilla.com/D83391
2020-07-15 15:27:32 +00:00
Frederik Braun a7153982e8 Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Bob Owen 63b5b5e9b2 Bug 1650886 Part 4: Expose Paper Sizes for Windows. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D83503
2020-07-14 18:40:23 +00:00
Csoregi Natalia 5106918e11 Backed out changeset d0ff30e1d830 (bug 1650692) for toolchains failures on ImageDecoderTest.kt. CLOSED TREE 2020-07-15 07:42:37 +03:00
Tiger Oakes f543954b4b Bug 1650692 - ImageDecoder improvements, r=agi,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D82308
2020-07-15 03:14:54 +00:00
Sylvestre Ledru 1dbb63db2b Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D83258
2020-07-14 09:34:19 +00:00
Razvan Maries 269fbe86a7 Backed out changeset 360e214bf67b (bug 1530052) as requested. CLOSED TREE 2020-07-14 12:19:59 +03:00
Masayuki Nakano 62d9274b1d Bug 1651597 - Enable `TS_E_NOLAYOUT` hack for Microsoft ChangJie even after Win10 build 17643 r=m_kato
As reported, Microsoft ChangJie is not async layout handling aware. As far as
I've tested, other IMEs for both Simplified and Traditional Chinese TIPs on
Win10.  So, we should take the hack back in Nightly channel for ChangJie
even when it runs on new Win10 build.

Differential Revision: https://phabricator.services.mozilla.com/D83286
2020-07-14 01:30:06 +00:00
Erik Nordin 251f881853 Bug 1650886 - Part 2 Expose Paper Sizes for macOS r=jwatt
- Add macOS-specific function to retrieve the paper list for a given printer.
- Add JS test to ensure papers are initialized with valid values.

Differential Revision: https://phabricator.services.mozilla.com/D82598
2020-07-13 19:33:00 +00:00
Erik Nordin e0a331533f Bug 1650886 - Part 1 nsIPaper Base Implementation r=jwatt
- Add `nsIPaper` interface.
- Add `nsIPaper` implementaiton.

Differential Revision: https://phabricator.services.mozilla.com/D82461
2020-07-13 19:59:26 +00:00
Kris Maglione f57f59c446 Bug 1650562: Add missing null check for document BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D82988
2020-07-13 18:39:52 +00:00
Butkovits Atila fa8b334372 Backed out 2 changesets (bug 1650886) for causing bustage at Unified_cpp_widget_windows1.obj. CLOSED TREE
Backed out changeset de485a27b337 (bug 1650886)
Backed out changeset f65d2491cbb4 (bug 1650886)
2020-07-13 22:15:01 +03:00
Erik Nordin e615e501cf Bug 1650886 - Part 2 Expose Paper Sizes for macOS r=jwatt
- Add macOS-specific function to retrieve the paper list for a given printer.
- Add JS test to ensure papers are initialized with valid values.

Differential Revision: https://phabricator.services.mozilla.com/D82598
2020-07-13 18:30:18 +00:00
Erik Nordin d7ede66669 Bug 1650886 - Part 1 nsIPaper Base Implementation r=jwatt
- Add `nsIPaper` interface.
- Add `nsIPaper` implementaiton.

Differential Revision: https://phabricator.services.mozilla.com/D82461
2020-07-13 17:17:29 +00:00
Jeff Muizelaar ad228a77f0 Bug 1652124 - Elaborate FEATURE_FAILURE_UNKNOWN_DEVICE_VENDOR. r=aosmond
This should help separating out some of the UNKNOWN_DEVICE_VENDOR that
we see in telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D83170
2020-07-10 22:09:56 +00:00
Jan Alexander Steffens (heftig) 8656890511 Bug 1530052 - Use remoting name for GDK program name and class. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D80371
2020-07-13 12:32:38 +00:00
Masayuki Nakano ab1d1d9708 Bug 1649980 - part 7: Redesign `WSRunObject::MaybeReplaceInclusiveNextNBSPWithASCIIWhiteSpace()` r=m_kato
Same as the previous patch, it can be split to computation part and
modifying the DOM tree part.  Then, the former can be in `TextFragmentData`
and the latter can be done by the caller which is only
`WSRunObject::InsertText()`.

Depends on D82699

Differential Revision: https://phabricator.services.mozilla.com/D82700
2020-07-13 08:31:51 +00:00
Razvan Maries 10b6298357 Backed out 2 changesets (bug 1650886) for leakcheck failures.
Backed out changeset e2485d1bb142 (bug 1650886)
Backed out changeset ed8db2a54c61 (bug 1650886)
2020-07-12 00:01:04 +03:00
Erik Nordin 6a3156ccfa Bug 1650886 - Part 2 Expose Paper Sizes for macOS r=jwatt
- Add macOS-specific function to retrieve the paper list for a given printer.
- Add JS test to ensure papers are initialized with valid values.

Differential Revision: https://phabricator.services.mozilla.com/D82598
2020-07-11 18:20:53 +00:00
Erik Nordin f8a91329e7 Bug 1650886 - Part 1 nsIPaper Base Implementation r=jwatt
- Add `nsIPaper` interface.
- Add `nsIPaper` implementaiton.

Differential Revision: https://phabricator.services.mozilla.com/D82461
2020-07-11 18:18:18 +00:00
Erik Nordin ce70595b23 Bug 1651532 - Change systemDefaultPrinter to systemDefaultPrinterName r=jwatt
The `systemDefaultPrinter` attribute in `nsIPrinterList` currently has
only one usage: to retrieve the printer's name. This patch changes the
attribute to be the name instead of the whole printer until such
funcationality is needed.

Differential Revision: https://phabricator.services.mozilla.com/D82951
2020-07-10 19:00:17 +00:00
Kagami Sascha Rosylight be14330b03 Bug 1483448 - Use WinUtils::GetSystemMetricsForDpi() to get frame sizes r=cmartin
Currently `nsWindow::UpdateNonClientMargins()` calls DPI-unaware `GetSystemMetrics()` to get the window frame sizes and `nsWindow::ProcessMessage()` simply multiplies them by the screen scale ratio. This is wrong as the frame sizes do not increase in linear scale (8 in 100% scale while 13 in 200% scale). This patch uses DPI-aware `GetSystemMetricsForDpi()` to correct this.

Differential Revision: https://phabricator.services.mozilla.com/D81447
2020-07-10 18:13:42 +00:00
Bogdan Tara f78bce3518 Backed out changeset ee44f7dc5f2b (bug 1547595) for browser_removeUnsafeProtocolsFromURLBarPaste.js failures CLOSED TREE 2020-07-10 21:19:56 +03:00
Tom Schuster 71202fc0b5 Bug 1547595 - Work around brokeness in GTK with CRLF copying. r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D82224
2020-07-10 12:03:02 +00:00
Kris Maglione 6a39211860 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 21:42:25 +00:00
Csoregi Natalia b355fcc4bf Backed out 6 changesets (bug 1464542) for xpcshell failures on test_Services.js. CLOSED TREE
Backed out changeset b50af9005851 (bug 1464542)
Backed out changeset 9d3a0ea2cf65 (bug 1464542)
Backed out changeset 71c3475fcbc2 (bug 1464542)
Backed out changeset 51ff93220a95 (bug 1464542)
Backed out changeset e84de1547c09 (bug 1464542)
Backed out changeset bbecc16d08eb (bug 1464542)
2020-07-09 23:19:26 +03:00
Kris Maglione d09458dc51 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 17:59:16 +00:00
Kris Taeleman c1c9b971d0 Bug 1649591 - Fix remote desktop graphics initialization. r=jrmuizel
If the device key is empty, we are most likely in a remote desktop environment. In this case we set the devicekey to an empty string so it can be handled later and not early out.

Differential Revision: https://phabricator.services.mozilla.com/D81782
2020-07-08 22:25:02 +00:00
Nika Layzell 22a65a237e Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 20:15:59 +00:00
Jeff Muizelaar ef6f52b8e9 Bug 1651063 - Lower minimum Intel driver to 24.20.100.6286 for WebRender. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D82526
2020-07-08 19:13:37 +00:00