Commit Graph

445 Commits

Author SHA1 Message Date
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
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
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
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
karnaze@netscape.com
f7ff6a02eb column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332. 1999-10-04 05:19: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
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
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
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
51f510d09f bug 11026 - rounding error on balancing when max element size is too large. 1999-08-23 04:41:30 +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
karnaze@netscape.com
86bc1cbc73 fix mac bustage 1999-08-19 20:36:52 +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
troy@netscape.com
3a2de1832f Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames
1999-08-07 15:12:50 +00:00
buster@netscape.com
6f75fa6875 fixed a memory leak, and a null pointer dereference, having to do with collapsing borders 1999-08-07 05:40:09 +00:00
cmanske@netscape.com
35cad0c225 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods 1999-08-01 16:20:14 +00:00
cmanske@netscape.com
b44bfb4768 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
karnaze@netscape.com
0f38815cdf new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
troy@netscape.com
d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
hyatt@netscape.com
d6f1501962 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
hyatt@netscape.com
560a7d38f0 Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH). 1999-06-15 01:19:18 +00:00
hyatt@netscape.com
12d9213d89 More nested row group changes. 1999-06-14 23:42:16 +00:00
hyatt@netscape.com
c180aa1dcf More changes to allow tables to support nested row groups. 1999-06-14 08:01:00 +00:00
karnaze@netscape.com
0a02140339 support for backgrounds on table elements in both compatibility modes 1999-06-07 21:10:25 +00:00
mjudge@netscape.com
255745201b new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
mjudge@netscape.com
2c77f1b613 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
karnaze@netscape.com
5848571fa7 support for css padding in table cells 1999-05-18 05:18:16 +00:00
kipp@netscape.com
68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
karnaze@netscape.com
a15ef73a2e bug 3103 - resizing table based on height attribute now considers row spans of cells. 1999-05-04 19:15:56 +00:00
karnaze@netscape.com
aedc76fcb9 support for right-to-left direction 1999-04-22 03:51:58 +00:00
troy@netscape.com
b32ac753e1 Overflow code and pushing code now take header/footer frames into
account
1999-03-09 05:29:37 +00:00
buster@netscape.com
73fe3bf103 fixed IsNested to account for outer table frame
removed obsolete debug code
1999-03-01 06:40:24 +00:00
troy@netscape.com
ca28eafb7d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy@netscape.com
7f63268a34 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy@netscape.com
5a1fc226a0 Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
karnaze@netscape.com
7e546edce3 collapsing rows, row groups, cols, col groups 1999-02-11 06:22:33 +00:00
troy@netscape.com
c63560927c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
karnaze@netscape.com
43ae593e7c work in progress for table visibility=collapse 1999-02-03 23:54:32 +00:00
hyatt@netscape.com
374d2f8592 Made the table member variables protected so that the tree widget can
access them.
1999-02-03 22:35:03 +00:00
buster@netscape.com
2d2e0d6b83 fixed a nasty bug where some incremental reflow cases of a table with collapsing borders would crash.
One example of the crash is changing the style of a cell via DOM.
Also fixed an error in the API of nsTableColFrame
1999-01-29 18:49:32 +00:00
buster@netscape.com
e0137c5475 primarily comments and documentation
also removed nsTableFrame::QueryInterface() because it was just extraneous, and it made
an assumption about what class nsTableFrame derives from.  Let the vtable do its work...
1999-01-27 19:29:24 +00:00
karnaze@netscape.com
70e10946ca scrollable row groups 1999-01-17 23:35:56 +00:00