852 Commits

Author SHA1 Message Date
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
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
3a6c654791 bug 40721 - improved TallestCellGotShorter(), sr=buster, r=rods
git-svn-id: svn://10.0.0.236/trunk@83965 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:03:42 +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
rods%netscape.com
cd5016b309 changing the name of the reflow state in the reflow counter macro
b=61496 r=kmcclusk sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83150 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:51:21 +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
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
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
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
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
karnaze%netscape.com
c340f8a41b bug 57378 (table portion) - don't repeat a thead or tfoot that is larger than 25% of the page. a=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@82655 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:26:35 +00:00
karnaze%netscape.com
b405a325ad bug 40828 - call DidSetStyleContext when reflow a cell unconstrained. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@82640 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 16:01:26 +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
buster%netscape.com
c94c187442 bug 53690 part of table never displayed because of incremental reflow bug
r=karnaze
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81995 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:15:32 +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
e6d784c22a bug 55789 - the col group frame increments its num cols before inserting the col into the table. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80953 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:09:00 +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
karnaze%netscape.com
cbfbe360c4 bug 51392 - use nothing changed flag when deciding whether to rebalance table during row incremental reflow. a=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@80471 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:05:06 +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
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
karnaze%netscape.com
d6f50aa98b bug 52598 - during an incremental reflow, base the height of the row group on the last row instead of the last child. r=peterl.
git-svn-id: svn://10.0.0.236/trunk@79270 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:11:29 +00:00
karnaze%netscape.com
192b42b445 bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@79091 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:49:47 +00:00
attinasi%netscape.com
6bcf75d1e5 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
git-svn-id: svn://10.0.0.236/trunk@78920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:48:35 +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
peterlubczynski%netscape.com
c57b75e783 Fix for bug 46368. Fixed cellMet.mMaximumWidth for incremental reflow. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:58:59 +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
8754c60a8b bug 42643 - invalidate the cell rect when a style change occurs. r=muster.
git-svn-id: svn://10.0.0.236/trunk@78706 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:47:02 +00:00
karnaze%netscape.com
ab21b84455 bug 39209 - don't use auto margins for max element size and maximum widths (when requested
during an incremntal reflow).


git-svn-id: svn://10.0.0.236/trunk@78691 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:02:04 +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
da24e59c65 bug 45350 - correctly consider rowspan height in table row incremental reflow
git-svn-id: svn://10.0.0.236/trunk@78139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:57:34 +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
buster%netscape.com
4c55aad9ff bug 48295 (floating nested table height initially 0, makes layout wrong)
r=karnaze
values from the wrong struct were getting passed into SetTallestCell


git-svn-id: svn://10.0.0.236/trunk@77723 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:57:58 +00:00
buster%netscape.com
0a65af6558 bug 3992
chris k did the work.
r=buster


git-svn-id: svn://10.0.0.236/trunk@77060 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 05:03:18 +00:00
rbs%maths.uq.edu.au
b082477bba Enable the code to support for 'vertical-align: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:karnaze@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75039 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:19:26 +00:00
karnaze%netscape.com
14ce92879a bug 40721 - put back fix that was erroneously backed out. r=rods from before.
git-svn-id: svn://10.0.0.236/trunk@73763 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:58:54 +00:00
karnaze%netscape.com
0bdadeb834 bug 43732 - correctly calculate preferred width of table and cache it. r=syd.
git-svn-id: svn://10.0.0.236/trunk@73760 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:37:28 +00:00
cls%seawood.org
7fb57d53ad Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner
git-svn-id: svn://10.0.0.236/trunk@73643 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 18:44:42 +00:00
cls%seawood.org
91d683a067 Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +00:00
anthonyd%netscape.com
8febe65f8c warning fixes for linux. r: mjudge a: beppe
git-svn-id: svn://10.0.0.236/trunk@72446 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:28:10 +00:00
karnaze%netscape.com
0810fad6c2 bug 42726 - back out previous checkin.
git-svn-id: svn://10.0.0.236/trunk@72328 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 23:39:49 +00:00