bzbarsky%mit.edu
d631c95536
Fix build orange. Bug 356335, reviews hopefully coming up.
...
git-svn-id: svn://10.0.0.236/trunk@216631 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 03:43:52 +00:00
bzbarsky%mit.edu
9ecace1150
Fix build bustage. See bug 356335 comment 18 for what I forgot to do in the
...
initial checkin for that bug... I need a longer-term memory, clearly. :(
git-svn-id: svn://10.0.0.236/trunk@216630 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 02:53:35 +00:00
bzbarsky%mit.edu
dfc962fee2
Allocate the celldata structs from the presshell arena instead of allocating
...
them from the malloc heap with new. Use nsTArray to store them and an nsTArray
to store those arrays instead of using nsVoidArray. Bug 356335, r=bernd,
sr=sicking
git-svn-id: svn://10.0.0.236/trunk@216628 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-07 02:32:57 +00:00
bmlk%gmx.de
54bf978401
mark only cells where the colspan/rowspan offset is != 0 as zero colspans/rowspans if those properties apply bug 358871 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@214540 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 18:45:41 +00:00
bmlk%gmx.de
6499cbbc5d
call the correct GetCellFrame function bug 358679 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@214426 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-30 19:21:05 +00:00
bmlk%gmx.de
ed2d0cb06b
make zero rowspans dependent on the content row count and not how many rows are currently in the cellmap, this cause otherwise problems during rebuild of the cellmap bug 339129 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@214295 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-28 10:14:43 +00:00
bmlk%gmx.de
f21795364a
Revert a old design decision how to expand zero colspans in the cellmap. Once a cellmap hole was hit via the GetDataAt function the old code tried to repair this cellmap position by walking up and left till a possible origin of a zero span was hit. The new code uses a mark and sweep approach, which should remove the burden that ordinary tables without zero spans but large cellmap holes have to pay. bug 351942 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@213902 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-20 07:37:24 +00:00
bmlk%gmx.de
4b51748042
recover more gracefully from a error condition where cells are inserted into the cellmap after the last column bug 351328 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@209738 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 18:18:08 +00:00
bmlk%gmx.de
68060df15d
expand zerospans before one tries to mark them as dead cells bug 350524 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@209056 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 08:33:52 +00:00
bmlk%gmx.de
3f15d7b9d7
fix a coding error in the patch for bug 339246 bug 343588 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@206389 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 12:02:37 +00:00
bmlk%gmx.de
6cff3ed2bf
fix cellmap errors with the num of rows in the cellmap vs the num of rows in the content bug 344000 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@206388 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 11:57:48 +00:00
bmlk%gmx.de
8e040e2ee9
reset column info for all cellmaps if they need to be reset, bug 339246 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@201118 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 18:56:10 +00:00
bmlk%gmx.de
eaa542d299
reorder cellmaps if the rowgroup order might have changed bug 339130 r7sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@200567 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 04:19:36 +00:00
bmlk%gmx.de
d7cd1bb343
remove deadcode and fix a potential 0 deref, bug 333356 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@194449 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 04:56:52 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
bmlk%gmx.de
d32433877f
Don't create dead cells if the position is outside the cellmap boundaries. bug 328339 r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191764 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 05:32:38 +00:00
bzbarsky%mit.edu
4c22ca3414
Make sure to call the right destructor on cellmap info structs. Bug 302725,
...
r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@187593 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 21:08:17 +00:00
bmlk%gmx.de
a9a12da5e7
insert new rowgroup cellmaps in the order predicted by OrderRowGroups, bug=317554 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@186183 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 19:10:56 +00:00
bmlk%gmx.de
a141bbaebf
fix for a regression from bug 271789, deadcells are nearly equivalent to complete cellmap holes, bug 317148 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@185050 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 18:08:30 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bmlk%gmx.de
9df90b5471
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
...
git-svn-id: svn://10.0.0.236/trunk@184451 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 05:22:18 +00:00
bmlk%gmx.de
f45b33da68
limit search for real table cells to place where they can be expected, bug 313295 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@184151 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 18:41:32 +00:00
bmlk%gmx.de
ab0cfb3125
Do not rely on addcells to compute correctly mRowCount. bug 308752 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@180930 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-25 18:42:31 +00:00
bmlk%gmx.de
b5b65a13ed
we need enough space to insert a cell even at the end of a row, bug=284575 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171569 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 17:20:08 +00:00
bmlk%gmx.de
3d248b601b
Remove unused functions bug 240559 r/sr =bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@155289 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 15:49:29 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bmlk%gmx.de
50ee50ad30
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
...
git-svn-id: svn://10.0.0.236/trunk@154778 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 06:21:16 +00:00
bmlk%gmx.de
97b33f1cad
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
...
git-svn-id: svn://10.0.0.236/trunk@154227 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-24 17:22:12 +00:00
bmlk%gmx.de
bc6dd3a017
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
bmlk%gmx.de
018f4cb8aa
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
...
git-svn-id: svn://10.0.0.236/trunk@153486 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 17:45:50 +00:00
bmlk%gmx.de
a316af5457
remove unneccesary prescontext arguments bug 230923 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@151492 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:28:40 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bmlk%gmx.de
c10d3984b9
dont shrink mRowCount when inserting cells in a row, bug 220536, r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@149062 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 08:47:05 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
roc+%cs.cmu.edu
b4657fef30
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144510 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 02:01:29 +00:00
bmlk%gmx.de
941c8a1041
the mew of colspan cell needs to be redistributed this can only be done during the strategy init. bug 207208 r=jkeiser sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143461 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-09 17:51:25 +00:00
dougt%meer.net
c1d4a123b6
Fixing memory leaks. b=206655, r=bernd, sr=dbaron, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142769 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 22:12:09 +00:00
dbaron%dbaron.org
69da9d4a19
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
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bmlk%gmx.de
1274fb2bbb
compiler warning fix, bug 167659, orig. patch by caillon, r=jkeiser, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@139277 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 13:33:19 +00:00
dbaron%dbaron.org
e6a2b29ebf
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bernd.mielke%snafu.de
2cf71c064f
fix for a O2(n) dependency when adding a row to a table, bug 85755 r=karnaze sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@136591 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:02:52 +00:00
bernd.mielke%snafu.de
18ce09091c
improved lookup of cellmap for the repeated thead and tfoot sections during printing bug 159358 patch by karnaze r=bernd sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@127055 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 04:55:29 +00:00
bernd.mielke%snafu.de
95201415ad
bug 151888 - use SafeElementAt as we use it in all other places r=karnaze sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@123997 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 06:58:49 +00:00
karnaze%netscape.com
312699b125
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
...
git-svn-id: svn://10.0.0.236/trunk@118408 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 22:56:45 +00:00
karnaze%netscape.com
0536167ed4
bug 128876 - expanded border collapse damage area to include spanners. sr=roc, r=bernd, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116060 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:33:49 +00:00
karnaze%netscape.com
430941b018
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
rjesup%wgate.com
15d98882e8
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
karnaze%netscape.com
0fcba4eb02
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
...
git-svn-id: svn://10.0.0.236/trunk@108515 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 00:58:53 +00:00
karnaze%netscape.com
d30758e3fc
bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@107299 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 00:15:51 +00:00
karnaze%netscape.com
6c1a4b003e
bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106308 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:30:38 +00:00