Commit Graph

11387 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
b1b2328545 Merge mozilla-central to mozilla-inbound 2016-01-13 11:58:27 +01:00
Carsten "Tomcat" Book
0506fad16e merge mozilla-inbound to mozilla-central a=merge 2016-01-13 11:57:15 +01:00
Masayuki Nakano
208f4a6c52 Bug 1238899 Create hidden native caret for ATOK at composing in windowless plugin r=m_kato 2016-01-13 12:44:39 +09:00
Jonathan Kew
bb2f64218c Bug 1239007 - Replace nsIntRect by strongly-typed rects in a couple of nsCocoaUtils functions. r=mstange 2016-01-13 07:32:55 +00:00
Kit Cambridge
1ff30ad0e6 Bug 1219855, Part 1 - Make nsXULAlerts implement nsIAlertsService. r=MattN,wchen 2015-12-31 13:27:09 -07:00
Xidorn Quan
b8f6b5e5bf Bug 1189622 part 3 - Return failure if fullscreen support is not available for the X11 desktop. r=karlt 2016-01-12 15:18:47 +11:00
Xidorn Quan
7f582514a2 Bug 1189622 part 2 - Allow widget's MakeFullScreen to fail, and call FinishFullscreenChange directly if that happens. r=smaug 2016-01-12 15:18:47 +11:00
Jonathan Kew
d4f85dc71c Bug 890156 - patch 9 - Adjustment to non-client margin at top of maximized window on secondary display. r=emk 2015-12-03 16:50:59 +00:00
Jonathan Kew
487d107291 Bug 890156 - patch 5 - Make Windows native-theme code handle per-monitor DPI scaling when necessary. r=emk 2015-12-02 20:54:26 +00:00
Jonathan Kew
1409a51999 Bug 890156 - patch 4 - Update widget/windows code for per-monitor DPI support. r=emk 2015-12-04 16:59:14 +00:00
Jonathan Kew
9217770d7b Bug 890156 - patch 3 - Remove gfxWindowsPlatform::GetDPIScale and replace it with methods in WinUtils, ready for per-monitor DPI support. r=emk 2015-12-02 15:09:29 +00:00
Jonathan Kew
9f654df72d Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk 2015-11-25 19:12:07 +00:00
Jonathan Kew
de2d99a0c7 Bug 890156 - patch 1 - Add nsIWidget::GetDesktopToDeviceScale() method. r=emk 2015-12-04 16:58:05 +00:00
Jonathan Kew
c2c031081e Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange 2016-01-13 07:32:55 +00:00
Jonathan Kew
28d5952fc4 Bug 890156 - patch 0.2 - Remove the (unused) aRect parameter from nsBaseWidget::BaseCreate. r=kats 2016-01-13 07:32:55 +00:00
Jonathan Kew
8469e4dc7d Bug 890156 - patch 0.1 - Switch from 'display pixels' to 'desktop pixels' terminology in widget code. r=kats 2015-11-25 19:11:58 +00:00
Masayuki Nakano
391fe3f8cd Bug 1235686 part.4 Don't trust system settings cache if Apoint of Alps is installed r=jimm 2016-01-13 10:49:38 +09:00
Masayuki Nakano
fd1e060f38 Bug 1235686 part.3 Don't trust system settings cache if SynTP of Synaptics is installed r=jimm 2016-01-13 10:49:38 +09:00
Masayuki Nakano
af19e2a0d5 Bug 1235686 part.2 Don't refresh the cache of system settings at handling wheel messages if the scroll amout values are initialized with prefs r=jimm 2016-01-13 10:49:38 +09:00
Masayuki Nakano
a1aa22bcd4 Bug 1235686 part.1 MouseScrollHandler should refresh the cache of system settings at handling wheel messages if the pref doesn't allow to cache system settings r=jimm 2016-01-13 10:49:38 +09:00
Masayuki Nakano
cf81d19275 Bug 1208977 TSFTextStore::GetTextExt() shouldn't return TS_E_NOLAYOUT for MS-IME for Japanese becasue it may position its candidate window at top-left of the screen in e10s mode r=emk 2016-01-11 17:25:43 +09:00
Nicholas Nethercote
6b299ad225 Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.
2016-01-07 20:57:38 -08:00
Wes Kocher
9087c3a9a8 Backed out changeset e5a4787cccce (bug 1237463) for being the apparent cause of frequent Windows 8 debug Cpp failures ending in return code 2147483651 a=backout 2016-01-08 14:42:37 -08:00
Karl Tomlinson
67c6255eb7 bug 726265 don't activate ELAN swipe hack unless ScanCode is zero r=heycam
On some hardware, GetKeyState(0xFF) returns negative even when Elantech
messages are not involved.  This change permits Page Up and Page Down keys
to function as expected on this hardware.
2016-01-07 17:31:35 +13:00
Aaron Klotz
8ed0558f76 Bug 1237463: LSP Annotator Enhancements; r=jimm 2016-01-06 16:58:13 -07:00
Nicholas Nethercote
84b71404df Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Jan Horak
1aea6b3e9f Bug 1205643 - Move scrollbar borders to slider to receive button events. r=karlt 2016-01-06 23:55:00 -05:00
Ian Stakenvicius
85c55f9dfd Bug 1168219 - Make nsIWidget::Configuration::mChild a smart pointer on widget/qt too. r=froydnj 2016-01-07 09:45:00 -05:00
Kartikaya Gupta
8d6061ac09 Bug 1235994 - Add a flag to wheel events to track if they may have momentum following them. r=mstange 2016-01-07 10:39:37 -05:00
Carsten "Tomcat" Book
d1ee9c9f70 merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Chris H-C
6b4b838848 Bug 1235821 - Don't track mouseleave when capturing mouse. r=jimm
Since, in Windows, the tabbar overlays the "nonclient" area, TrackMouseEvent
will report a WM_MOUSELEAVE when you move your mouse when dragging a tab.

So, suspend mouseleave tracking when capturing and resume when we end capture.

A nice effect of TrackMouseEvent is that it'll immediately post a WM_MOUSELEAVE
if called when the mouse is outside the client area, so when capture ends, we
are either over the client area and tracking resumes or we aren't and we get
an immediate WM_MOUSELEAVE.
2016-01-06 10:48:00 -05:00
Andrzej Hunt
c349a42fac Bug 826400 - Part 3: Simplify homescreen shortcut creation, and use apple-touch-icon if available r=nalexander,jchen 2015-12-29 11:49:54 -08:00
Sotaro Ikeda
66491f2195 Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical 2016-01-05 20:50:39 -08:00
Wes Kocher
67d8b18f42 Merge m-c to inbound, a=merge CLOSED TREE 2016-01-05 16:52:09 -08:00
Wes Kocher
d2a275509a Merge fx-team to m-c a=merge CLOSED TREE 2016-01-05 16:34:06 -08:00
Wes Kocher
fd30a93083 Merge inbound to m-c a=merge 2016-01-05 16:02:49 -08:00
Carsten "Tomcat" Book
361f37d171 Merge mozilla-central to b2g-inbound 2016-01-05 12:03:29 +01:00
Gabriele Svelto
ad4e0bac1f Bug 1234176 - Introduce a dynamic trigger to send memory pressure events before background applications are reaped by the LMK. r=dhylands 2015-12-29 11:55:41 +01:00
Ryan VanderMeulen
cd8b436f4b Backout changeset 2f4991bbb9fb2fc97b1dadf9b8fb9b465f12b87b (bug 1221659) for making test_fullscreen-api-race.html and test_fullscreen-api.html nearly perma-timeout on Linux32. 2016-01-01 17:17:21 -05:00
Bob Owen
ab7c01146e Bug 1156742 Part 15: Add pref for turning on printing via the parent process. r=mconley 2016-01-05 10:08:57 +00:00
Bob Owen
e6d63b6d09 Bug 1156742 Part 14: Complete RemotePrintJob using PrintTranslator. r=mconley 2016-01-05 10:08:57 +00:00
Bob Owen
00e78ab6fc Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2016-01-05 10:08:57 +00:00
Bob Owen
2a789531dc Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2016-01-05 10:08:57 +00:00
Bob Owen
72f0cb895d Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
Someone knew that nsIPrintSession would come in handy one day.
2016-01-05 10:08:57 +00:00
Milan Sreckovic
d254092d20 Bug 1235858 - Record the time stamp, use it for crash reports. r=botond 2015-12-30 11:47:00 +01:00
Jonathan Griffin
5707644ec5 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Nathan Froyd
37a79d9be1 Bug 1236566 - add override declarations for widget/windows/GfxInfo.h; r=roc 2015-12-16 11:58:46 -05:00
Xidorn Quan
4f4a302f65 Bug 1221659 - Make fullscreen transition on Linux take the designed time. r=roc 2016-01-05 10:00:37 +11:00
Nicholas Nethercote
c174c2e66e Bug 1232219 (part 2) - Fix -Wunused warnings in widget/gtk/. r=karlt. 2015-12-16 22:24:21 -08:00
Kit Cambridge
c34d44dda3 Bug 1227300, Part 3 - Implement showAlert for the OS X alerts backend. r=mstange 2015-12-31 12:08:22 -07:00