bmlk%gmx.de
f1598e46c2
remove deadcode and fix a potential 0 deref, bug 333356 r/sr=bzbarsky
2006-04-15 04:56:52 +00:00
dbaron%dbaron.org
ac49c790c1
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
bmlk%gmx.de
3f7212cd3d
Don't create dead cells if the position is outside the cellmap boundaries. bug 328339 r/sr=bz
2006-03-04 05:32:38 +00:00
bzbarsky%mit.edu
8a85d09c02
Make sure to call the right destructor on cellmap info structs. Bug 302725,
...
r=bernd, sr=dbaron
2006-01-13 21:08:17 +00:00
bmlk%gmx.de
e58b48020a
insert new rowgroup cellmaps in the order predicted by OrderRowGroups, bug=317554 r/sr=roc
2005-12-16 19:10:56 +00:00
bmlk%gmx.de
2c4ebfad0c
fix for a regression from bug 271789, deadcells are nearly equivalent to complete cellmap holes, bug 317148 r/sr=bzbarsky
2005-11-21 18:08:30 +00:00
timeless%mozdev.org
b20620f6ab
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
a15421a20c
mark cell hooles that are not caused by zero spans as dead, this will limit searches when a search is initiated at other cell hooles. bug 271789 r/sr=bzbarsky
2005-11-11 05:22:18 +00:00
bmlk%gmx.de
6083aa28af
limit search for real table cells to place where they can be expected, bug 313295 r/sr=bzbarsky
2005-11-04 18:41:32 +00:00
bmlk%gmx.de
7ac4776b92
Do not rely on addcells to compute correctly mRowCount. bug 308752 r/sr=bzbarsky
2005-09-25 18:42:31 +00:00
bmlk%gmx.de
f19c6d6947
we need enough space to insert a cell even at the end of a row, bug=284575 r/sr=bzbarsky
2005-04-04 17:20:08 +00:00
bmlk%gmx.de
5b682d1c14
Remove unused functions bug 240559 r/sr =bzbarsky
2004-04-21 15:49:29 +00:00
gerv%gerv.net
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
bmlk%gmx.de
75ab23ea1a
move HasMoreThanOneCell from nsTableRowGroupFrame.cpp into nsCellMap.cpp where it belongs. Don't try to repair the cellmap on every reflow, this might help with with large table rendering performance, bug 240318 r/sr=bzbarsky
2004-04-13 06:21:16 +00:00
bmlk%gmx.de
d461426084
bring col frames and cellmap in sync when due to row removal the number of column rises, as rowspans will then span in the rows below, bug 237421, r/sr=dbaron a=chofmann
2004-03-24 17:22:12 +00:00
bmlk%gmx.de
b149d43c9a
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
2004-03-09 06:48:35 +00:00
bmlk%gmx.de
65da789487
when dead cells are replaced in the cellmap, the corresponding column should be informed that it now contains one more cell bug 235535 r/sr=bzbarsky
2004-03-03 17:45:50 +00:00
bmlk%gmx.de
3f5d4f5f86
remove unneccesary prescontext arguments bug 230923 r/sr=roc
2004-01-18 10:28:40 +00:00
roc+%cs.cmu.edu
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bmlk%gmx.de
65228c649d
dont shrink mRowCount when inserting cells in a row, bug 220536, r/sr=bzbarsky
2003-11-09 08:47:05 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
roc+%cs.cmu.edu
ad13547c26
Ongoing deCOMtamination. r+sr=dbaron
2003-07-07 02:01:29 +00:00
bmlk%gmx.de
0cb0bf69a5
the mew of colspan cell needs to be redistributed this can only be done during the strategy init. bug 207208 r=jkeiser sr=dbaron
2003-06-09 17:51:25 +00:00
dougt%meer.net
57ff4e937e
Fixing memory leaks. b=206655, r=bernd, sr=dbaron, a=asa
2003-05-22 22:12:09 +00:00
dbaron%dbaron.org
a15b9f2cf4
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bmlk%gmx.de
153d7b63d5
compiler warning fix, bug 167659, orig. patch by caillon, r=jkeiser, sr=dbaron
2003-03-11 13:33:19 +00:00
dbaron%dbaron.org
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bernd.mielke%snafu.de
a0c1d9600d
fix for a O2(n) dependency when adding a row to a table, bug 85755 r=karnaze sr=brendan
2003-01-18 14:02:52 +00:00
bernd.mielke%snafu.de
b752f58938
improved lookup of cellmap for the repeated thead and tfoot sections during printing bug 159358 patch by karnaze r=bernd sr=dbaron
2002-08-12 04:55:29 +00:00
bernd.mielke%snafu.de
b0b594285d
bug 151888 - use SafeElementAt as we use it in all other places r=karnaze sr=kin
2002-06-25 06:58:49 +00:00
karnaze%netscape.com
e0386429f0
bug 135112 - correctly set border collapse damage area and fix it if incorrect when borders are calculated. a=asa, adt=jaimejr, sr=attinasi, r=bernd
2002-04-06 22:56:45 +00:00
karnaze%netscape.com
de92e63ce0
bug 128876 - expanded border collapse damage area to include spanners. sr=roc, r=bernd, a=asa
2002-03-07 15:33:49 +00:00
karnaze%netscape.com
1fcd9538d3
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
rjesup%wgate.com
2212861db9
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
karnaze%netscape.com
d398bb4d73
bug 110523 - Get the correct starting row index when inserting a new row in a tbody that is not the first one. sr=atinasi, r=alexsavulov
2001-11-20 00:58:53 +00:00
karnaze%netscape.com
4e510eb28b
bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov
2001-11-05 00:15:51 +00:00
karnaze%netscape.com
08cb1a9a29
bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov
2001-10-26 02:30:38 +00:00
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
rjesup%wgate.com
91f2e4f126
bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
2001-09-06 21:11:44 +00:00
karnaze%netscape.com
9fee7317f7
bug 74731 - remove extraneous cols at end of cell map rows, keep table cols and cell map cols in synch. sr=attinasi, r=cmanske
2001-05-17 12:40:27 +00:00
karnaze%netscape.com
040cbc0afc
bug 44523 - Get the actual rg from the cell in AppendCell rather than use the row index. sr=attinasi
2001-03-28 21:25:13 +00:00
karnaze%netscape.com
a3a25d11b0
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
dbaron%fas.harvard.edu
7a97a55d82
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
2001-01-27 23:06:33 +00:00
karnaze%netscape.com
a10815bf96
bug 65372 - allow rows to be inserted after an over specified row span. sr=buster, r=attinasi.
2001-01-25 16:02:14 +00:00
karnaze%netscape.com
4ae530d914
bug 46623 - allocate proportional and auto cols together when balancing columns. (sr=buster, r=peterl)
...
allow columns (due to colspan) containing no originating cols at the end of the table to exist
2001-01-12 23:07:54 +00:00
karnaze%netscape.com
968a35634b
bugs 47163, 60807 and others, sr=buster
...
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned
2000-12-19 20:29:46 +00:00
karnaze%netscape.com
c6c2e4f226
bug 9848 - check for out of memory when calling new. r=dcone.
2000-11-30 15:53:55 +00:00
warren%netscape.com
4189314fdb
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
6e35f97e31
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
8ad66652c7
bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
2000-09-14 06:49:47 +00:00
anthonyd%netscape.com
5364d5ad8b
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
75ea85e43a
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
005e33f06e
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
4771f69c44
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
db828efb04
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
6314b604b5
fix warnings. submitted by jeroen@vangelderen.org, r=karnaze
2000-03-15 04:50:25 +00:00
karnaze%netscape.com
33724881db
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
3807ea4d75
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
73a3709284
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
0c805209a4
Fixed nsCellMap bloat/leak counter problem.
2000-01-18 00:55:49 +00:00
karnaze%netscape.com
583c152d41
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
7c37ba5e00
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
b90f886b82
*** empty log message ***
2000-01-13 20:58:24 +00:00
hyatt%netscape.com
2fc2b04690
Fix for chinatimes/tinderbox crasher. r=karnaze
2000-01-13 20:22:19 +00:00
karnaze%netscape.com
369b89f5d0
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
5397ffd020
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
59687369f1
fixed tinderbox warnings
2000-01-03 00:56:12 +00:00
karnaze%netscape.com
ceb109b81b
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
b62dc1bd09
fix windows bustage.
1999-12-14 01:02:11 +00:00
karnaze%netscape.com
ba422c3ed8
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
1999-12-13 22:56:31 +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
kipp%netscape.com
7f60bda117
Fixed cellmap ctor/dtor logging to not show up negative
1999-10-08 23:42:13 +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
kipp%netscape.com
acb9fe8a07
Eliminate a warning
1999-10-07 00:28:41 +00:00
troy%netscape.com
d219ef5e29
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
e2ac00fe47
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
4dcd4bda98
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
c126113270
Remove a warning
1999-09-01 20:59:13 +00:00
hyatt%netscape.com
8c3c551001
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
0b5b66f195
bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
1999-08-25 21:49:18 +00:00
karnaze%netscape.com
9305f5241c
replaced debug flags with class. removed compiler warnings.
1999-08-24 12:01:31 +00:00
karnaze%netscape.com
ef5e992e74
removed assertions in new incremental layout methods
1999-08-22 23:56:39 +00:00
karnaze%netscape.com
8a7691053a
added null checking
1999-08-20 03:30:40 +00:00
karnaze%netscape.com
66b706bb32
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
d5e430c16a
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
1823698740
fixed warnings
1999-06-28 13:44:40 +00:00
karnaze%netscape.com
e844c3e177
collapsing rows, row groups, cols, col groups
1999-02-11 06:22:33 +00:00
buster%netscape.com
a350956668
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
a5d86175fd
minor fix, moved a method call outside an assert macro
1998-10-20 14:35:41 +00:00
buster%netscape.com
1595410b34
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
f2af2dddd3
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
c217723f0f
fixed a space leak for tables with rowspans
1998-09-02 22:55:37 +00:00
buster%netscape.com
30c1c13fac
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
e5ebbcebfb
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
3118fc8dd4
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
2afd6cc554
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
buster
7a2fe842b8
major hackage to the table data structures. slimmer, simpler, faster
...
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans
1998-07-11 00:00:31 +00:00
buster
03fd05a8af
fixed 3 dumb bugs I introduced recently.
...
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.
1998-07-07 01:06:51 +00:00
rods
cd9c4312fb
moved inlined SetCellAt to body
1998-06-08 22:07:15 +00:00
buster
ed47ffbd62
most HTML 4 attributes supported (though some are still ignored)
...
lots of methods made inline
1998-06-08 19:57:04 +00:00