Commit Graph

146052 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
3717528492 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
e1cf57498f 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
61b699fa33 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
acfbcf9fd0 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
5c918b0821 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
1bdb6bc6d4 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
9e4d1676a5 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
dc95c7d508 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
19b9778782 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
33c1467f24 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
4ea56596c6 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
9f728aaac4 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
1156ad7aa9 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
a473b56604 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
d9b229838b Add 1px padding to WinXP input fields. r/sr=jag,bryner 2005-08-20 07:13:10 +00:00
hyatt%netscape.com
3113af6a7f Fix for 115743. r=pavlov, sr=bryner 2005-08-20 07:13:09 +00:00
bryner%netscape.com
e2e66685f1 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
870bf39b36 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
9bc0a7321e fixing aix bustage 2005-08-20 07:13:06 +00:00
bryner%netscape.com
77dbec1f0c Don't apply a border to <toolbox> (bug 184588). r=blizzard, sr=ben. 2005-08-20 07:13:05 +00:00
bryner%netscape.com
5460b57c94 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
968be38c2a 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
bryner%netscape.com
c03bd4a99b Fixing comet orange; need to null check style->engine or we will crash if no theme engine is being used. 2005-08-20 07:13:02 +00:00
bryner%netscape.com
eee90f5e6c oops! fixing my last checkin to actually set the widget types as disabled 2005-08-20 07:13:01 +00:00
bryner%netscape.com
0f2ed95533 Disable GTK native theme support if we're using a theme engine that's known to crash, such as the Xenophilia engine (bug 175306). r=blizzard, sr=brendan. 2005-08-20 07:13:00 +00:00
bryner%netscape.com
1934c69ed7 Fix gtk native theme crash on solaris (bug 175755) by not relying on gdk_error_trap_push and instead using our own X error handler (and restoring the old handler after the painting operation is finished). r=blizzard, sr=jag, a=dbaron. 2005-08-20 07:12:59 +00:00