71 Commits

Author SHA1 Message Date
rods%netscape.com
fbf8aca833 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +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
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
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +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
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
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
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
3007f63368 b=15388,15408 r=peterl@netscape.com
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height


git-svn-id: svn://10.0.0.236/trunk@50657 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:56:50 +00:00
troy%netscape.com
28f1fa0323 Removed some dead code and moved some #if 0 code from the area frame
to the block frame. This completes the previous checkin


git-svn-id: svn://10.0.0.236/trunk@50202 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:45:12 +00:00
troy%netscape.com
579c8e2248 Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance


git-svn-id: svn://10.0.0.236/trunk@50200 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:32:46 +00:00
troy%netscape.com
032742ad4c Moved space manager to block frame and changed it the space manager is
temporary only during the reflow process
r=kipp@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50036 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 22:05:23 +00:00
troy%netscape.com
67890faf02 Added SizeOf() handler for space manager
git-svn-id: svn://10.0.0.236/trunk@49632 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:52:01 +00:00
kipp%netscape.com
52462302c0 Added more (disabled) debug noise
git-svn-id: svn://10.0.0.236/trunk@48054 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:15:53 +00:00
troy%netscape.com
4d5ed09a1f Added nsHTMLReflowState constructor that allows containing block width
and height to be specified. This is needed for relatively positioned
block elements


git-svn-id: svn://10.0.0.236/trunk@47787 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 14:33:19 +00:00
kipp%netscape.com
b4aafbf17d Added some spacemanager debugging noise
git-svn-id: svn://10.0.0.236/trunk@47473 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:25:51 +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
troy%netscape.com
ed06c35f34 Added 'm' prefix to structs defined in nsISpaceManager
git-svn-id: svn://10.0.0.236/trunk@41059 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 19:01:13 +00:00
troy%netscape.com
448fbdd0ee Changed area frame code over to new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@40955 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:45 +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
troy%netscape.com
a89529386f Added 'm' prefix to some of the nsHTMLReflowState data members
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
kipp%netscape.com
5cdd7daa80 Tweaked area frame shrink wrapping for bug #5999
git-svn-id: svn://10.0.0.236/trunk@39297 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:26:12 +00:00
troy%netscape.com
8caf686863 Area frame no longer invalidates its entire bounds after an incremental reflow,
and instead it's up to the individual frames to invalidate their damaged areas


git-svn-id: svn://10.0.0.236/trunk@39259 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:15:01 +00:00
troy%netscape.com
a7d7c07548 Fix for bug #9073. Changed Init() to return NS_ERROR_OUT_OF_MEMORY if we fail
to allocate the space manager


git-svn-id: svn://10.0.0.236/trunk@38175 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 22:45:07 +00:00
troy%netscape.com
d22456181e Fix for bug #2062. When sizing the view, take into account child frames
that stick outside the right/bottom edges of the parent's frame


git-svn-id: svn://10.0.0.236/trunk@37336 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 03:41:58 +00:00
kipp%netscape.com
de60169b67 Reworked frame factory methods; fixed bug 4519
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
troy%netscape.com
3f9ce23a08 New class nsAbsolutelyPositionedContainer
git-svn-id: svn://10.0.0.236/trunk@27760 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:08:59 +00:00
troy%netscape.com
85898145c7 Made things a little more efficient by now making a copy of the reflow state
that's passed in, but instead casting the "const" away and setting the space
manager directly


git-svn-id: svn://10.0.0.236/trunk@27299 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 02:55:54 +00:00
kipp%netscape.com
ef48a43f8b Use block-band-data for debug output
git-svn-id: svn://10.0.0.236/trunk@27024 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:30:46 +00:00
troy%netscape.com
cb791ea003 Removed DidReflow() code that's no longer needed now that the new compositor
allows child views to extend outside their parent view


git-svn-id: svn://10.0.0.236/trunk@26411 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 02:41:50 +00:00
kipp%netscape.com
9e4c4cb1e3 Whacked paint methods to use new constants
git-svn-id: svn://10.0.0.236/trunk@25154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:35 +00:00
kipp%netscape.com
75458d92cb Fixed up area frame sizing calculations to properly compute the final height
git-svn-id: svn://10.0.0.236/trunk@25049 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:48:30 +00:00
kipp%netscape.com
49d16e278d Use combined-area to compute the final height of the area frame
git-svn-id: svn://10.0.0.236/trunk@24786 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:25:03 +00:00
mcafee%netscape.com
3a1ed69e24 Uninitialized variable.
git-svn-id: svn://10.0.0.236/trunk@24371 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:20:02 +00:00
kipp%netscape.com
0547776b90 Fixed bug #2052 - don't adjust the height when its computed
git-svn-id: svn://10.0.0.236/trunk@23178 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:22:16 +00:00
troy%netscape.com
cd506df1a1 Eliminated some code that's no longer needed now that the info is in the
HTML reflow state


git-svn-id: svn://10.0.0.236/trunk@23026 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:40:29 +00:00
kipp%netscape.com
b4d19704fd use new nsHTMLReflowState ctors
git-svn-id: svn://10.0.0.236/trunk@22833 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:19:09 +00:00
troy%netscape.com
b51e46e943 Removed nsIFrame::CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
karnaze%netscape.com
3ba813479d added assertion for null peeked frame pointer in Reflow.
git-svn-id: svn://10.0.0.236/trunk@21614 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:06:55 +00:00
karnaze%netscape.com
3955f8e7f3 better sizing of form controls, especially percentage based sizes and max element sizes
git-svn-id: svn://10.0.0.236/trunk@21570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:48:01 +00:00
troy%netscape.com
1450f8838e Added frame-type atoms for area,scroll,viewport,root,page frame classes
git-svn-id: svn://10.0.0.236/trunk@20669 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 03:47:33 +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
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
80a11a7ad3 Fixed a silly error I introduced in the previous check-in
git-svn-id: svn://10.0.0.236/trunk@20108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:01:11 +00:00
troy%netscape.com
c9a7e63cc4 Fixed a problem where absolutely positioned child frames with an 'auto'
offset weren't getting re-positioned during an incremental reflow of the
flowed items


git-svn-id: svn://10.0.0.236/trunk@20102 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:31:09 +00:00
troy%netscape.com
1879dde6a2 Removed #include of header files that weren't actually needed
git-svn-id: svn://10.0.0.236/trunk@19791 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:54:58 +00:00