Commit Graph

176 Commits

Author SHA1 Message Date
Jonathan Watt
f1d16eb1ff Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Jonathan Watt
0324bd5749 Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Mats Palmgren
84b282d627 Bug 427928 - part 3, Add NS_THEME_FOCUS_OUTLINE support for Cocoa widgets. r=mstange 2014-06-14 12:48:08 +00:00
Markus Stange
39789114a7 Bug 1016569 - For 10.7 non-overlay scrollbars, draw the scrollbar track and the scrollbar thumb separately. r=smichaud 2014-05-28 15:22:16 +02:00
Markus Stange
27f705c2ee Bug 1009679 - Layerize the scrollbar thumb on desktop, too. r=roc 2014-05-28 12:52:13 +02:00
Ed Morley
60c704eda3 Backed out changeset 83fd85b082d1 (bug 1009679) for crashtest and reftest failures; CLOSED TREE 2014-05-14 15:55:04 +01:00
Markus Stange
7a1fb53a14 Bug 1009679 - Layerize the scrollbar thumb on desktop, too. r=roc 2014-05-14 14:33:52 +02:00
Markus Stange
d7f42e05a8 Bug 995287 - Don't animate completed progress bars. r=bgirard 2014-05-13 22:04:42 +02:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Masayuki Nakano
01ad44156b Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Mike Kaply
854aed8da8 Backing out bug 889085 (dddfd63f1414, f8c14bd80676) due to regression bug 987783. r=roc 2014-04-02 10:03:08 -05:00
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Matt Woodrow
007105ff82 Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Matt Woodrow
e638200a0e Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Mike Conley
4611b5bdb4 Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Matt Woodrow
cf2d089996 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Reuben Morais
f954df12ae Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
stefanh@inbox.com
6dacf6ac06 Bug 970079 - Native theming for MacOS X help buttons, widget part. r=mstange, roc. 2014-02-27 18:12:16 +01:00
Markus Stange
804d672323 Bug 941325 - Fix focus ring drawing when building with the 10.8 SDK or higher. r=smichaud
--HG--
extra : rebase_source : 07fa26673188c4d5fb5450ec2344a794e4d67aad
2014-02-13 12:09:59 +01:00
Benoit Jacob
93826fc6b0 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
stefanh@inbox.com
579105656d Bug 889085 - Make our sheets semi-transparent. r=mstange. 2014-01-18 12:52:22 +01:00
Benoit Jacob
55e7c24065 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05: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
Jonathan Watt
182f35a50b Bug 935508 - Implement native theming of <input type=number>. r=roc 2013-12-05 16:20:34 +00:00
Ryan VanderMeulen
e95b9d9a2e Backed out changesets 1b268ec6b81e, b68f5c69dce2 (bug 935508) and changesets 29db440280c8, 64f359e4e054 (bug 945784) for mochitest failures.
CLOSED TREE
2013-12-05 13:00:23 -05:00
Jonathan Watt
37febbd150 Bug 935508 - Implement native theming of <input type=number>. r=roc 2013-12-05 16:20:34 +00:00
Markus Stange
6e7ce5d9af Bug 923840 - Mark -moz-appearance:toolbar as opaque on Mac. r=roc
--HG--
extra : rebase_source : 6f7ba3357c3d24c6c273270b25627dcab8298d47
2013-11-20 17:20:51 +01:00
Gijs Kruitbosch
00f40ed0e1 Merge mozilla-central and ux 2013-11-06 18:34:47 +01:00
Markus Stange
3d5ff66576 Bug 933964 - Don't call unifiedToolbarHeight on NSWindows that are not ToolbarWindows, r=smichaud 2013-11-06 02:22:00 +01:00
Markus Stange
f2115d6bbf Bug 851652 - Change position of the standardWindowButtons for Australis [r=smichaud r=mnoorenberghe+bmo r=jaws r=roc]
--HG--
extra : rebase_source : 4936bfc62a4712871caa5d767b1dd2e496e0826c
2013-06-12 23:42:00 +02:00
Gijs Kruitbosch
b05750dcee Merge mozilla-central and ux 2013-10-25 10:23:03 +02:00
Gijs Kruitbosch
aa719d2b2d Merge mozilla-central and ux 2013-09-28 09:59:15 +02:00
Gijs Kruitbosch
a3a29ecf94 Merge mozilla-central and ux 2013-09-25 10:16:54 +02:00
Benoit Jacob
c1d7f88886 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -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
Gijs Kruitbosch
c948d50278 Merge m-c to UX 2013-08-22 19:55:04 +02:00
Stephen Pohl
5f372f0cda Bug 904561: Followup for RTL support. r=smichaud 2013-08-21 16:33:55 -04:00
Stephen Pohl
e474f4b7b6 Bug 904561: Restrict the growing of overlay scrollbars on hover to OSX 10.8 and above. r=smichaud 2013-08-21 15:44:17 -04:00
Gijs Kruitbosch
c24f6ecb97 Merge m-c to UX 2013-08-03 21:51:18 +02:00
Gijs Kruitbosch
60fd73b747 Merge m-c to ux 2013-08-02 17:21:19 +02:00
Matthew Noorenberghe
63923e35da Merge mozilla-central to UX 2013-07-31 17:48:12 -07:00
Matthew Noorenberghe
d79cbda60c Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
David Zbarsky
795f349564 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
Nicholas Cameron
e91b1d6d0d Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
Chris Peterson
699c633a54 Bug 900839 - Remove unused variables in nsNativeThemeCocoa.mm. r=dzbarsky 2013-08-01 22:46:10 -07:00
David Zbarsky
e1b94c8f42 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
Stephen Pohl
4bf023b44c Bug 874570: Make scrollbar frames smaller for small overlay scrollbars. r=smichaud 2013-08-01 17:01:22 -04:00
David Zbarsky
59d52bfb66 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky
c1cdd88a1b Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
Gijs Kruitbosch
37fa9266f9 Merge mozilla-central and ux 2013-07-15 14:13:14 +02:00
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
Gijs Kruitbosch
8b5b507fb3 Merge mozilla-central and ux 2013-06-27 14:24:43 -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
Gijs Kruitbosch
d1a8445807 Merge mozilla-central and ux-central 2013-06-10 11:22:16 +02:00
Markus Stange
6051db9f48 Bug 880153 - Fix -moz-window-button-box fallback width on 10.6. r=smichaud 2013-06-07 11:55:30 +02:00
Markus Stange
f28098175a Bug 880124 - Make -moz-mac-fullscreen-button 0px wide on 10.6, which doesn't have a fullscreen button. r=smichaud 2013-06-07 11:54:35 +02:00
Matthew Noorenberghe
fc52afbdba Merge mozilla-central to UX 2013-06-01 02:45:51 -07:00
Mike Conley
a60514ed1f Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-29 17:41:40 -04:00
Phil Ringnalda
048a740072 Merge m-c to a CLOSED TREE ux 2013-05-27 11:48:20 -07:00
Markus Stange
82399ee42c 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
15e3945951 Bug 871590 - Make unified titlebar / toolbar handling more robust. r=roc 2013-05-22 11:50:57 +02: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
Mike Conley
bde4015879 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-20 22:56:50 -04: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
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
Mike Conley
5ff6baf840 Automated merge with https://hg.mozilla.org/mozilla-central
--HG--
rename : toolkit/content/LightweightThemeConsumer.jsm => toolkit/modules/LightweightThemeConsumer.jsm
2013-05-17 11:48:25 -04:00
Mike Conley
a790416205 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-15 17:14:08 -04:00
Mike Conley
8fad4acea4 Mostly automated merge with https://hg.mozilla.org/mozilla-central 2013-05-06 16:55:59 -04:00
Markus Stange
977ecaeb2a Bug 868211 - Simplify Mac implementation of -moz-window-button-box. r=smichaud 2013-05-03 19:31:01 +02:00
Jared Wein
b5584a8f77 Automated merge with https://hg.mozilla.org/mozilla-central 2013-05-03 09:08:52 -04:00
Mike Conley
bb41d7794a Bug 865374 - Position tabs in the OSX titlebar. Cocoa Widget work by Steven Michaud. r=dao,bgirard. 2013-05-02 14:15:29 -04: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
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
Markus Stange
7b49365fa6 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02: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
Stephen Pohl
07d696288b Bug 880753: Add public nsLookAndFeel::UseOverlayScrollbars method. r=smichaud 2013-06-07 12:44:24 -07: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
Mike Conley
36c82dbc9f Bug 625989 - Always draw in the titlebar on OSX. r=josh,dao f=mstange 2013-03-01 13:48:18 -05:00
JosiahOne
85c2f14a17 Bug 868316 - Adjust scrollbar dimmensions to their OS value. r=mstange 2013-05-14 15:54:57 -04: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
Markus Stange
f3a791c68e Bug 924184 - Don't repaint -moz-appearance: -moz-window-titlebar on hover. r=roc 2013-10-24 10:07:35 +02: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