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

593 Коммитов

Автор SHA1 Сообщение Дата
karnaze%netscape.com 7812f3128c bug 89452 - added flag to indicate a row was inserted. Invalidate the area from that row to end of table if full reflow is not needed, sr=attinasi, r=alexsavulov. 2001-08-06 14:48:09 +00:00
karnaze%netscape.com 0a1340f34e bug 91934 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix.
bug 92647 incorrectly had this description (it should have said - correct calculate preferred table widths and cache the value). sr=attinasi, r=alexsavulov.
2001-08-06 14:18:50 +00:00
karnaze%netscape.com fdffb84507 bug 92647 - Added static UpdateCol and call it when a cell changes width even though a rebalance is not needed. Stopped storing fix width in col as max of min and fix. sr=attinasi, r=alexsavulov 2001-08-06 13:58:46 +00:00
bernd.mielke%snafu.de 6fcb747ea2 nsTableFrame code cleanup bug 89747 r =karnaze sr=attinasi 2001-07-13 05:53:09 +00:00
bernd.mielke%snafu.de f2f47a832e Paint table background also in quirks mode. bug 46268, patch by fantasai@escape.com
r=bernd sr=attinasi
2001-07-01 16:40:56 +00:00
bernd.mielke%snafu.de 8052df4516 fix table margins - remove redundancy in margin handling, bug 83786
r=karnaze sr=attinasi a=dbaron
2001-06-06 07:35:03 +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 9b29d03daf bug 74731 - remove extraneous cols at end of cell map rows, keep table cols and cell map cols in synch. sr=attinasi, r=cmanske 2001-05-17 12:40:27 +00:00
karnaze%netscape.com 2f821884d3 bug 55202 - honor height of cell, sr=attinasi, r=bernd.mielke@snafu.de 2001-05-14 14:28:00 +00:00
pierre%netscape.com 08aac85e54 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson. 2001-05-03 13:20:48 +00:00
karnaze%netscape.com fc4332dbf8 bug 66804 - return correct desired height when splitting row group. sr=waterson, r=bernd.mielke@snafu.de. 2001-04-17 14:39:54 +00:00
rods%netscape.com be33a15835 Implements Print FrameAsIs and other frame printing options
Bug 7201 r=dcone sr=attinasi
2001-04-12 13:04:29 +00:00
karnaze%netscape.com 1642ac06f0 bug 61663 - repeat headers and footers on more than 2 pages. sr=attinasi, r=bernd.mielke@snafu.de. 2001-04-09 14:21:24 +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 d1cda12bca bug 73629 - adjust mComputedWidth of a table or caption if it's nested, larger than avail width, not initial reflow. sr=attinasi 2001-03-28 21:19:31 +00:00
karnaze%netscape.com 1b04939e6f bug 45055 - align row heights on pixel boundaries when distributing extra space vertically. Work around block bug by rounding cells to even pixel boundary. sr=attinasi, r=bernd.mielke@snafu.de 2001-03-25 23:06:08 +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 160b0d5110 bug 72396 - fix CalcBorderBoxWidth to not use unconstrained width. Fix column balancing to be skipped when there is an unconstrained width. sr=attinasi 2001-03-24 23:15:49 +00:00
karnaze%netscape.com c04d324bf1 bug 72393 - correctly determine col min/max when cell changes size during incremental reflow and a strategy re-init is not needed. sr=attinasi, r=bernd.mielke@snafu.de 2001-03-23 15:34:14 +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 563d0a66cb bug 71810 - don't have inline virtual methods. r=karnaze. 2001-03-13 15:21:42 +00:00
karnaze%netscape.com a81a269978 table reflow coalescing, table reflow face lift. sr=attinasi 2001-03-13 06:38:59 +00:00
rods%netscape.com f225ff8a67 Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
blakeross%telocity.com e821bffdf9 Table crash in webmail page (70072). r=karnaze sr=attinasi 2001-03-05 22:09:14 +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
karnaze%netscape.com 3540f6b858 bug 67861 - don't rebalance table to calculate max width; cache last available width in outer table; improved debug reflow timing; sr=attinasi, r=peterl 2001-02-07 04:31:38 +00:00
karnaze%netscape.com db74b1ba8a more peformance work on test case of bug 60494. Removed redundant calls to recompute colspan widths. Added more debug reflow timing code. r=peterl. 2001-02-01 02:29:14 +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
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 164543525f bugs 47163, 60807 and others, sr=buster
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned
2000-12-19 20:29:46 +00:00
karnaze%netscape.com 110acb9a75 bug 9848 - check for out of memory when calling new. r=dcone. 2000-11-30 15:53:55 +00:00
karnaze%netscape.com 667b9b772d bug 55545 - set the table preferred width during an unconstrained reflow. Return the preferred width as the maximum width when requested in the outer table reflow. a=buster, r=dcone 2000-11-29 22:30:09 +00:00
karnaze%netscape.com b66f36dbfe bug 56563 - frame constructor creates anonymous frames when a table has a child which is not table related.
ConstructFrameByTag takes additional arg indicating that a whitespace frame was not constructed. sr=buster, r=attinasi
2000-11-27 22:47:33 +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
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 0f506fd568 bug 55192 (2nd part) - During a table reflow, consider row groups that may have been deleted because they were next flows and placed in the sibling chain. a=buster, r=dcone. 2000-10-09 23:57:51 +00:00
karnaze%netscape.com 4162100725 bug 53891 - strategy correctly calculates preferred width of a fixed width table. a=buster, r=dcone. 2000-10-06 01:04:13 +00:00
karnaze%netscape.com c8ba15ed54 bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone. 2000-10-05 23:49:25 +00:00
karnaze%netscape.com 9e8ccf4889 bug 55192 - use the strategy of the first in flow when (incorrectly) getting an incremental reflow during printing. a=buster, r=peterl 2000-10-05 21:07:00 +00:00
attinasi%netscape.com 93bf8b9502 Fixed null content causing assertion in ReResolveStyleContext. b=54454 r=karnaze@netscape.com, a=buster@netscape.com 2000-10-04 22:22:46 +00:00
karnaze%netscape.com b5a6f2a36c bug 30418, 47252 - order row groups before performing most operations. r=attinasi. 2000-09-14 06:49:47 +00:00
attinasi%netscape.com b96825ada0 Implemented GetParentContextProvider for the table frames to allow them to specify a frame other than their parent as the provider of their parent style context. b=45210 r=karnaze 2000-09-12 22:48:35 +00:00
karnaze%netscape.com 08e46efc4c bug 39209 - don't use auto margins for max element size and maximum widths (when requested
during an incremntal reflow).
2000-09-11 00:02:04 +00:00
karnaze%netscape.com e7cf1bf7e1 bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned. 2000-09-09 01:46:44 +00:00
karnaze%netscape.com ca6ca2bb08 bug 27529 - round column allocations to even pixel value. bug 18955 - don't allocate a col based on desired content if there is a fixed value. r=peterl. 2000-09-01 01:29:50 +00:00
karnaze%netscape.com 6aa819edb3 bug 43732 - correctly calculate preferred width of table and cache it. r=syd. 2000-07-06 13:37:28 +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
anthonyd%netscape.com e8ceb8ee1b r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
karnaze%netscape.com 2005083629 bug 29459 - strategy's table min and max width is calculated to include
percent and proportional cells. Stopped caching it. Calculate max element size better.
2000-05-10 00:54:00 +00:00
karnaze%netscape.com 56207eb311 bug 32471 - incremental reflow considers edge cellspacing when setting desired height
bug 37508 - get the row grp frame when there is a scrolling row grp
2000-05-08 21:39:35 +00:00
attinasi%netscape.com e6aca4fe1b Put checks for quirk mode before painting table background back in. Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). 2000-05-04 21:39:14 +00:00
karnaze%netscape.com 6e6baf6140 bug 37791 - calculate auto margins during an incremental reflow. 2000-05-04 14:49:35 +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
attinasi%netscape.com 5a97ca8cc7 Made table backgrounds draw in NavQuirks as well as Standard mode. r=karnaze b=34838 2000-04-28 20:40:17 +00:00
rods%netscape.com 87ca6a324b Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:36:33 +00:00
jim_nance%yahoo.com dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
cmanske%netscape.com e7d0908c04 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze. 2000-03-23 04:24:58 +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
troy%netscape.com 4f7d1e3f2a b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange
2000-03-15 15:16:03 +00:00
karnaze%netscape.com 7bdd4c903b PDT+ bug 30559 - incorrect inclusion of table margin when placing row group. r=buster, a=rickg. 2000-03-14 14:42:25 +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
karnaze%netscape.com f9cba72cb7 PDT+ bug 27124 - correctly handle child frames that are not row groups. r=troy, a=rickg 2000-02-27 22:36:42 +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
troy%netscape.com d6fafd305f r=karnaze@netscape.com Performance improvement for tables. During the initial
reflow we skip the pass2 reflow if it's an unconstrained reflow
2000-02-11 03:55:33 +00:00
pp%ludusdesign.com 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
cmanske%netscape.com 85789e20af Part of composer table edit work (bug 20973): Return NS_TABLELAYOUT_CELL_NOT_FOUND instead of error when a cell isn't found at a cellmap location. r=mjudge. 2000-02-01 23:39:37 +00:00
troy%netscape.com 2548316662 b=25834 r=karnaze@netscape.com Changed to ignore the reflow status when
reflowing an unknown frame (i.e., a frame that isn't a row group)
2000-02-01 04:30:04 +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 4f738fb73f r=nisheeth@netscape.com Added asserts to help catch the case of poorly
targeted reflow commands
2000-01-26 22:11:47 +00:00
cmanske%netscape.com acb4eb592c Table editing (bug 20973): return reported and actual rowspan and colspan values from GetCellDataAt(), r=karnaze 2000-01-26 14:56:06 +00:00
troy%netscape.com 29bea1bf5f b=22325. When resizing the row groups and rows because the table has an
explict height, we need to make sure any child views are re-positioned.
This doesn't solve the flicker problem but now edit fields are all in
the right place, and it's good enough that Buster can do his clothes
shoping
2000-01-25 03:11:24 +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
hyatt%netscape.com 135d0fa99d Fixing tree regression from a table checkin. 2000-01-17 01:10:41 +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
hyatt%netscape.com a240c99015 Fix for chinatimes/tinderbox crasher. r=karnaze 2000-01-13 20:22:19 +00:00
troy%netscape.com f632faa745 b=22937, r=karnaze@netscape.com Fixed problem in paginated reflow 2000-01-13 15:47:58 +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 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 aebdc7d5fe bug 22246 - row/col span changes on cell alter cell map and reflow table. r=kmcclusk 2000-01-04 05:31:56 +00:00
karnaze%netscape.com 5cb57b00e7 fixed tinderbox warnings 2000-01-03 00:56:12 +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
sspitzer%netscape.com f37e107774 fix warnings 1999-12-28 19:41:57 +00:00
karnaze%netscape.com 67b6e72f15 bug 21918 typo in calling InsertRowGroups, r=sdagley,syd 1999-12-17 06:52:37 +00:00
karnaze%netscape.com 23e53aa589 bug 21143/21765, collapsed rows/cols not displayng when expanded. 1999-12-16 06:29:50 +00:00
karnaze%netscape.com 1949a7d733 removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt 1999-12-16 01:51:06 +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
evaughan%netscape.com 29c18fc081 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +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
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
karnaze%netscape.com 8811cf8314 put back to rev 3.340 due to mail/news regressions. 1999-11-11 18:22:57 +00:00
karnaze%netscape.com 9ae168b719 fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated. 1999-11-11 05:43:35 +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
karnaze%netscape.com 2018136f30 crash on abc - calls EnsureColumns upon entering reflow if appropriate 1999-11-05 22:33:04 +00:00
karnaze%netscape.com 4f2e6f666e ComputeDesiredHeight - removed potential error if first child is not a row group. 1999-11-02 15:41:38 +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 a12c3d6c5d Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
karnaze%netscape.com 57dc1ce399 simplified caching of column frames. split out collapsing border processing into nsBorderCollapser (checked in previously). r=troy 1999-10-28 04:09:39 +00:00
kipp%netscape.com 860e890d75 Backed out chris's accidental checkin (don't ask) 1999-10-27 15:57:35 +00:00
karnaze%netscape.com ca0b2282bd hello 1999-10-27 15:55:31 +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 8f4ae7163a Removed some more warnings 1999-10-22 14:51:41 +00:00
troy%netscape.com 5d86678e7b r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
troy%netscape.com 0959b411de r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
karnaze%netscape.com 60c25e67d8 bug 14915 - fix crash. 1999-10-21 00:11:55 +00:00
karnaze%netscape.com 886b682461 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy 1999-10-20 14:18:56 +00:00
troy%netscape.com 502629f011 r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
karnaze%netscape.com bb627081c7 pass2 reflow doesn't request max element sizes to help with bug 14855. Reviewers didn't respond. 1999-10-15 04:09:22 +00:00
troy%netscape.com 416156109c Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size
1999-10-14 04:27:01 +00:00
troy%netscape.com 01052d5667 Changes to SizeOf() code only. This code is debug code that only runs
when you chose the "Show Frame Sizes" menu item...
1999-10-08 23:18:19 +00:00
slamm%netscape.com 26d787fa8c Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson. 1999-10-08 18:52:19 +00:00
troy%netscape.com f8ffb47533 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00
troy%netscape.com f6340feb91 Space reductions, r=karnaze@netscape.com
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)
1999-10-07 20:38:50 +00:00
karnaze%netscape.com 64e6c05cf3 fixed assertion in viewer sample 4. AdjustForCollapsingCols was incorrectly counting as columns frames which were not of display type NS_STYLE_DISPLAY_TABLE_COLUMN and something must have changed elsewhere to tickle this. 1999-10-06 03:59:07 +00:00
troy%netscape.com 05b9f1f4ff Checked in workaround for tree-view/apprunner problem of assert in GetColumnWidth() 1999-10-05 02:41:36 +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
mjudge%netscape.com 1e48363fd7 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
mjudge%netscape.com 01ca453e83 adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different. 1999-09-17 23:33:39 +00:00
kipp%netscape.com d63ca4aef1 Squish a warning or two 1999-09-17 20:16:37 +00:00
karnaze%netscape.com d7814e1c8e bug 13135, removed unused code 1999-09-14 01:27:40 +00:00
troy%netscape.com 19fc1e01af Added support for incremental table painting 1999-09-13 03:19:39 +00:00
karnaze%netscape.com c3359c61d4 fixed bug in debug output for reflow 1999-09-10 13:03:32 +00:00
karnaze%netscape.com 5b0679f4bf bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption. 1999-09-02 00:07:14 +00:00
mjudge%netscape.com 9c8fd6ae78 getting rid of build warnings 1999-09-01 21:37:32 +00:00
troy%netscape.com 7492fe49f2 Added definition for RowHasSpanningCells() 1999-09-01 04:36:47 +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
troy%netscape.com 33c2ac2603 Changed ReflowMappedChildren() to reset max element size to 0 for an
incremental reflow
1999-08-31 05:55:33 +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
karnaze%netscape.com 711879206c bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified. 1999-08-27 21:15:21 +00:00
karnaze%netscape.com 9d31e7c8a1 bug 12590 - vertical-align:middle working on cell 1999-08-27 04:29:05 +00:00
karnaze%netscape.com a6cc89fba6 backing out recent changes that failed table regression tests 1999-08-26 16:56:42 +00:00
hyatt%netscape.com 229e5bf222 Fix for bug 12887. 1999-08-26 10:23:49 +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
karnaze%netscape.com b22eea9c74 bugs 9123, 10002 - percentage height tables exclude margin/border/padding of HTML and BODY 1999-08-24 04:17:05 +00:00
hyatt%netscape.com 828c4338ed Patching a function used only by the tree code. 1999-08-22 09:50:22 +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
karnaze%netscape.com cb3ff2b8d2 bug 11944 - row group is properly offset using table border. cleaned up new incremental reflow methods. 1999-08-20 23:27:54 +00:00
troy%netscape.com c36fb58fe5 Added invalidate of the cell map as well, since we don't know what has changed 1999-08-19 22:22:52 +00:00
troy%netscape.com f3a9f0e862 Changed to handle "ReflowDirty" reflow command 1999-08-19 20:05:27 +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 c3c7c48b80 For crash in bug 10296 - Removed assertion that nsTableFrame::GetColumnFrame must find a non null frame.
Added check for null when calling it in a situation where it can return null.
1999-08-10 18:15:46 +00:00
karnaze%netscape.com c598fc57e3 added constructor to nsTableColGroupFrame, fixed a few places where
nsColGroupFrame assummed its children were nsColGroupFrames.
1999-08-10 02:45:18 +00:00
karnaze%netscape.com ab2df8841f removed some unneeded comments 1999-08-10 01:14:24 +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
buster%netscape.com 334db030c0 fixed a memory leak, and a null pointer dereference, having to do with collapsing borders 1999-08-07 05:40:09 +00:00
karnaze%netscape.com 639f283b06 Always reflow's children for pass1 when reflowed with NS_UNCONSTRAINEDSIZE 1999-08-03 23:20:06 +00:00
troy%netscape.com d336a71fd6 Changed NeedsReflow() to take into account whether we need a pass-1 reflow
and whether the cached column info and cell map are valid when deciding
whether we need a full reflow
1999-08-03 14:26:00 +00:00
cmanske%netscape.com 982414f786 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted. 1999-08-01 18:26:45 +00:00
cmanske%netscape.com 5a6781c3b8 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods 1999-08-01 16:20:14 +00:00
cmanske%netscape.com ea35220527 Added logic to find cells occupying the 'holes' in the cellmap where colspan and/or rowspan cell extend 1999-08-01 05:19:47 +00:00
cmanske%netscape.com 84818eab63 Added checking for trying to get cell data when index(es) are out of bounds 1999-07-31 23:05:11 +00:00
cmanske%netscape.com 2781d6d9a2 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
karnaze%netscape.com a7c118ae48 bug 10809, incremental reflow of nested tables now reflows children. 1999-07-29 23:19:52 +00:00
hyatt%netscape.com db8e45c216 Fixing karnaze's bustage. 1999-07-28 08:55:41 +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
troy%netscape.com c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
troy%netscape.com 155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
troy%netscape.com 190597c08b As step #1 in incremental painting I changed Reflow() to invalidate the
entire bounds after an incremental reflow. The table should be smarter about
how much it invalidates, but this is necessary for the time being because the
area frame no longer invalidates everything
1999-07-14 15:21:52 +00:00
hyatt%netscape.com 9af43ac043 Batching removal and making sure I get notified (in an attempt to fix some
of the out of sync problems the tree widget is having).
1999-07-10 01:10:40 +00:00
sspitzer%netscape.com 1bf149f289 set deleted pointers to nsnull. just to be safe. r=hyatt 1999-07-01 07:12:46 +00:00
buster%netscape.com 481008636f fixed warnings 1999-06-28 13:44:40 +00:00
hyatt%netscape.com 37db4271b6 More savory tree widget goodness. 1999-06-23 09:07:59 +00:00
hyatt%netscape.com b66c3c67f2 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
hyatt%netscape.com 5f6e627b54 Fixing a bug in the distribution of excess space to multiple row groups. 1999-06-15 07:06:55 +00:00
hyatt%netscape.com 000e6b29df Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH). 1999-06-15 01:19:18 +00:00
hyatt%netscape.com 0208e24dac More nested row group work. 1999-06-14 23:45:14 +00:00
hyatt%netscape.com eb46905ff2 More nested row group changes. 1999-06-14 23:42:16 +00:00
hyatt%netscape.com 815e81f837 More nested row group work. 1999-06-14 08:22:47 +00:00
hyatt%netscape.com 16d4e11bdf More changes to allow tables to support nested row groups. 1999-06-14 08:01:00 +00:00
karnaze%netscape.com a4f30df4ac bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame 1999-06-10 02:29:34 +00:00
karnaze%netscape.com 1036c9827e support for backgrounds on table elements in both compatibility modes 1999-06-07 21:10:25 +00:00
karnaze%netscape.com 1046000459 bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths 1999-06-03 02:42:33 +00:00
mjudge%netscape.com 864e061209 new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
karnaze%netscape.com 94ebf57b47 Rewrote DistributeRemainingSpace a 2nd time and added compat mode.
bug 6068, 6933. nsTableRowGroupFrame::CalculateRowHeights - changed row spans to consider
top and bottom margins during height calculations. Calculations using percentages ensure that the sum of
rows sum exactly to excess.

bug 6404 BasicTableLayoutStrategy::BalanceColumnsConstrained cols in span other than 1st col was
not getting additional allocations from cell. ::DistributeRemainSpace uses max width of col
instead of max effective width. Also added checks for negative value during percentage calculations.
1999-05-26 22:22:23 +00:00
mjudge%netscape.com 4bff71e096 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
karnaze%netscape.com ebeb68d601 support for css padding in table cells 1999-05-18 05:18:16 +00:00
karnaze%netscape.com 3682dbd1e4 bug 2961 - table desired size considers pass1 size 1999-05-12 04:15:44 +00:00
kipp%netscape.com 4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
karnaze%netscape.com 623aa79134 bug 3103 - resizing table based on height attribute now considers row spans of cells. 1999-05-04 19:15:56 +00:00
karnaze%netscape.com b32fa94515 support for right-to-left direction 1999-04-22 03:51:58 +00:00
troy%netscape.com 1aafacf365 Changed table code to call ReparentFrameView() when pushing/pulling frames 1999-04-13 02:38:09 +00:00
troy%netscape.com 68629094d7 Removed Join() function from nsFrameList, because we already has a version
of AppendFrames() that did the same exact thing
1999-04-13 00:06:17 +00:00