Commit Graph

120 Commits

Author SHA1 Message Date
beard%netscape.com
e3eb020057 Moved StRegionFromPool to header file, using more consistently, fixed some child widget clipping bugs, changed scrolling to just repaint when complex clipping in use.
git-svn-id: svn://10.0.0.236/trunk@43893 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 23:19:06 +00:00
pinkerton%netscape.com
d04524be36 using the region pool stuff so we're not constantly creating/destroying regions in the smooth scrolling code. Also use a stackbased helper to simplify error handling.
git-svn-id: svn://10.0.0.236/trunk@42177 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:15:44 +00:00
sfraser%netscape.com
695fb2c647 Cleanup, and fix for bug 6678.
git-svn-id: svn://10.0.0.236/trunk@41851 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 21:38:42 +00:00
pinkerton%netscape.com
1c5ff1169c Add new smooth scrolling code from 4.5/MozClassic that uses CopyBits instead of ScrollRect to avoid those ugly gray flashes while scrolling quickly.
git-svn-id: svn://10.0.0.236/trunk@41846 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 21:35:53 +00:00
pavlov%netscape.com
3d06577d5b back out previous changes
git-svn-id: svn://10.0.0.236/trunk@41665 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 02:28:56 +00:00
pavlov%netscape.com
fc229ce581 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@41654 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 00:57:58 +00:00
kmcclusk%netscape.com
4da058a9e8 bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.


git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
danm%netscape.com
3967f2f182 removing IsMenuBarVisible -- it was a mistake, and unused
git-svn-id: svn://10.0.0.236/trunk@40741 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:41:50 +00:00
pinkerton%netscape.com
1889037fa1 implement WidgetToScreen and ScreenToWidget so screen coords will actually work. (appr cyeh, rev pavlov). Bug #9114.
git-svn-id: svn://10.0.0.236/trunk@38738 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 22:41:39 +00:00
pierre%netscape.com
f1236bf31c #8325 "[PP]Exiting Profile Manager and crash". r=sfraser, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@35892 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 02:33:23 +00:00
pierre%netscape.com
6889524375 #4084 "JS events: Mac form element events"
git-svn-id: svn://10.0.0.236/trunk@35582 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:41:30 +00:00
danm%netscape.com
55cfe73afc teach (or stub) nsWidget to show/hide and query visible state of menubars
git-svn-id: svn://10.0.0.236/trunk@34436 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:01:55 +00:00
danm%netscape.com
21ed2a65fd adding ShowMenuBar
git-svn-id: svn://10.0.0.236/trunk@33711 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:00:30 +00:00
pinkerton%netscape.com
4fb78a28ec More changes for Carbon, submitted by Eoin Norris at Apple (e.norris@apple.com).
git-svn-id: svn://10.0.0.236/trunk@33546 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:55:40 +00:00
beard%netscape.com
4669666c70 added DEBUG code to measure redraw time if control key is held down during an update.
git-svn-id: svn://10.0.0.236/trunk@33283 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:38:31 +00:00
pinkerton%netscape.com
fc7ff68029 fix GetChildren() to not copy the child list and to use a proper enumerator.
git-svn-id: svn://10.0.0.236/trunk@32709 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:12:54 +00:00
dcone%netscape.com
d70cff6cc5 Fixed a printing crashing bug in Update(),
Now check to make sure mWindowPtr is not null.


git-svn-id: svn://10.0.0.236/trunk@32531 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 20:44:53 +00:00
pierre%netscape.com
d4c31955ec use local resources in SetCursor
git-svn-id: svn://10.0.0.236/trunk@32037 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:41:03 +00:00
pierre%netscape.com
b9c201c5f1 fixed a glitch due to the TARGET_CARBON conversion in nsWindow::Update()
git-svn-id: svn://10.0.0.236/trunk@31595 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 10:18:33 +00:00
pinkerton%netscape.com
126ac23d41 use accessors for opaque data structs where required for carbon. Make sure we return grafptrs when asking for graphics and windowptrs when asking for windows, since they are very different under Carbon.
git-svn-id: svn://10.0.0.236/trunk@31153 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:56:17 +00:00
pierre%netscape.com
0d0dac8be2 Fixed #2236 "Frame scrolling is broken". Appr chofmann for M5 branch.
git-svn-id: svn://10.0.0.236/trunk@30028 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:24:43 +00:00
pierre%netscape.com
cea0ffe123 Landing framesets changes. Numerous changes, essentially around mVisRegion and CalcWindowRegions(). Approved: choffmann. Bug #2236 et al.
git-svn-id: svn://10.0.0.236/trunk@29839 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 13:54:51 +00:00
saari%netscape.com
e6217f2eb2 Mac menu cleanup. No more holding onto the nsWebShell
git-svn-id: svn://10.0.0.236/trunk@29427 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 09:09:44 +00:00
danm%netscape.com
780878cdde Moving release of nsWindow object up from its Destroy method to its caller, nsMacEventHandler. This is a better remainder of a fix for bug 3676. r:saari a:chofmann.
git-svn-id: svn://10.0.0.236/trunk@24186 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 23:40:42 +00:00
sdagley%netscape.com
b25a5bd57a Had to temporarily back out danm's Release() hack from v1.95 as it causes a crash trying to load a new URL. While the hack did fix the problem with not being able to close the bookmark window my feeling is the crash is the less desirable behavior.
git-svn-id: svn://10.0.0.236/trunk@24157 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 03:18:05 +00:00
danm%netscape.com
2366297b1b adjusting refcount for menubars and deletion. deletion adjustment is a HACK for the impending milestone.
git-svn-id: svn://10.0.0.236/trunk@24108 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 08:22:43 +00:00
beard%netscape.com
5176ae5079 NS_NATIVE_PLUGIN_PORT
git-svn-id: svn://10.0.0.236/trunk@23880 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:33:29 +00:00
pierre%netscape.com
d711f26063 Improved SetCursor() to use the Appearance Mgr
git-svn-id: svn://10.0.0.236/trunk@22875 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 10:02:16 +00:00
pierre%netscape.com
15a6223e7e Put back the code but this time using the newly defined nsIBidirectionalEnumerator
git-svn-id: svn://10.0.0.236/trunk@21620 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:49:57 +00:00
pierre%netscape.com
be3111d1b5 Backed out part of the previous checkin to turn Tinderbox green again.
git-svn-id: svn://10.0.0.236/trunk@21606 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:30:31 +00:00
pierre%netscape.com
217fe9735b Fixed #3154 "Events don't work with fixed positioning". Fixed "clicks in vScrollBar down arrow are ignored".
git-svn-id: svn://10.0.0.236/trunk@21600 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 12:53:28 +00:00
pierre%netscape.com
e44999b362 Restored the v1.76 code for the loops through the children (no nsCOMPtr, no RTTI - today's problem was one too many). Updated comments.
git-svn-id: svn://10.0.0.236/trunk@21591 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:14:36 +00:00
warren%netscape.com
cb10d9f3a0 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
pinkerton%netscape.com
d47e32037c Temp fix for RTTI problems that are holding the tree closed. beard and pierre will discuss a real fix later. My comment at the top of this file summarizes the problem.
git-svn-id: svn://10.0.0.236/trunk@21528 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:28:25 +00:00
pierre%netscape.com
c5e9e52519 removed outdated comments
git-svn-id: svn://10.0.0.236/trunk@21457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:20:39 +00:00
pierre%netscape.com
3e39d64a45 added nsDeleteObserver (#3147: crashes on mouseMoved or closeWindow)
git-svn-id: svn://10.0.0.236/trunk@21426 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:10:36 +00:00
saari%netscape.com
4966836d25 enable menus on mac
git-svn-id: svn://10.0.0.236/trunk@21317 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:17:24 +00:00
scc%netscape.com
66a0ecf87f changes for nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20888 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:29:19 +00:00
mcmullen%netscape.com
dcacbb662c Init the refcount.
git-svn-id: svn://10.0.0.236/trunk@20653 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:01:34 +00:00
pierre%netscape.com
99ffcc7501 Fixed more problems with nsCOMPtrs
git-svn-id: svn://10.0.0.236/trunk@20601 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:15:03 +00:00
saari%netscape.com
1f7957bbc7 fixed lame syntax error
git-svn-id: svn://10.0.0.236/trunk@19649 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 03:44:43 +00:00
saari%netscape.com
fc04cf4c17 ...fixing breakage...
git-svn-id: svn://10.0.0.236/trunk@19644 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:54:56 +00:00
saari%netscape.com
44aab19939 /m/pub/mozilla/widget/src/mac/nsWindow.cpp
/m/pub/mozilla/widget/src/motif/nsWindow.cpp
/m/pub/mozilla/widget/src/windows/nsWindow.cpp
- call nsMenuListener in DispatchEvent


git-svn-id: svn://10.0.0.236/trunk@18763 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 09:37:23 +00:00
pinkerton%netscape.com
8cad597409 Fix bug 2535 (memory leaks) with nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@18495 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 17:45:04 +00:00
davidm%netscape.com
8ef5c8c436 2239 Crash when leaving test9
git-svn-id: svn://10.0.0.236/trunk@18248 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:49:08 +00:00
pierre%netscape.com
bfde531d65 Calls SetOrigin() in Invalidate(). Fixes the problem where on going to a new page the top of the html area gets drawn last. Thanks to Cyrus Harmon <cyrus@neomorphic.com>
git-svn-id: svn://10.0.0.236/trunk@18168 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:21:10 +00:00
pierre%netscape.com
f55ce79305 fixed Scroll() in case the caller passes a null clipRect
git-svn-id: svn://10.0.0.236/trunk@18022 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 19:29:43 +00:00
pierre%netscape.com
b4ea06ef45 added HandleUpdateEvent() and use ::BeginUpdate() in Update() in order to improve performance during live scrolling
git-svn-id: svn://10.0.0.236/trunk@18008 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 14:33:21 +00:00
pierre%netscape.com
47bd3bb6e7 Fixed the clip rgn in Scroll(): the scrollbars no longer flicker.
git-svn-id: svn://10.0.0.236/trunk@17997 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 04:29:08 +00:00
pierre%netscape.com
39b1681518 Paint only the damaged area instead of the whole widget. Reuse the rendering context to update the children. Scroll the children.
git-svn-id: svn://10.0.0.236/trunk@17977 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:02:51 +00:00