Commit Graph

6829 Commits

Author SHA1 Message Date
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
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
bryner%netscape.com
686d1dc347 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
465249a98b 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
4a032161d1 Tweak to previous patch for form controls. r=bryner/sr=blake 2005-08-20 07:12:56 +00:00
hyatt%netscape.com
9b526925c8 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
329f35b028 Bug 161945 clean up simple mac build warnings
r=dbradley sr=bz
2005-08-20 07:12:54 +00:00
pinkerton%netscape.com
b808a6a471 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
e53349c695 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
16a416b8b8 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
7fa9abc933 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
7a36b1ce5f 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
32c8c392f4 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
1939c50ad3 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
cf94e62e94 fix gcc scoping problem. 2005-08-20 07:12:46 +00:00
pinkerton%netscape.com
d947f798e6 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
d267b69948 fix mach-o bustage 2005-08-20 07:12:44 +00:00
pinkerton%netscape.com
86ec108cc9 tooltips themed. r=sdagley/sr=ben. bug#115754 2005-08-20 07:12:43 +00:00
pinkerton%netscape.com
49913fe799 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
f7508d9928 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
a4a19d89ec Fix one more warning 2005-08-20 07:12:40 +00:00
bryner%netscape.com
1b6bb9a3d4 Fix C++ comments in C file. patch from roc, r=me. 2005-08-20 07:12:39 +00:00
bryner%netscape.com
8abd55e59f 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
2dc8e8d0a0 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
2146dda363 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
3c7010ac4a 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
bf0f390853 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
70fde5f2bf 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
df93d1fad3 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
17a19830f2 implement tabpanels. not part of the build. 2005-08-20 07:12:31 +00:00
bryner%netscape.com
be93e36094 adding support for native tab widgets. not part of the build. 2005-08-20 07:12:30 +00:00
bryner%netscape.com
9929343612 Implementing native progress meter widget. Not part of the build. 2005-08-20 07:12:29 +00:00
bryner%netscape.com
60e9cb0e3e 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
6f2d948cbd - 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
e8a272d747 Oops, fixing native theme bustage. Not part of the build. 2005-08-20 07:12:26 +00:00
bryner%netscape.com
34d7575f59 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
341d327dbe 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
b4695d9e0b Fix the focused state for textfields. Not part of the build. 2005-08-20 07:12:23 +00:00
bryner%netscape.com
330910f4b0 - 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
41c01cc55d Style and code cleanup. No functional changes. Not part of the build. 2005-08-20 07:12:21 +00:00
bryner%netscape.com
9572dfceb1 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
f9a9dee218 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
1420f266a3 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
ecd06e8a89 Hooking up textfields and dropdown buttons. Not part of the build. 2005-08-20 07:12:17 +00:00
bryner%netscape.com
648028124b Fixing selected state for radio buttons. Not part of the build. 2005-08-20 07:12:16 +00:00
bryner%netscape.com
f86826d727 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
5193a05aa0 Some minor changes for scrollbar buttons that use transparency. Not part of the build. 2005-08-20 07:12:14 +00:00
bryner%netscape.com
9c2dca4666 Fixing up horizontal scrollbars. Not part of the build. 2005-08-20 07:12:13 +00:00
bryner%netscape.com
2923a1998b Make sure the button widget is created before painting scrollbar arrows. Not part of the build. 2005-08-20 07:12:12 +00:00
bryner%netscape.com
e3ba3acecf Hook up toolbarbuttons and grippers. Tweak borders and minimum sizes on scrollbars. Not part of the build. 2005-08-20 07:12:11 +00:00
bryner%netscape.com
9c50aa0b51 Bug 119837 - add a parameter to nsITheme::GetMinimumWidgetSize to specify if CSS is allowed to override the min size. r=bzbarsky, sr=hyatt. 2005-08-20 07:12:10 +00:00
pinkerton%netscape.com
98f7fdedf2 add tab support and fix up drawing problems with port not being set. r=sdagley/sr=sfraser/a=asa. bug# 120171 2005-08-20 07:12:09 +00:00
hyatt%netscape.com
bccc526e51 Fix for hover/active feedback on radio/checkbox/menulist in WinXP theme. r=hewitt, sr=ben 2005-08-20 07:12:08 +00:00
hyatt%netscape.com
cdf49e500f Fix for 115767, dropdown list support for WinXP, r=hixie, sr=blake 2005-08-20 07:12:07 +00:00
hyatt%netscape.com
79d244f525 Fix for 115759, support for textfields in WinXP, r=hixie, sr=jst 2005-08-20 07:12:06 +00:00
pinkerton%netscape.com
b536936fc1 fixes bustage. had to wrap some things in TARGET_CARBON. 2005-08-20 07:12:05 +00:00
pinkerton%netscape.com
0c3989da99 tweak scrollbars and fix non-carbon bustage. i'll get back to this later. 2005-08-20 07:12:04 +00:00
pinkerton%netscape.com
668093cf5a nsITheme impl on mac. r=sfraser/sr=hyatt. bugs 115731, 115733, 115735, 115737, 115740, 115749, 115760, 115763 2005-08-20 07:12:03 +00:00
hyatt%netscape.com
d41d0e7493 Fixing 115750, support for tabpanels and tabs in WinXP, r=bryner, sr=blake 2005-08-20 07:12:02 +00:00
hyatt%netscape.com
69c3156f00 Fix for 115750, WinXP tab support. r=bryner, sr=blake 2005-08-20 07:12:01 +00:00
hyatt%netscape.com
244c130d63 Fix for 115753, windows xp tooltip support, r=bryner, sr=sspitzer 2005-08-20 07:12:00 +00:00
hyatt%netscape.com
7d83ad2cb0 Fix for 115748, r=bryner, sr=sspitzer 2005-08-20 07:11:59 +00:00
hewitt%netscape.com
6c8c7b6205 115757 - null check for win2k, r=bryner, sr=hyatt 2005-08-20 07:11:58 +00:00
hyatt%netscape.com
8e591b6f6d Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt 2005-08-20 07:11:57 +00:00
hyatt%netscape.com
4a6491c7cc Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2005-08-20 07:11:56 +00:00
blizzard%redhat.com
17fe9f31d1 Bug #174471. nsITheme for gtk2. This is the file that Andrew Johnson sent me after re-indenting. It doesn't look quite right so it's not in the build yet. 2005-08-20 07:11:55 +00:00
bryner%netscape.com
868e14b51c Hooking up scrollbar tracks and thumbs. Not part of the build. 2005-08-20 07:11:48 +00:00
bryner%netscape.com
7793e83646 GTK theme renderer changes:
- Keep "widget prototypes" around instead of raw GtkStyles.  This way, the style retains valid GC's.
- Pass widget instances to gtk_paint_* to satisfy themes that expect this to be non-null.
- Add support for scrollbar buttons.
- Code refactoring and cleanup.

Not part of the build.
2005-08-20 07:11:47 +00:00
bryner%netscape.com
b559159b2c Initial checkin of gtk native theme renderer. Contains support for buttons and checkboxes. Not part of the build, to enable set NATIVE_THEME_SUPPORT=1. 2005-08-20 07:11:46 +00:00
bzbarsky%mit.edu
7d705097f5 Fix XRemoteClient leaks. Bug 295173, patch by Ferdinand
<ferdinandw+bmo@gmail.com>, r=caillon
2005-08-19 15:15:34 +00:00
masayuki%d-toybox.com
85e72b97a2 backing out previous my check-in b=276727 2005-08-18 14:53:14 +00:00
mats.palmgren%bredband.net
e91966348c Truncate long TITLE strings to avoid crashing GTK/WM/X. b=167315 r+sr=bzbarsky 2005-08-18 08:10:28 +00:00
masayuki%d-toybox.com
fcc8138442 Bug 276727 Implement disable/enable IME API r=roc, timeless, pinkerton, amardare and katakai, sr=roc 2005-08-18 04:09:13 +00:00
cbiesinger%web.de
2fb980e7f4 bug 301004 make native gtk2 filepicker modal to its parent
patch by Christian Persch <chpe@gnome.org> r=caillon sr=roc a=asa
2005-08-17 13:41:44 +00:00
dougt%meer.net
30e7ca830b More WINCE Fix ups.
1) removes unused variable mBorderlessParent.
2) fixes a few bugs whereby I #ifdef out a case in a switch statement resulting
the default action being taken.
3) allowing gesture animation via a flag to SHRecognizeGesture.
4) returning a positive value to the WM_ACTIVATE message as the caller excepts
that.
5) GetWindowPlacement() is not implemented in the wince shunt library.	So, i
could remove some of the #ifndef WINCE code when handing WM_WINDOWPOSCHANGED.
6) Adjusting the window position when WM_SETTINGCHANGE is called with
SPI_SETWORKAREA.  This is a windows ce thing. Basically, you can go to full
screen and a WM_SETTINGCHANGE message is fired.
7) Lastly, when dealing with popups, we want to ignore the activate message
when deciding to roll up the popup.

r=benjamin, a=asa (wince only)
2005-08-16 19:15:06 +00:00
dougt%meer.net
69dc8848e1 Fixing windows ce build bustage. WS_CHILDWINDOW is not supported. 2005-08-14 04:01:58 +00:00
emaijala%kolumbus.fi
c857619c87 Fix for bug 297561: onmouseover , javascript alert shows twice
r+sr=roc
2005-08-13 18:00:33 +00:00
roc+%cs.cmu.edu
0b1d3380cd Bug 300297. Be careful about choosing the top-level window when making a transparent window. r+sr=me,a=shaver/cbeard,patch by Dainis.Jonitis 2005-08-12 03:29:18 +00:00
dougt%meer.net
23397659a5 Windows Ce only.
This patch does two things:
a) enables clipboard support on Windows CE.  It was pretty easy to port.  we
just don't support file clipboard type nor do we know what to do with drag and
drop.  Hence there are a few ifdef's sprinkled through out.  Also, i noticed
that the WinCE compiler chokeds on ::Global* for some reason.  Since these do
not need to be namespaced, I removed the "::".

b) detects windows ce tap-and-hold events via SHRecognizeGesture.  When we
discover that this occurs we fire a right mouse click.

r/sr=dveditz, a=asa.  bug=297683
2005-08-11 00:37:53 +00:00
aaronleventhal%moonset.net
8b21f5d760 Bug 303841. When screen reader running, prefer external viewer applications over full page plugins because they are more accessible. r=biesi, sr=jst, a=cbeard 2005-08-10 01:45:31 +00:00
dougt%meer.net
45a75701ef Fixing bug 303995. Comparing the flags used in version 3.538 of nsWindow.cpp and what we are currently using you see a difference in both the popup and toplevel. This patch reverts my changes and takes us back to a good place. a/r/rs=benjamin 2005-08-09 16:00:08 +00:00
dougt%meer.net
1dc95e376e Cleaner ifdef's for Windows CE WindowExStyle. This allows dialogs on Windows CE to have an OKAY box instead of the minimize box. This change is WINCE only. b=297683 r/sr=dveditz, a=asa 2005-08-09 07:21:27 +00:00
mats.palmgren%bredband.net
258eb41fd3 Implement nsIWidget::SetParent on GTK1 and GTK2. b=168116 r+sr=roc a=asa 2005-08-09 02:51:42 +00:00
caillon%redhat.com
58f94afc12 Bug 300226, unset window userdata before destroying
p=chpe@gnome.org
r=mpgritti@gnome.org sr=roc a=asa
2005-08-08 19:43:31 +00:00
smfr%smfr.org
27d7324edc Fix bug 301152: cruft in scrollbar when scrolling while loading a page. r=pinkerton, Camino-only. 2005-08-08 03:21:54 +00:00
mkaply%us.ibm.com
c92c490d44 #302621
r=mkaply, sr=mkaply, a=mkaply
OS/2 only - context menu crash - grab fix that is already in Windows
2005-08-02 03:08:49 +00:00
joshmoz%gmail.com
43b6277d8b change assertions to warnings. b=291096 r=pinkerton sr=smfr a=bsmedberg 2005-07-28 23:51:21 +00:00
smfr%smfr.org
97e17b2841 Fix bug 301807: sometimes on launch the tab bar would not be drawn, because the Mac widget code lost invalidates that happened during paints. Now we make sure not to clobber the WindowPtr's updateRgn after painting, so that those invalidates get drawn the next time. r=mento, jhpedemonte, sr=me, a=bsmedberg. 2005-07-28 18:00:16 +00:00
timeless%mozdev.org
6284578ea0 Bug 301582 Win32 HTML clipboard format broken by patch for Bug #244685 (StartFragment offset incorrect)
patch by daniel_atallah@yahoo.com r=david.gardiner@unisa.edu.au sr=neil a=bsmedberg
2005-07-25 21:06:35 +00:00
smfr%smfr.org
f70d9cdea0 Fix bug 192276: control-click on a plugin should show the plugin context menu, not the browser one -- return nil from -menuForEvent for a plugin view. r=pink
Fix bug 180592: dispatch Carbon Events for scroll wheel events so that plugins can use them. r=pink.
Both changes only affect Camino.
2005-07-25 15:56:25 +00:00
dougt%meer.net
f49026671a This patch does the follow:
*)  First it allows hardware key that various devices have (so called HOTKEYs)
be mapped into the DOM (as F-KEYS).  This will allow application developers use
the standard hardware buttons on devcies in some interesting way.  This is
controlled via a preference.  it is to be defaulted on -- we will override the
hardware buttons and pass these events on.

*) Secondly, i have added a preference which controls if the top level windows
have a (X) box or a (OK) box in their upper right hand corner.	The difference
between these is that an (X) box only puts the top level window in the
background whereas the (OK) box actually is suppose close and destory the
window.  It is very important for developers (a time save) to have the ablity
to directly kill the window.  Without this, you have to go to Settings / System
/ Memory / Running Programs, then find your app and press "Stop".

This patch is WINCE only -- everything is within the correct #defines.

emaijala: review+
dveditz: superreview+
a=asa WinCE only.
2005-07-24 19:36:18 +00:00
roc+%cs.cmu.edu
38de62e088 Bug 301402. HideWindowChrome should do that, not make the window fullscreen in GTK2. r+sr=blizzard,a=shaver 2005-07-21 04:28:40 +00:00
shaver%mozilla.org
3db0927fe9 Bug 269823: fix invalid casts preventing compilation on 64-bit platforms with
gcc4. r+"sr"=caillon, a=me.
2005-07-20 18:29:05 +00:00
smfr%smfr.org
7108a67667 Fix bug 289973: white patches in XUL menus. This happened because the window was being resized inside an update, so that the window's new visRgn from SizeWindow was being clobbered by the later EndUpdate(). Fixed by breaking out of BeginUpdate/EndUpdate around the SizeWindow. This also required us to move all update handling to the Carbon Event handler (that was only being used for sheets). r=mento, r=jhpedemonte, sr=me, a=bsmedberg. 2005-07-20 18:24:09 +00:00
mark%moxienet.com
25147668fa Bug 300095, tab close button draws over top of scrollbar after tab bar collapses. Don't validate control rects after drawing, when it's too late for us to care. Allows the system to paint. r=jhpedemonte sr=smfr a=shaver 2005-07-20 17:52:00 +00:00
smfr%smfr.org
bb0d5f1f7d Fix bug 289353: bad drawing on scrolling, if the scrolled area is not rectangular (e.g. page with abs-positioned divs). The synchronous update was messing with the window state so that later drawing was incorrectly clipped. Fixed by using an asycnchronous invalidate. r=mento, r=jhpedemonte, sr=me, a=shaver. 2005-07-20 17:41:56 +00:00
roc+%cs.cmu.edu
4d0cad69a1 Fix build bustage from bug 301161. 2005-07-19 23:57:57 +00:00
roc+%cs.cmu.edu
50489e7ca4 Bug 301161. Fix gtk1 too. 2005-07-19 23:18:56 +00:00
mark%moxienet.com
3ba9a73b56 Bug 299949, scroll wheel misbehaves when built on SDK >= 10.4. Handle fractional scroll deltas with ceil/floor instead of truncating. Also, handle events carrying both dX and dY properly, and ignore events where delta = 0. Camino only ('til 1.9?) r=josh sr=smfr. 2005-07-19 22:54:07 +00:00
roc+%cs.cmu.edu
bd98cf889a Bug 301161. Allow our Xt timer event pump to process multiple Xt events each time it fires. This prevents Flash from starving other plugins (e.g, Adobe Acrobat Reader 7) in some situations. r+sr=blizzard,a=bsmedberg 2005-07-19 22:08:38 +00:00
smfr%smfr.org
e7af44669f Fix bug 292914: if scrolling up more than 32767 pixels, window didn't refresh. Fix by just manually invalidating if scrolling will redraw the entire scrolled area. r=joshmoz, sr=jhpedemonte, a=bsmedberg. 2005-07-19 21:21:21 +00:00
dougt%meer.net
f998e5ffc8 Implements DataToBitmap. We do not handle the cursor translucency, but it is
more then what we do currently.  Basically we are moving around ifdef's here.

Fixes GetSysFontInfo.  For windows CE we correctly return the System Font.

r=emaijala, sr=dveditz, a=asa, b=297683 WINCE ONLY.
2005-07-18 16:04:45 +00:00
bzbarsky%mit.edu
9aa3066a02 More uses of EmptyC?String(). Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky, a=bsmedberg
2005-07-15 21:41:47 +00:00
smfr%smfr.org
42f548729f Improve Camino drawing performance by avoiding widget updates when the dirty rect is entirely obscured by subviews (bug 166932). Should help Camino typing performance (bug 272954). Camino only, NPODB. r=pinkerton 2005-07-15 20:53:13 +00:00
aaronleventhal%moonset.net
3237d883cc Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa 2005-07-15 02:35:19 +00:00
mark%moxienet.com
24c91c251a Fix gcc 4 build by disabling assertion on private data. gcc 3.3 doesn't care. No bug. Camino only. r=smfr 2005-07-15 00:02:15 +00:00
mark%moxienet.com
d8ce3ba315 Bug 298677, Mac Carbon scrollbars draw in the wrong location and jump out from under the mouse since CFRunLoopSource (bug 282940). Be more careful about restoring the QD origin. Obsoletes and backs out an earlier partial fix, cleaning up bug 300058, drawing artifacts in scrollbars. r=pinkerton sr=smfr a=bsmedberg 2005-07-14 22:48:34 +00:00
joshmoz%gmail.com
fd539ea8c8 make cocoa widget FF builds run with no tweaking, also add basic modal event loop code so we don't hang on modal dialogs. This code isn't necessarily "right", but its a step and allows for easy further exploration.NPODB 2005-07-13 23:11:18 +00:00
timeless%mozdev.org
d9a857c0a0 Bug 299582 widget/src/gtk/nsWidget.cpp:532: Control reaches end of non-void function
patch by b.jacques@planet.nl r=roc sr=roc a=bsmedberg
2005-07-13 18:17:33 +00:00
neil%parkwaycc.co.uk
f333249bd5 Bug 300133 default.xpm should not live in GTK2 r=bsmedberg a=asa 2005-07-13 17:05:12 +00:00
neil%parkwaycc.co.uk
942178fe47 Bug 300129 Allow GTK1 windows to use a default icon r+sr=roc a=asa 2005-07-13 17:00:14 +00:00
bryner%brianryner.com
1345e034dd Fixing camino crashes with fastback, bug 297488. r=josh sr=pinkerton 2005-07-08 17:55:32 +00:00
mkaply%us.ibm.com
e531941425 #267609
r=mkaply, sr=mkaply (platform specific), a=mkaply (OS/2 only)
Patch from Rich Walsh - Maximize window doesn't work right sometimes
2005-07-08 16:22:27 +00:00
smfr%smfr.org
61ebc963d5 Fix the drawing part of bug 298677: scrollbars draw in the wrong place. Fixed by registering a Carbon Event handler on the native control that ensures that the port origin is set correctly before control draws. r=josh, jhpedemonte. sr=me. a=shaver. 2005-07-07 15:47:49 +00:00
smfr%smfr.org
70b2cd75c9 Fix (hopefully for good this time) bug 298201, a crash when running on Tiger because NSQuickDrawView has stashed a bad port. r=pinkerton. Only affects camino. 2005-07-06 19:51:31 +00:00
joshmoz%gmail.com
ffc365fb08 clean up old mac os classic stuff. b=281889 r=smfr sr=bryner a=bsmedberg 2005-07-06 01:23:20 +00:00
joshmoz%gmail.com
287ba97dda get cocoa widgets running in Firefox. this means the app launches, but you probably don't want to use it as you have windows with no menu bar :) Also some macro cleanup. only a few lines of codein a component that isn't used, so no reviews necessary. 2005-07-04 20:25:26 +00:00
mark%moxienet.com
91f85f2d34 Bug 299384, Crash in Mac Carbon nsNativeScrollbar::DoScrollAction when using the scrollbar while reloading since 282940. Handle Destroy() when the page is going away. r=josh sr=smfr a=asa 2005-07-03 05:44:08 +00:00
joshmoz%gmail.com
9120d72e8d cleanup. sr=smfr 2005-07-02 02:46:38 +00:00
timeless%mozdev.org
351f4c0dfb Bug 299100 remove useless references to nsVoidArray
widget
r=darin sr=darin a=asa
2005-07-01 04:40:31 +00:00
dbaron%dbaron.org
22c8c10292 Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
joshmoz%gmail.com
762671ba60 assign "isChar" inside gecko event conversion. cocoa widgets only. b=299221 sr=smfr 2005-07-01 00:44:33 +00:00
smfr%smfr.org
9f63d01a01 Undo erroneous checking of nsNativeScrollbar.* (Cocoa only) 2005-06-30 18:26:44 +00:00
smfr%smfr.org
ea9a33e33d Fix bug 299226: unable to type option-char combinations in the content. Broken by a recent change that set isAlt on the gecko event. r=pink. 2005-06-30 18:23:01 +00:00
joshmoz%gmail.com
f1f1b6ca27 don't crash in [NSQuickDrawView dealloc], also some code cleanup. Patch by smfr. b=298201 r=pink 2005-06-29 19:39:39 +00:00
dougt%meer.net
dbda3ac039 This patch does two things:
1) Correctly handles dropdown menus.  In earlier version of nsWindow for WinCE
we basically totally ignored handling events that were outside of the popup.
The result was that if you happen to popup a menu, it wouldn't go away unless
you clicked on a item.  If there we no ideas, well you were hosed.

2) Correctly handles the WM_WINDOWPOSCHANGED event.  Prior to this, if the
browser ever was resized or moved, we would ignore the event.  We can not
process the WINDOWPLACEMENT and instead just always focus.

r=emaijala, sr=dveditz, a=asa
wince only.
2005-06-29 18:52:08 +00:00
neil%parkwaycc.co.uk
e779558bb6 Bug 254894 On Windows, creating an event queue (e.g. via XMLHttpRequest) dismisses open menus r=dean_tessman rs=darin a=bsmedberg 2005-06-29 10:14:17 +00:00
mats.palmgren%bredband.net
269d29adc0 Attempting to fix build bustage... 2005-06-28 22:04:03 +00:00
mats.palmgren%bredband.net
97417c0bb6 Make drag-n-drop of frame-less content work again. b=289667 r+sr=roc a=benjamin 2005-06-28 21:40:15 +00:00
smfr%smfr.org
4a0f61741f Fix bug 274036: makes sure Mac native controls (Carbon & Cocoa) look disabled when there is nowhere to scroll by removing arbitrary hardcoded limits. r=josh, sr=bryner, a=chofmann. 2005-06-28 00:18:33 +00:00