Commit Graph

89 Commits

Author SHA1 Message Date
Jonathan Watt
31243bc48d Bug 871264 - Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget. r=dholbert, sr=roc 2013-05-14 00:47:03 +01:00
Jonathan Kew
89c5ad2d15 bug 859266 - respect devPixelsPerPx preference when calculating screen dimens on Windows. r=roc 2013-04-09 09:39:47 +01:00
Jonathan Watt
954f620db6 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
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
44bc59b84d 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
723a4f151a 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
9dfe94a510 Bug 729649 Progress meters on XP should be chunk style r=bbondy 2013-03-02 14:37:20 +00:00
Neil Rashbrook
a4eccb5f14 Backed out changeset 4fa6b9dbe823 for incorrect commit comment 2013-03-02 14:36:35 +00:00
Jim Mathies
82d6bbdee0 Bug 729549 Progress meters on XP should be chunk style r=Neil 2013-02-25 10:17:06 +00:00
Jim Mathies
ec252e7d7e Bug 658829 part 5 - render classic progress meters r=Neil 2013-02-25 00:27:26 +00:00
Jim Mathies
8c86d95a3e Bug 658829 part 5 - render themed progress meters r=Neil 2013-02-25 00:27:22 +00:00
Jim Mathies
a8d28013f4 Bug 658829 part 4 - add helper methods r=Neil 2013-02-25 00:27:10 +00:00
Jim Mathies
a4d0b94e13 Bug 392672 Make progress meter corner pixels transparent r=bbondy 2013-02-25 00:16:16 +00:00
Jim Mathies
01b0f015ec Bug 658829 part 1 - preliminary cleanup r=bbondy 2013-02-25 00:16:02 +00:00
L. David Baron
ca6c366dc6 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
7532b4e736 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
53f0323bc1 Bug 794246. Assume inactive menu items don't paint a background of their own. r=bas 2013-01-08 00:06:11 +13:00
Mark Straver
94d2b1c5f1 Bug 783338 - Correct widget height on VS2012 (subsystem >= 6). r=jimm 2012-11-16 18:34:31 -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
Tim Abraldes
25a00c0362 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
6c0ac43bcb Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
7166d0e99f Bug 373266 - toolbar button support. r=bbondy 2012-03-07 09:30:20 -06:00
Jim Mathies
af919f7777 Bug 373266 - checkbox and radio support. r=bbondy 2012-03-07 09:30:08 -06:00
Jim Mathies
235430af40 Bug 373266 - button support. r=bbondy 2012-03-07 09:30:00 -06:00
Jim Mathies
5d116b340a Bug 373266 - scrollbar support. r=bbondy 2012-03-07 09:29:51 -06:00
Jim Mathies
94bf43a539 Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Masatoshi Kimura
3a5286efbe Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Mark Capella
590ec2e743 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Jim Mathies
32c694428a 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
8086dffedb Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Jim Mathies
1e97441bb4 Bug 719983 - Replace uses of nsUXThemeData::sIsVistaOrLater with WinUtils version routines. r=neil 2012-02-08 10:00:47 -06:00
Masatoshi Kimura
89dc26a595 Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Ms2ger
5aaaad9380 Bug 718504 - Remove some GetChildAt callers; r=smaug 2012-01-25 08:50:07 +01:00
Jim Mathies
5b4d273272 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
Masayuki Nakano
18f679ee2e Bug 712483 Implement mozilla::widget::WinUtils r=jimm 2012-01-04 19:21:44 +09:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00