karnaze%netscape.com
f966f5add2
removed allocation warning messages
1999-11-15 15:42:20 +00:00
karnaze%netscape.com
c9aa5e2a0a
put back to rev 3.340 due to mail/news regressions.
1999-11-11 18:22:57 +00:00
karnaze%netscape.com
aa92cfa616
fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated.
1999-11-11 05:43:35 +00:00
dmose%mozilla.org
42fc94a6ec
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
6b94962e35
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
d4f0cef68c
crash on abc - calls EnsureColumns upon entering reflow if appropriate
1999-11-05 22:33:04 +00:00
karnaze%netscape.com
725609234f
ComputeDesiredHeight - removed potential error if first child is not a row group.
1999-11-02 15:41:38 +00:00
tbogard%aol.net
e76efd1cd3
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
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy%netscape.com
d89413c6c9
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
effb3aefb7
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
fb5f1b2e3b
bug 17375 - better checks and casting before calling DidAppendRow
1999-10-29 20:25:13 +00:00
troy%netscape.com
732b6f429c
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
9b14cec570
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
karnaze%netscape.com
30362f5287
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
troy%netscape.com
574edf6941
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
2305d254f3
Backed out chris's accidental checkin (don't ask)
1999-10-27 15:57:35 +00:00
karnaze%netscape.com
990f5ccf18
hello
1999-10-27 15:55:31 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com
533bdbcf57
Quieted down some debug noise and added a missing newline to a printf
1999-10-25 23:02:43 +00:00
karnaze%netscape.com
34c79207ee
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
b82e04d3b3
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
ce952b6207
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
918255682c
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
kipp%netscape.com
705faaa709
Removed some more warnings
1999-10-22 14:51:41 +00:00
troy%netscape.com
d0190a7f34
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
29a25a3900
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
b11b6cf67e
bug 12012 - RemoveFrame was using stale style display. r=dcone
1999-10-21 22:33:30 +00:00
troy%netscape.com
57034a907a
Removed unused 4-byte "mMaxElementSize" member data
1999-10-21 20:51:04 +00:00
troy%netscape.com
01cf059769
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
f6bb8a295b
bug 14915 - fix crash.
1999-10-21 00:11:55 +00:00
karnaze%netscape.com
6c97985da7
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
67538f07ec
added #ifdef for debug printing.
1999-10-18 13:48:19 +00:00
karnaze%netscape.com
a5e6b0502a
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
c6317a41b4
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
14ee1a1932
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
d26165e530
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
43e1137d33
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
0d3284929f
Nuke some more warnings
1999-10-15 21:18:32 +00:00
karnaze%netscape.com
7c57ea6ff0
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
688c155440
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
troy%netscape.com
dde4d695d7
Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
...
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size
1999-10-14 04:27:01 +00:00
karnaze%netscape.com
48636f76cd
bug 15247 - ComputeAvailableTableWidth accounts for margins
1999-10-14 04:03:20 +00:00
karnaze%netscape.com
6603bb1392
bug 11026 - AllocateUnconstrained was off by 1 twip in some cases. bug 14159 - cell is not fixed width if an auto cell in the same col has a larger desired size for backward compatibilty.
1999-10-13 14:44:22 +00:00
karnaze%netscape.com
0ca94b84af
removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk
1999-10-13 14:39:33 +00:00
kipp%netscape.com
7f60bda117
Fixed cellmap ctor/dtor logging to not show up negative
1999-10-08 23:42:13 +00:00
troy%netscape.com
18cb7981d3
Changes to SizeOf() code only. This code is debug code that only runs
...
when you chose the "Show Frame Sizes" menu item...
1999-10-08 23:18:19 +00:00
kipp%netscape.com
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
slamm%netscape.com
ba6f525b36
Backout troy's last set of changes. Caused bug #15790 , 'opening bookmarks window and expanding mail folders crashes'. r=waterson.
1999-10-08 18:52:19 +00:00
troy%netscape.com
a5add6d414
Change to SizeOf() code (diagnostic code only). Changed table frame
...
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00