84 Commits

Author SHA1 Message Date
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
joki%netscape.com
fb23199c5a Fix multiple event targetting bugs (23161, 10514, 13213, 16548, 19496, 12231) and reinstate the onchange event for text fields (bug 22472). r:rods
git-svn-id: svn://10.0.0.236/trunk@58097 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:17:31 +00:00
dbaron%fas.harvard.edu
e94508f0df Fix performance problem pointed out by Jim Nance that there is excessive creation and destruction of clip regions during painting. The fix stops using PushState() and PopState() to undo a translation, since that causes the creation and destruction of a clip region.
r=troy


git-svn-id: svn://10.0.0.236/trunk@57969 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 15:13:46 +00:00
nisheeth%netscape.com
8978d5a35b r=troy. nsContainerFrame::ReflowDirtyChild() always generates a reflow command targeted at its child. nsInlineFrame::ReflowDirtyChild() always passes up the reflow request to its parent. nsBlockFrame::ReflowDirtyChild() no longer has code for checking whether its parent is an area frame.
git-svn-id: svn://10.0.0.236/trunk@57571 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:52:58 +00:00
nisheeth%netscape.com
59dbaae9fb r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
troy%netscape.com
2ea5ceca9c Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex()
git-svn-id: svn://10.0.0.236/trunk@55713 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:49:20 +00:00
troy%netscape.com
52084caad8 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics


git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
troy%netscape.com
b9c53f0450 Removed some old dead code
git-svn-id: svn://10.0.0.236/trunk@54861 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:10:47 +00:00
troy%netscape.com
42c75ca193 Changes parameter to be "const nsRect*" and changed a comment
git-svn-id: svn://10.0.0.236/trunk@54720 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:48:34 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
kin%netscape.com
275e4a25ba Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
also fixes #18002, and #18006. nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.

r=joki@netscape.com


git-svn-id: svn://10.0.0.236/trunk@54322 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:05:05 +00:00
troy%netscape.com
01e5cb02a3 b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes


git-svn-id: svn://10.0.0.236/trunk@54041 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 06:03:16 +00:00
troy%netscape.com
3f61543a91 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works


git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +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
kin%netscape.com
81ed65e99b Temporary Fix for dogfood blocker bugs #18002 and #18006. With kipp's
permission, I backed out his fix for bug #1413 from
layout/html/base/src/nsContainerFrame.cpp revision 1.68.
Will re-check in kipp's fix after M11 is branched.
r=buster@netscape.com  a=chofmann


git-svn-id: svn://10.0.0.236/trunk@52857 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 17:42:21 +00:00
kipp%netscape.com
8fae81516b r=joki; fixed the ancient and venerable bug 1413 by noting that the code was using an optimization that wasn't always valid and that one that optimization wasn't valid, the slower path must be used...I commented the fix fairly solidly
git-svn-id: svn://10.0.0.236/trunk@52732 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 22:09:00 +00:00
troy%netscape.com
3513334988 Moved a bunch of stuff out to a nsIFrameDebug interface
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
88c4d96e2c Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up


git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
troy%netscape.com
d16381b6f3 Removed 5 convenience functions from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@51531 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:53:52 +00:00
troy%netscape.com
54572af2e6 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.


git-svn-id: svn://10.0.0.236/trunk@51485 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 02:06:22 +00:00
troy%netscape.com
dced08401d r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames


git-svn-id: svn://10.0.0.236/trunk@51358 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 05:11:43 +00:00
peterl%netscape.com
4e42b2772d removed ReResolveStyleContext
git-svn-id: svn://10.0.0.236/trunk@48553 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:56:18 +00:00
kipp%netscape.com
eea3ab916a Updated SizeOf methods to not waste space when doing a non-debug build
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
kipp%netscape.com
c9002f20df Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
karnaze%netscape.com
42a0e08a9e bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
git-svn-id: svn://10.0.0.236/trunk@44534 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:49:18 +00:00
troy%netscape.com
8a85938908 Changed to table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
troy%netscape.com
fca2c43f1f Cleanup of reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41005 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:41:15 +00:00
troy%netscape.com
73690aa1c5 Added ReplaceFrame() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@40599 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:32:31 +00:00
troy%netscape.com
a314bc3877 Renamed some nsFrameList member functions
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
peterl%netscape.com
e0ba937dbe fix reresolve style context to iterate all child lists
git-svn-id: svn://10.0.0.236/trunk@39938 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:18:45 +00:00
kipp%netscape.com
761178d0e9 Check for another bad reflow child behavior
git-svn-id: svn://10.0.0.236/trunk@39301 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:27:48 +00:00
vidur%netscape.com
c7928d2921 Fix for bug 2989 - correcting result of GetFrameForPoint.
git-svn-id: svn://10.0.0.236/trunk@30606 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:08:02 +00:00
kipp%netscape.com
ead0f4bfda Dump out next and style context pointers
git-svn-id: svn://10.0.0.236/trunk@29547 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:11:21 +00:00
kipp%netscape.com
8eb0330b2f removed dead comment info
git-svn-id: svn://10.0.0.236/trunk@28183 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:26:47 +00:00
joki%netscape.com
14135f22e6 Fix event handling on background areas of tags.
git-svn-id: svn://10.0.0.236/trunk@27371 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:29:08 +00:00
troy%netscape.com
22d3e739a6 Changed MoveOverflowToChildList() and PushChildren() to call
ReparentFrameView()


git-svn-id: svn://10.0.0.236/trunk@27248 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:15:13 +00:00
troy%netscape.com
bca10111d4 Removed Join() function from nsFrameList, because we already has a version
of AppendFrames() that did the same exact thing


git-svn-id: svn://10.0.0.236/trunk@27241 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:06:17 +00:00
troy%netscape.com
473511a1eb Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList


git-svn-id: svn://10.0.0.236/trunk@27238 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:46:02 +00:00
troy%netscape.com
b84b0c2d3a Fixed a problem in MoveOverflowToChildList() where Join() was being used
when InsertFrames() should have been used instead


git-svn-id: svn://10.0.0.236/trunk@27235 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:03:11 +00:00
troy%netscape.com
a0193895a8 Changed DidReflow() so we size and position our view before we call
the child frame's DidReflow() function. This ensures that the parent view
is properly positioned before positioning the child views. This is
important when positioning the widgets


git-svn-id: svn://10.0.0.236/trunk@27084 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:56:28 +00:00
peterl%netscape.com
233822bc0d augmented ReResolveStyleContext to capture style change information
git-svn-id: svn://10.0.0.236/trunk@25093 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:43:38 +00:00
kipp%netscape.com
0ed15663ec added some nasty logging messages for frames that don't set max-element-size
git-svn-id: svn://10.0.0.236/trunk@23182 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:25:18 +00:00
kipp%netscape.com
bad84e485e Removed dead code; output rects naturally
git-svn-id: svn://10.0.0.236/trunk@22840 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:22:54 +00:00
troy%netscape.com
cc2323242f Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references


git-svn-id: svn://10.0.0.236/trunk@21702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:48:08 +00:00
troy%netscape.com
0d87e040a3 Changed DeleteChildsNextInFlow() to use the nsFrameList::RemoveFrame() function
instead of what it was doing, because the assumption it was making about "aChild"
and "nextInFlow" sharing the same parent frame is not true for continued table cells


git-svn-id: svn://10.0.0.236/trunk@21437 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 18:59:00 +00:00
troy%netscape.com
bd78450e96 Changed GetNextSibling() to use a pointer argument instead of a reference
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00