Commit Graph

11652 Commits

Author SHA1 Message Date
Bas Schouten
72cb52de01 Bug 1256547: When the DWM is disabled don't force presentation. r=milan a=rkothari 2016-04-11 13:08:00 +02:00
Kartikaya Gupta
7a4212e85c Bug 1258711 - Skip the pixel cap when drawing scrollbar tracks or thumbs, since they don't use intermediate surfaces internally to CoreUI, and shouldn't blow up. r=mstange, a=lizzard
MozReview-Commit-ID: BrSqOnwEKUf
2016-04-11 09:53:17 -04:00
Mike Conley
60eeb36ca4 Bug 1260461 - Don't flush windows when shutting down due to a Windows log-out. r=jimm, a=lizzard
MozReview-Commit-ID: 3WWgPTxzdcz
2016-04-01 17:15:37 -04:00
Masayuki Nakano
154dd92743 Bug 1255627 - Don't call methods of TSFTextStore::sEnabledTextStore without independent strong reference to it. r=m_kato, a=ritu
TSFTextStore::sEnabledTextStore is a static variable to grab a reference to focused TextStore instance.  So, this may be changed by accidentally during a call of instance methods of TSFTextStore.  Then, focused TextStore may be destroyed during running a method and crash when it accesses a member variable.

For avoiding this crash, static methods which call a method of sEnabledTextStore should create an independent RefPtr to it before calling the method.

MozReview-Commit-ID: 51Sor1LdABr
2016-04-07 02:17:05 +09:00
Felipe Gomes
c0288049de Bug 1260190 - Disable e10s for accessibility users on OS X. r=jimm, a=ritu
MozReview-Commit-ID: 35KZiKcSFqL
2016-04-01 15:54:33 -03:00
Markus Stange
e6453f4c35 Bug 1254275 - Inspect the event queue to find out whether momentum events are following. r=kats a=ritu
MozReview-Commit-ID: 6k3SaJ6X7Mr
2016-03-28 14:56:28 -04:00
Karl Tomlinson
a2303538a9 Bug 1260178 - Null check pattern from -unico-border-gradient. r=acomminos, a=ritu
MozReview-Commit-ID: HooAlTmINmq
2016-03-29 17:50:47 +13:00
Makoto Kato
1a584ba174 Bug 1033488 - Part 2. Make PuppetBidiKeyboard correctly on content process. r=masayuki, a=ritu
MozReview-Commit-ID: KtStkwxw54f
2016-03-22 13:13:09 +09:00
Makoto Kato
ecd014388b Bug 1033488 - Send RTL information to child process by WM_INPUTLANGCHANGE. r=masayuki, a=ritu
MozReview-Commit-ID: KB9ok2oly7y
2016-03-11 17:48:10 +09:00
Jorg K
48c61964eb Bug 1254980 - Ensure that text/html is still written to the clipboard. r=enndeakin a=ritu
MozReview-Commit-ID: Dz6tGtCfxgJ
2016-03-22 11:47:00 -04:00
Jonathan Kew
c9c9658327 Bug 1254020 - Always compute theme scaling factor when per-monitor dpi aware, even if only a single display is currently present. r=emk a=ritu
MozReview-Commit-ID: 9KUukZ7tcxu
2016-03-24 11:10:17 +00:00
Jonathan Kew
4207c0244b Bug 1259065 - Don't constrain window position (only its size) when DPI-rescaling during a move. r=emk a=ritu
MozReview-Commit-ID: Dx8o4tFYBU3
2016-03-23 17:54:45 +00:00
Jim Mathies
a13680a3ce Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz a=ritu
MozReview-Commit-ID: 2LuYciKfsWn
2016-03-13 08:25:23 -05:00
Jonathan Kew
6b93820df1 Bug 1256576 - Make sure texture is (re)initialized if the size changed. r=snorp, a=lizzard 2016-03-23 14:38:31 +00:00
Jonathan Kew
5da9398050 Bug 1248675 - Update the cached mBounds in nsChildView when its backing scale factor (display DPI) changes. r=mstange, a=lizzard 2016-03-23 16:30:07 +00:00
Karl Tomlinson
6bd4915696 Bug 1211892 - read -unico-border-gradient of early Unico versions for ThreeDHighlight and ThreeDShadow r=acomminos, a=lizzard
MozReview-Commit-ID: KWfQqT5MIjT
2016-03-18 22:49:46 +13:00
Bob Owen
7219321945 Bug 1257791: Return correct DPI and printing scale from nsDeviceContextSpecWin when printing to PDF. r=jimm a=sylvestre
MozReview-Commit-ID: 9CptRjNs0ui
2016-03-19 11:01:30 +00:00
Jim Chen
378aaa58d6 Bug 1255461 - Notify pref handlers when pseudo-prefs change; r=snorp a=ritu
When "pseudo-prefs" change, the Java side expects the same change
notification as regular prefs.

MozReview-Commit-ID: GKVJlMJJ7OX
2016-03-18 15:18:51 -04:00
Bob Owen
c05803f360 Bug 1257825: Remove checks for paper height and width <= 0 in nsPrintSettings. r=dvander, a=ritu
Also added the check for invalid width / height into nsDeviceContextSpecProxy that was added into nsDeviceContextSpecWin.
2016-03-19 11:07:16 +00:00
Andrew McCreight
07011c718c Bug 1242084 - Fix GfxInfoBase nsStringBuffer leak. r=dvander, a=ritu 2016-03-14 10:27:00 +01:00
Jonathan Kew
7422e0f8ab Bug 1256731 - patch 2 - Notify front-end code when screen resolution changes on Windows, so that TabsInTitlebar code can refresh its computations. r=gijs,emk a=ritu 2016-03-17 12:53:31 +00:00
Jonathan Kew
26e0d64ac7 Bug 1256731 - patch 1 - Don't apply theme-dpi scaling to metrics of window border elements, because Windows doesn't respect per-monitor dpi scaling when it draws them. r=emk a=ritu 2016-03-16 14:15:47 +00:00
Jim Chen
26cd334498 Bug 1254629 - Ensure content root is in document when flushing IME changes; r=esawin, a=lizzard
One work-around for the bug is to ensure that our content root is in a
document when flushing IME changes, because when an input becomes
hidden, the previous content root is removed from the document.
2016-03-11 13:47:22 -05:00
Jonathan Kew
fcec63c1d4 Bug 1255475 - Properly distinguish 'moving' from 'resizing' state when a maximized window is dragged, resulting in a WM_SIZING message followed by WM_MOVING; this allows us to handle DPI rescaling during the move if necessary. r=emk a=ritu 2016-03-14 18:35:59 +00:00
Jonathan Kew
a33e54b948 Bug 1254019 - Don't attempt to resize a maximized window on DPI change; and when handling a DPI change, constrain the resized window to the screen bounds. r=emk, a=ritu 2016-03-15 19:52:46 +00:00
Lee Salzman
09540f3b2d Bug 1254151 - use B8G8R8X8 for 24 bit depth visuals in nsShmImage with Cairo. r=jrmuizel a=ritu
MozReview-Commit-ID: 81QthQUYijY
2016-03-08 11:18:13 -05:00
Kartikaya Gupta
dab3b4a83f Bug 1252262 - Don't combine the client offset into the outer rect for the child process. r=jimm, a=ritu
MozReview-Commit-ID: BslkWk7ndkx
2016-03-08 14:14:43 -05:00
Ryan VanderMeulen
d3f5d4bd68 Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Bob Owen
41df2edda1 Bug 1253247: Return an error when trying to Init an nsDeviceContextSpecProxy without a RemotePrintJob. r=jimm 2016-03-05 18:25:14 +00:00
Drew Willcoxon
220e3e86e1 Bug 1253713 - [e10s] Make widget/tests/test_plugin_scroll_invalidation.html work under e10s. r=mccr8
MozReview-Commit-ID: AZ7MZWHoWhr
2016-03-04 16:57:04 -08:00
Jonathan Kew
f1cfc96caa Bug 1253446 - patch 2 - Return the proper scaling factor when querying the primary screen on Windows. r=emk 2016-03-04 16:14:43 +00:00
Masatoshi Kimura
628828881c Bug 1253566 - Deal with char16_t/wchar_t mismatch. r=aklotz 2016-03-05 08:47:50 +09:00
Carsten "Tomcat" Book
41362e0e1b Merge mozilla-central to fx-team 2016-03-04 13:40:08 +01:00
Sebastian Kaspari
a6e3892f33 Bug 1240710 - Pick (temporary) download directory depending on whether permission has been granted. r=nalexander,paolo,jchen
As soon as the user clicks on a link to download a file Gecko will start the download - even before prompting the
user. This led to problems when the user hadn't granted the permission to write to the downloads directory yet. The
download would fail even though the user (later) accepted the permission.

With this patch we will start the download to the app's cache directory (only if we do not have the permission) and
prompt the user. As soon as the user has accepted the permission the download will be moved to the public downloads
directory (even while still downloading). If the permission is denied the download will be cancelled.

After the permission has been granted all subsequent downloads will start writing to the downloads directory
directly.


MozReview-Commit-ID: CCqk9h7Sxor
2016-02-18 15:11:42 +00:00
Makoto Kato
bff637e0cb 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
2016-03-03 18:16:56 +09:00
Lee Salzman
d4d25316b8 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
84632b16af 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
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