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

6712 Коммитов

Автор SHA1 Сообщение Дата
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
bryner%netscape.com 6ce983d42f 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 9f57a17432 oops! fixing my last checkin to actually set the widget types as disabled 2005-08-20 07:13:01 +00:00
bryner%netscape.com 902ef58ec5 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 8b4d9d090b 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
bryner%netscape.com b4bf1dd86c Locate the symbols for gtk_style_get_prop_experimental and _gtk_check_button_get_props at runtime, so that builds done on GTK+ versions < 1.2.9 will function correctly with newer GTK+ versions and themes (bug 174319). r=pavlov, sr=brendan, not part of the build yet. 2005-08-20 07:12:58 +00:00
bryner%netscape.com 10e994143c Install a gdk error handler during native theme paint operations, and dynamically disable native theming of the widget in question if an X error occurs, to work around buggy theme engines. Bug 142334, patch by roc, r=blizzard, sr=bryner 2005-08-20 07:12:57 +00:00
hyatt%netscape.com 5d080cf7ab Tweak to previous patch for form controls. r=bryner/sr=blake 2005-08-20 07:12:56 +00:00
hyatt%netscape.com 143c950b2d Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2005-08-20 07:12:55 +00:00
timeless%mac.com dd5ba97458 Bug 161945 clean up simple mac build warnings
r=dbradley sr=bz
2005-08-20 07:12:54 +00:00
pinkerton%netscape.com e2eb647516 get tabs looking better and fix some enabling/active issues with the drawing logic. r=pink/sr=hyatt. patch from ajfeldman@brown.edu. bug# 134447 2005-08-20 07:12:53 +00:00
pinkerton%netscape.com cb3b579968 turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764 2005-08-20 07:12:52 +00:00
pinkerton%netscape.com 55b9610b0b implement NS_THEME_TOOLBAR_SEPARATOR, also patch outliner to support it. r=bryner,smfr/sr=blake/a=shaver. bug#127722 2005-08-20 07:12:51 +00:00
pinkerton%netscape.com a990877153 cleanup bg theme brush and fix things for dialog bg to draw. r=bryner/sr=hyatt. bug#119736 2005-08-20 07:12:50 +00:00
pinkerton%netscape.com fd59ce4363 tweak attribute checking for xbl form control checkboxes. patch by bryner. r=pink/sr=hyatt. bug#124483 2005-08-20 07:12:49 +00:00
alecf%netscape.com 47c79fc040 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2005-08-20 07:12:48 +00:00
bryner%netscape.com ae0b3310a4 Bug 124482 - nsNativeThemeWin needs to check _moz-input-checked attribute for HTML/XBL checkboxes. r=blake, sr=hyatt. 2005-08-20 07:12:47 +00:00
pinkerton%netscape.com 81a964349f fix gcc scoping problem. 2005-08-20 07:12:46 +00:00
pinkerton%netscape.com 5bb68a3158 give textfields minimum height. fix bg color on tooltips. bug#122689, r=brade/sr=sfraser. 2005-08-20 07:12:45 +00:00
darin%netscape.com f70dc8ade6 fix mach-o bustage 2005-08-20 07:12:44 +00:00
pinkerton%netscape.com a0d7c717ab tooltips themed. r=sdagley/sr=ben. bug#115754 2005-08-20 07:12:43 +00:00
pinkerton%netscape.com 61ae95ca31 fix case where some pushbuttons were too narrow. r=sdagley/sr=sfraser. bug# 120896 2005-08-20 07:12:42 +00:00
pinkerton%netscape.com b5b0032f51 twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser. 2005-08-20 07:12:41 +00:00
bryner%netscape.com 9f749bac75 Fix one more warning 2005-08-20 07:12:40 +00:00
bryner%netscape.com e713dc994d Fix C++ comments in C file. patch from roc, r=me. 2005-08-20 07:12:39 +00:00
bryner%netscape.com 0e4ffb40b2 Fix checked checkboxes drawing as unchecked on the Crux theme. Not part of the build. 2005-08-20 07:12:38 +00:00
bryner%netscape.com cf4565e4bb On second thought, only allocate the extra space when determining the element size; still paint the indicator at its "real" size. Not part of the build. 2005-08-20 07:12:37 +00:00
bryner%netscape.com 1bcd8f5a12 Put a hardcoded min size of 14px on checkbox and radio button indicators, since many themes have indicators that are larger than the default 10px indicator_size, but don't bother setting the property. Not part of the build. 2005-08-20 07:12:36 +00:00
bryner%netscape.com 45c71ca460 Fix bug 156060, where a background pixmap was not aligned properly when a porting of it was invalidated. Also fixing a bug where a pixmap background for the toolbar did not draw. Not part of the build. 2005-08-20 07:12:35 +00:00
bryner%netscape.com dfe0598189 Fix NATIVE_THEME_SUPPORT=1 with gtk+ < 1.2.9. Not part of the default build. 2005-08-20 07:12:34 +00:00
bryner%netscape.com 54841891a2 Don't allow the theme css to override the dropdown button min-size. Not part of the build. 2005-08-20 07:12:33 +00:00
bryner%netscape.com 835fa6b165 Fixing the painting of the overlap area between tabs. Not part of the build. 2005-08-20 07:12:32 +00:00
bryner%netscape.com 6289db7222 implement tabpanels. not part of the build. 2005-08-20 07:12:31 +00:00
bryner%netscape.com 8ae1fbcd19 adding support for native tab widgets. not part of the build. 2005-08-20 07:12:30 +00:00
bryner%netscape.com 69bc7a0127 Implementing native progress meter widget. Not part of the build. 2005-08-20 07:12:29 +00:00
bryner%netscape.com c4364fddf4 some cleanup, add placeholders for not-yet-implemented widgets, implement statusbars. not part of the build. 2005-08-20 07:12:28 +00:00
bryner%netscape.com 478597e821 - Use the focused attribute for radio containers, not :focus
- Add tooltip support
- Fix dropdown arrow sizing, hopefully

Not part of the build.
2005-08-20 07:12:27 +00:00
bryner%netscape.com dbd50d8e23 Oops, fixing native theme bustage. Not part of the build. 2005-08-20 07:12:26 +00:00
bryner%netscape.com 0e008d3e37 Slight tweak to scrollbar thumb painting to paint as prelight as you are dragging. Not part of the build. 2005-08-20 07:12:25 +00:00
bryner%netscape.com 9006d2b4cc Prefer do_GetAtom to dont_AddRef(NS_NewAtom(...)). Also, tweak the borders on checkbox/radio buttons and containers a bit. Not part of the build. 2005-08-20 07:12:24 +00:00
bryner%netscape.com 43558a6113 Fix the focused state for textfields. Not part of the build. 2005-08-20 07:12:23 +00:00
bryner%netscape.com 931fbdbf64 - Hooked up toolbar background painting
- Return the correct border sizes for most widgets
- Code/style cleanup

Not part of the build.
2005-08-20 07:12:22 +00:00
bryner%netscape.com faa8f9ac81 Style and code cleanup. No functional changes. Not part of the build. 2005-08-20 07:12:21 +00:00
bryner%netscape.com 0be8abc3eb Removing scrollbar tracks from the list of widgets that don't need to be invalidated due to a state change. This fixes the scrollbar "stuck-in-hover" problem. Not part of the build. 2005-08-20 07:12:20 +00:00
bryner%netscape.com 66c2a9ef47 Cleaning up checkbox/radio button code, now that I understand how it's supposed to work. Hooked up checkbox/radio containers. Fixed active/hover state problems with buttons. Not part of the build. 2005-08-20 07:12:19 +00:00
bryner%netscape.com 63f3aba998 turning off focus border for checkboxes. it's causing problems. not part of the build. 2005-08-20 07:12:18 +00:00
bryner%netscape.com d508a88629 Hooking up textfields and dropdown buttons. Not part of the build. 2005-08-20 07:12:17 +00:00
bryner%netscape.com 3b2e3e1614 Fixing selected state for radio buttons. Not part of the build. 2005-08-20 07:12:16 +00:00
bryner%netscape.com 768add5ddc Hooking up radio buttons, clean up debugging printf's. Not part of the build. 2005-08-20 07:12:15 +00:00
bryner%netscape.com f33a25c893 Some minor changes for scrollbar buttons that use transparency. Not part of the build. 2005-08-20 07:12:14 +00:00