Commit Graph

58 Commits

Author SHA1 Message Date
Matt Woodrow
71c2d042b8 Bug 892966 - Don't rely on being able to retrieve the current surface from a gfxContext when drawing cocoa menus. r=jrmuizel 2013-07-12 17:19:28 -04:00
Phil Ringnalda
8dcbf36c38 Back out 7160624804ff:69062da26093 (bug 892966) on suspicion of mochitest-4 test_bug767779.html bustage
CLOSED TREE
2013-07-12 16:39:36 -07:00
Matt Woodrow
71aa4e5c5d Bug 892966 - Don't rely on being able to retrieve the current surface from a gfxContext when drawing cocoa menus. r=jrmuizel 2013-07-12 17:19:28 -04:00
Stephen Pohl
5903ee65bb Bug 868416: Keep overlay scrollbars the same size irrespective of the current document zoom level. r=roc 2013-06-27 00:00:41 -04:00
Stephen Pohl
07d696288b Bug 880753: Add public nsLookAndFeel::UseOverlayScrollbars method. r=smichaud 2013-06-07 12:44:24 -07:00
Stephen Pohl
9bdedbea3e Bug 877085: Fix crash when trying to obtain the width of non-disappearing scrollbars. r=smichaud 2013-05-29 13:28:42 -07:00
André Reinald
c8eb6afa60 Bug 873010 - Artifacts around small overlay scrollbars in select boxes, r=mstange
Bug 873010 - Artifacts around small overlay scrollbars in select boxes, r=mstange

--HG--
extra : rebase_source : 002fdce7f49d852e567438481609be58dd76bcc4
2013-05-21 12:58:00 -07:00
Stephen Pohl
0cf8e74945 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-26 15:05:10 -07:00
Stephen Pohl
2acc2dfcba Back out bug 869314 for missing r='s. 2013-05-26 15:00:17 -07:00
Stephen Pohl
e41e125889 Bug 869314: Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. 2013-05-26 14:40:16 -07:00
Markus Stange
a8a6de76c8 Bug 676241 part 1: Don't draw rounded corners in -moz-appearance titlebar / toolbar rendering. r=josh 2013-05-23 16:49:16 +02:00
Markus Stange
ea03392fcc Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02:00
Markus Stange
82b48366b9 Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh 2013-05-22 11:48:47 +02:00
Markus Stange
7b49365fa6 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Markus Stange
7343081400 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc
--HG--
extra : rebase_source : dc4c5dff4f0a392e096976b355bcf2140f7b2879
2013-05-22 11:50:57 +02:00
Markus Stange
c53450ff86 Bug 871590 / Bug 625989 - Add basic support for -moz-appearance: -moz-window-titlebar on OS X. Partly written by Mike Conley. r=josh
--HG--
extra : rebase_source : 23f17c9bd93ae34ce171ebe24b3576b4c825795e
2013-05-22 11:48:47 +02:00
Ryan VanderMeulen
26a69bd344 Backed out changesets 619cdf937af1 and 381492b19e3f (bug 869314) for Windows mochitest failures.
CLOSED TREE
2013-05-21 10:13:25 -04:00
Stephen Pohl
79f83908c9 Bug 869314 - Fix missing dropmarkers in non-native styled combobox controls when overlay scrollbars are used. r=roc 2013-05-21 08:27:14 -04:00
Ehsan Akhgari
3222252b7a Bug 865806 - Use the proper Lion style scrollbar on content with a dark background color; r=roc 2013-05-19 11:01:28 -04:00
Ehsan Akhgari
cb75c641f1 Backed out changeset b097bd9fd24c because of Windows build bustage 2013-05-19 11:29:19 -04:00
Ehsan Akhgari
e43574cf4f Bug 865806 - Use the proper Lion style scrollbar on content with a dark background color; r=roc 2013-05-19 11:01:28 -04:00
JosiahOne
85c2f14a17 Bug 868316 - Adjust scrollbar dimmensions to their OS value. r=mstange 2013-05-14 15:54:57 -04: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
Stephen Pohl
d7a2bc2a4f Bug 868396 - Add pref to enable/disable overlay scrollbars on Mac OSX 10.7+. r=smichaud 2013-05-06 09:04:17 -04:00
Stephen Pohl
c997f428ce Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
954cd4dfaa Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
e474e01d79 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Jonathan Watt
09002e9831 Bug 851777 - Don't display a CSS focus ring on <input type=range> when OS X native theming is being used. r=roc 2013-04-17 09:24:46 +01:00
Jonathan Watt
9ef6c0c7ad Bug 862518 - Make sure the thumb of <input type=range> with fractional values is drawn at the correct position with Cocoa native theming. r=roc 2013-04-17 00:50:26 +01:00
Jonathan Watt
46fd401b36 Bug 855999 - The position of the thumb for vertical <input type=range> with native theming on OS X should not be inverted. r=me 2013-03-29 10:42:49 +00:00
Jonathan Watt
0fbd87a19c Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc 2013-03-16 05:40:15 +00:00
Markus Stange
221c1fe93a Bug 848692 - Fix native progress bar animation. r=josh 2013-03-08 09:03:39 +01:00
Andre Reinald
aa6fd9f963 Bug 839029 - Don't repaint default button if disabled or inactive. r=mstange, r=josh 2013-03-07 17:26:39 -05: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
44987ba59d Bug 658829 part 3 - move GetProgress*Value to nsNativeTheme r=jimm
--HG--
extra : rebase_source : 562107a9a653f352900073b096bce0b85aa423f4
2013-02-25 00:26:07 +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
Andrea Marchesini
7e00fc816c Bug 838750 - Rename nsHTMLMeterElement to HTMLMeterElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMeterElement.cpp => content/html/content/src/HTMLMeterElement.cpp
rename : content/html/content/src/nsHTMLMeterElement.cpp => content/html/content/src/HTMLMeterElement.h
2013-02-07 09:59:25 -05: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
Jonathan Kew
7dd037cec8 bug 806059 - make gfxQuartzNativeDrawing aware of backing scale factor when rendering native widgets. r=smichaud 2012-10-29 09:22:30 +00:00
Jonathan Kew
61c0d40ed6 bug 800668 - doubling of Cocoa widget sizes should depend on whether the context is HiDPI, not on the zoom factor. r=mstange 2012-10-13 13:10:54 +01:00
Markus Stange
ccd8e6d338 bug 674373 pt 1 - Mac OS X native theme rendering support for HiDPI display. r=smichaud 2012-08-13 17:45:57 +01:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -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
Matt Woodrow
ba5189e7b5 Bug 770056 - Remove [NSView focusView] conditions from cocoa theme code. r=mstange 2012-08-20 22:00:49 +12:00
Steven Michaud
e9035fae02 Bug 764176 - Cap area of rectangles passed to CUIDraw. r=mstange 2012-08-01 10:30:31 -05:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mounir Lamouri
8c9b3de93e Bug 663119 - Implement native vertical meters for MacOS X. r=bgirard 2012-06-06 09:58:00 +02:00
Mounir Lamouri
cfb47cc84d Bug 662870 - Use a native rendering for meter elements on MacOS X. r=bgirard 2012-06-06 09:56:28 +02:00