215 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
b060f2988a Bug 130078. Backing out now that I have perf. numbers
git-svn-id: svn://10.0.0.236/trunk@195952 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
7137e91d6a Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195951 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 03:46:19 +00:00
dbaron%dbaron.org
e2ddf4e5fc Another attempt at the Windows bustage. b=317375
git-svn-id: svn://10.0.0.236/trunk@188221 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 07:06:26 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu
6b841d815c Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@176295 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:24:30 +00:00
masayuki%d-toybox.com
dea8f5f3f3 Changing IID for Bug 299748's previous patch r+sr=bzbarsky, a=cbeard
git-svn-id: svn://10.0.0.236/trunk@175909 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-11 05:27:10 +00:00
masayuki%d-toybox.com
53fbb10ba3 Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@175753 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 15:53:07 +00:00
roc+%cs.cmu.edu
d3fc9c1d9c Backing out fix for bug 296838 to see how it's hurting Tp
git-svn-id: svn://10.0.0.236/trunk@175026 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu
55544718d6 Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174925 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:07:04 +00:00
roc+%cs.cmu.edu
e05c85a204 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@174751 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:48:29 +00:00
roc+%cs.cmu.edu
a6a3537c81 Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver
git-svn-id: svn://10.0.0.236/trunk@174046 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 09:00:48 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
131435cb9a Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
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