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

23623 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu 323d4a4185 Backed out 3 changesets (Bug 1433968) for causing Bug 1459349. a=backout
Backed out changeset 82b765c5a02f (bug 1433968)
Backed out changeset 73ec9bb3e17e (bug 1433968)
Backed out changeset 0812ac0376da (bug 1433968)

--HG--
extra : amend_source : 2748b297418eea9b7d3c2be11a8e7e300f8d709c
extra : histedit_source : 6428453bbe80ad044661d01e5127d924fffed1a3%2Cd2e712ac6c597784343ff08f75199851c07be4e7
2018-05-07 17:06:30 +03:00
Dale Harvey 2beab3540e Bug 1455310 - Add title data and activity to sharing. r=mstange
MozReview-Commit-ID: IL4sqvRwSwu

--HG--
extra : rebase_source : ff973f92552931c725a81c177c02fcbd5c6aab63
2018-04-25 08:23:32 +01:00
Jim Chen ad471d48f6 Bug 1458327 - 1. Pass init-data instead of settings to Window; r=esawin
Instead of passing a live settings object to the native Window, pass a
static initialization data bundle to the Window. The bundle contains
settings at the time of creation. All changes to settings after creation
are updated through events, rather than the live object.

Using a live object between Gecko and UI threads has some drawbacks,
including the need to lock the object, and the fact it won't work with
remote runtimes across processes.

MozReview-Commit-ID: 1DngLfJ0Fnc

--HG--
extra : rebase_source : 05c0ba76ce7f45a02557cc1a30e399682dccd5a7
2018-05-04 21:08:10 -04:00
Milan Sreckovic 4712274b69 Bug 1455696: gfx.webrender.all.qualified preference to default to WR for non-blocked devices/hardware. gfx.webrender.all will still force it on. r=milan
--HG--
extra : rebase_source : 173f06f702ccc4eb93d0e4533316056cb07c88af
2018-05-03 13:02:00 +03:00
Botond Ballo 5b8cc7e2fa Bug 1458063 - Support constructing a PinchGestureInput with a focus point in Screen coordinates. r=kats
MozReview-Commit-ID: 9umkUEEWyBQ

--HG--
extra : rebase_source : 7d2d5498464c1460c1192976b84d28170b3cd98c
2018-05-02 16:41:47 -04:00
Botond Ballo 5db812fe01 Bug 1458063 - Give a name to the special (-1,-1) value of a pinch gesture event's focus point. r=kats
MozReview-Commit-ID: AtitjK2eCGa

--HG--
extra : rebase_source : c2090b54e21f885876808a68347421f277ca66c3
2018-05-02 16:36:17 -04:00
Botond Ballo ad612541e7 Bug 1458063 - Propagate the APZWheelAction to APZCTreeManager. r=kats
MozReview-Commit-ID: Kpr7NGLV7J5

--HG--
extra : rebase_source : 6e42ce08841c44b7c637ddbd878b5372d5d1225b
2018-05-02 12:57:23 -04:00
Cosmin Sabou f4a638c275 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : 1f639132d6665996654d500be2620b147026bd7b
2018-05-02 18:09:14 +03:00
Cosmin Sabou ce9ff94ffe Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
Ryan Hunt 5516d12e7b Bug 1457007 - Add about:support information on if tiling is used in the content process. r=nical
MozReview-Commit-ID: 1JewsArgmZz

--HG--
extra : rebase_source : 85e8e1101ca852baee9e1448267e59b19c9d84e1
2018-04-30 15:05:19 -05:00
Dão Gottwald 3277c04273 Bug 1457189 - Dispatch the resolutionchange event when changing the display resolution even if DPI remains the same. r=jimm
MozReview-Commit-ID: A0thvn5bBDy

--HG--
extra : rebase_source : 50795a1b7f7704b0cb636faf2f60acd89ea5bfab
2018-04-27 14:30:03 +02:00
Martin Stransky 6ee3163d08 Bug 1457691 - [Gtk/CSD] Don't set toplevel client offset when drawInTitlebar=false and we get _NET_FRAME_EXTENTS for it, r=jhorak
MozReview-Commit-ID: 7bRi9mHf2By

--HG--
extra : rebase_source : 4263470c8cb47a31cc0542c3f85b8ac7780911ce
2018-04-28 22:32:11 +02:00
Bas Schouten 8524a808f2 Bug 1447141 - Addition: Correct Vendor ID for old radeon device blacklist. r=milan 2018-04-28 08:07:45 +00:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Csoregi Natalia 96dbf29680 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-28 00:56:47 +03:00
Martin Stransky 35578ac064 Bug 1457194 - Label mShell toplevel window so property_notify_event_cb callback can find its way home, r=jhorak
MozReview-Commit-ID: BGJNFnbEMQ3

--HG--
extra : rebase_source : 0f252d58affdf2bf3d6cdb31037d59116ae1faa4
2018-04-27 12:35:08 +02:00
Martin Stransky 8a535137df Bug 1457194 - [Gtk+\CSD] Don't estimate window offset for Gtk+ < 3.20, r=jhorak
MozReview-Commit-ID: JtxujODEHBO

--HG--
extra : rebase_source : ff6a571ae1a882556cdc8074c35847c8e71ecdb6
2018-04-27 12:30:13 +02:00
Cosmin Sabou 6b8c87c819 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-27 13:12:22 +03:00
Cosmin Sabou 68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
Boris Zbarsky 4783772a18 Bug 1455674 part 17. Remove use of nsIDOMElement in non-dom non-JS code. r=qdot 2018-04-26 23:37:34 -04:00
Boris Zbarsky 6bf97b61c0 Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
shindli 1113a5f279 Merge inbound to mozilla-central. a=merge 2018-04-27 00:39:26 +03:00
Martin Stransky 122045c1fa Bug 1457309 - [Gtk+/CSD] Reset toplevel window offset when it's at maximized/fulscreenstate, r=jhorak
MozReview-Commit-ID: DQTVuquMSXn

--HG--
extra : rebase_source : 7d66109af3b04b73642ac23936ec3ae520c60e10
2018-04-27 11:14:00 +02:00
Emilio Cobos Álvarez c20d7a21d2 Bug 1449166: Trick GTK into using values from gtk_window_resize when showing maximized windows. r=karlt
So as to provide a sensible size for the window when the user exits maximized
state.

MozReview-Commit-ID: DSXawb85xmL

--HG--
extra : rebase_source : b65f9d8238061dab4b53ef2282d1d1102ec11ace
2018-04-19 14:35:37 +02:00
Martin Stransky 81b1272512 Bug 1456898 - Implement and use solid-csd decoration style to get window offset when solid-csd is used by mShell toplevel window, r=jhorak
Implement and use solid-csd decoration style to get window offset when solid-csd is used by mShell toplevel window.
Also does not apply margin (resize handler sizes) on popup window as well as Gtk+ do in get_shadow_width().

MozReview-Commit-ID: 9xozp9CCVJj

--HG--
extra : rebase_source : 687993d60b8f2063ed31f07ba2d7ab9f1faa09c8
2018-04-26 13:55:41 +02:00
Neil Deakin cf9835ac8b Bug 1446961, remove obsolete calls to showPopup and replace usages of the popup box object with the same methods defined on popups, r=paolo 2018-04-27 11:04:36 -04:00
Emilio Cobos Álvarez 6cc8c70c09 Bug 1456364 part 0 - Add a missing X11UndefineNone.h. r=xidorn
MozReview-Commit-ID: BCzHasDV4xe
2018-04-26 16:22:54 +02:00
Martin Stransky ec60249c43 Bug 1457120 - Use mozilla:: namespace at nsLookAndFeel module, r=jhorak
MozReview-Commit-ID: BXZzDAiY0e4

--HG--
extra : rebase_source : 5ffd86d54e75659ab75df99efe712606157a6f93
2018-04-26 14:59:55 +02:00
Dão Gottwald c6a2fbaa2b Bug 1457186 - Dispatch the resolutionchange event when DPI settings change on Mac and Linux. r=mstange
MozReview-Commit-ID: DEttWFKyA4

--HG--
extra : rebase_source : 2e204ccc465d88799be5178ef603a9a37f75b738
2018-04-26 17:33:51 +02:00
James Willcox 2d2a861611 Bug 1456608 - Add GeckoThread.crash() and GeckoProcessManager.crashChild() r=esawin,droeh
MozReview-Commit-ID: DYvoeNDKjY0
2018-05-01 10:43:22 -05:00
James Willcox defcbbcd48 Bug 1433968 - Add crash reporting control to GeckoRuntimeSettings r=esawin,jchen
MozReview-Commit-ID: TQ7hvekIVJ
2018-05-01 10:43:22 -05:00
Adrian Wielgosik b3c501adc4 Bug 1447389 - Remove nsIDOMNodeList. r=bz
MozReview-Commit-ID: 11szZP6dS6V

--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Masayuki Nakano 19af69cf33 Bug 1456381 - TSFTextStore should discard pending composition update actions before recording composition end action r=m_kato
TSFTextStore should discard pending composition update actions when it records
end composition update action because end composition update action causes
dispatching eCompositionCommit event and it replaces old composition string
anyway.  So, following eCompositionChange which is dispatched by preceding
composition update actions are just redundant.

MozReview-Commit-ID: HBHx2jA15ro

--HG--
extra : rebase_source : 74d1e91d73bf9c8182a9c5e3fd55d052d8ec4bea
2018-04-19 20:42:00 +09:00
Timothy Guan-tin Chien aaebd8920d Bug 1431246 - Create and update scrollbar markup in nsScrollbarFrame r=enndeakin+6102
nsScrollbarFrame::CreateAnonymousContent() would create the children
markup originally created by XBL. The attributes updated by XBL attribute
inheritance is updated by nsScrollbarFrame::UpdateChildrenAttributeValue().

This removes the XBL part of the scrollbar implementation.

MozReview-Commit-ID: FWi3HR2qkwF

--HG--
extra : rebase_source : c0b1b2ddbccb1d8e9d523db91a5b81fbcfa328e9
2018-04-09 22:01:02 +08:00
Martin Stransky 659fc0cc75 Bug 1454897 - Ubuntu/Ambiance - Render scrollbar thumb with different sizes in active/normal state, r=jhorak
This patch implements a workaround which alows us to emulate
overlay scrollbars for some Gtk+ themes (Ubuntu/Ambiance),
when an inactive scrollbar thumb is smaller than the active one.

We calculate thumb margin as thumb class margin + difference margin
between active and inactive scrollbars.

Also remove boolean parameter from GetScrollbarMetrics() and implement
GetActiveScrollbarMetrics() to get metrics for active scrollbar.

MozReview-Commit-ID: 2zje5OZskYw

--HG--
extra : rebase_source : dd50dc52d9d0942c9dcfbf72d217f3c6ee82c21a
2018-04-24 12:27:38 +02:00
Martin Stransky fb7161e5e2 Bug 1453930 - Use gtk_style_context_get_state() instead of GTK_STATE_FLAG_NORMAL to get widget border/margin/padding, r=jhorak
MozReview-Commit-ID: 6FaUpaaBt2Q

--HG--
extra : rebase_source : d18abdcd89edc01dcae0218a03ad7afd1860e68b
2018-04-13 13:41:27 +02:00
Martin Stransky efb19d9d96 Bug 1441665 - [Gtk] Update window offset explicitly when titlebar is disabled in CSD mode, r=jhorak
When system titlebar rendering is disabled and we're in CSD window mode, the window decorations are
rendered by client (application/Gtk) and we don't get _NET_FRAME_EXTENTS property (decoration size) update
for our toplevel window.

So we need to calculate the decoration/shadow size as Gtk+ does, we emulate get_shadow_width()
which is not exported by Gtk+.

MozReview-Commit-ID: K7o2rUPt6Yc

--HG--
extra : rebase_source : 86a3f12e760194b5828afed784f6aa02c352e017
2018-04-24 10:10:16 +02:00
Dale Harvey b6759085c8 Bug 1455304 - Filter unwanted sharing providers. r=mstange
MozReview-Commit-ID: 5FKHWzcJDYk

--HG--
extra : rebase_source : 6b997c83596fdd2a5ff294f38fb45d90d67209a7
2018-04-21 09:01:09 +01:00
Karl Tomlinson ad1b0c2466 bug 1455177 do not resize but only hide window when bounds make the window empty r=bradwerth
This restores behavior to that prior to https://hg.mozilla.org/mozilla-central/rev/cb0eda54dfab#l1.139

MozReview-Commit-ID: Kf8TCl7Xsg3

--HG--
extra : rebase_source : ca1856cb0cb37af6fdb755c3a17ab746b47c1610
2018-04-19 13:37:50 +12:00
Jonathan Watt 156c4af1ec Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Kartikaya Gupta 697a7719d0 Bug 1455691 - Make the transaction id a struct instead of a uint64_t. r=mattwoodrow
MozReview-Commit-ID: 9yZknygQvFr

--HG--
extra : rebase_source : 8b7a2398bdabf52f2de1c5dbd30b6868c1e0bed0
2018-04-20 15:13:06 -04:00
Boris Zbarsky 5415ab3858 Bug 1455052 part 13. Remove nsIDOMEvent. r=masayuki
MozReview-Commit-ID: 3gmGy4URet3
2018-04-20 12:55:31 -04:00
Jonathan Kew 4b2b2d4c9f Bug 1455569 - Handle variation settings of system-installed variation fonts when creating CTFont from CGFont on High Sierra. r=lsalzman 2018-04-20 17:18:03 +01:00
Gurzau Raul 6ef84d63ec Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 12:15:48 +03:00
Boris Zbarsky 597b4545d2 Bug 1429903 part 4. Remove nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 9XuenUHxfPx
2018-04-20 00:49:30 -04:00
Boris Zbarsky b7f2b6976a Bug 1429903 part 3. Remove C++ uses of nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 4NdssvnWn0H
2018-04-20 00:49:30 -04:00
Boris Zbarsky 01d792d54e Bug 1455055 part 7. Clean up remaining HandleEvent implementations. r=masayuki
MozReview-Commit-ID: LezJYKK74H5
2018-04-20 00:49:30 -04:00
Boris Zbarsky 2b6097ae6d Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki
This does no cleanup other than what's needed to compile.  Cleanup coming up in
later patches.

MozReview-Commit-ID: 3sOnkj71n09
2018-04-20 00:49:29 -04:00
Xidorn Quan 44232b9bb8 Bug 1454589 - Don't change window style according to sizemode if the window hasn't be shown. r=jimm
MozReview-Commit-ID: Hysc4yXapYW

--HG--
extra : rebase_source : 8dfd3684d59895405b9a4d63513ee3ae2fa490ab
2018-04-19 15:20:02 +10:00
Martin Stransky d9d0e359b8 Bug 1355143 - Size scrollbars with 'hover' Gtk+ state, r=jhorak
Ubuntu/Ambiance has tiny scrollbars when it's not hovered by mouse and large
ones when it's hovered/active. Our current Gtk+ toolkit code does not support such scrollbar
resize on the fly.

We use a workaround as we get size of active (hovered) scrollbar only and that
we pass to gecko. Then we draw scrolbar smaller when it's not hovered and full sized
when it's hovered.

MozReview-Commit-ID: mxt9q5Bcg9

--HG--
extra : rebase_source : f77304653f730ea1bca6fb453568f945b022c442
2018-04-18 11:09:19 +02:00