Mike Taylor
64df1dacf7
Bug 1247796
. Use keyboardFocusIndicatorColor for ActiveBorder system color keyword. r=mstange
...
This matches what Safari and Chrome do on Mac.
2016-02-26 16:30:52 -06:00
John Daggett
1b7d8ac5fd
Bug 1201318 - revise OSX system font handling. r=mstange
...
Rework system font lookup under OSX so that the style system passes around the same "meta" name used by Webkit, -apple-system. This makes it so that the hidden system fonts used aren't exposed to authors. It also allows us to handle the two optical sizes of font families used under OSX 10.11, which uses San Francisco as the new UI font, with one family for text sizes and another for larger, display sizes. The patch here:
- moves system font lookup into gfxMacPlatformFontList
- assigns the font family name to "-apple-system"
- derives FindFamily to take a gfxFontStyle parameter to allow size-based lookups
- maintains a list of hidden system font families (not exposed to authors)
- maintains a mapping from -apple-system to the underlying hidden font families
2015-10-08 15:04:08 +09:00
Nick Robson
49e872dc7e
Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn
...
--HG--
extra : rebase_source : 7817fea6ea95e9dfc486f797114e1cfb778d5230
2015-08-04 16:41:00 -04:00
Carsten "Tomcat" Book
060e1dcfe0
Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE
2015-07-31 14:49:40 +02:00
Nick Robson
58f8aa5dac
Bug 1075089 - Moved popup menu frame offset to LookAndFeel, fixed default offset for OS X. r=enn
2015-07-30 15:00:00 +02:00
Mike Conley
3e390227e6
Bug 1158798 - Properly initialize the LookAndFeel cache in the child. r=mstange.
...
The old code was just flat-out wrong. The IPDL for getting the LookAndFeel
cache from the parent during child process initialization was passing an
array it wanted to be populated as an argument, rather than using a return
value.
--HG--
extra : commitid : 2baQu56XHdn
extra : rebase_source : 7c45ecafa2ef6adb05bc753e87e354b136030958
extra : amend_source : 7b72c17d964e8b60c7c75a09ae38a28f60985583
2015-07-10 17:11:59 -04:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Mike Conley
8975d0730c
Bug 1096093 - Have Cocoa widget backend cache overlay scrollbar metrics. r=mstange.
...
--HG--
extra : rebase_source : fe44034cfbf4fe992a2adc56dc30864cc631cfa1
2015-04-22 10:58:48 -04:00
Carsten "Tomcat" Book
199bde3faa
Backed out changeset 70c19dd86f63 (bug 1096093)
2015-04-23 17:18:14 +02:00
Mike Conley
e7c7c23dcb
Bug 1096093 - Have Cocoa widget backend cache overlay scrollbar metrics. r=mstange.
...
--HG--
extra : rebase_source : 04640fed0ff75c70950be7d81285b64bdf220a1c
2015-04-22 10:58:48 -04:00
Gijs Kruitbosch
55e3cc3889
Bug 1044595 - fix default/active button text on OS X 10.10, r=mstange,jaws
...
--HG--
extra : rebase_source : c558491822fc158d44a127cfd5014bd5338d05f1
2014-09-12 00:31:15 +01:00
Josiah Bruner
0036c7d280
Bug 1021309 - Add "mac-yosemite-theme" CSS system metric. r=mstange
2014-06-05 18:02:46 -04:00
stefanh@inbox.com
9530e9ea0e
Bug 1022912 - make -moz-mac-menutextdisable lighter and remove obsolete color from widget/tests/test_platform_colors.xul. r=mstange.
2014-06-10 11:45:09 +02:00
Masayuki Nakano
f6885469a0
Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
...
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Daniel Holbert
e846bd6bb3
Bug 936628: Add media query to check for whether we have a color picker backend available. r=jimm
2013-11-10 19:07:59 -08:00
Ehsan Akhgari
bb7810ceea
Bug 924019 - Do not assume that PRUnichar and UniChar/unichar are the same type; r=smichaud
2013-10-10 12:59:40 -04:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Mike de Boer
5f62d30a3d
Bug 870865: update disabled text color on OSX. r=mstange, ui-r=shorlander
2013-09-18 11:06:07 +02:00
stefanh@inbox.com
a1a4ebc6d6
Bug 916491 - Remove -moz-mac-alternateprimaryhighlight. r=mstange.
2013-09-15 00:44:50 +02:00
Doug Turner
3de9e6a0cf
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Jim Mathies
8b019c0e6e
Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange
2013-07-02 05:02:21 -05:00
Phil Ringnalda
b67ef544c3
Backed out changeset 77bd60758c53 (bug 879565) for still asserting, just not quite as much
2013-07-01 21:43:49 -07:00
Jim Mathies
3376430962
Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. (Debug osx assertions fixed.) r=mstange
2013-07-01 21:42:00 -05:00
Jim Mathies
2cd8d6dfd5
Backed out changeset c2299dce9dbd (bug 879565) due to debug assertions.
2013-07-01 19:28:44 -05:00
Jim Mathies
82d7613462
Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange
2013-07-01 16:53:17 -05:00
Ryan VanderMeulen
4d4fc5ac17
Backed out changeset 1f6132caf111 (bug 879565) for warnings-as-errors bustage.
...
CLOSED TREE
2013-07-01 14:50:25 -04:00
Jim Mathies
2d7b573442
Bug 879565 - Add metrofx support for overlay scrollbars. Patch also replaces various static overlay metrics with LookAndFeel values. r=mstange
2013-07-01 13:29:24 -05:00
Jim Mathies
34ceabb16a
Bug 810399 - Widget bits. r=roc
2013-07-01 11:02:29 -05:00
Stephen Pohl
5b7636acf0
Bug 880753: Add public nsLookAndFeel::UseOverlayScrollbars method. r=smichaud
2013-06-07 12:44:24 -07:00
André Reinald
b4d86ea6d2
Bug 873012 - In case we use overlay scrollbars, and we run on system 10.8 or later, make them overlap in the bottom right corner, r=smichaud
...
--HG--
extra : rebase_source : 300f78c1230a6f91a102c032b026b1fe2455f634
2013-05-23 14:14:00 -07:00
Stephen Pohl
6af8265e40
Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc
2013-05-02 10:58:00 -04:00
Stephen Pohl
0cd77e174b
Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc
2013-04-09 14:44:01 -05:00
William Chen
a0839dcbd7
Bug 782211 - Part 8: Updated existing XUL alerts to implement the Notification API. r=enn
2013-03-18 06:24:54 -07:00
Robert Strong
bbc574349b
Back out Bug 678392
2013-02-08 16:52:12 -08:00
Stephen Pohl
2242844b6a
Swipe availability check - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud
2013-02-08 13:57:28 -08:00
Mats Palmgren
865cec14e9
Bug 786533 - On OSX, one of the system header files (exception_defines.h) defines 'try' and 'catch' as macros which breaks @try/@catch. We need to #undef those before using nsObjCExceptions.h. r=ehsan
2013-01-15 13:22:03 +01:00
Ehsan Akhgari
56e1e4925d
Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary
2013-01-14 16:21:54 -05:00
Ehsan Akhgari
d807a8997a
Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc
2013-01-05 23:07:27 -05:00
Josh Aas
32446fd81f
Bug 801601: Remove code specific to OS X 10.5 in Cocoa widgets. r=smichaud
2012-11-09 05:22:36 -05:00
Irving Reid
6c64d52c63
Bug 796086 - Add handlers for Objective-C exceptions, r=smichaud
2012-10-02 17:11:43 -04:00
Jonathan Kew
ed41d7aef7
bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc
2012-09-29 12:35:08 +01:00
Ehsan Akhgari
e368dc9c85
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
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Cameron McCormack
c24ba0581d
Bug 715024 - Remove duplicate functions on nsCocoaFeatures and nsToolkit. r=bgirard
2012-05-17 17:53:20 +10:00
Cameron McCormack
5a5f63981b
Back out bug 715024 due to bustage.
2012-05-17 12:13:02 +10:00
Cameron McCormack
27b87a665f
Bug 715024 - Remove duplicate functions on nsCocoaFeatures and nsToolkit. r=bgirard
2012-05-17 11:36:56 +10:00
Jonathan Kew
f28a975637
bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett
2012-03-15 09:04:46 +00:00