384 Commits

Author SHA1 Message Date
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
erik%netscape.com
5dd07463c3 bug 71354; author=simon@softel.co.il; r=karnaze; sr=attinasi; changes for
table related files from IBM bidi project


git-svn-id: svn://10.0.0.236/trunk@89370 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:25:55 +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
rods%netscape.com
b23e7af50b 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


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
karnaze%netscape.com
f6ee0a099e bug 62502 - null pointer check. sr=waterson, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@85585 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:40:36 +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
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
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
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
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
anthonyd%netscape.com
33e5b973b9 warning fix for Linux, shadowed local variable
r: kin


git-svn-id: svn://10.0.0.236/trunk@71762 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:51:58 +00:00
rbs%maths.uq.edu.au
ddcfbea4a3 [#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
git-svn-id: svn://10.0.0.236/trunk@71514 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 08:25:11 +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
anthonyd%netscape.com
8e4f929fe8 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.


git-svn-id: svn://10.0.0.236/trunk@70013 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:11:14 +00:00
anthonyd%netscape.com
ca5bf03af3 more changes to make table navigation in editor
work correctly and not crash.


git-svn-id: svn://10.0.0.236/trunk@69601 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:10:25 +00:00
mjudge%netscape.com
914db7a62a fixing crash when overflowing tables
git-svn-id: svn://10.0.0.236/trunk@69555 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 09:02:27 +00:00
jdunn%netscape.com
06724d8946 adding newline for hp
git-svn-id: svn://10.0.0.236/trunk@69214 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:56:29 +00:00
anthonyd%netscape.com
20e7680b7c r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly


git-svn-id: svn://10.0.0.236/trunk@69124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:04:39 +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
troy%netscape.com
31435f5938 b=26792 r=karnaze@netscape.com Change to SplitRowGroup to handle the
case where GetCellInfoAt() returns NULL


git-svn-id: svn://10.0.0.236/trunk@67969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:47:01 +00:00
karnaze%netscape.com
47f205f65f 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.


git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00
rods%netscape.com
a5da60889f Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66753 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:36:33 +00:00
dbaron%fas.harvard.edu
0936aaafab 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.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
pierre%netscape.com
c84deb6d8c 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.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
karnaze%netscape.com
7e4d5fb87f PDT+ bug 29429 - incremental reflow and nested tables, r=troy, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62467 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 08:45:26 +00:00
jdunn%netscape.com
659b2712ed 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


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +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
troy%netscape.com
1b7a0dd5ff r=karnaze@netscape.com Performance improvement for tables. During the initial
reflow we skip the pass2 reflow if it's an unconstrained reflow


git-svn-id: svn://10.0.0.236/trunk@60427 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 03:55:33 +00:00
karnaze%netscape.com
80375a5194 bug 7714 - better row height allocation for rows with no cells originating in them, r=attinasi
git-svn-id: svn://10.0.0.236/trunk@59720 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 02:49:27 +00:00
jst%citec.fi
e4f760e7d6 Fixing linux build bustage, added missing .get()'s on nsCOMPtr's. r=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59652 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 15:41:04 +00:00
karnaze%netscape.com
4b40120aae bug 7741 - handling of overlapping rowspans, r=troy.
git-svn-id: svn://10.0.0.236/trunk@59648 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 14:04:49 +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
troy%netscape.com
42e89e8a79 b=21657. Changed row frame code to correctly determine if it's complete
after an incremental reflow. Fixes crash when printing www.cnn.com


git-svn-id: svn://10.0.0.236/trunk@58016 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 17:45:17 +00:00
hyatt%netscape.com
dc1f512c08 Added support for snapping a tree widget to a certain row height. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57990 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 03:57:00 +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
9e1dd197b1 Fixed problems with incremental reflow code that wasn't checking the display
type to tell whether the frame was a row frame. This was causing problems on
www.cnn.com, because for some odd reason there is a text frame inserted in the
row group. That caused us to incorrectly calculate the max-element-size


git-svn-id: svn://10.0.0.236/trunk@57909 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 05:39:58 +00:00
karnaze%netscape.com
ff253260b5 bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
git-svn-id: svn://10.0.0.236/trunk@57635 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 05:29:38 +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
karnaze%netscape.com
9729119ade removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@56075 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 01:51:06 +00:00
hyatt%netscape.com
37ace2ec21 Fix for bug #21703. r=karnaze, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56070 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:37:03 +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
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
troy%netscape.com
3f61543a91 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works


git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00