Commit Graph

23686 Commits

Author SHA1 Message Date
Margareta Eliza Balazs
0bb5e5ba36 Merge inbound to mozilla-central. a=merge 2018-05-19 12:39:28 +03:00
David Parks
da2f987b8a Bug 1419488: Release IAudioSessionControl on background thread on Win7 r=jimm
Releases the final reference to the IAudioSesionControl on a background thread in order to circumvent a hang at shutdown caused by stalled audio device interrupt handlers.
2018-05-04 15:57:26 -07:00
Adam Gashlin
81166cba63 Bug 603903 - Part 3: fix screen enumeration when not logged in r=jimm
MozReview-Commit-ID: LboLGStqpp0

--HG--
extra : rebase_source : d203d891e3c51c2514f45a3851471c3988ff0ce5
2018-04-25 15:01:11 -07:00
Adam Gashlin
cfb0debdc5 Bug 603903 - Part 2: restore session when restarted by Windows r=mikedeboer
MozReview-Commit-ID: EEKZAZZ9E98

--HG--
extra : rebase_source : 4013e4c7e1ef1e24238cde84229efb5b5b62fde4
2018-05-15 18:28:08 -07:00
Martin Stransky
a3281d15fd Bug 1462571 - Check dbus name by dbus_validate_bus_name() before use, r=jhorak
MozReview-Commit-ID: AxQp79oyRlm

--HG--
extra : rebase_source : 2065620e9b6387f7b82459c7590315e9e1591944
2018-05-18 12:54:03 +02:00
Bogdan Tara
3287e1104c Merge inbound to mozilla-central. a=merge 2018-05-18 01:04:08 +03:00
Mats Palmgren
6e331b1d1d Bug 1461222 part 2 - Make GetWidgetPadding return LayoutDeviceIntMargin. r=emilio 2018-05-17 17:30:35 +02:00
Mats Palmgren
bae2d6f225 Bug 1461222 part 1 - Make GetWidgetBorder return LayoutDeviceIntMargin. r=emilio 2018-05-17 17:30:35 +02:00
Bas Schouten
0185b11068 Bug 1457758: Blacklist NVidia driver 397.31. r=davidb
MozReview-Commit-ID: 9IomfIWkmpb
2018-05-17 16:46:52 +02:00
Martin Stransky
e12dbaec51 Bug 1461203 - use GetScrollbarMetrics() to access scrollbar metrics, r=jhorak
MozReview-Commit-ID: 3gnFNfxQJZi

--HG--
extra : rebase_source : 86174c8a28eb4737885fe4e4c5dc00e08811b0da
2018-05-17 14:40:21 +02:00
Tanushree Podder
22d30f4b45 Bug 1458711 - Allow pinch-zooming to be triggered by Mac trackpad gestures (behind a pref); r=botond,mstange
Previously, a feature was added to trigger pinch-zooming on desktops using the
mousewheel and a modifier key of the user's choosing (behind a pref).

To make testing easier on Macs, we wanted to trigger pinch-zooming
through Mac trackpad gestures. This patch enables pinch zooming through
trackpad gestures when the prefs apz.allow-zooming and
dom.meta-viewport.enabled are set to true. Currently, tests for this feature
were performed manually.

We will be using this feature only for internal testing. Later on when zooming
on desktops is more well-behaved, we will create automated tests and ship it.

MozReview-Commit-ID: HQ9OsPA1HPM

--HG--
extra : rebase_source : 47e4efb28f7ecc1867c00486dcff02b8922d0fc0
2018-05-15 16:03:24 -04:00
Makoto Kato
fb3fb140eb Bug 1456294 - Hook ImmAssociateContextEx. r=masayuki 2018-05-17 14:47:55 +09:00
sotaro
196c70b995 Bug 1437334 - Block DX NV12 on SandyBridge for old graphics drivers r=jrmuizel 2018-05-17 12:07:20 +09:00
Jim Mathies
d11ede6c1b Bug 1460003 - Only call nsWindow's AddHook for GetWindowInfo once. r=aklotz 2018-05-16 12:50:15 -05:00
shindli
55f2b0d77a Merge inbound to mozilla-central. a=merge 2018-05-16 21:31:38 +03:00
Evan Klitzke
300e919a5d Bug 1438136 - [Wayland/Clipboard] Null terminate text string returned by GetClipboardText(), r=stransky 2018-05-15 01:33:00 +03:00
Martin Stransky
5fbefbfb2d Bug 1460605 - Provide NS_NATIVE_EGL_WINDOW to get a native EGL window on Wayland, r=jhorak
Original patch author is Takuro Ashie <ashie@clear-code.com>

Provide ability to create native EGL window and provide it under NS_NATIVE_EGL_WINDOW
to GL code. The native EGL window is owned/managed by mozcontainer.

MozReview-Commit-ID: 4d0Kk6DRSaD

--HG--
extra : rebase_source : e4677ce51fbf918eb1b0257c66ca4b7220174bbb
2018-05-10 16:04:20 +02:00
Mike Shal
d46902e5dc Bug 1454912 - remove spurious generated files; r=nalexander
These GENERATED_FILES appear to be leftover from when parts
widget/android/bindings were still in Makefile.in, and are now redundant
with the GENERATED_FILES tuple in this moz.build file.

MozReview-Commit-ID: CxVDJQNCWeG

--HG--
extra : rebase_source : 9bed76436a458b680695ccc7ff9e19dc8497a80d
2018-05-09 16:15:03 -04:00
Martin Stransky
40eb570f1d Bug 1461306 - [Wayland] Don't use sizeof() to get mime type array size, r=jhorak
MozReview-Commit-ID: GE5helkqoUt

--HG--
extra : rebase_source : 0e66e835c13b934619ebc5386f6edb5018b9c1cf
2018-05-14 14:01:26 +02:00
Narcis Beleuzu
932adad93d Merge inbound to mozilla-central. a=merge 2018-05-15 00:36:35 +03:00
Adrian Wielgosik
c501e3beb0 Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
MozReview-Commit-ID: LKRnyDPNlle

--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
8a6d4efe5d Bug 1460940 - Remove nsIDOMDocument uses in widget/. r=bz
MozReview-Commit-ID: Rxvwm6zfrB

--HG--
extra : rebase_source : 0b76b09e0a9521af10b9900e33ff6b35abc289ff
2018-05-11 19:46:15 +02:00
Margareta Eliza Balazs
17675612bf Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-14 19:49:50 +03:00
Marco Bonardo
c8e987256f Bug 1460570 - Merge mozIAsyncFavicons into nsIFaviconService. r=standard8
MozReview-Commit-ID: JAxNj9MfcUI

--HG--
extra : rebase_source : b096792719a74fcf15909ce93f0d9341754009f6
2018-05-10 13:49:00 +02:00
Martin Stransky
725fbb83c3 Bug 1456451 - [CSD] Update toplevel GdkWindow property when it's recreated at nsWindow::SetDrawsInTitlebar(), r=jhorak
Implement SetCompositorHint() which sets _NET_WM_BYPASS_COMPOSITOR GtkWindow property when it's recreated
at nsWindow::SetDrawsInTitlebar().

Window role/class is handled by nsWindow::RefreshWindowClass(), it uses stored window class
passed to nsWindow::SetWindowClass().

MozReview-Commit-ID: 1JJsK1ZQyvu

--HG--
extra : rebase_source : 004fe2e379bf1ca2f157ef8df66c5875ab2c135c
2018-05-10 16:38:17 +02:00
Brindusan Cristian
1df25b391a Merge inbound to mozilla-central. a=merge 2018-05-12 12:47:14 +03:00
Jan Henning
843d1912b1 Bug 1450314 - Remove unused parameters for memory-pressure notifications. r=gsvelto
"alloc-failure" is completely unused apart from the description text in nsI-
Memory.idl (and has been since before Firefox 17), while "lowering-priority" is
still being checked for in the PuppetWidget, but otherwise unused as well since
the feature using it was decommissioned in bug 1234176.

Since we're touching the PuppetWidget code anyway, we take the opportunity to
add a check for "low-memory-ongoing" instead, since similar as to how things
used to be with "lowering-priority", we want to drop the LayerManager's cached
resources only when receiving a real full memory-pressure event, but not for
subsequent ongoing notifications.

MozReview-Commit-ID: HL03SOU8axe

--HG--
extra : rebase_source : c988769df36d8d77f4770c71d5c5e0d75c3b99af
2018-05-06 13:17:11 +02:00
James Willcox
2448df528a Bug 1453501 - Allow the compositor to be created in a paused state r=kats
MozReview-Commit-ID: B0wc8MYaBJg
2018-05-14 11:12:39 -05:00
James Willcox
9299e02cdf Bug 1453501 - Immediately create Compositor on Android r=jchen,rbarker
Currently we don't create the Compositor until we have a valid surface
to render into. This causes a race that can result in us not being able
to display anything at all once a surface is provided and the compositor
is started. It seems the easiest thing to do right now is to avoid the
race by starting the Compositor immediately.

MozReview-Commit-ID: HkdVL3LBNZB
2018-05-14 11:12:39 -05:00
Noemi Erli
fa0c01fc6b Bug 1456811 - disabled test_taskbar_progress.xul for frequent failures on Windows 10 !ccov. r=jmaher
--HG--
extra : rebase_source : 45c6884e30a4a5df545b66d7bac6c03f71cdff39
extra : histedit_source : e40f4ff6fad7ad1fef8bab8efd6db9cee6e8ca35
2018-05-14 01:27:00 +03:00
Stefan Hindli
0c522a46ca Bug 1457329 - disabled test_taskbar_jumplistitems.js on Windows 10 for frequent falures. r=jmaher
--HG--
extra : rebase_source : 08458db8e4b571a0ea3e549ba8c4e82d256b022a
extra : histedit_source : 06adf817214d155539edf235e0a9471b4d761a91
2018-05-14 02:19:00 +03:00
David Major
2428ba795b Bug 1460699 followup bustage fix.
error: use of undeclared identifier 'sShutdownOccured'; did you mean 'sShutdownOccurred'?

Why yes, yes I did. Thanks clang!
2018-05-14 11:48:01 -04:00
Margareta Eliza Balazs
4f9a2ba08e Merge inbound to mozilla-central. a=merge 2018-05-11 12:36:02 +03:00
YUKI "Piro" Hiroshi
dd7b3aab39 Bug 1457395 - Fix typo "proces" in comments. r=milan
--HG--
extra : amend_source : 36cf036803ff9bffaebb66fc31ff7b960f0c7509
2018-05-10 16:56:09 +09:00
James Willcox
1ddcfb2222 Bug 1433968 - Add crash reporting control to GeckoRuntimeSettings r=esawin,jchen
MozReview-Commit-ID: TQ7hvekIVJ
2018-05-10 16:42:19 -05:00
Brendan Dahl
0cc1c8ec9b Bug 221706 - Use unwritable region when printing on Windows. r=jimm
Read more information from the printing device to setup the unwritable region.
Translate the printing context's coordinate system so that the point (0,0)
refers to the top-left of the physical paper instead of the top-left of the
printable region.

MozReview-Commit-ID: 9ei2FgEUDyO

--HG--
extra : rebase_source : c2e2715f47499538035101a285152eca2aba3202
2018-03-28 17:13:10 -07:00
Jan Henning
60fdddd5ed Bug 1335148 - Part 3: Notify Gecko and turn bfcache back on when Fennec memory pressure decays to 0. r=snorp
MozReview-Commit-ID: 6Oyu7Lx1gFQ

--HG--
extra : rebase_source : f2cf0d587f0eaa60033539a9506fde6b0494b3a8
2018-05-06 13:40:05 +02:00
Xidorn Quan
4ddb42237d Bug 1460116 - Remove ShouldHideScrollbars. r=jimm
MozReview-Commit-ID: 7v6Eylefk4t

--HG--
extra : rebase_source : f37e94e205e7e589c3a47f282c57b725d65914d9
2018-05-09 11:40:58 +10:00
Jim Chen
8f6ba7ef0c Bug 1459297 - Use SDK JNI calls for boxing/unboxing GeckoBundle values; r=snorp
Instead of the helper methods in GeckoBundle, add SDK JNI calls for the
boxing/unboxing operations, and use those calls directly. Moreover, for
unboxing Boolean/Double/Integer, use their internal "value" field value
directly if possible, to avoid making a JNI method call.

MozReview-Commit-ID: Azvov1gCeje

--HG--
extra : rebase_source : 34cd4a821d2b47e48957f241bbf165439635be59
2018-05-07 10:05:56 -04:00
Tiberius Oros
5245fb43e0 Backed out 6 changesets (bug 1433968) for Android failures on GeckoRuntimeSettings on a CLOSED TREE
Backed out changeset bba1deb626b5 (bug 1433968)
Backed out changeset 7a8616427aea (bug 1433968)
Backed out changeset c94c48d76350 (bug 1433968)
Backed out changeset 64cccb490a2a (bug 1433968)
Backed out changeset 62f865eed952 (bug 1433968)
Backed out changeset 5ed1e3af37ba (bug 1433968)
2018-05-10 18:11:55 +03:00
James Willcox
b409eb3af6 Bug 1433968 - Add crash reporting control to GeckoRuntimeSettings r=esawin,jchen
MozReview-Commit-ID: TQ7hvekIVJ
2018-05-10 08:34:06 -05:00
David Major
8c24450c7e Bug 1460699: Use an 's' rather than 'm' prefix for GfxInfo static variables. r=milan 2018-05-14 11:16:50 -04:00
shindli
42cb453a11 Backed out 3 changesets (bug 1453501) for bustage in build/build/src/gfx/gl/GLContextProviderEGL.cpp on a CLOSED TREE
Backed out changeset 8b53a7b34121 (bug 1453501)
Backed out changeset c07588586701 (bug 1453501)
Backed out changeset 6c231423492b (bug 1453501)
2018-05-14 17:05:14 +03:00
James Willcox
58d7215e3c Bug 1453501 - Allow the compositor to be created in a paused state r=kats
MozReview-Commit-ID: B0wc8MYaBJg
2018-05-14 08:15:38 -05:00
James Willcox
f22b96748b Bug 1453501 - Immediately create Compositor on Android r=jchen,rbarker
Currently we don't create the Compositor until we have a valid surface
to render into. This causes a race that can result in us not being able
to display anything at all once a surface is provided and the compositor
is started. It seems the easiest thing to do right now is to avoid the
race by starting the Compositor immediately.

MozReview-Commit-ID: HkdVL3LBNZB
2018-05-14 08:15:38 -05:00
Margareta Eliza Balazs
b51d5aed5d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-11 12:44:53 +03:00
Evan Klitzke
b2b1e7e2c3 Bug 1460810 - [Gtk/Wayland] Handle error value (-1) returned by gtk_section_data_get_length(), r=stransky 2018-05-11 00:30:00 +03:00
Margareta Eliza Balazs
eb6c5214a6 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
Ciure Andrei
4b3c343192 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-09 02:03:22 +03:00
Ciure Andrei
61548f81d6 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/meta/webdriver/tests/navigation/get_title.py.ini => testing/web-platform/meta/webdriver/tests/get_title/user_prompts.py.ini
2018-05-09 01:58:44 +03:00