Commit Graph

52 Commits

Author SHA1 Message Date
David Zbarsky
d26395dbc2 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Jim Mathies
c4383a34ed Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy 2013-12-14 14:40:55 -06:00
Jonathan Watt
34f76a78c2 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
965870498a Bug 934811 - Ensure that no scrollbars are displayed for touch input. r=jimm,tn 2013-12-03 13:21:09 -05:00
Stephen Pohl
06700841a2 Bug 940798 - Show drop marker for input fields in metro mode. r=jimm 2013-11-22 13:57:26 -05:00
Masatoshi Kimura
aec068d530 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Stephen Pohl
0078132507 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
1a50982f19 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
018eb43241 Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc 2013-09-27 17:24:32 +02:00
Jim Mathies
7b29c4aade Bug 879562 - Convert WinUtils::GetNSWindowPtr to WinUtils::GetNSWindowBasePtr. r=masayuki 2013-08-09 05:12:38 -05:00
Jim Mathies
f821be53f3 Bug 873073. r=bbondy 2013-06-28 08:00:16 -05:00
Jonathan Watt
58c479c7c9 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
3d95aa6df4 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
4f3640a8c0 Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
Jonathan Kew
eb690ba741 bug 859266 - respect devPixelsPerPx preference when calculating screen dimens on Windows. r=roc 2013-04-09 09:39:47 +01:00
Jonathan Watt
0bcbb8475c 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
b29a487eef 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
67ba68c83e 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
accc46f11d 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
ddac28cf16 Bug 729649 Progress meters on XP should be chunk style r=bbondy 2013-03-02 14:37:20 +00:00
Neil Rashbrook
863774221b Backed out changeset 4fa6b9dbe823 for incorrect commit comment 2013-03-02 14:36:35 +00:00
Jim Mathies
48ed13fa99 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
5159b442ef 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
d37f2d953a 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
5f72cfb6c1 Bug 658829 part 4 - add helper methods r=Neil
--HG--
extra : rebase_source : 3c31d3ef56ffd2e026c8d774c98aded2c40a4470
2013-02-25 00:27:10 +00:00
Jim Mathies
228cb58d15 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
fc26ef8819 Bug 658829 part 1 - preliminary cleanup r=bbondy
--HG--
extra : rebase_source : d2c506e0a64a4686dbf7d18b2c89bafcd83ea015
2013-02-25 00:16:02 +00:00
L. David Baron
5ef4421fa5 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
d5826be6d7 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
183c97ef01 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
55bf56a188 Bug 783338 - Correct widget height on VS2012 (subsystem >= 6). r=jimm 2012-11-16 18:34:31 -05:00
Ehsan Akhgari
8c296bbcd4 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
83ccc1b753 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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
ea00ab22ed Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
bc793b99ba Bug 373266 - toolbar button support. r=bbondy 2012-03-07 09:30:20 -06:00
Jim Mathies
96a33c47b2 Bug 373266 - checkbox and radio support. r=bbondy 2012-03-07 09:30:08 -06:00
Jim Mathies
5d8c14799b Bug 373266 - button support. r=bbondy 2012-03-07 09:30:00 -06:00
Jim Mathies
e1e133ae08 Bug 373266 - scrollbar support. r=bbondy 2012-03-07 09:29:51 -06:00
Jim Mathies
0e19141564 Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Masatoshi Kimura
8cea90b046 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Jim Mathies
431970a632 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
ada565efab Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Jim Mathies
4826b075e5 Bug 719983 - Replace uses of nsUXThemeData::sIsVistaOrLater with WinUtils version routines. r=neil 2012-02-08 10:00:47 -06:00
Masatoshi Kimura
09012b6e7c Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Ms2ger
c65e8a0ba7 Bug 718504 - Remove some GetChildAt callers; r=smaug 2012-01-25 08:50:07 +01:00
Jim Mathies
9184744dfc 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