bmlk%gmx.de
3805fd77a5
initialize variables before use bug 365075 r/sr=bzbarsky
2006-12-27 08:46:30 +00:00
timeless%mozdev.org
abc256e3da
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
bmlk%gmx.de
973f09c535
be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc
2006-12-26 14:24:15 +00:00
bmlk%gmx.de
989e6aaa4e
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
2006-12-26 14:04:20 +00:00
bmlk%gmx.de
b5b53fe08c
add again bound checks that the BC code relies on. bug 364150 r/sr=bzbarsky
2006-12-26 13:55:32 +00:00
dbaron%dbaron.org
9f79c8e792
Untabify.
2006-12-25 19:44:34 +00:00
dbaron%dbaron.org
f45b3441d3
Fix shadowing variable name. No bug.
2006-12-18 22:35:01 +00:00
dbaron%dbaron.org
20530e94a7
Fix handling of columns in which no cell originates (i.e., unneeded extra colspan). b=363329 Patch from Bernd Mielke, bmlk%gmx.de, with review comments addressed by me. r+sr=dbaron
2006-12-18 22:34:30 +00:00
bzbarsky%mit.edu
9e1e591b3e
Remove some unused table code. Bug 359139, r=bernd, sr=roc
2006-12-18 03:04:25 +00:00
mats.palmgren%bredband.net
99350e86c9
Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
2006-12-17 14:06:42 +00:00
dbaron%dbaron.org
653551fc1e
Use unsigned value with 1-bit field width, per sicking's advice. No bug.
2006-12-16 02:11:38 +00:00
dbaron%dbaron.org
992a8cce12
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
2006-12-13 23:04:57 +00:00
dbaron%dbaron.org
c2e56399f8
Fix bustage. b=363524
2006-12-13 04:21:05 +00:00
dbaron%dbaron.org
8f2aec0600
Reflow all of the table structure (although not its descendants) when frame structure within the table is changed. b=363524 r=bernd sr=bzbarsky
2006-12-13 03:45:28 +00:00
bmlk%gmx.de
0e7b40f96c
report frames currently on the overflow list as frames on a additional childlist to get their views reparented if a frame higher in the tree needs to reparent the views bug 362724 r/sr=roc
2006-12-10 06:46:17 +00:00
dbaron%dbaron.org
2636aa4cc3
Fix bad interaction of colspan handling with AddMinCoord's magic to deal with specified coord widths. Substantive changes by bzbarsky, comments by me. r+sr=dbaron/bzbarsky b=363150
2006-12-09 05:38:19 +00:00
dbaron%dbaron.org
116da6be23
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.
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
12c0eca131
Fix build orange. Bug 356335, reviews hopefully coming up.
2006-12-07 03:43:52 +00:00
bzbarsky%mit.edu
5a2b07ecd7
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. :(
2006-12-07 02:53:35 +00:00
bzbarsky%mit.edu
26bb220fd9
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
2006-12-07 02:32:57 +00:00
bmlk%gmx.de
d422c26650
colframes are referenced via the firstinflow bug 362348 r/sr=roc
2006-12-02 06:52:55 +00:00
bmlk%gmx.de
d0b02fe51e
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
2006-11-11 13:38:09 +00:00
bmlk%gmx.de
2d34d177ce
mark only cells where the colspan/rowspan offset is != 0 as zero colspans/rowspans if those properties apply bug 358871 r/sr=bzbarsky
2006-11-01 18:45:41 +00:00
bmlk%gmx.de
6615af6be3
call the correct GetCellFrame function bug 358679 r/sr=bzbarsky
2006-10-30 19:21:05 +00:00
bmlk%gmx.de
941481a6e6
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
2006-10-28 10:14:43 +00:00
bmlk%gmx.de
ffb6d44aaa
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
2006-10-20 07:37:24 +00:00
roc+%cs.cmu.edu
e6d4454b29
Bug 241796. Fix comments and handle OOM in SetProperty. Followup to the real fix. r+sr=bzbarsky
2006-09-22 01:56:04 +00:00
bmlk%gmx.de
78a22533f3
mark for all reflows the rowgroup as incomplete if there are still nextinflows bug 347367 r/sr=roc
2006-09-21 09:55:07 +00:00
bzbarsky%mit.edu
29a9251e0b
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
2006-09-20 16:42:13 +00:00
roc+%cs.cmu.edu
66a430572a
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
2006-09-19 21:39:33 +00:00
bzbarsky%mit.edu
c3ff848eca
Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
2006-09-19 04:26:20 +00:00
bmlk%gmx.de
79d5c52b5c
enable old assert (from 2001) to catch cellmap errors, fix one erroneus caller bug 351691 r/sr=bzbarsky
2006-09-11 18:27:35 +00:00
bmlk%gmx.de
3deb00d066
recover more gracefully from a error condition where cells are inserted into the cellmap after the last column bug 351328 r/sr=bzbarsky
2006-09-11 18:18:08 +00:00
bmlk%gmx.de
c79cf9dc99
make sure the nextinflow will be pushed bug 347367 r/sr=roc
2006-09-02 09:14:02 +00:00
bmlk%gmx.de
e2f5d3cdfd
compute the BC information only if there are cells bug 350906 r/sr=bzbarsky
2006-09-02 08:48:39 +00:00
bmlk%gmx.de
5971c38cd9
expand zerospans before one tries to mark them as dead cells bug 350524 r/sr=bzbarsky
2006-09-02 08:33:52 +00:00
bmlk%gmx.de
266c17bc35
mark the whole table ofr bc recomputation if the rowgroups change bug 347796 r/sr=bzbarsky
2006-08-28 17:41:46 +00:00
bmlk%gmx.de
86aeccbf85
match the numer of columnss in the cellmap and the col cache bug 350081 r/sr=bzbarsky
2006-08-28 17:39:36 +00:00
bmlk%gmx.de
98fc3b730b
adjust col frames instead of asserting that the number of cols is wrong bug 347725 r/sr=bzbarsky
2006-08-22 06:08:15 +00:00
mats.palmgren%bredband.net
602cf781cd
Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc
2006-08-22 01:33:46 +00:00
leon.sha%sun.com
c291ceb936
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+
2006-08-07 11:03:43 +00:00
bmlk%gmx.de
785cd2f702
fix VC6 build bustage
2006-08-04 20:32:46 +00:00
bmlk%gmx.de
646bf6ad1d
take special care when tfoot are manipulated and the cellmap changes rather drastical bug 343087 r/sr=bzbarsky
2006-08-04 19:15:50 +00:00
uriber%gmail.com
8ceacf042e
Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc
2006-08-04 05:40:57 +00:00
bmlk%gmx.de
02c70a6b82
fix a coding error in the patch for bug 339246 bug 343588 r/sr=bzbarsky
2006-08-02 12:02:37 +00:00
bmlk%gmx.de
c2b31566c1
fix cellmap errors with the num of rows in the cellmap vs the num of rows in the content bug 344000 r/sr=bzbarsky
2006-08-02 11:57:48 +00:00
mats.palmgren%bredband.net
45df0fb8ff
[Debug only] Add nsTableCaptionFrame::GetFrameName() returning "Caption". b=343386 r+sr=bzbarsky
2006-07-20 08:50:26 +00:00
bmlk%gmx.de
158a644eb5
when we remove cells the number of columns in the cellmap may rise if rowspans are involved bug 343778 r/sr=bzbarsky
2006-07-19 19:21:50 +00:00
mats.palmgren%bredband.net
8936a2975f
Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
2006-06-29 02:32:36 +00:00
bmlk%gmx.de
49884c8cf4
reset row indices if rowgroups may have moved bug 342559 r/sr=bzbarsky
2006-06-28 19:00:01 +00:00
bmlk%gmx.de
c577944ee7
reset column info for all cellmaps if they need to be reset, bug 339246 r/sr=bzbarsky
2006-06-28 18:56:10 +00:00
bmlk%gmx.de
1bb0fa5a52
adjust the starting column index always if a entire colgroup needs adjusted colindices bug 339315 r/sr=bzbarsky
2006-06-24 05:42:38 +00:00
bmlk%gmx.de
d0918e8b8f
reorder cellmaps if the rowgroup order might have changed bug 339130 r7sr=bzbarsky
2006-06-22 04:19:36 +00:00
roc+%cs.cmu.edu
16b20e9c9f
Bug 338770. Don't even start trying to split a rowgroup in columns mode. r=bernd,sr=bzbarsky
2006-06-06 22:45:14 +00:00
bmlk%gmx.de
2bfd6870b7
avoid memory leak on early return bug 333354 r/sr=bzbarsky
2006-05-25 14:56:44 +00:00
roc+%cs.cmu.edu
784905b6cb
Fixing bustage
2006-05-01 01:41:41 +00:00
roc+%cs.cmu.edu
33f7a99240
Bug 334690. Fix regression in z-ordering of table cell content for event handling. r=bernd
2006-05-01 01:18:32 +00:00
roc+%cs.cmu.edu
8f5ecb14aa
Bug 334942. ExplodeAnonymousChildLists before sorting table parts. r=bernd
2006-04-27 02:25:23 +00:00
roc+%cs.cmu.edu
d4d6564919
Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
2006-04-26 02:01:07 +00:00
roc+%cs.cmu.edu
d29fd7c326
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
2006-04-17 22:16:24 +00:00
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
bmlk%gmx.de
397c641681
fix potential 0 deref bug 333351 r/sr=roc
2006-04-14 16:21:21 +00:00
roc+%cs.cmu.edu
64bd04b75c
Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
2006-04-10 00:16:29 +00:00
bmlk%gmx.de
0bc1da744f
prevent a second call to SetInitialChildList bug=333288 r/sr=bzbarsky
2006-04-09 18:43:46 +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
darin%meer.net
5521781301
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
sharparrow1%yahoo.com
7a3fdae812
Bug 331415: some printing code cleanup. r+sr=roc.
2006-03-30 00:27:42 +00:00
bmlk%gmx.de
b5c92a5a8e
don't rely on the inner cell frame but catch events on the cell frame itself bug 326308 r/sr=roc
2006-03-29 04:33:34 +00:00
roc+%cs.cmu.edu
dba51376ea
Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
2006-03-26 21:30:36 +00:00
bmlk%gmx.de
b284bc07d4
adjust start col index when looping over rtl colspans bug 331344 r/sr=roc
2006-03-26 15:58:34 +00:00
bmlk%gmx.de
1d2adbe0ad
insist on an inner table frame, resistance to any other childlist, bug 329768, r/sr=bzbarsky
2006-03-18 07:18:54 +00:00
pavlov%pavlov.net
f33ad65b06
backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
f4d2e578db
Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
b6cb8cbd08
Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
d0abdc1385
Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
2006-03-09 18:55:21 +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
bmlk%gmx.de
04ef8a4cf4
Make visibility:collapse work again after the display list change. Implement overflow handling and view synchronization for collapsed frames. bug 326551 r/sr=roc
2006-03-04 05:26:57 +00:00
timeless%mozdev.org
6a510cc56b
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
uriber%gmail.com
c3e489445d
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
2006-02-21 21:33:47 +00:00
bmlk%gmx.de
dc8a7ec7cd
don't shrink cells below borderpadding in fixed layout, bug 308019 r/sr=bzbarsky
2006-02-11 11:12:40 +00:00
bzbarsky%mit.edu
23ba870fb6
Fix leak bug 324969 -- make sure to call virtual destructors.
2006-01-29 18:48:58 +00:00
bmlk%gmx.de
20e5c81d87
reorder row groups to keep them in sync when the nextinflow changes underneath bug 302911 r/sr=roc
2006-01-28 06:14:11 +00:00
roc+%cs.cmu.edu
5451e97878
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
2006-01-26 02:29:17 +00:00
bmlk%gmx.de
1fcee566e4
error in the patch for bug 307367, spotted by jag
2006-01-21 10:14:38 +00:00
bmlk%gmx.de
943c51a3c1
use scaledpixels to convert from CSS pixels to realword pixels bug=307367 r/sr=roc
2006-01-21 09:54:07 +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
3b3794a26f
Do not prevent the creation of multiple captions, but display only the first one, bug 309322 r/sr=bzbarsky
2005-12-03 15:13:08 +00:00
bmlk%gmx.de
fe2daefc4e
fix for null pointer deref, only rowspans span into the row below. bug 316636 r/sr=bzbarsky
2005-11-28 19:29:26 +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
bsmedberg%covad.net
dff1dea638
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +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
roc+%cs.cmu.edu
c4070dec03
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
2005-11-04 02:38:33 +00:00
bmlk%gmx.de
0132b8476e
look for originating table cells only at places where they are supposed to be bug 313295 r/sr=bzbarsky
2005-10-29 13:45:38 +00:00
mrbkap%gmail.com
6fd92f873d
bug 314197: Change this often-firing table assertion into a warning. r=bernd sr=bzbarsky
2005-10-28 19:49:51 +00:00
mats.palmgren%bredband.net
88ce58936a
Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky
2005-10-17 00:03:05 +00:00
bmlk%gmx.de
531f4d65f8
handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron
2005-10-04 15:47:21 +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