Commit Graph

52 Commits

Author SHA1 Message Date
David Zbarsky
8be21dc688 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Jim Mathies
d85f619b11 Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy 2013-12-14 14:40:55 -06:00
Jonathan Watt
83950e2b2e Bug 947728 part 1 - Introduce a new 'number-input' value for -moz-appearance that behaves exactly as 'textfield' does. r=roc 2013-12-08 23:23:28 +00:00
Stephen Pohl
acd47107c8 Bug 934811 - Ensure that no scrollbars are displayed for touch input. r=jimm,tn 2013-12-03 13:21:09 -05:00
Stephen Pohl
a5d3de1091 Bug 940798 - Show drop marker for input fields in metro mode. r=jimm 2013-11-22 13:57:26 -05:00
Masatoshi Kimura
23ff300256 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Stephen Pohl
62dc972fe9 Bug 930771 - Ensure that overlay scrollbars don't leave behind white bands after fading out. r=jimm 2013-11-11 10:19:54 -05:00
Birunthan Mohanathas
19145c6676 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
Markus Stange
203d1cece9 Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc 2013-09-27 17:24:32 +02:00
Jim Mathies
56c162fa76 Bug 879562 - Convert WinUtils::GetNSWindowPtr to WinUtils::GetNSWindowBasePtr. r=masayuki 2013-08-09 05:12:38 -05:00
Jim Mathies
336b03c058 Bug 873073. r=bbondy 2013-06-28 08:00:16 -05:00
Jonathan Watt
64486d6a50 Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
L. David Baron
16c60e0095 Backout changeset af5273034fdf (bug 871264), which doesn't compile (didn't fix nsRangeFrame.cpp (and possibly others). 2013-05-13 17:28:47 -07:00
Jonathan Watt
b734363578 Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
Jonathan Kew
b619fb7e57 bug 859266 - respect devPixelsPerPx preference when calculating screen dimens on Windows. r=roc 2013-04-09 09:39:47 +01:00
Jonathan Watt
023c73bf41 Bug 857034 - Add support for native theming of <input type=range> on Windows. r=roc 2013-04-03 11:07:12 +01:00
Jonathan Kew
59f46e66b3 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
dfcc3e78f0 bug 832524 pt 1 - account for resolution-dependent size of menuitem icons in GetGutterSize. r=jimm 2013-04-01 10:09:51 +01:00
Daniel Holbert
1859a93138 Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
Neil Rashbrook
f295555bc4 Bug 729649 Progress meters on XP should be chunk style r=bbondy 2013-03-02 14:37:20 +00:00
Neil Rashbrook
0ecf8b8601 Backed out changeset 4fa6b9dbe823 for incorrect commit comment 2013-03-02 14:36:35 +00:00
Jim Mathies
aedd292d70 Bug 729549 Progress meters on XP should be chunk style r=Neil
--HG--
extra : rebase_source : 16f5256264ca8bb7d6ecda25f4a61b9605e7056a
2013-02-25 10:17:06 +00:00
Jim Mathies
8d49b18807 Bug 658829 part 5 - render classic progress meters r=Neil
--HG--
extra : rebase_source : 17c054b7b996a2cae077dd672c1fddd2d7181a41
2013-02-25 00:27:26 +00:00
Jim Mathies
a1a055b34b Bug 658829 part 5 - render themed progress meters r=Neil
--HG--
extra : rebase_source : b26efa08d043384be6f588d48857e381ba86e9ad
2013-02-25 00:27:22 +00:00
Jim Mathies
80dc40e077 Bug 658829 part 4 - add helper methods r=Neil
--HG--
extra : rebase_source : 3c31d3ef56ffd2e026c8d774c98aded2c40a4470
2013-02-25 00:27:10 +00:00
Jim Mathies
20cdaab093 Bug 392672 Make progress meter corner pixels transparent r=bbondy
--HG--
extra : rebase_source : 72aed4ae6b57d1f929d8825f2fe2cb10977f2eaa
2013-02-25 00:16:16 +00:00
Jim Mathies
7cf94b82a8 Bug 658829 part 1 - preliminary cleanup r=bbondy
--HG--
extra : rebase_source : d2c506e0a64a4686dbf7d18b2c89bafcd83ea015
2013-02-25 00:16:02 +00:00
L. David Baron
822b2ca3bc Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Robert O'Callahan
57f402ecbb Bug 794246. Assume inactive menu items don't paint a background of their own. r=bas
--HG--
extra : rebase_source : 521565f2d399c5501fb705a55f52c917f19c4733
2013-01-08 00:06:11 +13:00
Mark Straver
7c55340440 Bug 783338 - Correct widget height on VS2012 (subsystem >= 6). r=jimm 2012-11-16 18:34:31 -05:00
Ehsan Akhgari
0fd9123eac 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
Tim Abraldes
501b2c2602 bug 758280. Refactor the way we handle WM_NCCALCSIZE messages and how we keep track of our frame offsets. r=jimm 2012-08-20 12:11:31 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
3e24a1e507 Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
6e827e6979 Bug 373266 - toolbar button support. r=bbondy 2012-03-07 09:30:20 -06:00
Jim Mathies
2542d1946e Bug 373266 - checkbox and radio support. r=bbondy 2012-03-07 09:30:08 -06:00
Jim Mathies
5b4fdb50ca Bug 373266 - button support. r=bbondy 2012-03-07 09:30:00 -06:00
Jim Mathies
c94a290db2 Bug 373266 - scrollbar support. r=bbondy 2012-03-07 09:29:51 -06:00
Jim Mathies
6647675fdb Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Masatoshi Kimura
28f2776f50 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
0af24742c6 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Jim Mathies
cdfe8f5ddc Bug 719983 - Replace uses of nsUXThemeData::sIsVistaOrLater and sIsXPOrLater with WinUtils version routines. r=neil 2012-02-15 13:10:17 -06:00
Ed Morley
ad5a8e1d06 Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Jim Mathies
ea757440bf Bug 719983 - Replace uses of nsUXThemeData::sIsVistaOrLater with WinUtils version routines. r=neil 2012-02-08 10:00:47 -06:00
Masatoshi Kimura
88ba00973a Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Ms2ger
e3e8b35541 Bug 718504 - Remove some GetChildAt callers; r=smaug 2012-01-25 08:50:07 +01:00
Jim Mathies
bafa27d2ca Bug 618353 - Provide content with the ability to shrink the size of glass borders for glass windows and shrink the fx border by 2 pixels. r=felipe 2012-01-13 09:10:05 -06:00