sfraser%netscape.com
0c2c54c21f
Fix for bug 31032 -- correctly update the dirty region of the window when scrolling, to avoid turds. Also fix spelling errors. r=pinkerton, sr=scc.
...
git-svn-id: svn://10.0.0.236/trunk@94934 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 04:24:02 +00:00
pinkerton%netscape.com
ae7e4d9ff2
use different cursor for "wait" state instead of beach ball. r=beard/sr=sfraser. bug# 49173
...
git-svn-id: svn://10.0.0.236/trunk@93293 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 20:54:19 +00:00
pinkerton%netscape.com
5dfc3b2972
synchronously invalidate when told to do so. r=pchen/sr=sfraser, part of 77297.
...
git-svn-id: svn://10.0.0.236/trunk@93167 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:02:29 +00:00
blizzard%redhat.com
b2e5c45110
Fix bug #72313 . Focus problems on linux. This adds a flag to nsIWidget::SetFocus() that says to raise the window. We only raise the window from one place, window.focus(). This builds and runs on at least linux and the mac. r=jst,brendan,hyatt a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@89782 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 17:56:04 +00:00
beard%netscape.com
8fec369fc8
Fix carbon redraw non-existence. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@88011 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 21:21:54 +00:00
cltbld%netscape.com
6ccf6f3820
fix bustage TARGET_CARBON. r=sdagley
...
git-svn-id: svn://10.0.0.236/trunk@87775 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 04:11:57 +00:00
pinkerton%netscape.com
20ba9ade9f
coalesce nearby rects into a single rect based on ratio of combined area in comparison to their bounding box area. r=saari/sr=sfraser. bug# 53657.
...
git-svn-id: svn://10.0.0.236/trunk@87236 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 22:58:56 +00:00
rods%netscape.com
5ed9424e7c
Removing unneeded code
...
Bug 52279 r=kmcclusk sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@84724 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 14:34:00 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
bb561fcbb0
Removed extra 0 param
...
git-svn-id: svn://10.0.0.236/trunk@81920 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:18:32 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
sfraser%netscape.com
23d76bb604
Fix for 34741 -- command-drag background windows when a dialog is up. r=danm
...
git-svn-id: svn://10.0.0.236/trunk@76347 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 19:14:04 +00:00
pierre%netscape.com
078c67b29e
Bug 38445: Complete support of CSS2/3 cursors on Mac
...
git-svn-id: svn://10.0.0.236/trunk@75617 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 23:40:10 +00:00
danm%netscape.com
2c3b51f21e
implement new method ConstrainPosition. bug 31516 r=saari@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@75586 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:48:33 +00:00
saari%netscape.com
8949ae4db2
Mac fix that derived out of 43470. r=danm
...
git-svn-id: svn://10.0.0.236/trunk@74996 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 03:47:55 +00:00
sfraser%netscape.com
8727267960
Fix for blank windows on Mac bug 42289. Ensure we only validate regions which we've painted. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@74501 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 00:13:06 +00:00
beard%netscape.com
225060e4fa
bug #42100 , Carbon compatibility. r=gordon, saari, pinkerton, sfraser
...
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
sfraser%netscape.com
ca8a0239e2
Fix for 42269 -- leakage of nsAppShell and nsToolkit on Mac. r=pinkerton, a=beppe
...
git-svn-id: svn://10.0.0.236/trunk@72065 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:24:24 +00:00
pinkerton%netscape.com
5b2ea73e22
fix for 31131. r=sfraser/pierre. No longer use a bounding box when the update region is non-rectangular. Makes mac scrolling and page loading much faster. Also crank down the mac scroll timer delays to better match the native scrollbars.
...
git-svn-id: svn://10.0.0.236/trunk@71689 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 02:06:53 +00:00
pinkerton%netscape.com
75d743e1e7
Fix for bug 7956, don't change cursor when app is in background. added knowledge of if we're in the bg to the nsToolkit and nsWindow now checks it. r=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@70792 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:35:13 +00:00
sfraser%netscape.com
e2a8691944
Remove an extraneous char* from mac widgets in non-debug builds. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@63613 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:36:33 +00:00
sfraser%netscape.com
0716795a94
Comment out some printfs. r=me
...
git-svn-id: svn://10.0.0.236/trunk@63181 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:01:04 +00:00
pavlov%netscape.com
1fdd348954
changes to let us build on MacOS X
...
git-svn-id: svn://10.0.0.236/trunk@62619 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 03:08:04 +00:00
beard%netscape.com
39731b74ba
bug #29022 , don't prevent overridden methods from getting called, r=sfraser, a=jar
...
git-svn-id: svn://10.0.0.236/trunk@61716 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:24:53 +00:00
mscott%netscape.com
80fc72dd47
Add icon notifications to GetAttention(). Now, the mozilla icon will flash if gaetattention is called and the app is in the background. r=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@60860 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 09:31:11 +00:00
danm%netscape.com
d64f667b97
force application resume event into modal window. bug 21297. r:saari
...
git-svn-id: svn://10.0.0.236/trunk@60688 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 05:28:44 +00:00
danm%netscape.com
ed9de8bf79
pass all keyboard events in modal event filter. bug 27296. r:pinkerton.
...
git-svn-id: svn://10.0.0.236/trunk@60465 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:05:35 +00:00
pierre%netscape.com
c9aebdd959
fixed the flashing mode in debug builds
...
git-svn-id: svn://10.0.0.236/trunk@60224 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 10:05:25 +00:00
scc%netscape.com
11bee2e856
removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pavlov ... who claims this shouldn't effect other platforms; but I'm watching anyway
...
git-svn-id: svn://10.0.0.236/trunk@59312 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:43:56 +00:00
pinkerton%netscape.com
8e66f63eda
removing a printf in SetBounds() i left in somehow.
...
git-svn-id: svn://10.0.0.236/trunk@58537 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:11:49 +00:00
pinkerton%netscape.com
6f5f43cb1b
Fix for 18240, don't optimize out recalculating regions when mBounds doesn't change on a resize. r=beard, sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@57986 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 01:34:26 +00:00
pinkerton%netscape.com
35b7a1ec98
Fix for 23757. I over-zealously removed OnPaint() which was relied upon to actually paint native widgets. Doh! Anyway, all should be back to normal again.
...
git-svn-id: svn://10.0.0.236/trunk@57615 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:59:37 +00:00
pinkerton%netscape.com
11a66eab33
Removing ifdefs for TARGET_CARBON code. Using inline functions in Universal Headers and nsCarbonHeaders.h.
...
git-svn-id: svn://10.0.0.236/trunk@57360 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:20:12 +00:00
syd%netscape.com
a9c6930f9b
Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
...
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.
git-svn-id: svn://10.0.0.236/trunk@56140 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 06:11:45 +00:00
sdagley%netscape.com
3000b1086d
Implement Flash() method of nsWindow on Mac in support of #18518 . r=brade.amusil a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@55929 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 19:17:35 +00:00
ftang%netscape.com
c007a0cb70
fix bug 19358. r=erik,pierre,pinkerton. Move the support of nsIKBStateControl from nsMacWindow to nsWindow. Remove unnecessary ResetInputState in mouse click. That is already been replaced by xp code. Clean up casting compilation error after change the class hier.
...
git-svn-id: svn://10.0.0.236/trunk@55799 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 17:56:41 +00:00
pierre%netscape.com
d3cd2afa84
20449 "[Mac] scrolling of fixed positioned elements is broken". Fixed ScrollBits() to take into account the visible region when computing the source rect (and thus the dest rect) and the updateRgn.
...
git-svn-id: svn://10.0.0.236/trunk@55264 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 02:17:45 +00:00
dcone%netscape.com
a2aa9d8bb8
Reworked the flashing for porkjockey's. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@53995 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 14:56:24 +00:00
danm%netscape.com
393dab04e5
moved nsAppShell::EventIsForModalWindow to nsWidget::ModalEventFilter, teach latter to accept events for modal window and any active rollup widget window. part of fix for bug 14131. r:rods@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@53372 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 23:46:11 +00:00
saari%netscape.com
aec790d0e6
part of previous checkin
...
git-svn-id: svn://10.0.0.236/trunk@53177 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 03:09:16 +00:00
beard%netscape.com
2464adcbbd
implementing InvalidateRegion. r=sfraser, a=chofmann, bug=porkjockey painting
...
git-svn-id: svn://10.0.0.236/trunk@52934 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-08 04:05:26 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
beard%netscape.com
9a3ae339ee
changed gInstanceClassName from char[256] to const char* to save space. added NS_IF_RELEASE(mFontMetrics) to destructor to fix memory leak. bug=15380, r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@52313 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 04:02:50 +00:00
pierre%netscape.com
bf6316462c
Fixed #14416 "GFX combo boxes cause zombie windows": there was a memory leak in WidgetToScreen and ScreenToWidget. r=dcone/sfraser
...
Fixed #14775 "Crash removing delete observer when closing windows": reshuffled nsToolkit and added nsMacFocusHandler to nsMacEventHandler. r=dcone/sfraser
git-svn-id: svn://10.0.0.236/trunk@49603 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 21:40:22 +00:00
pavlov%netscape.com
603b936870
removed bogus calls to nsIAppShell->GetNativeData since it isn't used r=shaver (for the entire checkin)
...
git-svn-id: svn://10.0.0.236/trunk@49558 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 08:36:23 +00:00
rods%netscape.com
5b32db8a61
Added ConsumeEvents parameter to CaptureRollupEvents
...
git-svn-id: svn://10.0.0.236/trunk@49440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 14:36:17 +00:00
alecf%netscape.com
fad7c2429a
implement SetTitle to fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@49186 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 03:22:11 +00:00
dcone%netscape.com
f2f81ca6c0
Support of Rollup code
...
git-svn-id: svn://10.0.0.236/trunk@48621 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 21:18:45 +00:00
pinkerton%netscape.com
c9d39f6fa7
respond to the paint flashing debug pref in debug builds by flashing the area to be repainted.
...
git-svn-id: svn://10.0.0.236/trunk@48044 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:09:54 +00:00
beard%netscape.com
9b27ff364e
added option to UpdateWidget() to draw from front to back, to see sibling clipping bugs.
...
git-svn-id: svn://10.0.0.236/trunk@46088 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 04:30:44 +00:00