bmlk%gmx.de
a47ec2033c
mark cellmap if 0 colspans are present for 0 colspan expansion when cells are deleted bug 373390 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@222001 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-17 05:58:15 +00:00
bmlk%gmx.de
41915a37d1
mark zerocolspans to be expanded if they are inserted rather than appended. bug 372776 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@221427 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 05:06:38 +00:00
bzbarsky%mit.edu
866e7efaa8
When inserting a cell, make sure to properly maintain the mNumCellsSpan of the
...
columns involved. In particular, do NOT decrement it when dead CellData are
removed from the column. Bug 371290, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@220830 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 17:41:15 +00:00
bmlk%gmx.de
0e9bc7591d
collapse zero colspans when new cells are inserted bug 370842 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@220654 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 19:31:52 +00:00
bmlk%gmx.de
7b55a8c924
fix oversight with zero rowspan handling bug 370808 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@220518 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 18:50:39 +00:00
bzbarsky%mit.edu
cda6f2b142
Don't use a static nsTArray. Bug 369099, r=bernd, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@220057 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 16:23:19 +00:00
bmlk%gmx.de
0ebfa4e5c2
take into account overlap situations between row- and colspans, bug 369975 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@220043 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 05:32:18 +00:00
bmlk%gmx.de
aa1fd49930
look out for zero rowspans when expanding the cellmap bug, 368651 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@219928 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-10 06:56:57 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
a99e9b8f80
Fix crash bug 368166. r=bernd, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219071 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 16:49:26 +00:00
bzbarsky%mit.edu
3c4a12efcd
Address review comment I missed. Bug 367749.
...
git-svn-id: svn://10.0.0.236/trunk@218849 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:23:08 +00:00
bzbarsky%mit.edu
0ec062328d
Fix various bugs in the column iterator's keeping track of the current row.
...
Bug 367749, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218847 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:18:04 +00:00
bzbarsky%mit.edu
3de9b82869
Make it possible for callers who want to iterate all the row groups and
...
GetMapFor() for all of them do so in about O(N) time instead of O(N^2) (in
number of row groups). Bug 366892, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218741 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:35:25 +00:00
bzbarsky%mit.edu
0b6146e808
Have a faster way of iterating down the columns of a table. Bug 352461,
...
r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@218739 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 04:32:33 +00:00
bmlk%gmx.de
9ddb3480ae
Zerorowspans are expanded during cellmap entry creation. There is no need to adapt the rowspan value later, bug 364318 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217587 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 18:18:53 +00:00
bmlk%gmx.de
9df82f6d3b
initialize variables before use bug 365075 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217456 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 08:46:30 +00:00
bmlk%gmx.de
6db17ea546
be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217418 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 14:24:15 +00:00
bmlk%gmx.de
93402c4df5
rename variable rename mRowCount to mContentRowCount so that it becomes obvious what it contains. Adjust the cellmap grow mechanism to the new nsTArray world bug=363370 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217417 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 14:04:20 +00:00
dbaron%dbaron.org
1ca9f3f372
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
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