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

23299 Коммитов

Автор SHA1 Сообщение Дата
Martin Stransky afa356a144 Bug 1408335 - Render titlebar icons as themed ones, r=jhorak
Render titlebar button icons as a part of -moz-window-button-* appearence. It allows us to
theme the icons accordingly. We add a GtkImage widget to header bar buttons as Gtk+ does and
store icon pixel data there and render it at moz_gtk_header_bar_button_paint() as a part
of the buttons. It means that the toolbar buttons are not containers and
moz_gtk_get_widget_border() returns zero border for them.

Also implement GetToolbarButtonMetrics() per button.

MozReview-Commit-ID: gkAu3VmE3q

--HG--
extra : rebase_source : d1df34537901342969d1e33524b414a2786df541
2018-01-25 11:13:12 +01:00
Gurzau Raul be56d6a917 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-30 12:10:18 +02:00
Gurzau Raul c380dfe905 Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
Hiroyuki Ikezoe eeefe00d01 Bug 1433008 - Make AnimationEventInfo, InternalTransitionEvent and InternalAnimationEvent movable. r=masayuki
And disallow using copy constructor and copy assignment for the structs.

MozReview-Commit-ID: 7jSktlu1SqN

--HG--
extra : rebase_source : cc8bcb1f95843a2a46a044e226c299a6196ef2a2
2018-01-30 09:26:48 +09:00
Hiroyuki Ikezoe 2e4cb19d33 Bug 1433008 - Make WidgetEvent movable. r=masayuki
The copy-assignment in this patch is used in the copy-constructor.
Note that we can't simply use '= default' implementation since we need to use
MOZ_COUNT_CTOR() in the move constructor.

MozReview-Commit-ID: 8HTMaTONBuN

--HG--
extra : rebase_source : 7da0586e0772a2d71455492412d40780c59558e5
2018-01-30 09:26:48 +09:00
Martin Stransky db7fdb4a6d Bug 1433869 - Disable CSD titlebar mode on untested/unknown systems for Release/Beta, r=jhorak
MozReview-Commit-ID: JRF0BAbtkRN

--HG--
extra : rebase_source : 42f68009ca1dafcd71ca9dacb33eeec98e598178
2018-01-29 11:35:31 +01:00
Cosmin Sabou c6a0d55423 Backed out 11 changesets (bug 1428182) for build bustages on pixman-inlines.h:29:10 on a CLOSED TREE
Backed out changeset 84c767de6202 (bug 1428182)
Backed out changeset 429433caa78c (bug 1428182)
Backed out changeset c576e9d1f68f (bug 1428182)
Backed out changeset 092662eab5eb (bug 1428182)
Backed out changeset 4dd7eaff3ab5 (bug 1428182)
Backed out changeset fbbb0745b139 (bug 1428182)
Backed out changeset 1d1278b289b7 (bug 1428182)
Backed out changeset 55891ffb3768 (bug 1428182)
Backed out changeset 4655e1b1b237 (bug 1428182)
Backed out changeset 377eada51b3c (bug 1428182)
Backed out changeset 17c0e373d921 (bug 1428182)

--HG--
rename : ipc/chromium/src/third_party/libevent/patches/android-api-level.patch => ipc/chromium/src/third_party/libevent/patches/android-arc4random-buf.patch
2018-01-30 01:22:33 +02:00
Jim Chen 4d430ace3d Bug 1428182 - 8. Don't redefine keycodes when using unified headers; r=esawin
The unified headers already define the keycodes in
GeckoEditableSupport.cpp, so only define them ourselves when not using
unified headers (by checking the __ANDROID_API_X__ macros).

MozReview-Commit-ID: 3Ptakcm0rW

--HG--
extra : rebase_source : 01c302fa92ea00374d8f1dae326670dd98ad3ec8
2018-01-29 17:38:14 -05:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Boris Zbarsky e565b1fe1b Bug 1432944 part 11. Remove nsIDOMElement::GetAttribute. r=mccr8
MozReview-Commit-ID: 2f1vFvRdCPG
2018-01-29 23:28:00 -05:00
Boris Zbarsky 37aaea3c1f Bug 1432186 part 16. Remove nsIDOMNode's ownerDocument attribute. r=mccr8
MozReview-Commit-ID: JqfAFxPBz41
2018-01-29 23:10:52 -05:00
Boris Zbarsky c646473558 Bug 1432186 part 3. Remove nsIDOMNode's nodeName attribute. r=mccr8
MozReview-Commit-ID: Jg0Tuvdi6uX
2018-01-29 23:10:50 -05:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Masatoshi Kimura 526dc874b1 Bug 685236 - Stop using GetNativePath in widget/windows. r=jimm
MozReview-Commit-ID: I49ngV1Jq9I

--HG--
extra : source : 667abe2ccae907c9f9c71f1c01b7562e036907e2
extra : intermediate-source : b67934d4d458a3e751def1c33c3c6d421772cf51
2017-12-16 14:51:31 +09:00
Martin Stransky e954424179 Bug 1432385 - Use window manager borders on LXQt, r=jhorak
MozReview-Commit-ID: JkyBMBovCIG

--HG--
extra : rebase_source : b993e7d679b8fecbfa1fdf09f4edbb8804a5a7d1
2018-01-25 15:52:06 +01:00
Masayuki Nakano e43e597a9e Bug 1433101 - part 2: Treat Enter and Shift+Enter as printable key r=smaug
Chromium dispatches a keypress event when pressing Enter or Shift+Enter.
Actually, when user press them in <pre> element of HTML editor, ツ・n is inserted.
It makes sense to treat the key combinations as inputting text.

MozReview-Commit-ID: Hvx87MZtZkn

--HG--
extra : rebase_source : 196b63843ebcb6e4b398f6b21a4f5f1d020b8db3
2018-01-25 23:59:20 +09:00
Masayuki Nakano 082c64aa0c Bug 1433101 - part 1: Add new pref which disables keypress event for non-printable keys only for the default event group in web content r=smaug
UI Events declares that keypress event should be fired when the keypress event
causes some text input.  However, we're keeping our traditional behavior for
historical reasons because our internal event handlers (including event
handlers of Thunderbird) handles keypress events for any keys.  Therefore,
for minimizing the side effect, we should stop kicking keypress event handlers
in the default event group in web content.

This patch adds new pref for enabling the standard behavior in web content.

Additionally, creates WidgetKeyboardEvent::IsInputtingText() for sharing the
check logic between TextEventDispatcher and TextEditor/HTMLEditor.

MozReview-Commit-ID: 3rtXdLBPeVC

--HG--
extra : rebase_source : 2fc3c9a09840d0d03800c9a42bb83ca76a8db2d5
2018-01-25 23:27:07 +09:00
Masayuki Nakano df8f5c37dc Bug 1430628 - TextInputHandler::HandleCommand() should use native key event when it dispatches a keypress event either initializing with native event or creating fake event r=m_kato
TextInputHandler::HandleCommand() has two bugs.  One is, checking whether
the key event has caused composition events.  Even if it caused composition
events, we decided to dispatch keypress event for emulating native behavior.
Therefore, this patch removes the check of
|currentKeyEvent->CanDispatchKeyPress()|.

The other is, for making content handle dispatching keypress event as given
command, it needs to dispatch a keypress event whose key combination will
cause the command.  However, HandleCommand() needs to set native key event
since content may not refer key combination for some edit actions, they just
refer command which is computed with native key event with NativeKeyBindings.
Therefore, even if current native key event has already caused dispatching
some events, HandleCommand() needs to set
WidgetKeyboardEvent::mNativeKeyEvent to current native key event for
NativeKeyBindings.  Although it must be rare case, given key could be
not related to the command or not key could cause the command.  In this
case, and perhaps in all cases, we should set all commands of dispatching
keypress event before dispatching it.  Howevever, this needs more work,
so, we shouldn't do it in this bug to making it possible to uplift.
Therefore, this patch makes always set mNativeKeyEvent to current native
key event.  So, just warning it when command is caused without native
key event.

MozReview-Commit-ID: 2MvDTw4ruAu

--HG--
extra : rebase_source : 02a4ca980530aa16fa0e1aecd6d18fa42873c1dc
extra : source : 1e3137db3fe9822f34b98d59fb928497caca466a
2018-01-24 19:13:01 +09:00
arthur.iakab 39d63fc827 Merge mozilla-central to autoland 2018-01-26 02:31:18 +02:00
Gurzau Raul ea1ff80377 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 19:08:48 +02:00
Andrea Marchesini c6da271117 Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Martin Stransky 6000bcea15 Bug 1431049 - don't crash when keyboard is not present, based on patch by Takuro Ashie. r=jhorak
MozReview-Commit-ID: 4o7P8Dzui22

--HG--
extra : rebase_source : 41406951fe82f357c5a743958b4942e45f1c355a
2018-01-19 10:08:48 +01:00
Kris Maglione aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione 30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Nick Alexander e5c8c8e9a3 Bug 1419581 - Part 3: Guard PresentationMediaPlayer windows with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3ZlVUMufn2g

--HG--
extra : rebase_source : 277c272236fed0a4d316401d7369bf025221fe75
extra : intermediate-source : 5224db0c36aa41d3a333875b29c9048e25eca651
extra : source : a7d75667c58ba0069bbb40ad688884a856660a60
2018-01-05 11:35:00 -08:00
Nick Alexander b2dc9043ec Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 8cc4621269ac24abe889494ccfa80e6f90c7f428
extra : intermediate-source : 072108d165905e8e6dfdc6720512b6610e30cd68
extra : source : 2ea82ff4a757a0aeb7bdd8cff611d5b92dec14eb
2017-12-06 20:28:04 -08:00
Cosmin Sabou 6cfb14fd97 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-25 00:07:47 +02:00
Narcis Beleuzu 9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Narcis Beleuzu f8bb2d707a Merge autoland to mozilla-central. a=merge 2018-01-24 23:54:03 +02:00
Brindusan Cristian 9e0ffdd8cb Backed out 7 changesets (bug 1419581) as requested by nalexander a=backout
Backed out changeset 7f41dd3bbc2d (bug 1419581)
Backed out changeset d4d42899e5cd (bug 1419581)
Backed out changeset 78828bf781d7 (bug 1419581)
Backed out changeset 5224db0c36aa (bug 1419581)
Backed out changeset 072108d16590 (bug 1419581)
Backed out changeset f8b3e95f18e4 (bug 1419581)
Backed out changeset 5f7645a19bf1 (bug 1419581)
2018-01-24 22:28:19 +02:00
Valentin Gosu b53812bfed Bug 1432187 - Change code to use nsIStandardURLMutator.{init,setDefaultPort} r=mayhemer
MozReview-Commit-ID: K2Uy9ET3Ay6

--HG--
extra : rebase_source : fb5e19bc7b71a6f0264471bf8f07febf1bc55900
2018-01-24 20:33:02 +01:00
Ryan Hunt 27c33e0bdf Add tiling and paint worker count information to about:support. (bug 1432516, r=milan)
--HG--
extra : rebase_source : f2ce10a284f53b21ce5eb94f039808ec92f40685
extra : histedit_source : d3bbb62e946fe32f601cc7753513d2d30f2aa294
2018-01-23 15:52:13 -06:00
Brindusan Cristian 368c3d5b6b Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini c5a9793a96 Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me 2018-01-24 18:45:56 +01:00
Martin Stransky 0594ae2db5 Bug 1427999 - Use GetToolbarButtonMetrics() to get correct titlebar button size at nsNativeThemeGTK::GetMinimumWidgetSize, r=jhorak
MozReview-Commit-ID: HfPUk30LaJn

--HG--
extra : rebase_source : ef406e78e686a6ae190a0fbdb9aa945e40503ac6
2018-01-22 12:09:09 +01:00
Martin Stransky e77fe4bfe2 Bug 1427999 - Implement GetToolbarButtonMetrics() to get titlebar button size and border, r=jhorak
Titlebar button on Gtk+ >= 3.20 can have defined its size as min-width and min-height
and can leave CSS styles border/padding empty. To render the button icon at center we need to
calculate button widget border from gap between icon and button.

This is done by GetToolbarButtonMetrics() which also stores final values to
ToolbarButtonGTKMetrics cache.

MozReview-Commit-ID: 5sMJATWHUNX

--HG--
extra : rebase_source : b0bda7c78106088a819b98c197cbb0cd099e47df
2018-01-22 12:14:13 +01:00
Sebastian Hengst 78d2a3c1db Merge mozilla-central to mozilla-inbound 2018-01-24 14:24:05 +02:00
Noemi Erli a111747a97 Backed out 2 changesets (bug 1431337) for M15 failures in parser/htmlparser/tests/mochitest/test_img_picture_preload.html on a CLOSED TREE
Backed out changeset c70e75e993fc (bug 1431337)
Backed out changeset 016f4ce0803b (bug 1431337)
2018-01-24 18:09:50 +02:00
Jan Horak e5a072e76a Bug 1431337 Scale widget size to the current monitor, not the first one; r=stransky
We need to use scaling factor of the monitor on which application is actually positioned.
Previously we used ScreenHelperGTK::GetGTKMonitorScaleFactor() which use the first monitor.
This does not work on hidpi+normal dpi monitors setup.

MozReview-Commit-ID: 1dVYOe48tPJ

--HG--
extra : rebase_source : af804d3104da91be459b219b261949d84b4f7c26
2018-01-18 11:52:59 +01:00
Jan Horak 14cc9080e2 Bug 1431337 - Scale font for the actual monitor, not the first one; r=stransky
The GetSystemFontInfo() cannot return scaled value of the font by default monitor
scale factor. We need to scale it in nsLookAndFeel::GetFontImpl
by aDevPixPerCSSPixel like implementation for Windows does.

MozReview-Commit-ID: 5okD8vUu9UK

--HG--
extra : rebase_source : 39f3dec4acd434501860a8b716a42c45aadf3b61
2018-01-18 11:10:18 +01:00
Martin Stransky 0cd098101c Bug 1432414 - Use gtk_get_current_event_time() instead of gdk_x11_display_get_user_time() on Wayland, r=jhorak
Emulate what gtk+/gtkwindow.c gtk_window_present_with_time() does - use gdk_x11_display_get_user_time() on X11
and gtk_get_current_event_time() on Wayland to get event timestamp.

MozReview-Commit-ID: GEU6ZrQxq6v

--HG--
extra : rebase_source : db2f3ac03ae4ec9f9c1655cf682bff60a96dd3da
2018-01-23 11:01:11 +01:00
Nick Alexander 5f1e6bc10e Bug 1419581 - Part 3: Guard PresentationMediaPlayer windows with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3ZlVUMufn2g

--HG--
extra : rebase_source : e88c8b84c990574cb6b6f78ed629e7050f3807e9
extra : intermediate-source : c71bc2d65fac7df474a08e9f2c0dc7ad4e3b0bc4
extra : source : a7d75667c58ba0069bbb40ad688884a856660a60
2018-01-05 11:35:00 -08:00
Nick Alexander d9a68adc61 Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 73927253fe9f8a70c2546eaf884631e456ce8b02
extra : intermediate-source : c21fcbad5a29b5259d4be71b6f2ed466b514eacb
extra : source : 2ea82ff4a757a0aeb7bdd8cff611d5b92dec14eb
2017-12-06 20:28:04 -08:00
Dorel Luca 30b5be6d16 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 19:46:03 +02:00
Andrea Marchesini fadb18e7bb Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=me CLOSED TREE 2018-01-23 14:54:36 +01:00
Martin Stransky 051d31ae00 Bug 1431052 - Don't crash when mContainer is missing (GdkWindow is hidden for instance), r=jhorak
Original patch author is Takuro Ashie.

MozReview-Commit-ID: 9nJmELBxSTA

--HG--
extra : rebase_source : 023b909a2888effaf2c40fa578f2c68ab6f1e0f1
2018-01-18 15:01:30 +01:00
Nika Layzell c33284aec0 Bug 1293362 - Part 4: Generate runtime bindings for calling xpcom methods from rust, r=froydnj
MozReview-Commit-ID: K37KyHkKsSl
2018-01-23 17:27:26 -05:00
Gurzau Raul 6675c62a6e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-23 02:24:22 +02:00
Gurzau Raul 9801931bda Merge inbound to mozilla-central. a=merge 2018-01-23 02:21:47 +02:00
Louis Chang 3d47a863c4 Bug 1429307 - return zero padding for checkbox/radio instead of deflating the padding and border on android. r=mats
MozReview-Commit-ID: 1GkPK9ngrH6

--HG--
extra : rebase_source : 57a4b1040843eaf0adc605055b4638b02a4fc04a
2018-01-17 16:24:59 +08:00
Jim Chen d7308576ea Bug 1430241 - Call PreventNativeKeyBindings for all key events in child; r=esawin
Call PreventNativeKeyBindings() for all key events to prevent triggering
an assertion in PuppetWidget.

MozReview-Commit-ID: 3x96p9baTze

--HG--
extra : rebase_source : 1f1477074e49ca7be9b3f3956289adf4f288a223
2018-01-19 17:52:27 -05:00
Hiroyuki Ikezoe 052a0b70ad Bug 1431295 - Include "X11UndefineNone.h" after including gdx.h in nsWindow.h. r=botond
MozReview-Commit-ID: 9SumgYc5pNE

--HG--
extra : rebase_source : 1fa191d22d7c2b5d696aeaff0e6a44dabd59e585
2018-01-18 14:12:51 +09:00
Jan Horak e55996cc86 Bug 1411579 - add system handler when Firefox runs in flatpak; r=stransky
Firefox in Flatpak sandboxed environment does not get the list
of installed applications on the system because application should
know about the environment as little as possible. Introducing
nsFlatpakHandlerApp which forwards requests for opening downloaded files
to the system by utilizing gtk_show_uri fuction.

This changeset also removes nsIGIOMimeApp::Launch method from the interface
because it can be fully replaced with LaunchWithUri from nsIHandlerApp
interface.

The TMPDIR where files are downloaded when user choose to open them
needs to be accessible from sandbox and host. The default settings
TMPDIR=/tmp is accessible only to the sandbox.

To workaround for is to set TMPDIR environment variable to
$XDG_CACHE_HOME/tmp before executing Firefox.

MozReview-Commit-ID: CSBv0QcETpd

--HG--
extra : rebase_source : 8155c33fa9c402d2668bdfb07094ba6758fe6203
2018-01-12 16:32:53 +01:00
Jon Kunkee 01ad44282e BUG 1428174 - Add Qualcomm to Windows GPU Whitelist r=jrmuizel
New Windows devices are coming out that have GPU Device ID strings of
the form

ACPI\VEN_QCOM&DEV_007C&SUBSYS_CLS08998&REV_007C

as reported in the bug description. Since the VEN_ ID is not numeric,
this change interprets the QCOM string so that it can be whitelisted
and then whitelists it.

MozReview-Commit-ID: 2ABRzvHKn6v

--HG--
extra : rebase_source : 6951d3bfc060abc298c93dd31db07715d6857cc5
2018-01-05 17:28:02 -08:00
Brendan Dahl 4f13dddba3 Bug 1355354 - Keep a reference to the progress listener to keep it from being gc'ed prematurely. r=mossop
MozReview-Commit-ID: A6WM1Bj3Z5L

--HG--
extra : rebase_source : d4c7d43ca1bc16149ee532c5ab2bf0739bc5011d
2018-01-16 11:26:40 -08:00
Tiberius Oros 92e228aa49 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Tiberius Oros 25b2d642db Merge autoland to mozilla-central. a=merge 2018-01-17 23:46:17 +02:00
Ryan VanderMeulen 8ac2db0699 Backed out 7 changesets (bug 1419581) for incorrect android:debuggable. r=nalexander
Backed out changeset bd1e3857b5ba (bug 1419581)
Backed out changeset be888fa125dc (bug 1419581)
Backed out changeset 44bcb609e721 (bug 1419581)
Backed out changeset a7d75667c58b (bug 1419581)
Backed out changeset 2ea82ff4a757 (bug 1419581)
Backed out changeset 8f1655752d43 (bug 1419581)
Backed out changeset 65195aae48d8 (bug 1419581)
2018-01-17 15:54:22 -05:00
Kartikaya Gupta 6641e4d0f0 Bug 1430797 - Follow-up to address review comment. r=mstange
MozReview-Commit-ID: 4DkzPSlDLwN
2018-01-17 08:59:38 -05:00
Cosmin Sabou ee8460f7af Backed out 2 changesets (bug 1358372) for mochitest failures on AudioSession, AudioSession::CommitAudioSessionData, Mutex, nsStringBuffer on a CLOSED TREE
Backed out changeset 76e48321127d (bug 1358372)
Backed out changeset f8b2bbebb2f0 (bug 1358372)
2018-01-17 13:56:16 +02:00
David Parks efbd6f5a20 Bug 1358372: Part 2 - Run Windows AudioSessionControl operations on main thread r=jimm
This plays better with sndvol.exe.  It reduces the impact of a bug that shows multiple volume sliders for the content processes.
2018-01-10 14:57:19 -08:00
Nick Alexander 3d8b16b3ab Bug 1419581 - Part 3: Guard PresentationMediaPlayer windows with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3ZlVUMufn2g

--HG--
extra : rebase_source : 539690b6ebe6fd5805d2be379c3732350f1b223f
2018-01-05 11:35:00 -08:00
Nick Alexander e7b25fe604 Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 1cb20642addc0fde9e535bd3c0fc928bcf314109
2017-12-06 20:28:04 -08:00
Margareta Eliza Balazs b61bd7a503 Backed out 7 changesets (bug 1419581) for B bustage on /builds/worker/workspace/build/src/widget/android/nsWindow.h:0 on a CLOSED TREE
Backed out changeset 1af5a54e829d (bug 1419581)
Backed out changeset c9aef37de282 (bug 1419581)
Backed out changeset 8d0855cb17b7 (bug 1419581)
Backed out changeset d0eba5853ab6 (bug 1419581)
Backed out changeset bc4cda1cc57c (bug 1419581)
Backed out changeset 93547276fba8 (bug 1419581)
Backed out changeset 45b5309a73cb (bug 1419581)
2018-01-17 00:03:19 +02:00
Nick Alexander 99937bae9f Bug 1419581 - Part 3: Guard PresentationMediaPlayer windows with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3ZlVUMufn2g

--HG--
extra : rebase_source : c20fafb28c3033451541ec3590695285b17bff73
2018-01-05 11:35:00 -08:00
Nick Alexander d61bdc9e40 Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 7db66ec51c0a3337527c76d02109db71804d23f8
2017-12-06 20:28:04 -08:00
Martin Stransky 86a6393324 Bug 1420818 - For rendering to titlebar make CSD window decorations mode default, enable WM decorations on Elementary OS, r=jhorak
MozReview-Commit-ID: FhF53Z34JS6

--HG--
extra : rebase_source : c3c4dd0700d36b6f58b287195dcb9e1543ce4c3e
2018-01-12 08:41:00 +01:00
Kartikaya Gupta c14f095505 Bug 1430797 - Allow webrender on eWindowType_child, so that it is used on OS X. r=nical
MozReview-Commit-ID: Gir5QWoal8d

--HG--
extra : rebase_source : 11892fec7c784262ab9d192ccd51348a993a14d8
2018-01-16 14:28:20 -05:00
Mike de Boer 55eb7fc684 Bug 1401678 - Proxy nsISound::beep() and nsISound::play() calls from the content process to the parent process and beep away there. r=bkelly
MozReview-Commit-ID: J7NwDeVYvQw

--HG--
extra : rebase_source : 899e95648ea3d38261a868eda813b16214ed8ffe
2018-01-16 13:24:51 +01:00
Martin Stransky eadbb73d1e Bug 1430725 - Undefine X11 None at ScreenHelperGTK.h as it conflicts our JS code, r=jhorak
MozReview-Commit-ID: AZr8GuPb8wx

--HG--
extra : rebase_source : 93d85a871f450e425e8dfe352c140195e3eec5c1
2018-01-16 10:09:36 +01:00
Martin Stransky 2f4754864f Bug 1430725 - Include nsClipboardWayland.cpp to wayland build, r=jhorak
MozReview-Commit-ID: 6P6AHs1bWhs

--HG--
extra : rebase_source : 158100293fe265bc961cfb88e62f4d8ac7a8ec1d
2018-01-16 10:08:25 +01:00
Martin Stransky fc7143cd51 Bug 1430725 - dlsym gdk_wayland_display_get_wl_display() function, r=jhorak
MozReview-Commit-ID: 7TBNP1Q1YyO

--HG--
extra : rebase_source : 6ae7f8dc9359bc57a2173999ffd33e1091b3e818
2018-01-16 10:07:45 +01:00
Martin Stransky 400e666940 Bug 1430725 - Use mozilla::widget namespace explicitly for ScreenHelperGTK::GetGTKMonitorScaleFactor() call, r=jhorak
MozReview-Commit-ID: 9rqYsZTdwRC

--HG--
extra : rebase_source : 14001be1eeec358c9082f2747bea49ed4b52988e
2018-01-16 10:07:03 +01:00
Martin Stransky ecb1224028 Bug 1430728 - [Wayland] - position wl_subsurface when attached GtkWidget allocation changes, r=jhorak
MozReview-Commit-ID: 1q3XIouxavQ

--HG--
extra : rebase_source : 59fcb138c55fe1250b26c4e1ec120a14c8c4c4ad
2018-01-16 10:26:58 +01:00
Martin Stransky 2b78638c46 Bug 1417933 - enable CSD titlebar rendering mode on Unity desktop, r=jhorak
MozReview-Commit-ID: AWKJWnsrb7i

--HG--
extra : rebase_source : 5408017b0852cdabc42103c9352d6333df60799b
2018-01-09 11:31:40 +01:00
Martin Stransky 31b29e4907 Bug 1417933 - enable CSD titlebar rendering mode as Bug 1424974 regression is fixed, r=jhorak
MozReview-Commit-ID: 7SCjbJr9Arl

--HG--
extra : rebase_source : 0d6f4d24e182eaecd7f6290d800a8e43e0241dc0
2018-01-09 11:27:34 +01:00
Martin Stransky e3eeda85f0 Bug 1430018 - dlsym gdk_wayland_* routines as those are available at Gtk+ > 3.8, r=jhorak
MozReview-Commit-ID: EUgmc9QNeoI

--HG--
extra : rebase_source : 9be69563a2b6c25eb5e593bee7bdd48e92af0c8c
2018-01-12 13:22:48 +01:00
Martin Stransky 060f783cf7 Bug 1430018 - Fixed wrong profile param name at DBusRemoteClient::DoSendDBusCommandLine(), r=jhorak
MozReview-Commit-ID: 6KKEwjLXTR9

--HG--
extra : rebase_source : 8f9ca9580fb064e8f49069ba2e6fdbea264c7ca0
2018-01-12 12:57:37 +01:00
Martin Stransky 2f65f5a5ab Bug 1430018 - Add namespace mozilla::widget to nsNativeThemeGTK.cpp as it's needed by ScreenHelperGTK, r=jhorak
MozReview-Commit-ID: HG7Zt0LaOU8

--HG--
extra : rebase_source : cf4bf90241461a9cee3352abda93aec9efe3b6ca
2018-01-12 12:40:14 +01:00
Martin Stransky 194159f24b Bug 1430018 - Don't call gdk_flush() from expose event on Wayland as it crashes Gtk+ (Gnome BZ #773307), r=jhorak
MozReview-Commit-ID: EmwcG3VzHYn

--HG--
extra : rebase_source : 145821841dfc40002b1a951f2a2f453714cee9de
2018-01-12 11:07:23 +01:00
Martin Stransky ff73291729 Bug 1430018 - Don't use gdk_x11_screen_supports_net_wm_hint(_NET_WM_STATE_FULLSCREEN) on Wayland, r=jhorak
MozReview-Commit-ID: 9ZmQhkftunW

--HG--
extra : rebase_source : 12a367ec4663009ab581fa8e55ab24d448eb1b0c
2018-01-12 10:47:36 +01:00
Martin Stransky a0494bb534 Bug 1430018 - Unify GtkCompositorWidgetInitData() call for X11 and Wayland, r=jhorak
MozReview-Commit-ID: 1sv3X59dMvZ

--HG--
extra : rebase_source : 7dc00f826e05f82fae5bb42752f83a3f28c351bb
2018-01-12 10:43:31 +01:00
Martin Stransky 0581a38578 Bug 1430018 - Add runnable function name to NewRunnableFunction() calls, r=jhorak
MozReview-Commit-ID: CmN0U8WH8De

--HG--
extra : rebase_source : 464c0293c85fd32a1df9ea8d84c0cae540d6a492
2018-01-12 10:33:28 +01:00
Martin Stransky 54fb55b16f Bug 1430018 - Don't use nsWindow::IsX11Display() as it's not implemented, r=jhorak
MozReview-Commit-ID: cR6q3fBhTo

--HG--
extra : rebase_source : ab137c3fe504555155f998b7d7e4332f9f802fae
2018-01-12 10:30:38 +01:00
Csoregi Natalia c131521de7 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-15 19:28:35 +02:00
Csoregi Natalia 41925c0b6c Merge inbound to mozilla-central. a=merge 2018-01-15 19:26:43 +02:00
Nicolas Silva b5d400cfab Bug 1377321 - Only use WebRender for top-level windows and remote content. r=kats 2018-01-15 14:38:19 +01:00
Masayuki Nakano e8c2ae6847 Bug 1422230 - part 4: TSFTextStore::GetTextExt() should refer composition string in content r=m_kato
Currently, TSFTextStore::GetTextExt() refers mComposition for doing its own
hack.  However, this means that it refers composition in TIP.  However,
query event is computed with content information.  So, even if TSFTextStore
dispatched eCompositionCommit event, it may not be handled by content yet.

In this case, we need information relative to last composition string.
So, TSFTextStore::GetTextExt() should refer IsHandlingComposition() and
last composition string information stored by mContentForTSF.

MozReview-Commit-ID: KMqrDmnUldU

--HG--
extra : rebase_source : cea97c9e9117028913cf45e4dc1e83e2b4f102e9
2018-01-12 15:31:04 +09:00
Masayuki Nakano c1ed5bb499 Bug 1422230 - part 3: TSFTextStore should store composition string information until both TSF/TIP and our content finish handling composition r=m_kato
If remote process hasn't handled dispatched commit event yet, TSFTextStore
needs to dispatch query content event relative to latest composition string
information.  So, TSFTextStore::mContentForTSF should cache composition start
and composition string length until pending composition events are handled
by content actually.

MozReview-Commit-ID: ARM851nNZGz

--HG--
extra : rebase_source : d4f1ddb197d3168f2db52849b2982779c388e2e8
2018-01-12 15:23:43 +09:00
Masayuki Nakano 6e70ab6b93 Bug 1422230 - part 2: ContentCacheInParent should allow to query content relative to composition string even after sending eCompositionCommit(AsIs) event but not yet handled in the remote process r=m_kato
Currently, ContentCacheInParent uses selection when it handles query content
event whose input offset is relative one after sending eCompositionCommit(AsIs)
event but it's not yet handled by the remote process.  However, in this case,
selection may not be modified with committed string.

So, when mPendingCommitCount is not 0, ContentCacheInParent should compute
absolute offset with the latest composition string information.  For doing
this, it needs to keep storing mCompositionStart until eCompositionCommit(AsIs)
is handled in the remote process actually.

MozReview-Commit-ID: 2Dc69HNIbvh

--HG--
extra : rebase_source : 4be432ad363022e4b3f2e3c82c8d229dc9af889d
2018-01-12 15:05:24 +09:00
Masayuki Nakano 0674b4fc1f Bug 1422230 - part 1: TextEventDispatcher should manage if dispatched composition events have been handled by remote content and TSFTextStore refer the state r=m_kato
When composition events are handled by content actually, widget receives
NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED notification.  If focused content
is in a remote process, this is notified only when all sending composition
events are handled in the remote process.  So, when widget receives the
notification can there is no composition in IME, that means that nobody is
composing composition at that time.

This patch adds TextEventDispatcher::IsHandlingComposition() which returns
false only when nobody has composition and makes TSFTextStore refer this
method because TSFTextStore needs to know if focused content has composition
in any cases.

MozReview-Commit-ID: F1ZZgFJAArD

--HG--
extra : rebase_source : 65e7f592e0ffd1c516e4dab16ab4ca8d7171f954
2018-01-12 11:31:53 +09:00
Chris Peterson 37efe4d0e6 Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
MozReview-Commit-ID: DCPTnyBooIe

--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Jonathan Watt 48d1450a36 Bug 144114 part 4 - Remove NS_PRINTOPTIONS_CID. r=bobowen
MozReview-Commit-ID: 5EbT4T0nbPZ
2017-12-19 11:21:53 +00:00
Jonathan Watt f38fde0cc7 Bug 144114 part 3 - Clean up the headers of the nsPrintSettingsService subclasses. r=bobowen
* * *
[mq]: dtor

MozReview-Commit-ID: 8ghrXxeKiHF
2017-12-19 11:05:37 +00:00
Jonathan Watt f9157dfa53 Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen
MozReview-Commit-ID: HQSmyrMBdS8
2017-12-19 10:42:15 +00:00
Jonathan Watt 94df748ddb Bug 144114 part 1 - Rename the files for nsPrintOptions and its subclasses. r=bobowen
MozReview-Commit-ID: EcotGH6pXCR

--HG--
rename : widget/android/nsPrintOptionsAndroid.cpp => widget/android/nsPrintSettingsServiceAndroid.cpp
rename : widget/android/nsPrintOptionsAndroid.h => widget/android/nsPrintSettingsServiceAndroid.h
rename : widget/cocoa/nsPrintOptionsX.h => widget/cocoa/nsPrintSettingsServiceX.h
rename : widget/cocoa/nsPrintOptionsX.mm => widget/cocoa/nsPrintSettingsServiceX.mm
rename : widget/gtk/nsPrintOptionsGTK.cpp => widget/gtk/nsPrintSettingsServiceGTK.cpp
rename : widget/gtk/nsPrintOptionsGTK.h => widget/gtk/nsPrintSettingsServiceGTK.h
rename : widget/nsPrintOptionsImpl.cpp => widget/nsPrintSettingsService.cpp
rename : widget/nsPrintOptionsImpl.h => widget/nsPrintSettingsService.h
rename : widget/windows/nsPrintOptionsWin.cpp => widget/windows/nsPrintSettingsServiceWin.cpp
rename : widget/windows/nsPrintOptionsWin.h => widget/windows/nsPrintSettingsServiceWin.h
2017-12-19 10:06:39 +00:00
Csoregi Natalia 739e4b302b Backed out changeset 19af171d7718 (bug 1401678) for failing nsSoundProxy.cpp:63 on a CLOSED TREE 2018-01-13 01:39:10 +02:00
Csoregi Natalia bed10b400c Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-13 00:02:18 +02:00
Csoregi Natalia 7476b71e00 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 23:59:06 +02:00
Mike de Boer 7b67199e19 Bug 1401678 - Proxy nsISound::beep() and nsISound::play() calls from the content process to the parent process and beep away there. r=bkelly
MozReview-Commit-ID: J7NwDeVYvQw

--HG--
extra : rebase_source : 3d11bb5905061ba5c90fcd66addc6f38ee757ea5
2018-01-12 19:14:44 +01:00
Brindusan Cristian 874238697d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2018-01-12 13:34:20 +02:00
Narcis Beleuzu 4de0807d09 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 13:25:57 +02:00
Cameron McCormack 4c3b9a279c Bug 1427512 - Followup fix for macOS test failure. 2018-01-12 13:39:49 +08:00
Noemi Erli 53c1edf299 Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-12 00:05:46 +02:00
Noemi Erli adbfbaab81 Merge inbound to mozilla-central r=merge a=merge 2018-01-11 23:54:07 +02:00
Paolo Amadini b7e6979a9f Bug 1284391 - Remove ui.allow_platform_file_picker pref on GTK widget. r=karlt
MozReview-Commit-ID: Gdiww1Gbwpk

--HG--
extra : rebase_source : a215c514f75971dc660b0d1f689ec4e8cde826a4
2018-01-11 13:10:28 +00:00
David Anderson 3e0b92b420 Block Advanced Layers on the latest Windows 7 NVIDIA drivers. (bug 1419264, r=milan)
--HG--
extra : rebase_source : 473a0ed46767a144a2d15c6b53ec9c44721be8d5
2018-01-11 05:05:50 -05:00
Sylvestre Ledru 424664ff30 Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman
MozReview-Commit-ID: 3v8D600g8St

--HG--
extra : rebase_source : 34ea6f9868c1b322076c24daa75dc33e27b6704e
2018-01-10 08:52:04 +01:00
Sylvestre Ledru 4b189b7baf Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX

--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Sylvestre Ledru 2c6660f219 Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman
MozReview-Commit-ID: 8W6VKIW8PQV

--HG--
extra : rebase_source : 23b5c300dd4bebe2b8808bdb03373073aab80b9f
2017-12-19 11:38:59 +01:00
Sylvestre Ledru eabcdd21b2 Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman
MozReview-Commit-ID: Bo0m7n078oh

--HG--
extra : rebase_source : 1874ac3e0abca65b821b5d04a6610a5cbb63fe24
2018-01-09 11:51:07 +01:00
Sylvestre Ledru f8b1d9ab46 Bug 1278282 - update of the moz.build files to remove gtk2 references r=lsalzman
MozReview-Commit-ID: FO1wEHzOkuN

--HG--
extra : rebase_source : ac7e61cf47d013de882048740c889735a0a7cad8
2018-01-10 10:04:59 +01:00
Ciure Andrei 23575f7023 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-11 12:06:29 +02:00
Ciure Andrei 9bb37dfa63 Backed out changeset b6d240f90874 (bug 1427079) for failing testBookmarklets for the robocop-1 job a=backout 2018-01-11 11:52:41 +02:00
Martin Stransky f6c750837a Bug 1417890 - Install nsClipboard hook at nsWindow init, r=jhorak
MozReview-Commit-ID: GA3USkXtEhe

--HG--
extra : rebase_source : 4dca587977c9d09ee50735931e789620e0099e81
2017-12-18 13:39:00 +01:00
Martin Stransky 38f5ee6fb8 Bug 1417890 - Use nsRetrievalContextWayland for Wayland displays, r=jhorak
MozReview-Commit-ID: 1Z7uUhHPnaq

--HG--
extra : rebase_source : 2a64c910643f4e5f57f1b872a2918e8ebf906cfa
2017-12-18 13:37:46 +01:00
Martin Stransky 36864b87c5 Bug 1417890 - Implement nsRetrievalContextWayland, r=jhorak
MozReview-Commit-ID: 3wrOXg9KRtC

--HG--
extra : rebase_source : ddaa10cdd6ef3242e4c19aa7b1b5c59fde2d4e83
2017-12-18 13:36:12 +01:00
Martin Stransky f355ee7a5c Bug 1417890 - rename nsRetrievalContext::WaitForClipboardContext() to nsRetrievalContext::GetClipboardData() and implement nsRetrievalContext::ReleaseClipboardData(), r=jhorak
Make the clipboard data getter function more explicitly named and also create a counterpart to release clipboard data.

MozReview-Commit-ID: 3pWsQgCFDuG

--HG--
extra : rebase_source : c4eae554f5a24d998801550ac91b0859ac8e116e
2017-12-18 13:34:38 +01:00
Noemi Erli 188184d4dc Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-12 00:04:40 +02:00
Brindusan Cristian b102ef421c Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2018-01-12 13:32:23 +02:00
cku c098819616 Bug 1427109 - Initialize mPrintViaSkPDF as false to guarantee PrintTargetEMF is used only if 'print.print_via_pdf_encoder == skia-pdf'. r=jwatt
MozReview-Commit-ID: 950x2vDfF17

--HG--
extra : rebase_source : 75c344a38dd93ba34951dcf58f5b12a58115ed3f
2018-01-09 16:44:36 +08:00
Kartikaya Gupta eeddf41e9a Bug 1387340 - Ensure popup windows spawned on non-primary windows get a correct scale. r=emk,jfkthame
MozReview-Commit-ID: CPKuH0W3KRL

--HG--
extra : rebase_source : e77b2a59f131f1d59d035b9565c5a594e4380001
2018-01-09 11:19:36 -05:00
Milan Sreckovic bd27b86da3 Bug 1423559: Use BaseRect access methods instead of member variables in widget/ r=mstange
MozReview-Commit-ID: AqnztoUbsmk

--HG--
extra : rebase_source : 76a232a08b42ed73b4922c03bc0f2e9d1769203b
2018-01-10 11:14:16 -05:00
Jim Chen 2ab02e2a59 Bug 1427079 - Don't let disposed window be read from parcels; r=snorp
It's possible for parcels derived from the session to outlast the
session lifecycle. This patch makes us return null when trying to
retrieve window objects using stale parcels.

MozReview-Commit-ID: 3Vp6T3uCEBt

--HG--
extra : rebase_source : 5e6b5d71786b326a0f47781cdb8dd5ea90ae71d6
2018-01-09 16:13:48 -05:00
Sebastian Hengst 1ebdaf80de merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2018-01-10 01:52:28 +02:00
Andrea Marchesini 521ef90721 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsMenuBarX, r=catalinb 2018-01-09 11:44:54 +01:00
Andrea Marchesini 8879a0007d Bug 1425440 - Get rid of GetChildAt_Deprecated in nsMenuItemX, r=catalinb 2018-01-09 11:44:54 +01:00
Andrea Marchesini 971faebb66 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsMenuX, r=catalinb 2018-01-09 11:44:54 +01:00
Margareta Eliza Balazs fe2caaa266 Merge inbound to mozilla-central r=merge a=merge 2018-01-09 11:52:55 +02:00
Milan Sreckovic ccfbbb3c3a Bug 1421314: Parallels device support. r=jrmuizel
MozReview-Commit-ID: IymVdQUj6ey

--HG--
extra : rebase_source : 111e116113b92d9a1d2090734eb69f4cb155bd00
2018-01-08 11:35:48 -05:00
Eugen Sawin ff53849afe Bug 1428371 - Add missing member initialization in InputContext. r=masayuki
--HG--
extra : rebase_source : 69d3d28135f12ab7fdc42719813a2b533834ceff
2018-01-05 08:28:00 -05:00
Henri Sivonen 381880a0e0 Bug 1428771 - Make UCS2_CHAR_IS_BIDI check for lead surrogates corresponding to U+1E800...U+1EFFF and rename to UTF16_CODE_UNIT_IS_BIDI. r=jfkthame
MozReview-Commit-ID: 9ZKF6SaN79n

--HG--
extra : rebase_source : 406f2647e65e2bdb97190b12564bafa6df39e6a8
2018-01-08 16:18:32 +02:00
Kyle Machulis 5cd6c64525 Bug 952453 - Remove mozNotification API; r=mattn r=baku
MozReview-Commit-ID: 3TMxnPRSh1j


--HG--
rename : dom/tests/mochitest/notification/desktop-notification/test_system_principal.xul => dom/notification/test/chrome/test_notification_system_principal.xul
rename : dom/tests/mochitest/notification/desktop-notification/create_notification.html => dom/notification/test/mochitest/create_notification.html
rename : dom/tests/mochitest/notification/desktop-notification/test_notification_tag.html => dom/notification/test/mochitest/test_notification_tag.html
2018-01-08 14:56:22 -08:00
Aaron Klotz 35b1027e2c Bug 1423999: Improved UIA detection that eliminates handle duplication; r=Jamie
MozReview-Commit-ID: 5CqjkyDoPs8

--HG--
extra : amend_source : 877a3d6cadab0645274c9542249fc35cfd682d41
2017-12-07 12:13:14 -07:00
Jonathan Watt 53631ea19f Bug 1425190 - Stop checking for GTK >= 2.24 in the printing code. r=karlt
MozReview-Commit-ID: CEvccM9YzgC
2017-12-08 09:44:17 +00:00
Jonathan Watt b0ddef10f5 Bug 1425188 - Remove the ability to save as Postscript from the print dialog on Linux. r=karlt
Saving to PDF will now be the only option.

MozReview-Commit-ID: 9WIDws6lByG
2017-12-07 14:52:25 +00:00
Kyle Machulis 7b2fb44f60 Backing out 8fd1d4a79a48 (Bug 952453) due to notification bustage on MacOS
MozReview-Commit-ID: BeziRSoUvh2
2018-01-04 14:50:21 -08:00
Botond Ballo 7e42a77d38 Bug 1425686 - Remove scroll input methods telemetry code. r=kats
MozReview-Commit-ID: 1PC4826SMvh

--HG--
extra : rebase_source : 0123b921159864518e92077dd81d5185816e063a
2017-12-20 15:16:18 -05:00
Cosmin Sabou 81a8319b46 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
rename : dom/xul/templates/nsXULSortService.cpp => dom/xul/nsXULSortService.cpp
2018-01-03 23:59:59 +02:00
Olli Pettay 811a9c30ca backout Bug 1414204 because of regressions, r=backout
--HG--
extra : rebase_source : 97927ab24b0f24e4cfce8ce9199dda24857cfd3b
2018-01-03 18:42:50 +02:00
Jan Steffens 00146cbcf0 Bug 1427520 - Stub gtk_widget_get_preferred_width/height in mozgtk2; r=karlt
MozReview-Commit-ID: HUMEwgcwioX

--HG--
extra : rebase_source : 8647f8bd01ba774b3c57cab93af1733a069067b2
2018-01-01 06:34:23 +01:00
Andrea Marchesini 00e79ef07b Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00
Emilio Cobos Álvarez c8eb630ebe Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez ffdf5d2cb5 Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me 2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez c0959b2955 Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
MozReview-Commit-ID: 8JZuS6O8f8W

--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Andreea Pavel 2b0581902d Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-22 11:56:38 +02:00
Martin Stransky 82e67b3967 Bug 1425841 - Set up nsWindow configuration for Wayland rendering, r=jhorak
nsWindow needs configuration change when rendering on Wayland:

- Always draw to mContainer on Wayland as we can't create custom subsurface for
  mShell GdkWindow and listen events on mContainer then.
- GTK_WINDOW_TOPLEVEL can't be positioned on Wayland so create popup windows
  as GTK_WINDOW_POPUP to control window position on Wayland.
- Create ePopupTypeMenu GdkWindow as GDK_WINDOW_TYPE_HINT_UTILITY instead of
  GDK_WINDOW_TYPE_HINT_POPUP_MENU to create it as subsurface (Bug 1423598).
- Don't do pointer grab on Wayland (see Bug 1377084 for reference).

MozReview-Commit-ID: 6InzhTONtrD

--HG--
extra : rebase_source : 356112c2e8f80569ca4b2e41fa0747d71da21d89
2017-12-18 16:41:28 +01:00
Martin Stransky 7b19c8a8bf Bug 1425841 - Don't install popup_take_focus_filter on Wayland as it's X11 only, r=jhorak
MozReview-Commit-ID: DSzcmjwwrgw

--HG--
extra : rebase_source : de8c24c27db75512adedde8be5ad3bc48be1cc6d
2017-12-18 16:08:28 +01:00