Граф коммитов

6761 Коммитов

Автор SHA1 Сообщение Дата
pavlov%pavlov.net d28bd27581 include nsIDrawingSurfaceMac 2005-08-23 02:55:10 +00:00
pavlov%pavlov.net e6bae37b1f QI to nsIDrawingSurfaceMac instead of just casting 2005-08-23 02:54:35 +00:00
pavlov%pavlov.net 3f88529b8c cry harder, gtk1 2005-08-23 02:48:17 +00:00
pavlov%pavlov.net 120e3e4564 fix burning 2005-08-23 02:36:33 +00:00
pavlov%pavlov.net 0689d85cf0 moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc 2005-08-23 02:11:54 +00:00
bzbarsky%mit.edu 692c9e00f2 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
emaijala%kolumbus.fi 2ebb95e93d Fix for bug 297563: Transparency doesn't seem to work in 16bit color depth
patch by Dainis Jonitis
r=emaijala
sr=roc
2005-08-22 15:17:53 +00:00
emaijala%kolumbus.fi d6a70c7b83 Fix for bug 304955: Crash when scrolling through page [@ nsWindow::GetTopLevelWindow]
r+sr=roc
2005-08-22 04:18:47 +00:00
cbiesinger%web.de 7707e495ef bug 302821 correctly match LockLooper/UnlockLooper calls
patch by Doug Shelton <doug@sheltonfamily.org> r=tqh a=cbeard
2005-08-21 19:42:41 +00:00
zack%kde.org ffa918bf95 style fix and removing useless header 2005-08-20 07:14:33 +00:00
mozilla.mano%sent.com b21d199d5d Bug 301688 - [Mac] Disabled buttons shoud never have a 'default button' look&feel. r=josh, sr=smfr, a=bsmedberg. 2005-08-20 07:14:32 +00:00
zack%kde.org 21e9081ad7 fixing the toolbar issue. All the credit goes to biesi (he provided
the testcase for it)
2005-08-20 07:14:31 +00:00
zack%kde.org bff1397c6d Qt Mozilla port. For now the best way to start playing with it is the
TestQGeckoEmbed from the embedding/browser/qt/tests.
Build patch sr=jst, r=biesi.
Rest: r=dbaron,biesi
2005-08-20 07:14:30 +00:00
mconnor%steelgryphon.com fc05f21b99 bug 255947 - missing borders for the progress bar in with native classic widget on windows, patch by Mathieu Pellerin <nirvn.asia@gmail.com>, r+sr=roc, a=shaver 2005-08-20 07:14:29 +00:00
mozilla.mano%sent.com 44279290c1 Bug 203734 - enable focus ring on push buttons in 10.4 (Tiger) and above. r=jhpedemonte sr=smfr a=asa 2005-08-20 07:14:28 +00:00
dougt%meer.net cc0a51d6a3 Bug 295481. WINCE Fixes. This includes changes to make the makefiles do the right thing if we try to build Minimo and XUL together. These changes rs=bsmedberg. Further WINCE fixes in GFX and Widget. r=emaijala, sr=rbs, a=asa. 2005-08-20 07:14:27 +00:00
cbiesinger%web.de ccf845f954 Bug 176177 use the correct flag for buttons that are checked
patch by Son Le <son.le0@gmail.com> r=emaijala sr=bz
2005-08-20 07:14:26 +00:00
mozilla.mano%sent.com 31ca16c983 Bug 265282 - Unsorted tree columns are drawn as sorted columns. r=jhpedemonte sr=neil 2005-08-20 07:14:25 +00:00
mozilla.mano%sent.com 5ce31b67c6 Bug 118025 - nsITheme menupopup/menuitem implementations (Mac). r=pinkerton sr=smfr (for gfx) r=kmgerich (for pinstripe) 2005-08-20 07:14:24 +00:00
aaronleventhal%moonset.net 54839a85aa Bug 303404. Crash when hitting escape in context menu for a menu item. r=dbaron, sr=neil 2005-08-20 07:14:23 +00:00
caillon%redhat.com d7f88e4a6b Null out static variables after we destroy the widgets to avoid crashing.
Bug 244549.  GTK2 patch by Pete Zha, GTK1 patch by Ben Bucksch.
r=caillon, sr=blizzard.
2005-08-20 07:14:22 +00:00
ginn.chen%sun.com b18f90a1fa Bug 174740 Black checkboxes in menus (e.g. View->Toolbars->Navigation Bar)
r=robin.lu sr=bryner
2005-08-20 07:14:21 +00:00
bzbarsky%mit.edu 83a00e28f6 Fix horizontal scrollbar rendering with GTK theming when steppers are not
square.  Bug 258758, patch by Benjamin Leviant <benjamin@ethium.net>,
r+sr=bryner
2005-08-20 07:14:20 +00:00
dougt%meer.net 31a1eaa4f4 bug 281948. WinCE changes to GFX and Widget. r=ere, sr=darin 2005-08-20 07:14:19 +00:00
smfr%smfr.org a21e5e5939 Fix bug 279510: remove all the pre-Carbon code and TARGET_CARBON #idfefs from gfx. Patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net>, r=pink, sr=me 2005-08-20 07:14:18 +00:00
dbaron%dbaron.org 55f977c739 Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner 2005-08-20 07:14:17 +00:00
kyle.yuan%sun.com ca407ce7b4 Bug 254241 Do not lookup gtk_style_get_prop_experimental in GTK2 build
r=bryner, sr=blizzard
2005-08-20 07:14:16 +00:00
kyle.yuan%sun.com d708f06676 Bug 238854 [gtk2] Changing GNOME2 theme doesn't apply until restarting Mozilla
r=bryner, sr=dbaron, patch=ginn.chen@sun.com
2005-08-20 07:14:15 +00:00
bzbarsky%mit.edu df85e75d28 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 853de796be 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 2020ffcc10 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 be0b470ae0 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 ac10db12f6 Fix gtk warnings on older gtk versions (bug 255656, r+sr=dbaron). 2005-08-20 07:14:10 +00:00
joshmoz%gmail.com d4741c99ee 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 53843a6435 attempt to work around btek lameness 2005-08-20 07:14:08 +00:00
bryner%brianryner.com ca84c668d4 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 2b8c557704 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2005-08-20 07:14:06 +00:00
p_ch%verizon.net 12dd524895 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 857aab4138 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2005-08-20 07:14:04 +00:00
bzbarsky%mit.edu c66c8e0f3f 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 8716c7eb8d fix crash by moving assignment after lazy widget instantiation. r/sr/a=dbaron 2005-08-20 07:14:02 +00:00
dbaron%dbaron.org cc4c806482 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 12ba7037f4 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 724cb92a0c Removing unused variables b=130292 p=mbockelkamp@web.de r/sr=rbs 2005-08-20 07:13:59 +00:00
roc+%cs.cmu.edu 48711388b9 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2005-08-20 07:13:58 +00:00
neil%parkwaycc.co.uk 82024a8063 Bug 237138 Disabled form controls are not always greyed out r/sr=bz 2005-08-20 07:13:57 +00:00
bzbarsky%mit.edu 7c4d575e72 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 8a40330eb3 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 cb0f562b62 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 59149b83f1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-08-20 07:13:53 +00:00
roc+%cs.cmu.edu f4f97f1737 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2005-08-20 07:13:52 +00:00
kyle.yuan%sun.com 3308e70668 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 7de92b0caa 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 2e1a950144 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 79aabb67d6 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 876d49a4e9 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 041cba8990 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2005-08-20 07:13:46 +00:00
chanial%noos.fr afe7b901d9 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 f2a526a8c2 quiet a compiler warning. no bug. 2005-08-20 07:13:44 +00:00
bryner%brianryner.com 61c011d7ee 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 c8afffef23 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2005-08-20 07:13:42 +00:00
bryner%brianryner.com 992f02d7c8 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 c8a76abeeb 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 a7542c3d8c Updating my email address 2005-08-20 07:13:39 +00:00
bryner%netscape.com 044395e264 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 fe7c9adb2e 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 c89670f238 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 716ffc1dd7 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 ed69dd6c17 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 d5cc300afe Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2005-08-20 07:13:33 +00:00
bryner%brianryner.com 35c456bbfb 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 0f3db161a5 Fixing build-bustage typo 2005-08-20 07:13:31 +00:00
bzbarsky%mit.edu ddcd064ca2 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2005-08-20 07:13:30 +00:00
jaggernaut%netscape.com d9677bdddc 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 82fdd74ff0 Fix mac build bustage 2005-08-20 07:13:28 +00:00
caillon%returnzero.com 19217fed97 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 0a90d676e8 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 312ac7ce45 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
bzbarsky%mit.edu dd5d386c3e Make sure we drop native theming of form controls in various situations when we
need to.  Bug 184359 and its dependencies (171598, 181490, 184218, 185708,
188785, 189907, 190610).  Patch by tim@prismelite.com (Tim Hill), r=bryner,
sr=bzbarsky, a=asa
2005-08-20 07:13:24 +00:00
bryner%netscape.com 10397c5f44 Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser. 2005-08-20 07:13:23 +00:00
bryner%netscape.com 4de1d18002 Fixing progress meters in classic on mac (bug 197289). Use nsString::ToInteger correctly. r=shuehan, sr=jag, a=sspitzer. 2005-08-20 07:13:22 +00:00
bryner%netscape.com 35882dbef5 Fix several problems with aqua form controls:
- don't disable -moz-appearance because the textfield has a transparent background
- don't draw a focus border for buttons, because of an OS bug that causes ugly lines through them
- make sure button text doesn't move when the button is pressed
- make sure buttons don't get a dotted internal focus border
- don't allow colors to be overridden on buttons for now

Also fixes dependencies in gfx/src/mac/Makefile.in. Bug 197094, r=pinkerton, sr=bzbarsky.
2005-08-20 07:13:21 +00:00
shliang%netscape.com 9d7c4b062e 123617 - can't tab to buttons checkboxes and radios in osx classic. r=jag, sr=bryner. 2005-08-20 07:13:20 +00:00
bryner%netscape.com 6b86740cbf Fix drawing of context menus and selected tab on Mac (bug 197107). r=sfraser, sr=kin 2005-08-20 07:13:19 +00:00
bryner%netscape.com ce58d3cee5 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2005-08-20 07:13:18 +00:00
pkw%us.ibm.com 961b2164ce AIX: Calling gtk_realize_widget on a gtk_entry causes a root status window
to come up.
r=katakai@japan.sun.com, sr=blizzard@mozilla.org, a=asa@mozilla.org
2005-08-20 07:13:17 +00:00
robin.lu%sun.com ebe23fd767 patch fixes bug 216752 [gtk2]tooltip make mozilla crash on Solaris.
r=bryner sr=blizzard patched by robin.lu@sun.com
2005-08-20 07:13:16 +00:00
bryner%netscape.com 7ff7dba2d2 A few cleanups and fixes for gtk2's native theme code: handle ownership of the GtkTooltips object correctly, fix up the textfield drawing code to paint the background first and to paint the focus border correctly, and update to the new widget style property names for scrollbars. Bug 211488, r=blizzard. Not part of the default build (gtk2 only). 2005-08-20 07:13:15 +00:00
blizzard%redhat.com 4d57c82fbd Part of bug #174471. Fix problems with bluecurve them with gtk2 native themes. r=bryner, sr=sspitzer, a=asa 2005-08-20 07:13:14 +00:00
bryner%netscape.com 2218bda448 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2005-08-20 07:13:13 +00:00
dbaron%dbaron.org f458f72f6d Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2005-08-20 07:13:12 +00:00
timeless%mozdev.org 4ed6be9454 Bug 172751 nsITheme support for Windows 9x/NT/2000
patch by tim@prismelite.com r=hyatt sr=roc+moz
2005-08-20 07:13:11 +00:00
hyatt%netscape.com 63fd8ea2e9 Add 1px padding to WinXP input fields. r/sr=jag,bryner 2005-08-20 07:13:10 +00:00
hyatt%netscape.com 95e98a4133 Fix for 115743. r=pavlov, sr=bryner 2005-08-20 07:13:09 +00:00
bryner%netscape.com e551554721 Use the correct GtkStyle for painting dropdown arrows. This fixes the problem of the arrow not painting with some themes. Bug 184583, r=blizzard, sr=ben. 2005-08-20 07:13:08 +00:00
bryner%netscape.com ae5cbf807b Fix misdrawn border on focused textfields (bug 175696). r=blizzard, sr=jag, a=asa. 2005-08-20 07:13:07 +00:00
bryner%netscape.com 1d4d56be99 fixing aix bustage 2005-08-20 07:13:06 +00:00
bryner%netscape.com 592a22f323 Don't apply a border to <toolbox> (bug 184588). r=blizzard, sr=ben. 2005-08-20 07:13:05 +00:00
bryner%netscape.com 64fcb3ca4c Clean up nsNativeThemeGTK by separating all core drawing functionality into gtkdrawing.c and formalizing the API in gtkdrawing.h. Bug 174927, r=blizzard, rs=jag. 2005-08-20 07:13:04 +00:00
bryner%netscape.com 4845cd2227 Fix incorrect (and potentially uninitialized) native widget used for NS_THEME_DROPDOWN_BUTTON. Not part of the build yet. 2005-08-20 07:13:03 +00:00