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
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
bernd.mielke%snafu.de
a7ee7087cd
fix regression - bug 42443, overspecified columns should distribute their
...
space only to well behaving columns, r= karnaze sr= attinasi
git-svn-id: svn://10.0.0.236/trunk@89447 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 05:10:17 +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
81a3ff9143
bug 65750 - fix error with negative numerator in colspan calculations. sr=none, r=bernd.mielke.snafu.de.
...
git-svn-id: svn://10.0.0.236/trunk@85735 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:00:44 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
karnaze%netscape.com
d3c1d01164
bug 63445 - initialized array of float values. r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@84904 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 00:26:01 +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
karnaze%netscape.com
56d0a07733
bug 42443 - consider over specified col spans when allocating array, sr=buster
...
git-svn-id: svn://10.0.0.236/trunk@83967 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:06:44 +00:00
karnaze%netscape.com
dc562ca5cb
fix mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@83863 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:16:41 +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
b405145196
bug 29058 (slightly revised patch submitted by bernd.mielke@snafu.de) r=karnaze (previously sr=waterson).
...
git-svn-id: svn://10.0.0.236/trunk@83159 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:45:48 +00:00
karnaze%netscape.com
6d3930718f
bug 42033 (patch submitted by bernd.mielke@snafu.de) - give 0 proportional cols their min width. sr=waterson, r=karnaze.
...
git-svn-id: svn://10.0.0.236/trunk@83147 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:44:59 +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
4c98bd1dc4
bug 35662 - when computing an artifical auto table width for % cells, count only the max contributor in each col. sr=waterson, r=peterl
...
bug 29058 (patch submitted by bernd.mielke@snafu.de ) - consider proportional widths in avail totals. sr=waterson, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@83071 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:48:56 +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
5c86c865cd
bug 56024 - if there is no desired content width for a col, don't include the min content in totals. a=buster, r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@81100 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:57:02 +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
2492434d68
bug 19961 - in standard mode, honor fixed cols and give remaining space to auto cols if there are any. a=buster, r=dcone
...
git-svn-id: svn://10.0.0.236/trunk@80470 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:01:10 +00:00
karnaze%netscape.com
347661a45d
bug 51727 - rebalance table cols when fixed cell gets smaller and was the contributor of the previous col width. r=rods.
...
git-svn-id: svn://10.0.0.236/trunk@78873 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:24:35 +00:00
karnaze%netscape.com
0841e82221
bug 19961 (partial) - in standard mode, give last remaining space to auto cols if there are any.
...
git-svn-id: svn://10.0.0.236/trunk@78712 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:14:02 +00:00
karnaze%netscape.com
3a14935f89
bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
...
git-svn-id: svn://10.0.0.236/trunk@78566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:46:44 +00:00
karnaze%netscape.com
36ea06ba2f
bug 33137 - don't use the min width of a cell which is larger than the fixed width of the cell as the basis of the fixed width contributor. r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@78419 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:55:03 +00:00
karnaze%netscape.com
ba59a76950
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.
...
git-svn-id: svn://10.0.0.236/trunk@77825 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:29:50 +00:00
karnaze%netscape.com
06430e799c
nsbeta2+ bug 23345 - layout strategy bases percent over-allocations on style percent values rather than computed values. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@70938 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:13:01 +00:00
karnaze%netscape.com
8cc9e6956a
nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@70866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:40:21 +00:00
karnaze%netscape.com
1979c23f3b
bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
...
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.
git-svn-id: svn://10.0.0.236/trunk@70140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:55:34 +00:00
karnaze%netscape.com
f1700ddd48
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.
git-svn-id: svn://10.0.0.236/trunk@68947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:54:00 +00:00
karnaze%netscape.com
19635b17c5
bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy
...
git-svn-id: svn://10.0.0.236/trunk@60564 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 01:55:40 +00:00
karnaze%netscape.com
d05a3a002f
bug 18770, no percent calcs on unconstrained width, better allocation to cols.
...
git-svn-id: svn://10.0.0.236/trunk@60237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 14:22:00 +00:00
karnaze%netscape.com
33c20babf3
bug 17826, removed buggy/unnecessary RecomputeAdjustedMinIfNecessary, r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@59448 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:48:30 +00:00
karnaze%netscape.com
28c87201ae
bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk.
...
git-svn-id: svn://10.0.0.236/trunk@59353 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 03:23:29 +00:00
troy%netscape.com
60471abd92
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
karnaze%netscape.com
b431334299
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.
git-svn-id: svn://10.0.0.236/trunk@57952 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 20:10:00 +00:00
troy%netscape.com
4e81ba6679
b=20772. Changed ColumnsAreValidFor() so that it correctly handles the case
...
where the cell's desired width shrinks
git-svn-id: svn://10.0.0.236/trunk@57573 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:53:55 +00:00
karnaze%netscape.com
0fb9049272
fixed tinderbox warnings
...
git-svn-id: svn://10.0.0.236/trunk@56650 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 00:56:12 +00:00
karnaze%netscape.com
619f9e6d57
bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
...
git-svn-id: svn://10.0.0.236/trunk@56648 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-02 22:55:48 +00:00
troy%netscape.com
06d04c2e58
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
git-svn-id: svn://10.0.0.236/trunk@56529 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 03:46:21 +00:00
karnaze%netscape.com
6ffe908f39
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
...
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
karnaze%netscape.com
6c106ec216
removed allocation warning messages
...
git-svn-id: svn://10.0.0.236/trunk@53513 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 15:42:20 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
karnaze%netscape.com
49e55fa057
bugs 17138, 17168 and others - col allocation involving colspans honors constraints; pct colspans were allocating incorrectly if pct cols existed.
...
git-svn-id: svn://10.0.0.236/trunk@52879 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 22:36:59 +00:00
tbogard%aol.net
aa0f04f201
Changed NS_ASSERTION to NS_WARN_IF_FALSE to avoid crashing people when condition is met. r=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@52509 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 05:14:27 +00:00
karnaze%netscape.com
f98a03f3ac
bug 16284, 14159 nested auto table with percent cells was not growing auto table. nested coord or percent table was only getting min size.
...
git-svn-id: svn://10.0.0.236/trunk@51767 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 22:49:51 +00:00
karnaze%netscape.com
46cade08ac
bug 5799 - considers percentage width of multiple cells when figuring width of auto table.
...
git-svn-id: svn://10.0.0.236/trunk@51705 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 04:34:28 +00:00
kipp%netscape.com
2ed3a3fc6a
Removed some more warnings
...
git-svn-id: svn://10.0.0.236/trunk@51530 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:51:41 +00:00
karnaze%netscape.com
a2ae4b6656
bug 5799 - width of auto width table considers percentage cells when they are small relative to the rest of the table. r=dcone
...
git-svn-id: svn://10.0.0.236/trunk@51443 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:36:21 +00:00
karnaze%netscape.com
905268d150
added #ifdef for debug printing.
...
git-svn-id: svn://10.0.0.236/trunk@50983 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 13:48:19 +00:00