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