Commit Graph

934 Commits

Author SHA1 Message Date
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
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
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
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
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
05864ef82a 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
troy@netscape.com
41f620b261 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
slamm@netscape.com
b6bb2da28a 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
283cfd2d4f 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
troy@netscape.com
9d30790ef7 Space reductions, r=karnaze@netscape.com
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)
1999-10-07 20:38:50 +00:00
karnaze@netscape.com
672034d534 fixed assertion in viewer sample 4. AdjustForCollapsingCols was incorrectly counting as columns frames which were not of display type NS_STYLE_DISPLAY_TABLE_COLUMN and something must have changed elsewhere to tickle this. 1999-10-06 03:59:07 +00:00
troy@netscape.com
a8ca44667a Checked in workaround for tree-view/apprunner problem of assert in GetColumnWidth() 1999-10-05 02:41:36 +00:00
troy@netscape.com
250138b641 Space optimization for nsTableFrame. r=karnaze@netscape.com
- changed mBorderEdges to be heap allocated (only needed for collapsing border model)
- made the 8 boolean data members into bitfields
- changed mColumnWidths to be as small as necessary instead of defaulting its size to 100 elements
1999-10-04 23:48:05 +00:00
troy@netscape.com
b189b723af Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
1999-10-02 00:02:54 +00:00
mjudge@netscape.com
95d94af406 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
mjudge@netscape.com
3e6ec6cee6 adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different. 1999-09-17 23:33:39 +00:00
kipp@netscape.com
e9732b7feb Squish a warning or two 1999-09-17 20:16:37 +00:00
karnaze@netscape.com
67c27d0aba bug 13135, removed unused code 1999-09-14 01:27:40 +00:00
troy@netscape.com
a4c143e671 Added support for incremental table painting 1999-09-13 03:19:39 +00:00
karnaze@netscape.com
5ee1557728 fixed bug in debug output for reflow 1999-09-10 13:03:32 +00:00
karnaze@netscape.com
f8e91b1d3e bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption. 1999-09-02 00:07:14 +00:00
mjudge@netscape.com
39c46d187c getting rid of build warnings 1999-09-01 21:37:32 +00:00
troy@netscape.com
c12991f841 Added definition for RowHasSpanningCells() 1999-09-01 04:36:47 +00:00
kipp@netscape.com
0d0c583aac Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
troy@netscape.com
81f049290c Changed ReflowMappedChildren() to reset max element size to 0 for an
incremental reflow
1999-08-31 05:55:33 +00:00
kipp@netscape.com
3dbd670c62 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
troy@netscape.com
32301a03cc Changing tables to return max element size during an incremental reflow 1999-08-30 22:30:32 +00:00
hyatt@netscape.com
f333714ebf Changes to the cell map to support incremental insertion and removal of rows. Currently
only used by the tree widget.
1999-08-30 00:01:09 +00:00
karnaze@netscape.com
bec7a58f27 bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified. 1999-08-27 21:15:21 +00:00
karnaze@netscape.com
00f459927b bug 12590 - vertical-align:middle working on cell 1999-08-27 04:29:05 +00:00
karnaze@netscape.com
25c0251e69 backing out recent changes that failed table regression tests 1999-08-26 16:56:42 +00:00
hyatt@netscape.com
c6c603bf13 Fix for bug 12887. 1999-08-26 10:23:49 +00:00
karnaze@netscape.com
ab94a62954 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00
karnaze@netscape.com
9f37cd96e7 replaced debug flags with class. removed compiler warnings. 1999-08-24 12:01:31 +00:00
karnaze@netscape.com
28ad68a96c bugs 9123, 10002 - percentage height tables exclude margin/border/padding of HTML and BODY 1999-08-24 04:17:05 +00:00
hyatt@netscape.com
eaa29fd24b Patching a function used only by the tree code. 1999-08-22 09:50:22 +00:00
karnaze@netscape.com
7c6d931994 bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow. 1999-08-21 06:38:07 +00:00
karnaze@netscape.com
9eb02eeb70 bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods. 1999-08-20 23:27:54 +00:00
troy@netscape.com
f4122b58fb Added invalidate of the cell map as well, since we don't know what has changed 1999-08-19 22:22:52 +00:00
troy@netscape.com
e0d17406ce Changed to handle "ReflowDirty" reflow command 1999-08-19 20:05:27 +00:00
karnaze@netscape.com
1be27de6a7 Added new incremental reflow methods.
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
1999-08-19 19:52:37 +00:00
troy@netscape.com
454b06e71e Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
karnaze@netscape.com
2a568f7e2e For crash in bug 10296 - Removed assertion that nsTableFrame::GetColumnFrame must find a non null frame.
Added check for null when calling it in a situation where it can return null.
1999-08-10 18:15:46 +00:00
karnaze@netscape.com
fe0143c4a5 added constructor to nsTableColGroupFrame, fixed a few places where
nsColGroupFrame assummed its children were nsColGroupFrames.
1999-08-10 02:45:18 +00:00
karnaze@netscape.com
b31a52051a removed some unneeded comments 1999-08-10 01:14:24 +00:00