Commit Graph

146078 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
51a160cec8 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-08-20 07:14:14 +00:00
joshmoz%gmail.com
48dcfa7964 fix typo in constant usage from patch for bug 204237 - this error causes buttons to incorrectly theme fairly often 2005-08-20 07:14:13 +00:00
joshmoz%gmail.com
7396c067a8 disabled form elements don't have aqua appearance (bug 204237) r=josh sr=bryner 2005-08-20 07:14:12 +00:00
cbiesinger%web.de
83e3562ec3 bug 241070 patch by npeninguy@gmail.com (Nicolas PENINGUY), r=bryner sr=blizzard
Refactor nsNativeThemeGTK
2005-08-20 07:14:11 +00:00
bryner%brianryner.com
b26f018bd9 Fix gtk warnings on older gtk versions (bug 255656, r+sr=dbaron). 2005-08-20 07:14:10 +00:00
joshmoz%gmail.com
73d542f825 clean out some old stuff pertaining to classic Mac OS (bug 231337) r=sdagley sr=bzbarsky 2005-08-20 07:14:09 +00:00
bryner%brianryner.com
1a8f776608 attempt to work around btek lameness 2005-08-20 07:14:08 +00:00
bryner%brianryner.com
8181184c57 Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc. 2005-08-20 07:14:07 +00:00
bryner%brianryner.com
020d944e4b Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2005-08-20 07:14:06 +00:00
p_ch%verizon.net
c9ae7e0a54 Bug 118294: NS_THEME_DROPDOWN implementation (GTK2)
(+ add forgotten style for menulist-description binding in the new toolkit)
r=bryner, sr=roc.
2005-08-20 07:14:05 +00:00
bryner%brianryner.com
195591cece Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2005-08-20 07:14:04 +00:00
bzbarsky%mit.edu
2789ea894e Forgot to commit this file. Bug 232175, patch by Isaac Hwak Han
<isaachh@mailc.net>, r=bryner, sr=bzbarsky
2005-08-20 07:14:03 +00:00
bryner%brianryner.com
6d285371b3 fix crash by moving assignment after lazy widget instantiation. r/sr/a=dbaron 2005-08-20 07:14:02 +00:00
dbaron%dbaron.org
aee9e39a02 Remove the nsDrawingSurface typedef and replace it with nsIDrawingSurface*. b=64023 r+sr=roc 2005-08-20 07:14:01 +00:00
bryner%brianryner.com
f83f0d84d1 Lots of fixes for native themed checkbox and radio buttons on gtk2. Bug 247631, r=caillon, sr=blizzard. 2005-08-20 07:14:00 +00:00
neil%parkwaycc.co.uk
54bb8c0ad7 Removing unused variables b=130292 p=mbockelkamp@web.de r/sr=rbs 2005-08-20 07:13:59 +00:00
roc+%cs.cmu.edu
7f3dc868a6 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2005-08-20 07:13:58 +00:00
neil%parkwaycc.co.uk
b6194b478a Bug 237138 Disabled form controls are not always greyed out r/sr=bz 2005-08-20 07:13:57 +00:00
bzbarsky%mit.edu
39621368bc Make nsNativeThemeWin inherit from nsNativeTheme; remove some redundant code.
Bug 232175, patch by Isaac Hwak Han <isaachh@mailc.net>, r=bryner, sr=bzbarsky
2005-08-20 07:13:56 +00:00
pinkerton%aol.net
d7111ebce2 add errant break removed by accident in last patch (r/sr=pink, bug 242868) 2005-08-20 07:13:55 +00:00
bzbarsky%mit.edu
883163b5cb Make sure to always theme listboxes on mac. Bug 241205, patch by Stuart Morgan
(sbm5@case.edu) and Isaac Hwak Han (isaachh@mailc.net), r=pinkerton,
sr=bzbarsky.
2005-08-20 07:13:54 +00:00
gerv%gerv.net
810cefb508 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-08-20 07:13:53 +00:00
roc+%cs.cmu.edu
2ddbf0abd6 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2005-08-20 07:13:52 +00:00
kyle.yuan%sun.com
acfc151b69 Bug 237535 prelight text invisible in high-contrast inverse themes
r=bryner, sr=roc, patch by ginn.chen@sun.com
2005-08-20 07:13:51 +00:00
bryner%brianryner.com
379e5aaffa Don't highlight toplevel menus on hover for gtk. Bug 233242, r=pch, sr=roc. 2005-08-20 07:13:50 +00:00
chanial%noos.fr
56dd169978 Bug 236484: check for the attributes "focused" and "_moz-menuactive" in WidgetStateChanged. r+sr=bz 2005-08-20 07:13:49 +00:00
chanial%noos.fr
a58d650d2b Bug 118296: implement NS_THEME_MENUBAR, NS_THEME_TOOLBAR, NS_THEME_MENUPOPUP and NS_THEME_MENUITEM (GTK2)
r=bryner, sr=roc
2005-08-20 07:13:48 +00:00
bzbarsky%mit.edu
65eec61ff9 Fix IsWidgetStyled to properly handle backgrounds on <select>. Bug 224974 and
bug 181490, patch by Isaac Hwak Han (isaachh@mailc.net), r=bryner, sr=bzbarsky,
a=chofmann
2005-08-20 07:13:47 +00:00
bryner%brianryner.com
c7dc6e1cb1 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2005-08-20 07:13:46 +00:00
chanial%noos.fr
2bef0dfd77 Bug 119735: NS_THEME_WINDOW and NS_THEME_DIALOG implementations (GTK2)
r=bryner, sr=roc
2005-08-20 07:13:45 +00:00
bryner%brianryner.com
25a024cfda quiet a compiler warning. no bug. 2005-08-20 07:13:44 +00:00
bryner%brianryner.com
9611b23530 Keep track of whether we have successfully drawn each widget+state combination, and if we have, don't bother with a gdk_flush for error detection in the future. Bug 174585, r=roc, sr=blizzard. 2005-08-20 07:13:43 +00:00
bryner%brianryner.com
b5412e1782 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2005-08-20 07:13:42 +00:00
bryner%brianryner.com
2ec2c8cf64 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2005-08-20 07:13:41 +00:00
jst%mozilla.jstenback.com
3cfa027279 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2005-08-20 07:13:40 +00:00
bryner%brianryner.com
79cca310bc Updating my email address 2005-08-20 07:13:39 +00:00
bryner%netscape.com
46514d55ec Don't draw buttons as active when they are disabled. But 195881, r=blizzard, sr=jag, a=sspitzer. 2005-08-20 07:13:38 +00:00
pinkerton%aol.net
6f3c96cb38 text fields shouldn't default to transparent as we use -moz-field for the bg
(r/sr=bryner, bug 203438)
2005-08-20 07:13:37 +00:00
bryner%brianryner.com
d2822a554e Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2005-08-20 07:13:36 +00:00
jst%mozilla.jstenback.com
231fe7a8c6 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2005-08-20 07:13:35 +00:00
dbaron%dbaron.org
8c34cd7030 Call moz_gtk_shutdown before the event loop shuts down so that objects can be freed completely on shutdown. b=219523 r=bryner sr=blizzard 2005-08-20 07:13:34 +00:00
uid502
da09c2ca0e Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2005-08-20 07:13:33 +00:00
bryner%brianryner.com
cbbb1daa79 Workaround for oscillating splitter in mailnews (bug 201379). r=varga, sr=mscott, a=sspitzer. 2005-08-20 07:13:32 +00:00
bzbarsky%mit.edu
3843a4fcf6 Fixing build-bustage typo 2005-08-20 07:13:31 +00:00
bzbarsky%mit.edu
835f255bfa DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2005-08-20 07:13:30 +00:00
jaggernaut%netscape.com
da4258a6f6 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2005-08-20 07:13:29 +00:00
bzbarsky%mit.edu
a44ffb8c51 Fix mac build bustage 2005-08-20 07:13:28 +00:00
caillon%returnzero.com
74861607c6 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2005-08-20 07:13:27 +00:00
dbaron%dbaron.org
acee7d0eba Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2005-08-20 07:13:26 +00:00
varga%netscape.com
84df32af79 Low risk fix for bug 199915. Can't use File Bookmark in XP.
r=bryner, sr=jag, a=sspitzer
2005-08-20 07:13:25 +00:00