Commit Graph

1803 Commits

Author SHA1 Message Date
Milan Sreckovic
825c32e01f Bug 1242659: Part 1. More information on the mismatches. r=jrmuizel
--HG--
extra : rebase_source : 6ae3ff60839bb01f5fd6c8088c523812b4d43080
2016-01-25 14:43:29 -05:00
Bob Owen
379cf5a922 Bug 1242616: Add break in nsWindow.cpp WM_GETOBJECT handling. r=tbsaunde 2016-01-26 10:03:07 +00:00
Xidorn Quan
1802db9b0e Bug 1242295 - Fix compile error in nsDeviceContextSpecWin. r=jimm
--HG--
extra : source : 3f921f727472ef45827910c9ca0ce276a5c32e47
extra : amend_source : 4958b5b293ca8f567b0ed6902ebf277e10284834
2016-01-26 20:31:11 +11:00
Makoto Kato
d03ef7caac Bug 1241408 - Update selection cache even if having read lock. r=masayuki 2016-01-26 10:33:38 +09:00
Aaron Klotz
9e96529f18 Bug 1237463: LSP Annotator Enhancements; r=jimm 2016-01-25 12:48:02 -07:00
Sylvestre Ledru
ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Bob Owen
393a50d4dc Bug 1238964 Part 2: Move separate DEVMODE to nsIPrintSettings copying into nsPrintSettingsWin. r=jimm
This also corrects what I think are long standing issues with the mapping to and
from print settings on Windows.
Firstly it only uses the DEVMODE flags to decide what should get stored, in the
old code if paper size was not set, it would then use that possibly invalid
paper size to map to length and width. Paper setting prefs are mapped back if
they were stored or if they have been manually set to something sane.
Secondly it corrects the calculation that was used to convert from millimeters
to tenths of millimeters.
It also gets rid of the paperSizeType field, which was only used on Windows and
doesn't actually make sense according to the DEVMODE documentation as the
dmPaperLength and dmPaperWidth fields override the dmPaperSize, but can in
theory be specified at the same time.
2016-01-12 17:40:07 +00:00
Bob Owen
eb34bd15b9 Bug 1238964 Part 1: Hold new printable page sizes in print nsIPrintSettingsWin. r=jimm
This also holds the resolution in the print settings, so that we can start to
remove the access to the native Windows print devices in the child process.
2016-01-22 16:05:19 +00:00
Gijs Kruitbosch
12e1d8f1cf Bug 1236058 - recognize bluetooth keyboard devices when determining whether to show an on-screen keyboard, r=masayuki,f=jaws
--HG--
extra : rebase_source : 17f3303f8b351f82a920def8a8db6443830aa58c
2016-01-18 13:07:55 +00:00
David Rajchenbach-Teller
583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Masayuki Nakano
93611e5b4c Bug 1052947 Allow users to disable 4th button and/or 5th button of mouse on Windows r=smaug+jimm 2016-01-20 19:56:37 +09:00
Xidorn Quan
7757d924da Bug 1238536 part 1 - Do not automatically exit fullscreen if restored from minimized state. r=jimm
--HG--
extra : source : a80520d376ffd1e06da3eece2f814f6dd77b3e82
2016-01-20 09:56:52 +11:00
Sebastian Hengst
d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Jonathan Kew
7c5888a083 Bug 1240180 - Optimize native theme scaling for the single-monitor case. r=emk 2016-01-18 13:28:26 +00:00
Masayuki Nakano
8b05c85ea0 Bug 1237216 TSFTextStore should forget redundant pending composition events for Korean TIPs r=emk 2016-01-18 16:29:02 +09:00
Nicholas Nethercote
76dfc05b83 Bug 1239589 - Change nsBaseWidget::mBounds to a LayoutDeviceIntRect. r=kats.
This patch removes dozens of ToUnknown/FromUnknown conversions and doesn't add
any new ones, which is nice. It also removes UntypedDevPixelsToCocoaPoints(),
which is no longer needed.

--HG--
extra : rebase_source : 81288126b582402408518aecfc304bc128e05d15
2015-11-22 20:32:29 -08:00
Bas Schouten
cb06edf308 Bug 1239743: Do not allow windows to be resized to sizes above the maximum texture size. We don't know how to draw to these anyway. r=jimm
--HG--
extra : rebase_source : f1ad0237a72178fb1870bd23ae1aacd098ad995f
2016-01-14 21:17:13 +01:00
Masayuki Nakano
f52b4c55e1 Bug 1237582 Don't retry to call TSFTextStore::NotifyTSFOfLayoutChangeAgain() when TSFTextStore::NotifyTSFOfLayoutChange() is called from it and newly TSFTextStore returns TS_E_NOLAYOUT error during the call r=m_kato 2016-01-17 12:02:01 +09:00
Carsten "Tomcat" Book
7e52b24fab merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Wes Kocher
136dd4b97a Backed out changeset 7bd651ae54dd (bug 1192945) to hopefully fix 1231429 a=ritu
--HG--
extra : commitid : 4yAGbFnOUrd
extra : source : 5c042dab34a257de85b7eaf2bc81aaad16b8a1b0
extra : intermediate-source : beff2f1d75224ad339a965e02f9193a9a4f43e79
2016-01-14 15:40:56 -08:00
Ryan VanderMeulen
a152a34ff2 Bug 1239683 - Replace NS_UNCONSTRAINEDSIZE with NS_MAXSIZE in windows/nsWindow.cpp. r=mats 2016-01-14 14:46:29 -05:00
Ryan VanderMeulen
4d4279e120 Bug 1239683 - Add nsIFrame.h include to windows/nsWindow.cpp to fix --disable-accessibility bustage. r=jfkthame 2016-01-14 11:41:29 -05:00
Jonathan Kew
714e585ffa 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
d178c6596d 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
61bb2f1169 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
925e9cfb7f 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
84b8c3a0a4 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
3d48351585 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
df4ffa594d 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
a8ff928f0d Bug 1238899 Create hidden native caret for ATOK at composing in windowless plugin r=m_kato 2016-01-13 12:44:39 +09:00
Masayuki Nakano
d35df077c0 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
03f6af9d97 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
96f8c9b9a6 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
c218da049b 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
Jim Mathies
6f0e60feab Bug 1096804 - Fix debug build error, remove use of non-existent HRESULT and assert. r=buildfix 2016-01-12 11:55:20 -06:00
Jim Mathies
9e48f3f866 Bug 1096804 - Update taskbar thumbnail and preview handler code to support an asynchronous response that receives a canvas from front end js. Deprecate old sync apis. r=roc 2016-01-12 11:08:34 -06:00
Jim Mathies
44daa19658 Bug 1096804 - Add a new asynchronous callback interface for Windows taskbar thumbnail and preview image requests. r=roc 2016-01-12 11:08:33 -06:00
Kartikaya Gupta
6e12e0b31f Bug 1234838 - Update the windows backwards time skew fix code to use a PostMessage rather than a gecko NS_DispatchToMainThread. r=karlt
--HG--
extra : commitid : 9yGf6w0Xo6k
2016-01-12 11:53:55 -05:00
Masayuki Nakano
5733b55a52 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
88696a303a 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.

--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Wes Kocher
cf9b6c8840 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
--HG--
extra : commitid : 1vTnhB6kl4f
extra : amend_source : 93768a25189bda3a52826d16fe1912e05b95fc73
2016-01-08 14:42:37 -08:00
Karl Tomlinson
e8feab9b63 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.

--HG--
extra : rebase_source : 175d6288bef78eea054fcf577a61cb18ea1f0061
extra : amend_source : 69c66a12e8f27331515f8a60f256a5ba663583bd
2016-01-07 17:31:35 +13:00
Aaron Klotz
edd70043d1 Bug 1237463: LSP Annotator Enhancements; r=jimm
--HG--
extra : rebase_source : 6e40ed6188a73ee1c0fa719055262a72bd2b4aed
2016-01-06 16:58:13 -07:00
Chris H-C
4236137699 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
Kyle Huey
e4e99090ac Bug 1237369: When annotating LSPs, asynchronously shutdown the annotation thread. r=jimm 2016-01-06 13:18:29 -08:00
Bob Owen
fdd98bfb6b 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
f35de7e1be 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
Nathan Froyd
b8d9784912 Bug 1236566 - add override declarations for widget/windows/GfxInfo.h; r=roc 2015-12-16 11:58:46 -05:00
Makoto Kato
d2c2d37a8b Bug 1208944 - Part 10-b. Call DefaultProc When CompositionEvent isn't handled correctly by plugin. r=masayuki 2015-12-29 22:57:38 +09:00