646 Commits

Author SHA1 Message Date
rjesup%wgate.com
8b0885ab65 bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102448 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:11:44 +00:00
waterson%netscape.com
43c613727c Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
karnaze%netscape.com
da886dbfef bug 85738 - added 3rd pass reflow for tables in pagination mode which specified heights. sr=attinasi, r=savulov
git-svn-id: svn://10.0.0.236/trunk@100549 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-08 01:13:35 +00:00
karnaze%netscape.com
c8111aa0b2 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.
git-svn-id: svn://10.0.0.236/trunk@100399 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:48:09 +00:00
karnaze%netscape.com
d73eed89ce 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.


git-svn-id: svn://10.0.0.236/trunk@100395 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 14:18:50 +00:00
karnaze%netscape.com
dc533afd4b 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
git-svn-id: svn://10.0.0.236/trunk@100393 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 13:58:46 +00:00
bernd.mielke%snafu.de
7d2575633c nsTableFrame code cleanup bug 89747 r =karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99166 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 05:53:09 +00:00
bernd.mielke%snafu.de
f4e86b65fe Paint table background also in quirks mode. bug 46268, patch by fantasai@escape.com
r=bernd sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@98405 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-01 16:40:56 +00:00
bernd.mielke%snafu.de
33eace628c fix table margins - remove redundancy in margin handling, bug 83786
r=karnaze sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@96517 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 07:35:03 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
karnaze%netscape.com
d94c44446b bug 74731 - remove extraneous cols at end of cell map rows, keep table cols and cell map cols in synch. sr=attinasi, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@95252 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 12:40:27 +00:00
karnaze%netscape.com
58efd0fb66 bug 55202 - honor height of cell, sr=attinasi, r=bernd.mielke@snafu.de
git-svn-id: svn://10.0.0.236/trunk@94889 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 14:28:00 +00:00
pierre%netscape.com
287fc1dc9e 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@93798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 13:20:48 +00:00
karnaze%netscape.com
2326effc92 bug 66804 - return correct desired height when splitting row group. sr=waterson, r=bernd.mielke@snafu.de.
git-svn-id: svn://10.0.0.236/trunk@92562 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 14:39:54 +00:00
rods%netscape.com
a74e78a562 Implements Print FrameAsIs and other frame printing options
Bug 7201 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@92091 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 13:04:29 +00:00
karnaze%netscape.com
ebc3209fe0 bug 61663 - repeat headers and footers on more than 2 pages. sr=attinasi, r=bernd.mielke@snafu.de.
git-svn-id: svn://10.0.0.236/trunk@91750 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 14:21:24 +00:00
karnaze%netscape.com
dc9119345d bug 57467 - print a new row on the current page if it will waste too much space otherwise. sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@91020 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 03:21:58 +00:00
karnaze%netscape.com
d685aa34f2 bug 73629 - adjust mComputedWidth of a table or caption if it's nested, larger than avail width, not initial reflow. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90685 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:19:31 +00:00
karnaze%netscape.com
da773f42f0 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
git-svn-id: svn://10.0.0.236/trunk@90393 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:06:08 +00:00
karnaze%netscape.com
633a8de707 bug 72181 - treat style change reflow like initial reflow (with same optimizations). sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90382 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 20:06:29 +00:00
karnaze%netscape.com
222cdae092 bug 72396 - fix CalcBorderBoxWidth to not use unconstrained width. Fix column balancing to be skipped when there is an unconstrained width. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90348 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 23:15:49 +00:00
karnaze%netscape.com
3a2764755a 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
git-svn-id: svn://10.0.0.236/trunk@90260 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:34:14 +00:00
karnaze%netscape.com
53705dbe6b bug 72554 - fix printing assertions, account for footer space when spliting row group and reflow footer. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90121 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:59:37 +00:00
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
karnaze%netscape.com
59ea97fc3a bug 71810 - don't have inline virtual methods. r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@89505 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 15:21:42 +00:00
karnaze%netscape.com
c76866e3ea table reflow coalescing, table reflow face lift. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
rods%netscape.com
793e57b78c Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89416 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:47:22 +00:00
blakeross%telocity.com
54c5fe9bac Table crash in webmail page (70072). r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88567 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 22:09:14 +00:00
rbs%maths.uq.edu.au
1a3029c4da Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87804 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:35:34 +00:00
pierre%netscape.com
8944a57fe0 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.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
karnaze%netscape.com
b45820e80c 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
git-svn-id: svn://10.0.0.236/trunk@86475 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:31:38 +00:00
karnaze%netscape.com
edb1ea12e8 more peformance work on test case of bug 60494. Removed redundant calls to recompute colspan widths. Added more debug reflow timing code. r=peterl.
git-svn-id: svn://10.0.0.236/trunk@85925 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 02:29:14 +00:00
karnaze%netscape.com
d95bd4f152 better table reflow debugging including support for elapsed time. sr=buster.
git-svn-id: svn://10.0.0.236/trunk@85493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:55:51 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
karnaze%netscape.com
a7ed9d39d0 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


git-svn-id: svn://10.0.0.236/trunk@84899 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:07:54 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
karnaze%netscape.com
40a59f1659 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


git-svn-id: svn://10.0.0.236/trunk@83859 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:29:46 +00:00
karnaze%netscape.com
0a9d87c0a3 bug 9848 - check for out of memory when calling new. r=dcone.
git-svn-id: svn://10.0.0.236/trunk@83133 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 15:53:55 +00:00
karnaze%netscape.com
7edb2f10f0 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
git-svn-id: svn://10.0.0.236/trunk@83080 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:30:09 +00:00
karnaze%netscape.com
ed4a9c12ea 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


git-svn-id: svn://10.0.0.236/trunk@82925 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:47:33 +00:00
karnaze%netscape.com
90f01b8db4 bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@82638 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 14:59:47 +00:00
karnaze%netscape.com
8e0ac00366 bug 53690 - don't allow a split row to reflow its cells unconstrained. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@82268 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 04:25:29 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
karnaze%netscape.com
f89c16b1b4 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.
git-svn-id: svn://10.0.0.236/trunk@80768 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:57:51 +00:00
karnaze%netscape.com
ed7846789e bug 53891 - strategy correctly calculates preferred width of a fixed width table. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80541 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 01:04:13 +00:00
karnaze%netscape.com
6d620a422b bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80527 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:49:25 +00:00
karnaze%netscape.com
a3eba992f1 bug 55192 - use the strategy of the first in flow when (incorrectly) getting an incremental reflow during printing. a=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@80473 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:07:00 +00:00
attinasi%netscape.com
b7188b65d1 Fixed null content causing assertion in ReResolveStyleContext. b=54454 r=karnaze@netscape.com, a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80377 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:22:46 +00:00