Commit Graph

11609 Commits

Author SHA1 Message Date
Chris Peterson
fca79c2ebc 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
670be3a9fa 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
1d9ce4ba08 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
cb6f5ebd55 Backed out changeset bc33885d2034 (bug 1240749) for bustage 2016-02-29 08:37:55 +01:00
Jonathan Kew
f5c989ae0d 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
d083cc0b75 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
8385f81d79 Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
Lee Salzman
e0a0a14c72 Bug 1247935 - Part 2: use shared pixmaps with XShm for nsShmImage. r=jrmuizel 2016-02-27 23:16:57 -05:00
Lee Salzman
e121c44a73 Bug 1247935 - Part 1: double-buffer nsShmImage. r=jrmuizel 2016-02-27 23:16:57 -05:00
Jonathan Kew
e8778362fd 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
7beb2fade1 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
9b51c584b1 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
55c4e36335 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
73bd7cde21 Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic
ea90851b27 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-24 10:25:00 +01:00
Milan Sreckovic
3e1f05e35b Bug 1249640: Part 1 A way to block canvas 2D acceleration from blocklists. r=benwa 2016-02-19 14:39:00 +01:00
aleth
e8563576d7 Bug 1251019 - Add -moz-mac-chrome-active and -inactive colours for OS X 10.10 and higher. r=mstange 2016-02-24 23:54:55 +01:00
Karl Tomlinson
d636265c05 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.
2016-02-26 11:19:24 +13:00
Karl Tomlinson
a69d698def bug 1199602 give existing wrap_gtk_window_check_resize internal linkage r=acomminos 2016-02-24 18:42:09 +13:00
Lee Salzman
7a9207a02a 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
30e6cec4f3 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
f20e4d1ec0 Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
L. David Baron
a5babe3a7d 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
7599726722 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
c3f8fc819a 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
879ebb4309 Backed out changeset 4ca40a403e9d (bug 1249640) for XPCshell failures on OSX. r=backout 2016-02-24 19:02:10 +01:00
Sebastian Hengst
bdc8da6aac Backed out changeset 8151f4102646 (bug 1249640) 2016-02-24 19:01:50 +01:00
Sebastian Hengst
7ceeb44c7e Backed out changeset 21222476d9d9 (bug 1249640) 2016-02-24 19:01:29 +01:00
Milan Sreckovic
f173f79e17 Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic
a5ec8bbc7b Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-19 14:40:00 +01:00
Milan Sreckovic
e4062a9361 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
f387ec2a96 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
2016-02-24 18:58:58 +09:00
Phil Ringnalda
9e91451e1a Back out 6a24b31747be (bug 1232042) for crashes @RecvForcePresent
CLOSED TREE
2016-02-23 21:27:46 -08:00
Bas Schouten
80d9d72061 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
3bef2a10a8 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
2016-02-17 20:44:41 +09:00
Kartikaya Gupta
aab06fcb70 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
e178f092f5 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
650f50e205 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
6fb25463b4 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
1a00418c26 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
2016-02-19 17:33:54 -08:00
Milan Sreckovic
a90956f038 Bug 1249777: Added support for 10.11 in the blocklisting code as well. r=mstange
MozReview-Commit-ID: JCkFwfkEyEa
2016-02-19 16:59:37 -05:00
Edwin Flores
4aa4d53551 Bug 1246984 - Fix scrolling on Blackberry capacitive keyboard - r=kats 2016-02-22 09:36:22 +00:00
Lee Salzman
6bd86c0cb8 Bug 1239152 - skip memset since XShm is already initialized to zero. r=mchang 2016-02-19 16:14:02 -05:00
Rok Garbas
ec54f6e2f0 Bug 1248983 - Fix spelling for nsCocoaWindow.mm. r=jdm 2016-02-17 16:25:22 +01:00
Lee Salzman
ba30bddd22 Bug 1019856 - avoid double-buffering in BasicCompositor when window allows it. r=mattwoodrow 2016-02-18 20:57:29 -05:00
Lee Salzman
7a5043d903 Bug 1245241 - part 4 - move SharedMemorySysV details into nsShmImage. r=nical 2016-02-18 10:56:15 -05:00
Jonathan Kew
21ce177485 Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk 2016-02-18 10:46:16 +00:00
Calixte Denizet
d2e7ac2c39 Bug 1248981 - Fix spelling error in nsMenuUtilsX.mm, a=tomcat
MozReview-Commit-ID: FQNNmz9Mirk
2016-02-17 15:57:01 +01:00
Liang-Heng Chen
c7d63dde29 Bug 1244044 - remember display status; r=jerry 2016-02-17 00:43:00 +01:00
Wes Kocher
063fedf378 Merge m-c to inbound, a=merge 2016-02-17 11:14:33 -08:00