karnaze@netscape.com
c88090d762
bug 9848 - check for out of memory when calling new. r=dcone.
2000-11-30 15:53:55 +00:00
warren@netscape.com
0462ea4ce8
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
karnaze@netscape.com
5bfec9ce78
bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
2000-09-14 06:49:47 +00:00
anthonyd@netscape.com
71ccee07a0
r:mjudge
...
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
karnaze@netscape.com
92f336c9ea
new reflow/layout code for outer table to handle captions and margins. better % height handling.
...
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00
jim_nance@yahoo.com
112be9f648
Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
...
days for module owners to comment on. r=troy@netscape.com
2000-03-30 03:21:26 +00:00
cmanske@netscape.com
e6b31901b6
Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze.
2000-03-23 04:24:58 +00:00
karnaze@netscape.com
e3b91f9c10
bug 30273 - removing the last remaining cell in a row caused the cell map to remove the row during an incremental reflow. r=attinasi.
2000-03-16 02:21:43 +00:00
karnaze@netscape.com
b74b158eb1
fix warnings. submitted by jeroen@vangelderen.org, r=karnaze
2000-03-15 04:50:25 +00:00
karnaze@netscape.com
db23f936b7
bug 25148, AppendCell grows its rows before figuring the starting col index, r=attinasi
2000-02-02 01:56:46 +00:00
karnaze@netscape.com
ae130de1c4
bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk.
2000-02-01 03:23:29 +00:00
troy@netscape.com
67f034175a
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
warren@netscape.com
c0a5c431f6
Fixed nsCellMap bloat/leak counter problem.
2000-01-18 00:55:49 +00:00
karnaze@netscape.com
29f042cbc6
fixed printing assertions; more throughly check cell map usage for contuining frames;
...
fixed bug 24057; r=kmcclusk,cmanske; could not run mail smoke tests due to prior bustage.
2000-01-15 20:10:00 +00:00
troy@netscape.com
cd62e0fb9e
r=troy@netscape.com Changed from karnaze@netscape.com reviewed by me that
...
fix assertions we were hitting when printing the CNN page
2000-01-15 05:50:27 +00:00
hyatt@netscape.com
2312498db4
*** empty log message ***
2000-01-13 20:58:24 +00:00
hyatt@netscape.com
7266d8680c
Fix for chinatimes/tinderbox crasher. r=karnaze
2000-01-13 20:22:19 +00:00
karnaze@netscape.com
6056eb17e9
bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
2000-01-13 05:29:38 +00:00
karnaze@netscape.com
c9dc5d6004
bug 22246 - row/col span changes on cell alter cell map and reflow table. r=kmcclusk
2000-01-04 05:31:56 +00:00
karnaze@netscape.com
f3d27b537f
fixed tinderbox warnings
2000-01-03 00:56:12 +00:00
karnaze@netscape.com
7d51e2dae1
removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt
1999-12-16 01:51:06 +00:00
karnaze@netscape.com
d37db4e1a9
fix windows bustage.
1999-12-14 01:02:11 +00:00
karnaze@netscape.com
f52136224a
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
1999-12-13 22:56:31 +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
kipp@netscape.com
e0a04f44d7
Fixed cellmap ctor/dtor logging to not show up negative
1999-10-08 23:42:13 +00:00
kipp@netscape.com
ea36a75c90
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
kipp@netscape.com
44cd106dda
Eliminate a warning
1999-10-07 00:28:41 +00:00
troy@netscape.com
355fa397e5
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +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
putterman@netscape.com
2e2a417978
Fix for 14386. Prevent memory corruption when opening and closing an account.
...
Approved = leaf. Reviewed -= karnaze.
1999-09-23 22:44:47 +00:00
kipp@netscape.com
b665566199
Remove a warning
1999-09-01 20:59:13 +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
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
9e46a2e967
removed assertions in new incremental layout methods
1999-08-22 23:56:39 +00:00
karnaze@netscape.com
fe0062662e
added null checking
1999-08-20 03:30:40 +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
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
buster@netscape.com
84b5f256c8
fixed warnings
1999-06-28 13:44:40 +00:00
karnaze@netscape.com
7e546edce3
collapsing rows, row groups, cols, col groups
1999-02-11 06:22:33 +00:00
buster@netscape.com
5e4ec66b0e
changed getters to be XP_COM-like, with out-params instead of return values.
...
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:16:28 +00:00
buster@netscape.com
5b0e409407
minor fix, moved a method call outside an assert macro
1998-10-20 14:35:41 +00:00
buster@netscape.com
1aa76fdef5
added ColIsSpannedInto, ColHasSpanningCells
...
moved *IsSpannedInto and *HasSpanningCells into cellmap, giving us the oppurtunity
to easily cache results if we want. These methods are still accessed through nsTableFrame.
changed nsTableFrame::GetCellAt to nsTableFrame::GetCellFrameAt to make it more clear what
the method returns: a frame, not content.
1998-09-18 22:37:14 +00:00
buster@netscape.com
651a6cfd70
fixed minColSpan to always be at least one. This helps support empty rows,
...
among other problems.
1998-09-03 06:15:18 +00:00
buster@netscape.com
f7f70168c9
fixed a space leak for tables with rowspans
1998-09-02 22:55:37 +00:00
buster@netscape.com
4c34a67bc6
fixed a space leak caused by incorrect ~nsCellMap iteration through
...
the new data structures.
1998-09-02 21:51:01 +00:00
buster@netscape.com
83730647c4
reimplemented cell map in terms of nsVoidArrays for incremental building.
...
the cellmap is now built incrementally, driven by nsTableRowFrame::InitialReflow
1998-08-31 21:23:28 +00:00
buster@netscape.com
0f443c9118
improved colspan handling.
...
cells with colspans and specified widths divide their width provisionally between the columns they span. This provisional division is ammended by any cell in any of the effected columns that:
1) has a colspan=1, and
2) has a width specified
the widths of all other columns must be adjusted for cells like these. Further complicating matters is that it seems <faith> that if multiple colspanning cells intersect a column and each has a width
specified such that the column would have a different width depending on which is used, only the first such cell is used </faith>. I can neither confirm nor deny this reading the mozilla code.
I also taught the cell map how to deal with this situation:
colspan=1 | colspan=2 | colspan=1
colspan=1 | colspan=2 | colspan=1
This table "really" has 4 columns, but the middle cells are treated as if they have no colspan.
Trust me, it matters. The original colspan attributes can't simply be thrown away because Mr. DOM
could come along at any time and add/remove a cell that would make them important.
1998-08-19 15:43:51 +00:00
buster@netscape.com
5971394e6f
GetColCount now returns the effective column count of the table, adjusted
...
for nonsense COLSPANs at the edge of a table. Fixed some bugs this uncovered
where the cell was being asked for its colspan attribute rather than the table
being asked for the cell's effective col span.
1998-07-24 16:51:16 +00:00