1502 Commits

Author SHA1 Message Date
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
c07940c9fb colframes are referenced via the firstinflow bug 362348 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@216330 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-02 06:52:55 +00:00
bmlk%gmx.de
f507fa8183 don't rely on framconstructor to deliver a valid sibling for insert of colgroups and rowgroups as they are siblings contentwise but live on different childlists, bug 337124 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@215158 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 13:38:09 +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
roc+%cs.cmu.edu
1c89fec2c3 Bug 241796. Fix comments and handle OOM in SetProperty. Followup to the real fix. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@212139 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 01:56:04 +00:00
bmlk%gmx.de
02306d36c5 mark for all reflows the rowgroup as incomplete if there are still nextinflows bug 347367 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@212103 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-21 09:55:07 +00:00
bzbarsky%mit.edu
d086311360 When painting backgrounds, don't loop over all rows. Just do the ones that
might intersect the dirty rect.  Use the row cursor to optimize this.  Bug
353455, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@212064 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-20 16:42:13 +00:00
roc+%cs.cmu.edu
6b60d7bd32 Bug 241796. Use a row cursor to speed up painting and event handling in large tables, similar to what we do for large blocks already. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@212022 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:39:33 +00:00
bzbarsky%mit.edu
b869f56794 Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:26:20 +00:00
bmlk%gmx.de
b0654bda46 enable old assert (from 2001) to catch cellmap errors, fix one erroneus caller bug 351691 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@209742 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 18:27:35 +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
468e5d8228 make sure the nextinflow will be pushed bug 347367 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@209058 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 09:14:02 +00:00
bmlk%gmx.de
295e8c9f7b compute the BC information only if there are cells bug 350906 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@209057 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 08:48:39 +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
c7b86d15f5 mark the whole table ofr bc recomputation if the rowgroups change bug 347796 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@208643 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 17:41:46 +00:00
bmlk%gmx.de
d128aeb073 match the numer of columnss in the cellmap and the col cache bug 350081 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@208642 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 17:39:36 +00:00
bmlk%gmx.de
34c64d1f4f adjust col frames instead of asserting that the number of cols is wrong bug 347725 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@208089 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 06:08:15 +00:00
mats.palmgren%bredband.net
0e4fca5671 Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208083 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 01:33:46 +00:00
leon.sha%sun.com
c9a84102c2 Bugzilla Bug 344883
print previewing url freezes bon echo (and minefield if you zoom too)
Patch by leon.sha@sun.com
bernd_mozilla: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@206715 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 11:03:43 +00:00
bmlk%gmx.de
a37fd56c02 fix VC6 build bustage
git-svn-id: svn://10.0.0.236/trunk@206618 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 20:32:46 +00:00
bmlk%gmx.de
44ecdcf59a take special care when tfoot are manipulated and the cellmap changes rather drastical bug 343087 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206613 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 19:15:50 +00:00
uriber%gmail.com
3bea28d295 Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@206546 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 05:40:57 +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
mats.palmgren%bredband.net
24f598ebe8 [Debug only] Add nsTableCaptionFrame::GetFrameName() returning "Caption". b=343386 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203235 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 08:50:26 +00:00
bmlk%gmx.de
6bf97d9795 when we remove cells the number of columns in the cellmap may rise if rowspans are involved bug 343778 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203151 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 19:21:50 +00:00
mats.palmgren%bredband.net
1bbaeed419 Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@201187 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:32:36 +00:00
bmlk%gmx.de
24de0ae75c reset row indices if rowgroups may have moved bug 342559 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@201120 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 19:00:01 +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
d4f48518a5 adjust the starting column index always if a entire colgroup needs adjusted colindices bug 339315 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200789 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-24 05:42:38 +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
roc+%cs.cmu.edu
74d34dee5a Bug 338770. Don't even start trying to split a rowgroup in columns mode. r=bernd,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199160 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 22:45:14 +00:00
bmlk%gmx.de
401ba8663c avoid memory leak on early return bug 333354 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198379 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 14:56:44 +00:00
roc+%cs.cmu.edu
235a92643c Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@195751 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 01:41:41 +00:00
roc+%cs.cmu.edu
c3298a777d Bug 334690. Fix regression in z-ordering of table cell content for event handling. r=bernd
git-svn-id: svn://10.0.0.236/trunk@195750 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 01:18:32 +00:00
roc+%cs.cmu.edu
cf55a52a05 Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd
git-svn-id: svn://10.0.0.236/trunk@195504 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:25:23 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
roc+%cs.cmu.edu
4fb2b61671 Bug 333481. Sort table-part event-handling display items to ensure that the table comes before all row-groups, which come before all rows, which come before all cells. r=bernd
git-svn-id: svn://10.0.0.236/trunk@194544 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:16:24 +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
bmlk%gmx.de
50b673d369 fix potential 0 deref bug 333351 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@194412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 16:21:21 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
bmlk%gmx.de
930d9dd0a4 prevent a second call to SetInitialChildList bug=333288 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193965 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-09 18:43:46 +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
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
sharparrow1%yahoo.com
4faf77261e Bug 331415: some printing code cleanup. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
bmlk%gmx.de
f6cc8c466d don't rely on the inner cell frame but catch events on the cell frame itself bug 326308 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@193174 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 04:33:34 +00:00