568 Commits

Author SHA1 Message Date
peterl%netscape.com
0f4290ca67 moved scrolled content pseudo atom to layout atoms
git-svn-id: svn://10.0.0.236/trunk@42687 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:19:36 +00:00
troy%netscape.com
421d2fb7eb Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames


git-svn-id: svn://10.0.0.236/trunk@42656 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 15:12:50 +00:00
buster%netscape.com
9cb3786eb7 fixed a memory leak, and a null pointer dereference, having to do with collapsing borders
git-svn-id: svn://10.0.0.236/trunk@42644 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:40:09 +00:00
troy%netscape.com
908cf77ed6 Fix for bug #11393
git-svn-id: svn://10.0.0.236/trunk@42599 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 00:31:02 +00:00
troy%netscape.com
3bce3f4d0d Changed reflow command handling over to the new approach
git-svn-id: svn://10.0.0.236/trunk@42453 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:34:56 +00:00
cmanske%netscape.com
c43ee147be Added method to nsITableCellLayout. Fixed QI bug
git-svn-id: svn://10.0.0.236/trunk@42080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 02:04:45 +00:00
karnaze%netscape.com
40c2679406 Always reflow's children for pass1 when reflowed with NS_UNCONSTRAINEDSIZE
git-svn-id: svn://10.0.0.236/trunk@42061 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 23:20:06 +00:00
karnaze%netscape.com
b8128f70c5 replace assertions with printf statements until bug 10911 gets resolved
git-svn-id: svn://10.0.0.236/trunk@42059 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 23:17:50 +00:00
karnaze%netscape.com
c2ec915226 figuring a col's adj min width from a colspan uses adj min width
git-svn-id: svn://10.0.0.236/trunk@42055 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 23:16:43 +00:00
troy%netscape.com
58d25c3401 Changed NeedsReflow() to take into account whether we need a pass-1 reflow
and whether the cached column info and cell map are valid when deciding
whether we need a full reflow


git-svn-id: svn://10.0.0.236/trunk@41973 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 14:26:00 +00:00
troy%netscape.com
9733d9f0ae Changed to new command reflow handling
git-svn-id: svn://10.0.0.236/trunk@41933 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 02:41:27 +00:00
troy%netscape.com
947840fcba Finished cleanup of reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41780 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 02:18:33 +00:00
troy%netscape.com
b015e5f569 Reflow command cleanup
git-svn-id: svn://10.0.0.236/trunk@41774 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 22:21:03 +00:00
troy%netscape.com
6287040813 Work-in-progress for table handling of reflow commands
git-svn-id: svn://10.0.0.236/trunk@41773 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 22:01:37 +00:00
cmanske%netscape.com
f92bc8ef26 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted.
git-svn-id: svn://10.0.0.236/trunk@41766 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 18:26:45 +00:00
cmanske%netscape.com
e5ae1ba132 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods
git-svn-id: svn://10.0.0.236/trunk@41757 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:20:14 +00:00
cmanske%netscape.com
1061abe7b7 Added logic to find cells occupying the 'holes' in the cellmap where colspan and/or rowspan cell extend
git-svn-id: svn://10.0.0.236/trunk@41751 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 05:19:47 +00:00
cmanske%netscape.com
a963632e41 Added checking for trying to get cell data when index(es) are out of bounds
git-svn-id: svn://10.0.0.236/trunk@41746 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 23:05:11 +00:00
cmanske%netscape.com
6ea23b2d7b Adding interface for editor access to table layout data
git-svn-id: svn://10.0.0.236/trunk@41743 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 22:11:50 +00:00
cmanske%netscape.com
46df09e5da Adding interface for editor access to table layout data
git-svn-id: svn://10.0.0.236/trunk@41742 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 22:05:37 +00:00
karnaze%netscape.com
e21f3ad4c8 bug 10809, incremental reflow of nested tables now reflows children.
git-svn-id: svn://10.0.0.236/trunk@41562 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 23:19:52 +00:00
karnaze%netscape.com
b7f79a3328 fixes related to crash in AC_Wrapup on optimized builds.
git-svn-id: svn://10.0.0.236/trunk@41479 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 19:43:37 +00:00
shaver%netscape.com
d786ea88d0 zero out colInfo wehen allocated to avoid startup crash and other badness
git-svn-id: svn://10.0.0.236/trunk@41478 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 18:52:04 +00:00
karnaze%netscape.com
53bf90aac1 fix mac breakage, hopefully
git-svn-id: svn://10.0.0.236/trunk@41460 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 09:13:44 +00:00
warren%netscape.com
d9f0756d1e Attempt to fix the mac build.
git-svn-id: svn://10.0.0.236/trunk@41459 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:56:12 +00:00
hyatt%netscape.com
40f43dfde9 Fixing karnaze's bustage.
git-svn-id: svn://10.0.0.236/trunk@41458 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:55:41 +00:00
karnaze%netscape.com
382b9863de new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy


git-svn-id: svn://10.0.0.236/trunk@41454 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 08:09:02 +00:00
hyatt%netscape.com
52ebdc69b8 oops. crazy_width only defined for debug builds. Changing this.
git-svn-id: svn://10.0.0.236/trunk@40938 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 00:32:21 +00:00
hyatt%netscape.com
d5b584d48c Getting rid of all the printfs and complaints that fire in mailnews by making
the fixed table layout algorithm smarter about unconstrained width reflow.


git-svn-id: svn://10.0.0.236/trunk@40934 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 23:41:05 +00:00
hyatt%netscape.com
888af6b43a Fix for assertions being thrown when fixed layout tables are flowed at an
unconstrained width.  Instead of asserting, intrinsic first row cell widths will be
used to determine the widths of columns with percentage-specified sizes.


git-svn-id: svn://10.0.0.236/trunk@40926 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 20:32:18 +00:00
troy%netscape.com
a314bc3877 Renamed some nsFrameList member functions
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
troy%netscape.com
a89529386f Added 'm' prefix to some of the nsHTMLReflowState data members
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
putterman%netscape.com
e8d74dc3ce Commented out warning.
git-svn-id: svn://10.0.0.236/trunk@40157 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 21:37:04 +00:00
troy%netscape.com
b5bcb4a774 As step #1 in incremental painting I changed Reflow() to invalidate the
entire bounds after an incremental reflow. The table should be smarter about
how much it invalidates, but this is necessary for the time being because the
area frame no longer invalidates everything


git-svn-id: svn://10.0.0.236/trunk@39266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:21:52 +00:00
hyatt%netscape.com
94d84e7328 Batching removal and making sure I get notified (in an attempt to fix some
of the out of sync problems the tree widget is having).


git-svn-id: svn://10.0.0.236/trunk@38948 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 01:10:40 +00:00
hyatt%netscape.com
0b331a0f57 Landing changes to wrap XUL windows in a box frame so that we can support
intrinsic sizing of windows.  (Unlike HTML and XML, we are no longer wrapped
in an area frame. We are instead wrapped in a box frame.)

Also included is a patch for the table code, since it crashes inside boxes
because of a bug in its incremental reflow code.

nsISpaceManager was touched to give it a GetIID method so that it could be
used with nsCOMPtrs.


git-svn-id: svn://10.0.0.236/trunk@37994 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 05:28:32 +00:00
sspitzer%netscape.com
c35619cc53 fix crash. when I launch apprunner -pref, I hit the assertion.
then I crash because I dereference null.


git-svn-id: svn://10.0.0.236/trunk@37668 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 07:28:47 +00:00
sspitzer%netscape.com
c1303b8b21 set deleted pointers to nsnull. just to be safe. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@37665 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 07:12:46 +00:00
hyatt%netscape.com
8dece188fd Turning on the lazy mode in the tree widget. It is now the default. Let
the bug filing begin. :(


git-svn-id: svn://10.0.0.236/trunk@37428 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:20:40 +00:00
buster%netscape.com
d94e56698f fixed warnings
git-svn-id: svn://10.0.0.236/trunk@37179 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 13:44:40 +00:00
hyatt%netscape.com
69ecdf9e0b Shuffling some stuff around.
git-svn-id: svn://10.0.0.236/trunk@37170 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 10:38:06 +00:00
hyatt%netscape.com
dba51b76a4 More savory tree widget goodness.
git-svn-id: svn://10.0.0.236/trunk@36547 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 09:07:59 +00:00
hyatt%netscape.com
d6494b515f Landing the tree widget branch.
git-svn-id: svn://10.0.0.236/trunk@36435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:02:21 +00:00
hyatt%netscape.com
b29b58e27b Fixing a bug in the distribution of excess space to multiple row groups.
git-svn-id: svn://10.0.0.236/trunk@35413 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 07:06:55 +00:00
hyatt%netscape.com
5cacc78db3 fixing a bug in getframeforpoint for nested row groups
git-svn-id: svn://10.0.0.236/trunk@35320 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:27:17 +00:00
hyatt%netscape.com
b91d25c962 Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH).
git-svn-id: svn://10.0.0.236/trunk@35305 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:19:18 +00:00
hyatt%netscape.com
5b1e30c2d8 More nested row group work.
git-svn-id: svn://10.0.0.236/trunk@35284 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:45:14 +00:00
hyatt%netscape.com
18e1eab082 More nested row group changes.
git-svn-id: svn://10.0.0.236/trunk@35282 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:42:16 +00:00
hyatt%netscape.com
e2c320e27d More nested row group work.
git-svn-id: svn://10.0.0.236/trunk@35131 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:22:47 +00:00