roc+%cs.cmu.edu
8236d1c5c5
Bug 265566. Fix clipping of fixed-pos elements again. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@170324 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 22:12:53 +00:00
roc+%cs.cmu.edu
80ebc8eca4
Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@170255 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 01:24:22 +00:00
bzbarsky%mit.edu
8489f8d24b
Flush out reflows before processing invalidates and paint events. Fixes a
...
variety of flicker issues of various sorts, especially when we're not quite
keeping up with the rate of updates in DHTML or in editor. Bug 244366 and
various dependencies, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@168044 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 03:39:09 +00:00
dbaron%dbaron.org
7a4b3c8ec0
Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165753 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:05:36 +00:00
neil%parkwaycc.co.uk
df2668e776
Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
067c70d127
Add methods to get screen coordinates of frames and views. Bug 268576,
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165642 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:26:19 +00:00
neil%parkwaycc.co.uk
18c53f2f32
Bug 267302 Views should be created by the view manager r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
f53f98f7f3
Create an api for easily converting between the coordinate systems of two
...
frames or two views. Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API. Bug 266968,
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +00:00
bzbarsky%mit.edu
3a053f56de
Push view update batching up to the root view manager. Make all associated
...
members only be accessed by the root view manager. Document the invalidation
setup a bit. Bug 244290, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164628 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 20:47:25 +00:00
dbaron%dbaron.org
9d38a27e2e
Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc (Relanding since this doesn't seem to be the cause of the Tp regression.)
...
git-svn-id: svn://10.0.0.236/trunk@163767 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 21:51:00 +00:00
dbaron%dbaron.org
acff620604
Back out 227361 to fix pageload time regression.
...
git-svn-id: svn://10.0.0.236/trunk@163716 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 05:49:10 +00:00
dbaron%dbaron.org
5a4279b19b
Bustage fix. b=227361
...
git-svn-id: svn://10.0.0.236/trunk@163689 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 23:06:39 +00:00
dbaron%dbaron.org
cfcacefff2
Don't do resize reflows for view managers that aren't visible. (Improve window resizing and find toolbar performance when multiple tabs are open.) b=227361 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@163685 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 22:37:32 +00:00
roc+%cs.cmu.edu
8ff367d401
Bug 238493. BeginUpdateViewBatch should suppress widget geometry changes and make them happen when the batch ends. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163540 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 20:35:51 +00:00
roc+%cs.cmu.edu
1df6a398e4
Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00
neil%parkwaycc.co.uk
7903ea1651
Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
dbaron%dbaron.org
7d40175fee
Remove effectively-unused Set/GetScrollPreference API on nsIScrollableView.h. b=259617 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@162387 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 19:16:43 +00:00
cbiesinger%web.de
0be99300a4
Bug 250342 Views should not inherit from nsISupports
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161754 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 15:49:20 +00:00
cbiesinger%web.de
470d2e0074
Bug 257920 remove unused nsIClipView
...
patch by Chris Thomas <cst@andrew.cmu.edu> r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161753 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 15:45:02 +00:00
roc+%cs.cmu.edu
972134bbf4
Remove nsIScrollingView::Get/SetControlInsets, since it's unused.
...
git-svn-id: svn://10.0.0.236/trunk@158764 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 16:53:10 +00:00
dbaron%dbaron.org
41ff3ad83f
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@158287 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 04:32:52 +00:00
bzbarsky%mit.edu
e26ec45382
Remove nsIViewManager::GetWidgetForView; move callers over to
...
nsIView::GetNearestWidget. Part of bug 243723, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@156491 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
92e59ef827
Backing out 233441.
...
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
1eea5c536c
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@156019 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-06 03:17:14 +00:00
gerv%gerv.net
8419e1650f
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
roc+%cs.cmu.edu
adc0d11131
Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154762 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu
c67ff884e5
Bug 231585. A view can only be treated as having a uniform background if that background is not translucent. r+sr=dbaron,a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@154562 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-07 01:03:51 +00:00
roc+%cs.cmu.edu
8a8e4a6529
Bug 232469. Rework view clipping to handle three kinds of clip: clip to arbitrary rect, clip containing block children to bounds, clip all children to boudns. r+sr=dbaron,a=choffman
...
git-svn-id: svn://10.0.0.236/trunk@153854 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 00:32:01 +00:00
dbaron%dbaron.org
18c65e7769
Back out bug 20022. a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@152780 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-14 20:29:19 +00:00
dbaron%dbaron.org
b7508c936c
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@152252 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 00:11:59 +00:00
roc+%cs.cmu.edu
83d80aee52
Fixing bustage related to bug 109772 by making a new ExternalIsRoot and calling it from inline functions.
...
git-svn-id: svn://10.0.0.236/trunk@152103 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 23:52:39 +00:00
dbaron%dbaron.org
c07a053815
Add hack to make egcs happy with NS_DEFINE_STATIC_IID_ACCESSOR on class with methods that are neither pure virtual nor inline. Fixing bustage. b=109772
...
git-svn-id: svn://10.0.0.236/trunk@152090 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 20:02:42 +00:00
dbaron%dbaron.org
1b3901e857
Make first method inline to try to fix egcs bustage. b=109772
...
git-svn-id: svn://10.0.0.236/trunk@152076 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 08:01:01 +00:00
roc+%cs.cmu.edu
0456e20a91
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152067 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 03:20:41 +00:00
caillon%returnzero.com
6ca68157ac
This should be #ifdef DEBUG.
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151601 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 22:15:38 +00:00
uid502
6b34cca104
Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147868 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 12:00:05 +00:00
uid502
e9d6a45b46
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
dbaron%dbaron.org
20a7c5ebb1
Remove unused content quality stubs. b=111346 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +00:00
roc+%cs.cmu.edu
b023404ef9
Bug 109772. Cleanup views. Promote certain members of nsView and nsViewManager to stack variables. Provide non-COM versions of, and deprecate COM usage of, nsIView methods HasWidget, GetWidget, GetFloating, GetParent, GetFirstChild, GetNextSibling, GetOpacity, GetClientData, GetVisibility, GetViewManager, GetZIndex, GetPosition, and GetBounds. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144076 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:00:46 +00:00
bryner%netscape.com
112e4e9f44
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00
seawood%netscape.com
06e1507b0c
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
...
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
bryner%netscape.com
6d58bc1d0d
Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@141538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:01:36 +00:00
roc+%cs.cmu.edu
97549634ee
Bug 198987. Prevent smooth scrolling rounding small partial increments down to 0. Add scrollMaxX/scrollMaxY properties to JS window object so mailnews can use a more robust way to detect when the message is scrolled to the bottom of its window. r=bzbarsky,sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@141176 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 13:40:46 +00:00
roc+%cs.cmu.edu
a70c7ce7b7
Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@140133 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 05:29:45 +00:00
roc+%cs.cmu.edu
071d5592f4
Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 03:22:11 +00:00
aaronl%netscape.com
60b1c05bf1
Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
roc+%cs.cmu.edu
55be3c1d27
Backing out fix for bug 170330... againr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135565 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
b997358c68
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135555 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 23:25:38 +00:00
roc+%cs.cmu.edu
8293c257e0
Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@135301 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-14 16:18:57 +00:00
roc+%cs.cmu.edu
4d55566a79
Backing out fix for bug 170330 due to Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@134882 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 04:32:07 +00:00