Граф коммитов

423 Коммитов

Автор SHA1 Сообщение Дата
bmlk%gmx.de 00f2ea1ad8 build warning fix bug 198738 r/sr=bzbarsky 2003-04-05 15:36:31 +00:00
bmlk%gmx.de ebf5835d15 change table cell width to content width, bug 119100 r=jkeiser sr=bzbarsky 2003-03-21 19:35:36 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
dbaron%dbaron.org 57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
bernd.mielke%snafu.de d25b02bef7 split further fixed and percent row height calculation, bug 153995 patch by Rick.Ju@sun.com r=karnaze sr=bzbarsky 2003-01-05 14:16:58 +00:00
bernd.mielke%snafu.de 4abbad8856 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin 2002-11-08 05:29:34 +00:00
karnaze%netscape.com 1a767b2826 bug 165772 - rewrite of SplitSpanningCells and most of SplitRowGroup to better handle splitting of rowspan cells. sr=kin, r=alexsavulov 2002-10-03 14:33:23 +00:00
rbs%maths.uq.edu.au 6b2b7fd413 fix typo, b=40721, r=karnaze, sr=kin 2002-10-01 19:40:28 +00:00
karnaze%netscape.com 46e888130b bug 154780 - make the computed width for a cell unconstrained when the table will re-initialize or re-balance. a=rjesup, sr=kin, r=alexsavulov. 2002-09-09 18:46:06 +00:00
karnaze%netscape.com 0085190f4a bug 154780 - Revised bernd's patch. treat null unit margins as auto. leave the cell avail width at 0 if a strategy init will occur. sr=kin, r=alexsavulov. 2002-09-04 00:10:43 +00:00
karnaze%netscape.com 267c071408 bug 151230 - consider style width when calculating avail width for a cell only during initial reflow. sr=kin, r=alexsavulov 2002-06-14 14:21:03 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
waterson%netscape.com e3554c37cc Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
karnaze%netscape.com bb4247183f bug 141021 - skip row reflow optimization of cell when the cell hasn't had a pass2 reflow. sr=waterson, r=bernd. 2002-05-09 14:44:02 +00:00
joki%netscape.com af9379992c Fix for 93111, Make table row and col frame invalid as direct targets of mouseevents. Mouseevents on table should hit cells or the table itself instead. r:dbaron, sr:jst 2002-04-14 21:52:52 +00:00
karnaze%netscape.com 253add7dbb bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov. 2002-04-10 21:32:41 +00:00
attinasi%netscape.com 3dd4ebc58e stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr 2002-04-07 18:26:35 +00:00
karnaze%netscape.com 9acf51392f bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd. 2002-04-01 06:46:17 +00:00
karnaze%netscape.com 306b3b8eae bug 133756 - always return last height during special height reflow. a=roc+moz, sr=attinasi, r=alexsavulov 2002-03-31 17:44:57 +00:00
karnaze%netscape.com 5fd3b234da bug 123983 - set mIsTopOfPage in the reflow state, fix desired height in rows and row groups, clean up nsTableRowGroupFrame::SplitRowGroups and handle more cases of splitting/moving rows. a=roc+moz, sr=attinasi, r=alexsavulov 2002-03-27 05:50:24 +00:00
sicking%bigfoot.com 058a33eded Bug 41983: Make (x)html-elements support namespaced attributes.
r=heikki sr=jst a=roc+moz
2002-03-27 00:13:57 +00:00
karnaze%netscape.com a7ee794631 bug 126118 - remove code which tries to honor height of cell after it splits, get correct height on 3rd pass reflow. a=asa, sr=attinasi, r=alexsavulov. 2002-03-16 21:46:29 +00:00
karnaze%netscape.com cee69f0564 bug 120364 - remove framelist assertion; have table with height return correct desired height when row group splits. sr=attinasi, r=alexsavulov 2002-03-04 15:48:56 +00:00
karnaze%netscape.com 2017816095 bug 127040 - paint backgrounds in correct order when there are collapsed borders. sr=kin, r=dbaron, a=shaver 2002-02-26 00:27:42 +00:00
bernd.mielke%snafu.de 5701a854e8 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz
2002-02-21 05:36:16 +00:00
karnaze%netscape.com 679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
dcone%netscape.com f7e8a4bf6d b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off. 2002-02-15 14:48:12 +00:00
dbaron%fas.harvard.edu c9c0a97163 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
bernd.mielke%snafu.de 98b8d75589 bug 106966 more table frames will now be able to clip the overflow r=karnaze sr=attinasi 2001-12-09 05:39:45 +00:00
karnaze%netscape.com 748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
karnaze%netscape.com 3ed95c1e17 bug 51023 - reduce the size of table related frame classes. sr=kin. 2001-11-30 15:05:51 +00:00
karnaze%netscape.com ba626a4171 bug 111028 - better height calc for table elements when printing. r=rods, sr=none. 2001-11-29 15:41:07 +00:00
bernd.mielke%snafu.de 282ca7a23d fix a build warning (troy) r=karnaze sr=attinasi 2001-11-25 20:38:30 +00:00
karnaze%netscape.com aa8714b64e bug 80966 - calc row desired size when printing based on split height of cells. sr=attinasi, r=alexsavulov 2001-11-15 14:58:27 +00:00
karnaze%netscape.com 436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bernd.mielke%snafu.de e9fa6f71b3 style change reflows should be send down to the childrens, bug 108340, r=karnaze
sr=attinasi
2001-11-14 11:40:03 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
karnaze%netscape.com d98959d0cd bug 77982 - consider border/padding on a cell that goes from empty to non-empty during an incremental reflow. sr=attinasi, r=alexsavulov 2001-11-06 23:05:32 +00:00
karnaze%netscape.com 3aff0667ca additional patch for bug 97138 to cache pct height info on row and constrain sum of row height pcts <= 100. 2001-11-05 15:15:24 +00:00
karnaze%netscape.com 8d3c3ea8b9 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 e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
karnaze%netscape.com c37faec28a 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
karnaze%netscape.com 4d391277b8 bug 105268 - set NS_FRAME_OUTSIDE_CHILDREN on row when cells have rowspan>1 so that painting will not clip to row. sr=attinasi, r=alexsavulov 2001-10-22 22:21:19 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze%netscape.com a1eb90ee96 Fix bug "IFrames repositioned by whitespace in HTML" (no number yet) - give cols with no content 0 width unless they have style width, sr=kin, r=alexsavulov 2001-09-26 13:49:26 +00:00
karnaze%netscape.com e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
karnaze%netscape.com 8ddbf709a5 bug 78162 - don't optimize resize reflow on cell if its desired size exceeds its last avail size, sr=timeout, r=alexsavulov 2001-08-06 14:04:58 +00:00
karnaze%netscape.com 7e4eace0e9 bug 89116 - rebalance table on cell incremental reflow when maximum width changes. sr=attinasi, r=alexsavulov. 2001-07-13 23:49:30 +00:00
bernd.mielke%snafu.de 4cf0da7859 remove cellspacing from table row background, bug 86220 r=dbaron sr=attinasi sr=asa 2001-06-20 04:48:34 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
karnaze%netscape.com ce8ef82ad1 bug 59280 - better splitting of row groups/rows with rowspans. r=dcone. 2001-04-16 14:51:52 +00:00
karnaze%netscape.com 036af5b01b bug 57467 - print a new row on the current page if it will waste too much space otherwise. sr=attinasi. 2001-04-02 03:21:58 +00:00
karnaze%netscape.com 8752c7bd06 bug 72181 - treat style change reflow like initial reflow (with same optimizations). sr=attinasi 2001-03-25 20:06:29 +00:00
karnaze%netscape.com 8dbd4156be bug 72554 - fix printing assertions, account for footer space when spliting row group and reflow footer. sr=attinasi 2001-03-22 15:59:37 +00:00
timeless%mac.com e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
karnaze%netscape.com a81a269978 table reflow coalescing, table reflow face lift. sr=attinasi 2001-03-13 06:38:59 +00:00
rbs%maths.uq.edu.au da17b2181d Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson 2001-02-23 12:35:34 +00:00
pierre%netscape.com 9af01acf22 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
rods%netscape.com 99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
karnaze%netscape.com 623b6521ad better table reflow debugging including support for elapsed time. sr=buster. 2001-01-25 15:55:51 +00:00
mcafee%netscape.com 7ecf530933 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre%netscape.com 62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
karnaze%netscape.com 84a6a94d17 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 03bd50cb8d bug 57828 - better handling of nowrap in table cell. sr=buster, r=attinasi. 2001-01-11 23:03:37 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
karnaze%netscape.com 1f399362a9 bug 40721 - improved TallestCellGotShorter(), sr=buster, r=rods 2000-12-21 23:03:42 +00:00
karnaze%netscape.com 4d56bbda59 bug 40828 - call DidSetStyleContext when reflow a cell unconstrained. a=buster, r=dcone. 2000-11-15 16:01:26 +00:00
karnaze%netscape.com d44ea80115 bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi. 2000-11-15 14:59:47 +00:00
karnaze%netscape.com c355d8c8d2 bug 53690 - don't allow a split row to reflow its cells unconstrained. a=buster, r=dcone. 2000-11-03 04:25:29 +00:00
buster%netscape.com 03dcc4ede3 bug 53690 part of table never displayed because of incremental reflow bug
r=karnaze
a=waterson
2000-10-30 04:15:32 +00:00
warren%netscape.com cd56c0575b 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 9a6d92a433 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 67383808a6 bug 51392 - use nothing changed flag when deciding whether to rebalance table during row incremental reflow. a=buster, r=peterl 2000-10-05 21:05:06 +00:00
peterlubczynski%netscape.com 144fd4e5e9 Fix for bug 46368. Fixed cellMet.mMaximumWidth for incremental reflow. r=karnaze 2000-09-11 22:58:59 +00:00
karnaze%netscape.com 8da8501c34 bug 45350 - correctly consider rowspan height in table row incremental reflow 2000-09-05 14:57:34 +00:00
buster%netscape.com 2becb1fc67 bug 48295 (floating nested table height initially 0, makes layout wrong)
r=karnaze
values from the wrong struct were getting passed into SetTallestCell
2000-08-31 02:57:58 +00:00
buster%netscape.com dd3cd7990c bug 3992
chris k did the work.
r=buster
2000-08-24 05:03:18 +00:00
rbs%maths.uq.edu.au fc667ea4ee Enable the code to support for 'vertical-align: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:karnaze@netscape.com. 2000-07-28 09:19:26 +00:00
karnaze%netscape.com 93d58ddc9c bug 40721 - put back fix that was erroneously backed out. r=rods from before. 2000-07-06 13:58:54 +00:00
karnaze%netscape.com 2eed56703e bug 42726 - back out previous checkin. 2000-06-15 23:39:49 +00:00
karnaze%netscape.com 1d772d1ce2 bug 40721 - better in determining if height of a cell gets smaller during incremental reflow, r=rods 2000-06-15 14:31:12 +00:00
rbs%maths.uq.edu.au f522c03515 [#ifdef MOZ_MATHML: not yet part of default build]. Add support for 'vertical-align: baseline' in table-cells. bug 10207. r:karnaze@netscape.com. a:waterson@mozilla.org 2000-06-05 08:25:11 +00:00
alecf%netscape.com daadcd2c0d fix #ifdefs to quiet output (speeds up display of complex tables like tinderbox and slashdot.org) - does not affect release builds 2000-06-04 09:44:08 +00:00
karnaze%netscape.com 7aea563c64 nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi 2000-05-25 22:40:21 +00:00
karnaze%netscape.com a02cdba83c bug 37037, 37490, and a table paganation problem when captions are present. 2000-05-04 23:16:42 +00:00
karnaze%netscape.com 65511dc8d6 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
rods%netscape.com 87ca6a324b Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:36:33 +00:00
dbaron%fas.harvard.edu 87e19c9cef Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
pierre%netscape.com 4d43de09aa Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
karnaze%netscape.com 8b9dac0046 PDT+ bug 29429 - incremental reflow and nested tables, r=troy, a=rickg 2000-03-09 08:45:26 +00:00
hyatt%netscape.com da7d9353d6 Fix for 28856. r=karnaze,troy a=jar 2000-03-01 02:35:14 +00:00
jdunn%netscape.com 080142580c Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
karnaze%netscape.com 49f3412344 bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy 2000-02-12 01:55:40 +00:00
karnaze%netscape.com 2e709d5d79 bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
2000-02-12 00:58:38 +00:00
karnaze%netscape.com ad5fdfb2aa bug 7741 - handling of overlapping rowspans, r=troy. 2000-02-03 14:04:49 +00:00
karnaze%netscape.com 9caaf2af43 bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk. 2000-02-01 03:23:29 +00:00
karnaze%netscape.com bce1929fcf bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
troy%netscape.com 9877464fbe r=karnaze@netscape.com Removed some code that was removed but then added
again by mistake
2000-01-27 05:54:17 +00:00
troy%netscape.com 8a78d916a5 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
troy%netscape.com eb5888e444 b=21657. Changed row frame code to correctly determine if it's complete
after an incremental reflow. Fixes crash when printing www.cnn.com
2000-01-17 17:45:17 +00:00
karnaze%netscape.com 8a106ef33c 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 433f25e9a6 Removed some debug assertions that are no longer valid 2000-01-15 05:38:24 +00:00
karnaze%netscape.com d41822031d 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
troy%netscape.com 0cba827c69 b=23707. Made sure HR frame correctly computes max-element-size
when it has an 'auto' width
2000-01-12 04:52:19 +00:00
troy%netscape.com b5bd38b59c b=23239. Changed tables to incrementally update maximum width (natural width)
if requested. Now we only do a single reflow when processing table cell
incremental reflow instead of the three reflows we had to do before
2000-01-11 15:55:31 +00:00
karnaze%netscape.com 0fbc252ef9 bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property. 2000-01-02 22:55:48 +00:00
troy%netscape.com 138fa22a88 Work-in-progress for having maximum width (needed by tables) be updated
incrementally
1999-12-30 04:15:45 +00:00
troy%netscape.com b3f6ab293f Reduced size of table cell member data by 4 bytes by only storing the
maximum width and not both the width and height. The height was never used
so this wans't an issue
1999-12-24 03:46:21 +00:00
karnaze%netscape.com 2eb4655c2e incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
hyatt%netscape.com de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
troy%netscape.com 8bc52f9fe2 b=20367, r=jinjin@pacbell.net. Changed ResizeReflow() so that if we skip
reflowing the table cell (that's an optimization we do) we make sure and
position any child views
1999-12-02 01:02:53 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
troy%netscape.com 597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy%netscape.com 1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com d3fa427eb2 Space reduction. We now save 8 bytes per row frame by eliminating the max
top/bottom margin data members which are no longer needed
1999-10-29 14:40:58 +00:00
troy%netscape.com 87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com eab55ba562 Quieted down some debug noise and added a missing newline to a printf 1999-10-25 23:02:43 +00:00
troy%netscape.com e828d1c0f3 Space reductions for nsTableRowFrame. Changed mInitializedChildren to be a
frame state bit, and changed mMinRowSpan and mRowIndex to be packed into
one 32-bit field. Total savings of 8 bytes per row frame
1999-10-23 23:08:30 +00:00
karnaze%netscape.com a196cb1d40 bug 11321 - Renamed kidMaxElementSize to localKidMaxElementSize and renamed pKidMaxElementSize to kidMaxElementSize and fixed the incorrect usage. 1999-10-17 03:17:53 +00:00
troy%netscape.com d6fe7542eb Space optimization for nsTableFrame. r=karnaze@netscape.com
- changed mBorderEdges to be heap allocated (only needed for collapsing border model)
- made the 8 boolean data members into bitfields
- changed mColumnWidths to be as small as necessary instead of defaulting its size to 100 elements
1999-10-04 23:48:05 +00:00
troy%netscape.com 1be0909b54 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
troy%netscape.com c35856b144 Eliminated compiler warnings 1999-09-08 20:29:56 +00:00
kipp%netscape.com 7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
troy%netscape.com a7a27982af Changing tables to return max element size during an incremental reflow 1999-08-30 22:30:32 +00:00
hyatt%netscape.com 415182cc05 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
troy%netscape.com 20364c9f5a Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame
1999-08-29 04:18:00 +00:00
hyatt%netscape.com dc1ee7e3f6 Tweaks to be able to see the RowReflowState over in trees 1999-08-28 00:43:53 +00:00
karnaze%netscape.com 7dddc57925 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00
karnaze%netscape.com b8e618df7b replaced debug flags with class. removed compiler warnings. 1999-08-24 12:01:31 +00:00
troy%netscape.com e36f66a90d Minor cleanup 1999-08-21 21:24:42 +00:00
troy%netscape.com eda8afb2b6 Optimized incremental reflow and split some code out into member functions
so there's less dusplication of code
1999-08-21 20:16:32 +00:00
karnaze%netscape.com 6eb1c1889b bug 11944 - correct placement of row group using table border/padding. bug 625 - reinitialized col sizes before 2nd pass 1 reflow. 1999-08-21 06:38:07 +00:00
brade%netscape.com 192c3f9be8 remove mac compiler warning 1999-08-20 13:32:23 +00:00
karnaze%netscape.com 7bad0d49ba 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
troy%netscape.com f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
karnaze%netscape.com dbce38c94b bug 3517.
Always get border-collapse from nsTableFrame::GetBorderCollapseStyle.
Added several null checks for border edges.
Added check in nsTableFrame::DidComputeHorizontal to replace null edges with trival ones.
1999-08-10 00:49:10 +00:00
troy%netscape.com 6b325a5196 Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames
1999-08-07 15:12:50 +00:00
troy%netscape.com 309e9a0b12 Fix for bug #11393 1999-08-07 00:31:02 +00:00
troy%netscape.com c166a9097c Changed to new command reflow handling 1999-08-03 02:41:27 +00:00
troy%netscape.com 67534a54ff Work-in-progress for table handling of reflow commands 1999-08-01 22:01:37 +00:00
karnaze%netscape.com a7c118ae48 bug 10809, incremental reflow of nested tables now reflows children. 1999-07-29 23:19:52 +00:00
karnaze%netscape.com a88b1a3f85 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
troy%netscape.com 7a5e4dbdb5 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
mjudge%netscape.com 225111bf33 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
karnaze%netscape.com a4f30df4ac bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame 1999-06-10 02:29:34 +00:00