Commit Graph
701 Commits
Author SHA1 Message Date
evaughan@netscape.com e9aaa04ce3 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +00:00
hyatt@netscape.com 9a7a1b27f7 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
troy@netscape.com 4bd0f0406e b=20367, r=jinjin@pacbell.net. Changed ResizeReflow() so that if we skip
reflowing the table cell (that's an optimization we do) we make sure and
position any child views
1999-12-02 01:02:53 +00:00
warren@netscape.com a03f1a7799 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tbogard@aol.net 617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
troy@netscape.com 3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
karnaze@netscape.com 50899265d5 removed allocation warning messages 1999-11-15 15:42:20 +00:00
karnaze@netscape.com 5cb4dc82eb put back to rev 3.340 due to mail/news regressions. 1999-11-11 18:22:57 +00:00
karnaze@netscape.com 62ff07de0a fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated. 1999-11-11 05:43:35 +00:00
karnaze@netscape.com 01409a7210 bug 18204 - null pointer check fixes crash. permission from chofmann. 1999-11-08 05:24:27 +00:00
dmose@mozilla.org 796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
karnaze@netscape.com c51946a5b2 bugs 17138, 17168 and others - col allocation involving colspans honors constraints; pct colspans were allocating incorrectly if pct cols existed. 1999-11-05 22:36:59 +00:00
karnaze@netscape.com f8f498aeb2 crash on abc - calls EnsureColumns upon entering reflow if appropriate 1999-11-05 22:33:04 +00:00
karnaze@netscape.com c6b7bedf88 ComputeDesiredHeight - removed potential error if first child is not a row group. 1999-11-02 15:41:38 +00:00
tbogard@aol.net 94204a146c Changed NS_ASSERTION to NS_WARN_IF_FALSE to avoid crashing people when condition is met. r=hyatt. 1999-11-02 05:14:27 +00:00
troy@netscape.com bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy@netscape.com c68d32adb4 b=17573. Changed mRowIndex to be signed integer (was unsigned integer) but
field. This allows it be negative, which some of the table code is depending
on
1999-10-31 03:15:52 +00:00
troy@netscape.com 5e5f240649 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
karnaze@netscape.com 8f4132f4cd bug 17375 - better checks and casting before calling DidAppendRow 1999-10-29 20:25:13 +00:00
troy@netscape.com 6e1d6d82ed Space reduction. We now save 8 bytes per row frame by eliminating the max
top/bottom margin data members which are no longer needed
1999-10-29 14:40:58 +00:00
troy@netscape.com d372419aa7 Fix for bug #16649. Didn't actually change anything. Just restored some
code that was clobbered by revision 3.153
1999-10-29 04:57:02 +00:00
waterson@netscape.com bf73a61847 Unix filenames are case-sensitive. 1999-10-28 04:36:04 +00:00
karnaze@netscape.com a77bd94634 simplified caching of column frames. split out collapsing border processing into nsBorderCollapser (checked in previously). r=troy 1999-10-28 04:09:39 +00:00
karnaze@netscape.com e6933d2b9f new class for collapsing borders, extracted from nsTableFrame, r=troy 1999-10-28 03:51:55 +00:00
troy@netscape.com c4938a2b05 b=6674, r=karnaze@netscape.com
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)
1999-10-27 23:01:21 +00:00
kipp@netscape.com fa81f35a28 Backed out chris's accidental checkin (don't ask) 1999-10-27 15:57:35 +00:00
karnaze@netscape.com a2d0531a93 hello 1999-10-27 15:55:31 +00:00
troy@netscape.com b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp@netscape.com 4d9fe42a2e Quieted down some debug noise and added a missing newline to a printf 1999-10-25 23:02:43 +00:00
karnaze@netscape.com 55477ea869 bug 16284, 14159 nested auto table with percent cells was not growing auto table. nested coord or percent table was only getting min size. 1999-10-25 22:49:51 +00:00
karnaze@netscape.com 44703bb7b5 bug 5799 - considers percentage width of multiple cells when figuring width of auto table. 1999-10-25 04:34:28 +00:00
troy@netscape.com a00e8c81df Space reductions for nsTableRowFrame. Changed mInitializedChildren to be a
frame state bit, and changed mMinRowSpan and mRowIndex to be packed into
one 32-bit field. Total savings of 8 bytes per row frame
1999-10-23 23:08:30 +00:00
troy@netscape.com b5d5718a17 Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +00:00
kipp@netscape.com e01a845da1 Removed some more warnings 1999-10-22 14:51:41 +00:00
troy@netscape.com 0260c6d97e r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
karnaze@netscape.com bb54f83c90 bug 5799 - width of auto width table considers percentage cells when they are small relative to the rest of the table. r=dcone 1999-10-21 22:36:21 +00:00
karnaze@netscape.com fcb1d0f827 bug 12012 - RemoveFrame was using stale style display. r=dcone 1999-10-21 22:33:30 +00:00
troy@netscape.com 0d03dffefb Removed unused 4-byte "mMaxElementSize" member data 1999-10-21 20:51:04 +00:00
troy@netscape.com 5f859ff871 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
1999-10-21 05:11:43 +00:00
karnaze@netscape.com c09d24711b bug 14915 - fix crash. 1999-10-21 00:11:55 +00:00
karnaze@netscape.com ff974f4fc1 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy 1999-10-20 14:18:56 +00:00
karnaze@netscape.com 8492111d5b added #ifdef for debug printing. 1999-10-18 13:48:19 +00:00
karnaze@netscape.com 42c661a734 bug 15958(partial) - uses mComputedWidth instead of availableSize.width. r=buster; asked hook for permission, got no response. 1999-10-18 13:47:01 +00:00
karnaze@netscape.com 5950533219 bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response. 1999-10-18 13:45:41 +00:00
troy@netscape.com d2b13e844f r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
karnaze@netscape.com 5251c357b0 bug 11321 - Renamed kidMaxElementSize to localKidMaxElementSize and renamed pKidMaxElementSize to kidMaxElementSize and fixed the incorrect usage. 1999-10-17 03:17:53 +00:00
troy@netscape.com adadef5a7f Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
kipp@netscape.com dfc235ed69 Nuke some more warnings 1999-10-15 21:18:32 +00:00
karnaze@netscape.com 24f4ebeb02 pass2 reflow doesn't request max element sizes to help with bug 14855. Reviewers didn't respond. 1999-10-15 04:09:22 +00:00
troy@netscape.com 13ff867399 Space savings. r=karnaze@netscape.com Cc'd hyatt@netscape.com
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame
1999-10-15 03:14:59 +00:00