63 Commits

Author SHA1 Message Date
joshmoz%gmail.com
6902151737 gcc 4 fixes for Mac OS X. part 2 of landing (last part). Patch by Mark Mentovai. b=294244 r=josh sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@174619 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 03:52:48 +00:00
smfr%smfr.org
3aa2dd6bd0 Fix up the code that gets the "AppleKeyboardUIMode" system pref to look at the second bit of the value, rather than the value itself. Also add scope for the fullKeyboardAccessProperty variable, and check the result of CFNumberGetValue. Bug 187508.
git-svn-id: svn://10.0.0.236/trunk@168168 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-22 06:38:31 +00:00
smontagu%smontagu.org
87baf96ab5 Bug 277467: Memory leak in nsLookAndFeel::GetMetric. patch by Asaf Romano <bugs.mano@mail-central.com>, r=joshmoz, sr=sfraser, a=asa.
git-svn-id: svn://10.0.0.236/trunk@167433 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-09 14:07:24 +00:00
neil%parkwaycc.co.uk
edf3bc6ccc Null check followup b=187508 p=bugs.mano@mail-central.com r=pink sr=me a=asa
git-svn-id: svn://10.0.0.236/trunk@167397 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-07 20:32:26 +00:00
timeless%mozdev.org
c738708183 Bug 187508 Follow "full keyboard access" setting in System Preferences for tabbing navigation
patch by bugs.mano@mail-central.com r=aaronl sr=neil a=asa


git-svn-id: svn://10.0.0.236/trunk@167370 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-06 23:41:52 +00:00
ginn.chen%sun.com
9ad2cbe919 bug 251492 [gnome]selected item text wrong color in high-contrast themes
ginn.chen%sun.com r=bryner sr=dbaron
also fix bug 244955 [GNOME] incorrect system colors for the menu item text


git-svn-id: svn://10.0.0.236/trunk@164406 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 01:45:28 +00:00
aaronleventhal%moonset.net
2ed5e7dde3 Bug 261054. Make caret consistently the same width throughout Gecko/Mozilla. Configurable through ui.caretWidth. r=glazou, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@163639 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 01:12:14 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
mkaply%us.ibm.com
3fcc2a572a #188071
r=mkaply, sr=dbaron
Add a lookandfeel color for button default so it can be different than 3D shadow


git-svn-id: svn://10.0.0.236/trunk@143884 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 21:16:29 +00:00
bryner%netscape.com
507026e3c3 Use system metrics when available, and observed platform behavior otherwise, for determining the threshold to begin a drag. Bug 201342, r=blizzard, sr=sfraser, a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@142060 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 18:20:38 +00:00
sfraser%netscape.com
c9abfea658 Fix bug 202586: pull some .cpp files from widget/src/mac when building widget/src/cocoa to reduce code duplication, and divergence. r=pink, sr=bryner.
git-svn-id: svn://10.0.0.236/trunk@141532 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 22:24:12 +00:00
varga%netscape.com
ef2945de71 Fix for bug 117954. Auto-close springloaded folders except the destination
folder.
r=bryner, sr=dmose
- added a value array to store indexes of rows, currently only used for auto
closing of spring loaded folders
- added several tree related settings to nsILookAndFeel service
- made all timers use this service


git-svn-id: svn://10.0.0.236/trunk@139581 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 23:26:31 +00:00
aaronl%netscape.com
2a80196ae6 Bug 28583. Select text field contents when focused, except by mouse click, on certain platforms. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@131241 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 15:39:33 +00:00
sfraser%netscape.com
f5ca579709 Fix port/GDevice management issues in Mac code, fixes bugs 113480, 103234, 105946, and 104781. Changes ensure that the current graphics device is set correctly when SetPort is used to change the current graphics port (to window or GWorld). r=pinkerton, rs=brendan
git-svn-id: svn://10.0.0.236/trunk@112119 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 23:26:49 +00:00
bryner%netscape.com
532ac12efb Fixing mac bustage. r=cls.
git-svn-id: svn://10.0.0.236/trunk@107427 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 04:15:05 +00:00
bryner%netscape.com
ebb951b148 Reorganize nsLookAndFeel so that all of the platform implementations
derive from nsXPLookAndFeel.  Implement a color cache for
nsXPLookAndFeel::GetColor calls.  bug 77941, r=akkana, rs=waterson.


git-svn-id: svn://10.0.0.236/trunk@107417 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 02:41:04 +00:00
dbaron%fas.harvard.edu
f19aafd138 Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104391 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:10:56 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
blakeross%telocity.com
78a081c6e2 Tree column resizing should use live updating on Mac OS (75574). r=pink sr=ben
git-svn-id: svn://10.0.0.236/trunk@94912 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 02:53:41 +00:00
dbaron%fas.harvard.edu
90e814955b Add 3 proposed CSS3 system colors as -moz-FieldText, -moz-Dialog, and -moz-DialogText, which are needed to accurately represent system colors on GTK.
Restore GTK system color for WindowText to the correct value (fg rather than text).
Add debugging code that can be enabled to debug use of system colors in themes.
r=pierre@netscape.com  sr=blizzard@mozilla.org  b=67448


git-svn-id: svn://10.0.0.236/trunk@92475 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 00:46:07 +00:00
blakeross%telocity.com
694fbc6383 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
brade%netscape.com
31e670fc9d use internet config to get colors for text and window background; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@91045 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 14:27:28 +00:00
blakeross%telocity.com
1d5e9edb82 Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@84951 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 01:27:20 +00:00
blakeross%telocity.com
028f5a31d7 Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84128 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:27:23 +00:00
blakeross%telocity.com
2314f9dd95 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. r=ben sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83277 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:48:00 +00:00
pinkerton%netscape.com
2247927ef7 add selectors for scroll arrow placement and scroll thumb size. implemented on macos to look at appearance manager. made all platforms return 0 when asking for a selector that doesn't exist, so they are all the same. r=pchen, a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83102 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 01:51:14 +00:00
blakeross%telocity.com
7c695f4829 attempt to fix bustage
git-svn-id: svn://10.0.0.236/trunk@82706 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 23:02:24 +00:00
blakeross%telocity.com
cc61dc5baf Fix 59867: sidebar dragging needs to respect user settings. r=evaughan a=hyatt
git-svn-id: svn://10.0.0.236/trunk@82703 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 22:25:45 +00:00
bryner%uiuc.edu
61225739f7 Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.


git-svn-id: svn://10.0.0.236/trunk@80280 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 00:38:03 +00:00
pierre%netscape.com
8ae19847aa fix related to the reconstruction of html.css (#6625), the css system fonts (#1021 and #3371) and a regression on the Mac from #44656: make the html form controls look better on the Mac. a=buster
git-svn-id: svn://10.0.0.236/trunk@79755 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:22:14 +00:00
anthonyd%netscape.com
1355a05c4e bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe


git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
akkana%netscape.com
0511a3d364 Don't return an error code just because there was no nsXPLookAndFeel override (thanks to Pierre for noticing)
git-svn-id: svn://10.0.0.236/trunk@66578 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:43:25 +00:00
pierre%netscape.com
4506eee4b8 35455 "CSS2 system color as background color does not work". Fixed the previous checkin from akkana in GetColor().
git-svn-id: svn://10.0.0.236/trunk@66072 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 06:25:23 +00:00
pierre%netscape.com
c774e17424 Use the system colors to paint the text selection (and added NS_DONT_CHANGE_COLOR to support the Mac selection scheme where colored text keeps its colors when selected).
git-svn-id: svn://10.0.0.236/trunk@65176 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:07:41 +00:00
akkana%netscape.com
ed807e304b Oops, fix a couple of build errors.
git-svn-id: svn://10.0.0.236/trunk@64638 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:58:49 +00:00
akkana%netscape.com
83da5706a4 24514, 33417: Make nsLookAndFeel pref'able instead of hardwired.
git-svn-id: svn://10.0.0.236/trunk@64630 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:42:40 +00:00
pinkerton%netscape.com
08b3c35f73 added a metric for determining if xul popups should be allowed to display over the menubar/taskbar. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@63695 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:55:12 +00:00
scc%netscape.com
11bee2e856 removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pavlov ... who claims this shouldn't effect other platforms; but I'm watching anyway
git-svn-id: svn://10.0.0.236/trunk@59312 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:43:56 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
pinkerton%netscape.com
11a66eab33 Removing ifdefs for TARGET_CARBON code. Using inline functions in Universal Headers and nsCarbonHeaders.h.
git-svn-id: svn://10.0.0.236/trunk@57360 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:20:12 +00:00
pinkerton%netscape.com
12e2deefa8 better stab at native system colors, provided by mpt26@student.canterbury.ac.nz. bug #1004, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@53250 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 22:01:43 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
rods%netscape.com
7df83f9c8c Added a method in the debug build to return the Navigator size for a given
for control for a given font family and size. Used for NavQuirks testing only.
r=kmcclusk, Bugs #3040, 4072


git-svn-id: svn://10.0.0.236/trunk@51126 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 11:34:00 +00:00
pinkerton%netscape.com
7062dc3e8b take a first stab at native system colors. obviously more work needs to be done to use appearance, but this will get us started. (r=sfraser, bug# 1021).
git-svn-id: svn://10.0.0.236/trunk@50517 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:08:17 +00:00
pinkerton%netscape.com
8848021e98 adding the css2, win32-centric enums to GetColor. Not implemented yet.
git-svn-id: svn://10.0.0.236/trunk@47723 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 03:44:14 +00:00
sfraser%netscape.com
e1ed53cdf2 Ooops, I didn't mean to change the caret width. Putting that back to 20 twips.
git-svn-id: svn://10.0.0.236/trunk@47490 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 01:03:52 +00:00
sfraser%netscape.com
ba956e1f9c Change border width of HTML input fields from 4 to 2.
git-svn-id: svn://10.0.0.236/trunk@47486 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:43:19 +00:00
rods%netscape.com
5063c0dff0 Added metric for native TextField Border width
git-svn-id: svn://10.0.0.236/trunk@45890 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:19:08 +00:00
sfraser%netscape.com
997d078ca7 Adding caret width and blink time to nsILookAndFeel
git-svn-id: svn://10.0.0.236/trunk@39411 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:16:59 +00:00