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

21249 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote d0912b2968 Bug 1299335 (part 4) - Streamline nsIWidget::HideWindowChrome. r=mstange.
This patch does the following.

- Removes the return value, because none of the call sites check it.

- Removes the empty implementations from the android nsIWidget instance,
  because it can use the nsBaseWidget one.

--HG--
extra : rebase_source : 0791d3cb05907d6b41879549b52f3a33018abf45
2016-12-16 10:54:12 +11:00
Nicholas Nethercote 1dab0c3072 Bug 1299335 (part 3) - Streamline nsIWidget::SetParent. r=mstange.
This patch removes its return value, because none of the call sites check it
except for one non-vital assertion.

--HG--
extra : rebase_source : 3471c4e22394b8a05c6708d0f8469686ffad9814
2016-12-16 10:54:11 +11:00
Nicholas Nethercote efc5071ff2 Bug 1299335 (part 2) - Streamline nsIWidget::SetIcon. r=mstange.
This patch does the following.

- Removes the return value, because none of the call sites check it.

- Removes the empty implementations from several nsIWidget instances, because
  they can use the nsBaseWidget one.

--HG--
extra : rebase_source : a1a04193bc3940f1468c7c235f6d6e0341d0f1c2
2016-12-16 10:54:11 +11:00
Nicholas Nethercote 3970265787 Bug 1299335 (part 1) - Change some nsIWidget function return values from |NS_IMETHOD| to |virtual MOZ_MUST_USE nsresult|. r=jimm.
Specifically: OnDefaultButtonLoaded, AttachNativeKeyEvent, BeginMoveDrag,
BeginResizeDrag, GetAttention. These are all fallible functions whose result is
always checked.

The patch also moves some trivial function definitions from nsBaseWidget.cpp to
nsBaseWidget.h, and removes the android BeginResizeDrag() because it can
use the nsBaseWidget one.

--HG--
extra : rebase_source : ef32a41b547bcbc21f7df0043f683307470b136e
2016-12-16 10:54:02 +11:00
Ting-Yu Chou 68a9f20e40 Bug 1322459 part 3 - Remove duplicate mRefCnt in LSPAnnotationGatherer. r=Ehsan
MozReview-Commit-ID: 8XFO6LyyGus

--HG--
extra : rebase_source : 633cf7e68c67253dda6f55339447e62add1d5f3f
2016-12-13 15:57:17 +08:00
Ting-Yu Chou f8f09a7949 Bug 1322459 part 2 - Remove duplicate mRefCnt in JumpListShortCut. r=Ehsan
MozReview-Commit-ID: CFt05fItCOu

--HG--
extra : rebase_source : 96364a52920a044758744fd471c73a82e5770616
2016-12-13 15:56:34 +08:00
Phil Ringnalda a6a339991d Merge m-i to m-c, a=merge
MozReview-Commit-ID: DIIe4uRVqAO
2016-12-18 20:22:37 -08:00
Dão Gottwald 608c30a483 Backed out changeset 6c2cedbdeb65 (bug 1322120) for causing bug 1324262 2016-12-18 22:27:43 +01:00
Daosheng Mu 755ed03e79 Bug 1315896 - Part 1: Remove MOZ_GAMEPAD in DOM API; r=qdot
MozReview-Commit-ID: IgvMuXlE5BS

--HG--
extra : rebase_source : 6c04c83c583193bb3d4b75c33398411626fffe8e
2016-12-08 12:59:06 -10:00
Mike Conley bb166e23a8 Bug 1323586 - Drop reference to previous widget listener in PuppetWidget when showing after having been hidden. r=tnikkel
The previously attached widget listener is used mainly so that we can
continue to show the previous page until the next one is ready enough
to display properly (to avoid a "flashing" effect). When the PuppetWidget
is made visible after having been hidden (perhaps during a tab switch),
the previously attached widget listener is not useful. It's actually
harmful, since PuppetWidget::Paint will attempt to paint that old
widget listener, which is not possible, since it's detatched from
a widget, so we end up not painting a frame.

MozReview-Commit-ID: LJfKzepqguE

--HG--
extra : rebase_source : 60596bf63ad5fd8c2e1f1e84cb7d3dc1be8e0887
2016-12-16 15:54:49 -05:00
Milan Sreckovic 5b302719f0 Bug 1285563: Part 2. If the second GPU is the active one, swap. r=milan
MozReview-Commit-ID: DP5eoOAfE23

--HG--
extra : rebase_source : 2d9df9aa2321a0c023211d276b5e8185df26aaed
2016-12-16 11:57:51 -05:00
Milan Sreckovic adf986b2c5 Bug 1285563: Part 1. Track two GPU infos in arrays, easier for swap if the second is active. r=milan
MozReview-Commit-ID: FtfmxH1MfZx

--HG--
extra : rebase_source : 115edd2fa5e80f6de6faccfd1f90d3d60b46bd8c
2016-12-16 11:56:59 -05:00
Carsten "Tomcat" Book a244c7fb4a merge mozilla-inbound to mozilla-central a=merge 2016-12-16 16:04:50 +01:00
Ting-Yu Chou 4f285bd583 Bug 1322458 - Fix kungFuDeathGrip errors that clang plugin reports on Windows. r=aklotz,Ehsan
MozReview-Commit-ID: FLTLZSg2yh9

--HG--
extra : rebase_source : e8aad8f35cffb3312e043a4fcec6296371baf432
2016-12-14 16:34:12 +08:00
Karl Tomlinson 0510cb3db2 bug 1322120 use text node for field and selected colors r=stransky+263117
This adjustment is required for changes to MOZ_GTK_TEXT_VIEW in a6aabcb07a6e.
MOZ_GTK_TEXT_VIEW_TEXT now retrieves the equivalent node from WidgetStyleCache.

MozReview-Commit-ID: 2zfHCKMT0ov

--HG--
extra : rebase_source : 39edee068f44cf9d2f6cccffc89dcd7c2c2616d5
2016-12-08 10:39:36 -10:00
Milan Sreckovic 87d622dd83 Bug 1321630: Allow remote desktop (RDP) acceleration on window versions higher than 8. r=vlad
MozReview-Commit-ID: 964xgsCIxij

--HG--
extra : rebase_source : f5553124e2730ea8cc9296f9551762dd8eef90a4
2016-12-01 15:14:42 -05:00
Makoto Kato 3c1874f9a5 Bug 1322752 - Cannot compile widget with bumping WINVER to 0x601. r=jimm
MozReview-Commit-ID: EEOgx4H1ZyL
2016-12-15 16:40:33 +09:00
Jean-Luc Bonnafoux 461ab7eb31 Bug 545066 - Clean up nsClipboard.cpp - braces added for if..else, no tabs, ident fix. r=jimm 2016-12-11 12:45:17 +01:00
Aaron Klotz 39b609a350 Bug 1323521: Prevent Windows touchscreen support from instantiating a11y; r=jimm
MozReview-Commit-ID: 3xV0b97lEre

--HG--
extra : rebase_source : 7edcc93d409ffcd50e0fe4307573c2660a274b28
extra : amend_source : 0b8f3fbc292b632b448c135ea55fa6f63d292b35
2016-12-14 12:20:48 -07:00
Karl Tomlinson 7aedf3100d bug 1323860 implement pre-3.20 MOZ_GTK_PROGRESS_CHUNK in WidgetStyleCache r=stransky
MozReview-Commit-ID: 1VOZKRw3gj4

--HG--
extra : amend_source : 4b1b21c8f0173b4968df7f2c46a7bd840f429ef0
2016-11-25 17:51:13 +13:00
Carsten "Tomcat" Book eb5f79ce29 Merge mozilla-central to autoland 2016-12-13 16:53:28 +01:00
Jim Chen 23679b7509 Bug 1322711 - 1. Convert property name to string if necessary; r=snorp
When converting a JS object to a GeckoBundle, convert the property name
to a string if necessary, because the property name could be another
type such as an integer.
2016-12-13 03:21:47 -05:00
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Nathan Froyd 8d1051edff Bug 1321883 - remove unused variable in gtk2drawing.c; r=karlt 2016-12-12 03:04:48 -05:00
Kevin Wern b2052e9ddc Bug 1304044 - implement auxclick r=smaug
After click events with button 2 or 3 are fired, fire auxclick, a new
event intended to represent a non-primary mouse click. Because this
event, based on the design examples and blink's implementation, is
intended to be used with content listeners, always dispatch on content
listeners--not just those that force all events to be dispatched (i.e.
document/window). This diverges from the behavior of our click events
from non-primary buttons.

Eventually, we hope this will replace click events for non-primary
buttons. For now, leave those events for compatibility reasons.

Additionally, add handling of this new event, where necessary.

MozReview-Commit-ID: 8osozM4h6Ya

--HG--
extra : rebase_source : 558261dd0d0b9241efa84ca168c50455850af03a
2016-11-30 19:48:02 -05:00
John Lin 0c318ba97d Bug 1299068 - part 5: release/render buffers when VideoData sent to compositor. r=snorp
MozReview-Commit-ID: JmEKLKlJnaL

--HG--
extra : rebase_source : 5177ed35206aad3423b9960ea5e9e59459540cde
2016-11-30 17:55:52 +08:00
Tomislav Jurin 348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Martin Stransky 871d79fd06 Bug 1320686 - [nsLookAndFeel] Get styles for menu label, button text and combobox text colors from WidgetCache. r=karlt
--HG--
extra : rebase_source : 716e78588f3dfddd67aa88a59789077d16ee4c9f
2016-12-01 05:09:00 -05:00
Jessica Jong 8b1856afb0 Bug 1321245 - Request native key bindings for delayed keypress events. r=smaug
--HG--
extra : rebase_source : c273efdca1731a5b09b01c5848b7a34fd1a71e43
2016-12-02 00:41:00 -05:00
Wes Kocher eff20804f2 Merge m-c to inbound, a=merge 2016-12-02 13:13:05 -08:00
Wes Kocher e9e921d4f4 Merge inbound to central, a=merge 2016-12-02 13:06:38 -08:00
Randall Barker fc730ca66e Bug 1321642 - Add missing include guards to nsDeviceContextAndroid.h r=jchen 2016-12-02 10:29:55 -08:00
Bob Owen 8565d5695d Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj, r=jimm 2016-11-22 14:06:46 +00:00
Thomas Wisniewski 4c82121568 Bug 140562 - Part 2: Remove the 2px extra padding on buttons for a prospective -moz-focus-inner ring, and just size that ring the same as the content frame (inflated by its CSS padding). r=dbaron 2016-12-02 01:11:48 -05:00
Wes Kocher b9a8598f48 Merge m-c to inbound, a=merge 2016-12-01 15:46:23 -08:00
Wes Kocher d360bdebf5 Merge inbound to central, a=merge 2016-12-01 15:31:47 -08:00
Lee Salzman ca4aa1c411 Bug 1319554 - allow WindowSurfaceX11Image to render to any visual format. r=rhunt
MozReview-Commit-ID: JW4REAg1AKn
2016-12-01 12:15:58 -05:00
Lee Salzman e2dc7cebf1 Backed out changeset d727d297aeee for wrong bug number (bug 1319544) 2016-12-01 12:14:50 -05:00
Lee Salzman ebb504eed8 Bug 1319544 - allow WindowSurfaceX11Image to render to any visual format. r=rhunt
MozReview-Commit-ID: JW4REAg1AKn
2016-12-01 12:07:00 -05:00
James Cheng 2fca45e7dc Bug 1320618 - Check if codec supports adaptive playback to determine the decoder support recycling or not. r=jolin
MozReview-Commit-ID: C3pI9NCUgiP

--HG--
extra : rebase_source : c9da5d21ee76e660ea5a18f77b1ea6bccd14286d
2016-11-30 16:30:16 +08:00
Dylan Roeh 9ff1fe4af5 Bug 1235431 - Implement windowClient.focus() for Fennec. r=catalinb 2016-11-14 17:22:13 -06:00
Ryan VanderMeulen 21ece8d83a Backed out changeset a4b0052954d2 (bug 1279699) for causing various crash regressions.
--HG--
extra : rebase_source : bf9223381149f34a7b3513eda05fe197ae2db876
2016-12-01 15:25:25 -05:00
Nick Alexander e2a421b938 Bug 1320587 - Force first paint when (re-)attaching Gecko to Java. r=jchen
MozReview-Commit-ID: 6vUbIXTPNLQ

--HG--
extra : rebase_source : 24d6e8f5502568443f35c59963a66d8fe8ac4056
2016-11-29 23:12:53 -08:00
Wes Kocher 68fb4b9d24 Merge inbound to central, a=merge 2016-11-30 16:12:21 -08:00
Ryan VanderMeulen 7af8f38714 Merge m-c to autoland on a CLOSED TREE. a=merge 2016-11-30 13:27:46 -05:00
Phil Ringnalda 430ec9a870 Merge m-c to autoland 2016-11-29 19:31:34 -08:00
Karl Tomlinson 33ed3a5c42 bug 1320860 adjust textarea style contexts for GTK 3.20 theming ABI changes r=stransky+263117
MozReview-Commit-ID: 9aW61kMkKcb

--HG--
extra : rebase_source : 61f7699933735710ed8e516e5206900cff5c6fc0
2016-11-29 17:58:00 +13:00
Lee Salzman e697b24685 Bug 1271100 - work around race in system Cairo's XShm usage. r=karlt
MozReview-Commit-ID: VGee6ungCz
2016-11-29 23:01:13 -05:00