761 Commits

Author SHA1 Message Date
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
karnaze%netscape.com
2599026f49 PDT+ bug 28341 - Destroy caption frame when outer table frame is destroyed. Add caption to outer frame rather than inner frame. r=troy, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62032 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 06:09:37 +00:00
hyatt%netscape.com
e01b1a8a8f Fix for 28856. r=karnaze,troy a=jar
git-svn-id: svn://10.0.0.236/trunk@61937 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 02:35:14 +00:00
karnaze%netscape.com
f6b927ffae PDT+ bug 27124 - correctly handle child frames that are not row groups. r=troy, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61772 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 22:36:42 +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
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
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
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
karnaze%netscape.com
c07a74ff39 bug 8411 - the outer table cannot be made narrower than the captions min width, r=attinasi
git-svn-id: svn://10.0.0.236/trunk@59719 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 02:47:13 +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
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
b3279d2e4c bug 25148, AppendCell grows its rows before figuring the starting col index, r=attinasi
git-svn-id: svn://10.0.0.236/trunk@59466 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:56:46 +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
cmanske%netscape.com
5aa1e950e3 Part of composer table edit work (bug 20973): Return NS_TABLELAYOUT_CELL_NOT_FOUND instead of error when a cell isn't found at a cellmap location. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@59434 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 23:39:37 +00:00
troy%netscape.com
bac9e93e77 b=25834 r=karnaze@netscape.com Changed to ignore the reflow status when
reflowing an unknown frame (i.e., a frame that isn't a row group)


git-svn-id: svn://10.0.0.236/trunk@59360 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 04:30:04 +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
d7b3bc8f7b bug 1809, 0 width tables (not trees) become auto, r=dcone, (hyatt)
git-svn-id: svn://10.0.0.236/trunk@59078 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:43:25 +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
troy%netscape.com
95e05d4062 r=karnaze@netscape.com Removed some code that was removed but then added
again by mistake


git-svn-id: svn://10.0.0.236/trunk@58891 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:54:17 +00:00
troy%netscape.com
9adaaaf84a r=nisheeth@netscape.com Added asserts to help catch the case of poorly
targeted reflow commands


git-svn-id: svn://10.0.0.236/trunk@58817 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:11:47 +00:00
cmanske%netscape.com
3cebe089c4 Table editing (bug 20973): return reported and actual rowspan and colspan values from GetCellDataAt(), r=karnaze
git-svn-id: svn://10.0.0.236/trunk@58783 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 14:56:06 +00:00
troy%netscape.com
175e0dc98f b=22325. When resizing the row groups and rows because the table has an
explict height, we need to make sure any child views are re-positioned.
This doesn't solve the flicker problem but now edit fields are all in
the right place, and it's good enough that Buster can do his clothes
shoping


git-svn-id: svn://10.0.0.236/trunk@58536 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:11:24 +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
warren%netscape.com
490e2d2d89 Fixed nsCellMap bloat/leak counter problem.
git-svn-id: svn://10.0.0.236/trunk@58058 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 00:55:49 +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
hyatt%netscape.com
6969835a54 Fixing tree regression from a table checkin.
git-svn-id: svn://10.0.0.236/trunk@57984 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 01:10:41 +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
3249af3309 r=troy@netscape.com Changed from karnaze@netscape.com reviewed by me that
fix assertions we were hitting when printing the CNN page


git-svn-id: svn://10.0.0.236/trunk@57910 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 05:50:27 +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
troy%netscape.com
77fe22868f Removed some debug assertions that are no longer valid
git-svn-id: svn://10.0.0.236/trunk@57908 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 05:38:24 +00:00
hyatt%netscape.com
adec12a0bb *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@57688 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 20:58:24 +00:00
hyatt%netscape.com
ed7a9eb667 Fix for chinatimes/tinderbox crasher. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@57686 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 20:22:19 +00:00
troy%netscape.com
a03ce36b24 b=22937, r=karnaze@netscape.com Fixed problem in paginated reflow
git-svn-id: svn://10.0.0.236/trunk@57677 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 15:47: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
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
troy%netscape.com
885f08d717 b=23707. Made sure HR frame correctly computes max-element-size
when it has an 'auto' width


git-svn-id: svn://10.0.0.236/trunk@57509 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 04:52:19 +00:00
hyatt%netscape.com
a426ec7a36 Removing my lame comment.
git-svn-id: svn://10.0.0.236/trunk@57412 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 19:49:04 +00:00
troy%netscape.com
80fbcaae37 b=23239. Changed tables to incrementally update maximum width (natural width)
if requested. Now we only do a single reflow when processing table cell
incremental reflow instead of the three reflows we had to do before


git-svn-id: svn://10.0.0.236/trunk@57402 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 15:55:31 +00:00
hyatt%netscape.com
18c4451e38 Improving trees.
git-svn-id: svn://10.0.0.236/trunk@57250 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 03:04:05 +00:00
karnaze%netscape.com
44e0aeffed bug 23072 - fixed crash due to dereferencing null pointer
git-svn-id: svn://10.0.0.236/trunk@56788 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 01:53:05 +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
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
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
bryner%uiuc.edu
a017a19fe4 Changing an instance of = to ==, which is what it should have
been.  r=karnaze.


git-svn-id: svn://10.0.0.236/trunk@56572 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 20:10:32 +00:00