Nicholas Nethercote
0b2b65edc8
Bug 1325503 - Remove Windows {XP, Server 2003, Vista} support from widget/. r=jimm.
...
I did my best to remove as much stuff as possible in this patch. The starting
point was to remove all the IsVistaOrLater() and IsWin7OrLater() calls, but I
also grepped for various strings and found some other removable stuff that way.
I may have still missed some things.
Notable things done by this patch.
- It removes numerous blocklist entries.
- It removes CanComputeVirtualKeyCodeFromScanCode(), because it's always true
now.
- It removes ShowXP{Folder,File}Picker(), even though these were available as
fallbacks on Vista+. The "when platform is built without the longhorn SDK"
condition in the comment above nsFilePicker::ShowXPFolderPicker() sounds like
it won't ever happen any more.
- It removes the config.trim_on_minimize preference. This requires adding a
bool sHaveInitializedPrefs variable; previously the lack of pref
initialization was indicated by the tri-state sTrimOnMinimize variable having
the value 2.
Notable things *not* done by this patch.
- ClearThemeRegion() still exists. The comment suggests that it is XP/Vista
only, but the code suggests otherwise. jimm thinks the comment is wrong.
- The comment in WinWakeLockListener::Callback() suggests that the StartTimer()
call is no longer needed to block the screen saver. I'm uncertain about this
and so I think it's best left to a follow-up.
--HG--
extra : rebase_source : f46645907d237423fd6115ab1b4725b023a0dce3
2016-12-23 13:13:31 +11:00
Xidorn Quan
382cf219da
Bug 894245 part 1 - Align windows widget behavior with other widgets to return failure when the specified color is unknown. r=jimm
...
MozReview-Commit-ID: HZ0Fir06QU6
--HG--
extra : rebase_source : 6b6c7fb1a578d2a129e399c534a8b651f32075bd
2016-12-30 14:17:55 +11:00
Thomas Wisniewski
e2d5d5425f
Bug 1302937 - Remove -moz-mac-lion-theme. r=mstange
2016-09-16 14:42:19 -04:00
Mike Conley
887467fe9f
Bug 1243720 - Send accessibility theme state down to the content process on Windows. r=jimm
...
--HG--
extra : commitid : Bl9KE70LQHT
extra : rebase_source : 001c5608ccc5024d7000d26fcd35e247b62925f4
extra : amend_source : 22a5a6bd72dc54bfb16b159237d94375862abecc
2016-02-03 15:49:36 -05:00
Jonathan Kew
2ce45f370f
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
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
d37da4f798
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
458762048b
Backed out changeset de7aa6b08234 (bug 1194055) for windows 8 reftest permafail
2015-08-18 17:58:27 -07:00
Jonathan Kew
2800ce3e55
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
49e872dc7e
Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn
...
--HG--
extra : rebase_source : 7817fea6ea95e9dfc486f797114e1cfb778d5230
2015-08-04 16:41:00 -04:00
Carsten "Tomcat" Book
060e1dcfe0
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
58f8aa5dac
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
93dcf227cd
Bug 1166867 - Support -moz-os-version: windows-win10. r=jimm
2015-05-21 12:16:00 +02:00
Maksim Lebedev
d0ef015683
Bug 1137555 - Add implementation of PuppetWidget::GetMaxTouchPoints(). r=smaug, r=jimm
...
--HG--
extra : rebase_source : 7460428da794e871de20cc5c23ca70c2d97141e6
2015-05-08 03:29:00 +02:00
Kartikaya Gupta
cd5b55f8d6
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Jonathan Kew
d9a4b2e744
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
804fea549c
Bug 1133818 - Fixed GCC warnings in widget/windows. r=jmathies
2015-02-23 12:15:53 +01:00
Masayuki Nakano
f6885469a0
Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
...
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Gijs Kruitbosch
db121ad14f
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
5add5560d2
Bug 978441 - Stop using GetVersionEx() in nsLookAndFeel.cpp. r=jimm
2014-03-02 10:29:12 +09:00
Masayuki Nakano
74a940f4ad
Bug 975688 part.20 Rename nsDOMTouchEvent and nsDOMTouchList to mozilla::dom::TouchEvent and TouchList r=smaug
...
--HG--
rename : dom/events/nsDOMTouchEvent.cpp => dom/events/TouchEvent.cpp
rename : dom/events/nsDOMTouchEvent.h => dom/events/TouchEvent.h
2014-02-28 23:58:42 +09:00
Richard Marti
501407982c
Bug 907373 - Fix -moz-os-version media query on Windows 8.1. r=jimm
2014-02-17 18:43:08 +01:00
Ehsan Akhgari
1b83407ce9
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
ed579a7fd3
Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm
2013-11-22 12:35:42 +09:00
Daniel Holbert
e846bd6bb3
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
ba9bbe5bb3
Bug 784739 - Switch from NULL to nullptr in widget/windows/ (2/3); r=ehsan
...
--HG--
extra : rebase_source : 5276b6474b9d6135ca2db408d17f0b5ed98b24a6
2013-10-08 14:48:20 -04:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Doug Turner
3de9e6a0cf
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Jim Mathies
8b019c0e6e
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
b67ef544c3
Backed out changeset 77bd60758c53 (bug 879565) for still asserting, just not quite as much
2013-07-01 21:43:49 -07:00
Jim Mathies
3376430962
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
2cd8d6dfd5
Backed out changeset c2299dce9dbd (bug 879565) due to debug assertions.
2013-07-01 19:28:44 -05:00
Jim Mathies
82d7613462
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
4d4fc5ac17
Backed out changeset 1f6132caf111 (bug 879565) for warnings-as-errors bustage.
...
CLOSED TREE
2013-07-01 14:50:25 -04:00
Jim Mathies
2d7b573442
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
34ceabb16a
Bug 810399 - Widget bits. r=roc
2013-07-01 11:02:29 -05:00
Stephen Pohl
0cd77e174b
Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc
2013-04-09 14:44:01 -05:00
Jonathan Kew
0f5958303f
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
1beddbc13f
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
bbc574349b
Back out Bug 678392
2013-02-08 16:52:12 -08:00
Stephen Pohl
2242844b6a
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
f932eeb8e2
Bug 816803 - Add system metric and media query keyword to detect whether the current Windows desktop theme supports Aero Glass. r=jimm,sr=roc
...
--HG--
extra : rebase_source : 56b27cbbbcc0cde254ef7aa7087f11360c476390
2013-01-16 19:27:16 -08:00
Ehsan Akhgari
56e1e4925d
Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary
2013-01-14 16:21:54 -05:00
Ehsan Akhgari
d807a8997a
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
e21debf331
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
d79e59cd73
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
1f0a409256
Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd
2012-09-29 11:39:23 -05:00
Jonathan Kew
ed41d7aef7
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
61af2e3bd0
Bug 795307 - backout e320e0e3ec41 due to red
2012-09-28 16:17:58 -05:00
Jim Mathies
4af416bc9c
Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd
2012-09-28 14:48:36 -05:00