Commit Graph

59 Commits

Author SHA1 Message Date
Mike Conley
a8b21dd636 Bug 1243720 - Send accessibility theme state down to the content process on Windows. r=jimm 2016-02-03 15:49:36 -05:00
Jonathan Kew
c92f01422f Bug 1242720 - Use (non-dynamic) resolution from GetDeviceCaps when dealing with native-theme code that does not handle dynamic changes to system DPI. r=emk 2016-01-28 15:08:33 +00:00
Jonathan Kew
492e14ee2f 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
0a98ae8f91 Bug 1194055 - GetSysFontInfo should return MS Shell Dlg 2 for eFont_Field and eFont_List on Windows. r=masayuki 2015-08-18 17:21:38 +01:00
Wes Kocher
dfceb47804 Backed out changeset de7aa6b08234 (bug 1194055) for windows 8 reftest permafail 2015-08-18 17:58:27 -07:00
Jonathan Kew
c2a4c81e4e Bug 1194055 - GetSysFontInfo should return MS Shell Dlg 2 for eFont_Field and eFont_List on Windows. r=masayuki 2015-08-18 17:21:38 +01:00
Nick Robson
6fdd25c684 Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn 2015-08-04 16:41:00 -04:00
Carsten "Tomcat" Book
84ff5e7587 Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE 2015-07-31 14:49:40 +02:00
Nick Robson
d636d52e60 Bug 1075089 - Moved popup menu frame offset to LookAndFeel, fixed default offset for OS X. r=enn 2015-07-30 15:00:00 +02:00
Tim Nguyen
fcd1fc55b1 Bug 1166867 - Support -moz-os-version: windows-win10. r=jimm 2015-05-21 12:16:00 +02:00
Maksim Lebedev
e5baeed8f4 Bug 1137555 - Add implementation of PuppetWidget::GetMaxTouchPoints(). r=smaug, r=jimm 2015-05-08 03:29:00 +02:00
Kartikaya Gupta
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Jonathan Kew
133f1e6a7e Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jmathies 2015-01-21 22:12:18 +00:00
Jacek Caban
21973c0e7e Bug 1133818 - Fixed GCC warnings in widget/windows. r=jmathies 2015-02-23 12:15:53 +01:00
Masayuki Nakano
c50afb64af Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug 2014-04-01 13:09:23 +09:00
Gijs Kruitbosch
2f08cc3cbe Bug 946595 - High contrast themes on Windows 8 shouldn't be considered the default theme in CSS, r=jimm 2014-03-28 22:13:10 +00:00
Masatoshi Kimura
9c137765f0 Bug 978441 - Stop using GetVersionEx() in nsLookAndFeel.cpp. r=jimm 2014-03-02 10:29:12 +09:00
Masayuki Nakano
6a78a12c99 Bug 975688 part.20 Rename nsDOMTouchEvent and nsDOMTouchList to mozilla::dom::TouchEvent and TouchList r=smaug 2014-02-28 23:58:42 +09:00
Richard Marti
a9c594df2a Bug 907373 - Fix -moz-os-version media query on Windows 8.1. r=jimm 2014-02-17 18:43:08 +01:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Masatoshi Kimura
a39c875384 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Daniel Holbert
227c20388b Bug 936628: Add media query to check for whether we have a color picker backend available. r=jimm 2013-11-10 19:07:59 -08:00
Birunthan Mohanathas
3d1c72e40f Bug 784739 - Switch from NULL to nullptr in widget/windows/ (2/3); r=ehsan 2013-10-08 14:48:20 -04:00
Ehsan Akhgari
1fe743715d Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob 2013-10-07 19:15:59 -04:00
Doug Turner
7767c0773f Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Jim Mathies
28879859ae Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-02 05:02:21 -05:00
Phil Ringnalda
687e36df9a Backed out changeset 77bd60758c53 (bug 879565) for still asserting, just not quite as much 2013-07-01 21:43:49 -07:00
Jim Mathies
fb49fee170 Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. (Debug osx assertions fixed.) r=mstange 2013-07-01 21:42:00 -05:00
Jim Mathies
0aa4fea50c Backed out changeset c2299dce9dbd (bug 879565) due to debug assertions. 2013-07-01 19:28:44 -05:00
Jim Mathies
49f0ac08ad Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-01 16:53:17 -05:00
Ryan VanderMeulen
4ae12b0e69 Backed out changeset 1f6132caf111 (bug 879565) for warnings-as-errors bustage.
CLOSED TREE
2013-07-01 14:50:25 -04:00
Jim Mathies
05f70227b8 Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange 2013-07-01 13:29:24 -05:00
Jim Mathies
8ca1ad2d33 Bug 810399 - Widget bits. r=roc 2013-07-01 11:02:29 -05:00
Stephen Pohl
fb5e086e62 Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Jonathan Kew
936a7e4b26 bug 818927 part 2 - refactoring - create a GetDPIScale method in gfxWindowsPlatform, and use this to replace GetDeviceCaps(hdc, LOGPIXELSY) in widget code. r=jimm 2013-04-01 10:10:28 +01:00
Jonathan Kew
33285caafd bug 852522 - (win-hidpi) scale system font sizes in response to dpi/devPixelsPerPx setting. r=jimm 2013-03-19 17:24:27 +00:00
Robert Strong
70d4cf7361 Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl
69610af859 Swipe availability check - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud 2013-02-08 13:57:28 -08:00
Matthew Noorenberghe
bc23cfab48 Bug 816803 - Add system metric and media query keyword to detect whether the current Windows desktop theme supports Aero Glass. r=jimm,sr=roc 2013-01-16 19:27:16 -08:00
Ehsan Akhgari
6aa893f5b6 Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary 2013-01-14 16:21:54 -05:00
Ehsan Akhgari
de91af2c10 Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc 2013-01-05 23:07:27 -05:00
Jim Mathies
1af6ce1ff7 Bug 750901 - Elm to mc migration work - metro related changes to Windows widget src to support building metro winrt bits (nsWidgetFactory, nsWindowGfx, nsToolkit, WinUtils). Also landing nsIWinMetroUtils.idl. r=bbondy 2012-11-02 06:54:44 -05:00
Jim Mathies
5ff34aa59b Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg 2012-10-25 09:57:51 -05:00
Jim Mathies
bbc2493dd6 Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-29 11:39:23 -05:00
Jonathan Kew
99c3ea68d6 bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc 2012-09-29 12:35:08 +01:00
Jim Mathies
abc04958ec Bug 795307 - backout e320e0e3ec41 due to red 2012-09-28 16:17:58 -05:00
Jim Mathies
b098dc952c Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-28 14:48:36 -05:00
Ehsan Akhgari
b17536ca47 Backout changeset 0c18edd01cd4 (bug 795307) for broken builds on Windows 2012-09-28 15:40:00 -04:00
Jim Mathies
878da5add6 Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-28 14:11:12 -05:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00