Commit Graph

19656 Commits

Author SHA1 Message Date
Makoto Kato
cb4e448046 Bug 1252808 - Don't use mozilla_sampler_stop() directly. r=snorp
When SPS profiler is disabled (breakpad is disabled etc), mozilla_sampler_stop() is undefined.  We should use profiler_stop() instead.  profiler_stop calls mozilla_sampler_stop() when SPS profiler is built.

MozReview-Commit-ID: LmuDJEQV7Pr

--HG--
extra : rebase_source : 741a68fea1a76152d332c1ce97a926dab41d4073
2016-03-03 18:16:56 +09:00
Jonathan Kew
6f476c6953 Bug 1239353 - Don't try to change DPI on the fly for popup windows, they remain connected to their parent's presShell and therefore need to share its resolution. r=emk 2016-03-03 11:58:41 +00:00
Aaron Klotz
183fd9cb81 Bug 1240315: Add startup crash report annotation for AppInit_DLLs; r=jimm
--HG--
extra : rebase_source : e96da444713515a12520969c34731db244d844e2
2016-01-16 14:09:28 -07:00
Bob
bd8cdd84ef Bug 730192 - allow headset controls to function by passing media keyevents through to Android OS; r=jchen 2016-03-01 07:49:54 -05:00
Jim Chen
6e298a23a6 Bug 1248459 - Don't query out-of-bounds selection; r=masayuki
During a query selection event, fail if the selection is outside of the
editor's root content. This can happen if the placeholder text in an
input field is somehow selected. The placeholder is in a separate
element outside of the root content.

Also fix a bug in test_imestate, where the selection was not properly
reset at the start of a test.
2016-03-03 13:10:07 -05:00
Karl Tomlinson
3c21b4d662 bug 1197165 apply tooltip style class when creating window instead of when drawing r=acomminos
This is consistent with gtktooltip.c.

gtk_style_context_save() modifies the CSS node hierarchy causing this rule to
incorrectly match:

.tooltip * {
        background-color: transparent;
}

See also https://bugzilla.gnome.org/show_bug.cgi?id=761870#c2

--HG--
extra : rebase_source : baa16e2ca297db702aa5d9250fd3d9606dcf891a
2016-03-02 18:04:00 +13:00
Karl Tomlinson
5c5c74038e bug 1230065 consider arrow size in dropdown minimum widget size r=acomminos
--HG--
extra : rebase_source : 60df83df10ab3fff33e08a2e7a8dd13d7b4c2bf9
2016-03-01 13:12:03 +13:00
Lee Salzman
4ee1769ed1 Bug 1251984 - allow gfx.xrender.enabled pref to work for compositing even if content backend is not Cairo. r=jrmuizel 2016-03-01 14:33:53 -05:00
Jonathan Kew
981fc99698 Bug 1245442 - Backout cset 9bde73f95ead (part 9 from bug 890156) for breaking the minimize/maximize/close buttons when a window is maximized on a monitor with non-system DPI. r=emk 2016-03-01 12:08:35 +00:00
Chris Peterson
6a3b0f8eea Bug 1251887 - Add break to unintentional switch fallthrough in GfxInfoBase.cpp to fix -Wimplicit-fallthrough warning. r=milan
widget/GfxInfoBase.cpp:158:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-26 18:57:15 -08:00
Jonathan Kew
f82a78c907 Bug 1246389 - Resize window appropriately on WM_DPICHANGED messages for dynamic resolution changes. r=emk 2016-02-29 13:09:04 +00:00
Jonathan Kew
51b8759a25 Bug 1240749 - Fixes for DPI support in Gtk widget interface: remove incorrect Get[Avail]RectDisplayPix overrides, as desktop pixels == device pixels for the Gtk widget backend, and implement nsScreenGtk::GetDefaultCSSScaleFactor, required by nsGlobalWindow since per-monitor DPI patches in bug 890156. r=karlt 2016-02-26 22:34:11 +00:00
Carsten "Tomcat" Book
275bc053c7 Backed out changeset bc33885d2034 (bug 1240749) for bustage 2016-02-29 08:37:55 +01:00
Jonathan Kew
281e26438c Bug 1240749 - Fixes for DPI support in Gtk widget interface: remove incorrect Get[Avail]RectDisplayPix overrides, as desktop pixels == device pixels for the Gtk widget backend, and implement nsScreenGtk::GetDefaultCSSScaleFactor, required by nsGlobalWindow since per-monitor DPI patches in bug 890156. r=karlt 2016-02-26 22:34:11 +00:00
David Anderson
c00e9a5d93 Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson
dd2df9d99a Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
Lee Salzman
27c94bb979 Bug 1247935 - Part 2: use shared pixmaps with XShm for nsShmImage. r=jrmuizel 2016-02-27 23:16:57 -05:00
Lee Salzman
aedcb20e84 Bug 1247935 - Part 1: double-buffer nsShmImage. r=jrmuizel 2016-02-27 23:16:57 -05:00
Jonathan Kew
a7a0605352 Bug 1251624 - patch 2 - Check for scaling override (devPixelsPerPx setting) in nsScreenWin::GetDefaultCSSScaleFactor, for proper window positioning when a custom scale factor is used. r=emk 2016-02-27 15:44:59 +00:00
Jonathan Kew
fc1454115f Bug 1251624 - patch 1 - The desktop to device scaling in WinUtils::MonitorFromRect should not depend on custom CSS pixel scaling (devPixelsPerPx setting). r=emk 2016-02-27 15:37:31 +00:00
Mike Taylor
64df1dacf7 Bug 1247796. Use keyboardFocusIndicatorColor for ActiveBorder system color keyword. r=mstange
This matches what Safari and Chrome do on Mac.
2016-02-26 16:30:52 -06:00
Jim Chen
a0129dc275 Bug 1250314 - Let changes flush when committing or canceling composition; r=esawin
Flush IME changes when committing or canceling the composition, before
sending a notification, so that the Gecko and Java sides are on the same
page.

Also, use the GeckoEditableListener constants when calling notifyIME so
we don't rely on the Gecko platform constants having the same values as
our Java constants.
2016-02-26 14:38:57 -05:00
Milan Sreckovic
548b45eaca Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic
9ca74932b6 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-24 10:25:00 +01:00
Milan Sreckovic
536d058333 Bug 1249640: Part 1 A way to block canvas 2D acceleration from blocklists. r=benwa 2016-02-19 14:39:00 +01:00
aleth
e8c9144643 Bug 1251019 - Add -moz-mac-chrome-active and -inactive colours for OS X 10.10 and higher. r=mstange
--HG--
extra : rebase_source : f1fb035d5588fd4db09393e3403aee21e0c04f7d
2016-02-24 23:54:55 +01:00
Karl Tomlinson
9dc67acb37 bug 1199602 emit resume-events on GdkFrameClock if flush/resume not balanced at dispose r=acomminos
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=742636 in affected GDK versions.

--HG--
extra : rebase_source : 6ef0a025af6cd040ca4319c69027c854c8a2a8e4
2016-02-26 11:19:24 +13:00
Karl Tomlinson
277d6341be bug 1199602 give existing wrap_gtk_window_check_resize internal linkage r=acomminos
--HG--
extra : rebase_source : 65059891912637a1c4d15de41b8044736c566558
2016-02-24 18:42:09 +13:00
Lee Salzman
bf234f25b7 Bug 1249813 - part 1 - revise nsShmImage to allow draw targets anywhere inside its bounds. r=jrmuizel 2016-02-25 14:38:05 -05:00
Kartikaya Gupta
eb1055aff7 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-25 11:15:14 -05:00
Brendan Dahl
1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
L. David Baron
e73ad62be0 Back out changeset 027c6cc12078 (bug 1249943) for making test_basic_pan.html permafail (timeout) on Linux, on a CLOSED TREE. 2016-02-24 15:57:29 -08:00
Bas Schouten
36d729fab3 Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Kartikaya Gupta
2e5e8ea0d9 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-24 13:19:45 -05:00
Sebastian Hengst
bc0efb6df0 Backed out changeset 4ca40a403e9d (bug 1249640) for XPCshell failures on OSX. r=backout 2016-02-24 19:02:10 +01:00
Sebastian Hengst
38e8f42dfb Backed out changeset 8151f4102646 (bug 1249640) 2016-02-24 19:01:50 +01:00
Sebastian Hengst
61814a3698 Backed out changeset 21222476d9d9 (bug 1249640) 2016-02-24 19:01:29 +01:00
Milan Sreckovic
2a65d9908f Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic
ef6d814a88 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-19 14:40:00 +01:00
Milan Sreckovic
c2c7011ac5 Bug 1249640: Part 1 A way to block canvas 2D acceleration from blocklists. r=benwa 2016-02-19 14:39:00 +01:00
Makoto Kato
2bd4c9e6bb Bug 1235941 - Detect DPI change for GTK3. r=karlt
Use scale-facotr signal to detect DPI change.  Also, we should update
mBounds for current scaling setting.

MozReview-Commit-ID: 9fuFORzSzaD

--HG--
extra : rebase_source : 48462e9f251399433d25ffed100fbaa5bca8186a
2016-02-24 18:58:58 +09:00
Phil Ringnalda
a5861fc16a Back out 6a24b31747be (bug 1232042) for crashes @RecvForcePresent
CLOSED TREE
2016-02-23 21:27:46 -08:00
Bas Schouten
fd04611c7c Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Makoto Kato
46428da1ac Bug 1240282 - Don't use NS_LossyConvertUTF16toASCII for URI. r=jimm
We should use GetAsciiSpec for idn and non-ASCII path

MozReview-Commit-ID: EjldSMJYUDg

--HG--
extra : rebase_source : 87b9680d4ed6268b0779d8603e824625c7b6f98c
2016-02-17 20:44:41 +09:00
Kartikaya Gupta
24e950f9a8 Bug 1249915 - Fix missing MOZ_COUNT_CTOR and some misc cleanup. r=karlt
MozReview-Commit-ID: 3nB4awYSXCk
2016-02-23 10:17:46 -05:00
Kartikaya Gupta
fdf87498df Bug 1249915 - Add ability to synthesize native touch events on GTK for mochitests. r=karlt
MozReview-Commit-ID: GurXjryrsle
2016-02-23 10:17:46 -05:00
Kartikaya Gupta
2548d417f5 Bug 1249915 - Add ability to synthesize native touch events on Fennec for mochitests. r=snorp
MozReview-Commit-ID: Dit8QhqJSYc
2016-02-23 10:17:46 -05:00
Kartikaya Gupta
59bc04e3b9 Bug 1249915 - Fix synthesized touch injection code on Windows to not apply the scale factor twice. r=jimm
MozReview-Commit-ID: DJnrA7WziRe
2016-02-23 10:17:46 -05:00
Andrew Comminos
0972c69434 Bug 1249604 - Don't use gtk_drag_set_icon_surface on GTK versions that use X SHAPE for dnd with cairo. r=karlt
MozReview-Commit-ID: 2XxnJfvfOXl

--HG--
extra : rebase_source : d16f4fecc70be105cd2fd2177b5fee62fc53c583
2016-02-19 17:33:54 -08:00
Milan Sreckovic
f0372a59b0 Bug 1249777: Added support for 10.11 in the blocklisting code as well. r=mstange
MozReview-Commit-ID: JCkFwfkEyEa

--HG--
extra : rebase_source : 3d6aa2044cbd91410e75fdd5b4b5d9d6148f9619
2016-02-19 16:59:37 -05:00