376 Commits

Author SHA1 Message Date
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
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
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
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
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
8922af96b4 r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)


git-svn-id: svn://10.0.0.236/trunk@67671 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 18:56:26 +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
mjudge%netscape.com
6737cb1c39 made the table temporarily pull from nsLookandFeel until we get style rule working correctly
git-svn-id: svn://10.0.0.236/trunk@65890 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:39:39 +00:00
mjudge%netscape.com
b5c40f47f1 table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture.
git-svn-id: svn://10.0.0.236/trunk@65860 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:21:32 +00:00
jim_nance%yahoo.com
b1ccfbf2cb 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


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
cmanske%netscape.com
e15bf8d5b3 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.
git-svn-id: svn://10.0.0.236/trunk@63825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:24:58 +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
cmanske%netscape.com
9c9491d705 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:04:02 +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
576537d306 PDT+ bug 28933 - check for null pointer. r=attinasi, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62192 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 01:05:18 +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
3be962e028 bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@60992 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:08:54 +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
3348645b69 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.


git-svn-id: svn://10.0.0.236/trunk@60554 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:58:38 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +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
karnaze%netscape.com
e8ff8bb21f 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.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +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
500ae7bed9 bug 22246 - row/col span changes on cell alter cell map and reflow table. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@56722 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 05:31:56 +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
1fce58468f Work-in-progress for having maximum width (needed by tables) be updated
incrementally


git-svn-id: svn://10.0.0.236/trunk@56615 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 04:15:45 +00:00
alecf%netscape.com
81585a34d8 fix unix bustage once and for all
git-svn-id: svn://10.0.0.236/trunk@55953 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 00:24:33 +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
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
troy%netscape.com
3513334988 Moved a bunch of stuff out to a nsIFrameDebug interface
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
c96591767e b=6674, r=karnaze@netscape.com
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)


git-svn-id: svn://10.0.0.236/trunk@52016 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 23:01:21 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +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
troy%netscape.com
54572af2e6 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.


git-svn-id: svn://10.0.0.236/trunk@51485 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 02:06:22 +00:00
karnaze%netscape.com
6418d90654 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy
git-svn-id: svn://10.0.0.236/trunk@51256 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:18:56 +00:00
karnaze%netscape.com
aef57f8136 bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response.
git-svn-id: svn://10.0.0.236/trunk@50981 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 13:45:41 +00:00
troy%netscape.com
c04a6a88dc 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


git-svn-id: svn://10.0.0.236/trunk@50941 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 03:30:11 +00:00
troy%netscape.com
3e862c4fc9 Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used


git-svn-id: svn://10.0.0.236/trunk@50923 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 16:17:07 +00:00
slamm%netscape.com
16bf5b4e43 Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@50230 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 18:52:19 +00:00
troy%netscape.com
70a3da2b30 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)


git-svn-id: svn://10.0.0.236/trunk@50117 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:38:50 +00:00
karnaze%netscape.com
aa9be56cfa bug 14818 - made standard mode like NavQuirks when handling colspans exceeding the number of columns.
git-svn-id: svn://10.0.0.236/trunk@49801 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:21:00 +00:00
troy%netscape.com
4e1923d3ad Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed


git-svn-id: svn://10.0.0.236/trunk@49622 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:02:54 +00:00
karnaze%netscape.com
7864064ca4 bug 12910 - SetPass1MaxElementSize considers nowrap on cell
git-svn-id: svn://10.0.0.236/trunk@49439 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 14:11:16 +00:00
mjudge%netscape.com
124711cde1 changes to selection code to stop a never ending loop
git-svn-id: svn://10.0.0.236/trunk@48665 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 22:58:14 +00:00
mjudge%netscape.com
cbf04231bb adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different.
git-svn-id: svn://10.0.0.236/trunk@48081 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:33:39 +00:00