Commit Graph
506 Commits
Author SHA1 Message Date
troy@netscape.com 42e86782a6 Finished cleanup of reflow command handling 1999-08-02 02:18:33 +00:00
troy@netscape.com bc20c459b0 Reflow command cleanup 1999-08-01 22:21:03 +00:00
troy@netscape.com a31590a4de Work-in-progress for table handling of reflow commands 1999-08-01 22:01:37 +00:00
cmanske@netscape.com 48918de0e5 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted. 1999-08-01 18:26:45 +00:00
cmanske@netscape.com 35cad0c225 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods 1999-08-01 16:20:14 +00:00
cmanske@netscape.com a2c2deff75 Added logic to find cells occupying the 'holes' in the cellmap where colspan and/or rowspan cell extend 1999-08-01 05:19:47 +00:00
cmanske@netscape.com 01d27c806d Added checking for trying to get cell data when index(es) are out of bounds 1999-07-31 23:05:11 +00:00
cmanske@netscape.com b44bfb4768 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
cmanske@netscape.com 4b9ae7693e Adding interface for editor access to table layout data 1999-07-31 22:05:37 +00:00
karnaze@netscape.com ac0ec4c9a7 bug 10809, incremental reflow of nested tables now reflows children. 1999-07-29 23:19:52 +00:00
karnaze@netscape.com a6e4ff24b6 fixes related to crash in AC_Wrapup on optimized builds. 1999-07-28 19:43:37 +00:00
shaver@netscape.com 73c51845d7 zero out colInfo wehen allocated to avoid startup crash and other badness 1999-07-28 18:52:04 +00:00
karnaze@netscape.com f1201519ab fix mac breakage, hopefully 1999-07-28 09:13:44 +00:00
warren@netscape.com 8192e46937 Attempt to fix the mac build. 1999-07-28 08:56:12 +00:00
hyatt@netscape.com 541821e18e Fixing karnaze's bustage. 1999-07-28 08:55:41 +00:00
karnaze@netscape.com 0f38815cdf new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
hyatt@netscape.com 8ddc68a23e oops. crazy_width only defined for debug builds. Changing this. 1999-07-24 00:32:21 +00:00
hyatt@netscape.com aab60da5b4 Getting rid of all the printfs and complaints that fire in mailnews by making
the fixed table layout algorithm smarter about unconstrained width reflow.
1999-07-23 23:41:05 +00:00
hyatt@netscape.com 012d4b7453 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.
1999-07-23 20:32:18 +00:00
troy@netscape.com 8c10dec5d9 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy@netscape.com d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
troy@netscape.com 346eaed537 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
putterman@netscape.com 38179bdb96 Commented out warning. 1999-07-19 21:37:04 +00:00
troy@netscape.com 887685766e 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
1999-07-14 15:21:52 +00:00
hyatt@netscape.com b56781c717 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).
1999-07-10 01:10:40 +00:00
hyatt@netscape.com c7af9132f2 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.
1999-07-02 05:28:32 +00:00
sspitzer@netscape.com cad5db2cdd fix crash. when I launch apprunner -pref, I hit the assertion.
then I crash because I dereference null.
1999-07-01 07:28:47 +00:00
sspitzer@netscape.com 29b6bbc508 set deleted pointers to nsnull. just to be safe. r=hyatt 1999-07-01 07:12:46 +00:00
hyatt@netscape.com 949d33f20b Turning on the lazy mode in the tree widget. It is now the default. Let
the bug filing begin. :(
1999-06-29 20:20:40 +00:00
buster@netscape.com 84b5f256c8 fixed warnings 1999-06-28 13:44:40 +00:00
hyatt@netscape.com 41331a7973 Shuffling some stuff around. 1999-06-28 10:38:06 +00:00
hyatt@netscape.com cc2da07b54 More savory tree widget goodness. 1999-06-23 09:07:59 +00:00
hyatt@netscape.com d6f1501962 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
hyatt@netscape.com 23bd5fab7f Fixing a bug in the distribution of excess space to multiple row groups. 1999-06-15 07:06:55 +00:00
hyatt@netscape.com e877bddf53 fixing a bug in getframeforpoint for nested row groups 1999-06-15 02:27:17 +00:00
hyatt@netscape.com 560a7d38f0 Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH). 1999-06-15 01:19:18 +00:00
hyatt@netscape.com 4449ba699e More nested row group work. 1999-06-14 23:45:14 +00:00
hyatt@netscape.com 12d9213d89 More nested row group changes. 1999-06-14 23:42:16 +00:00
hyatt@netscape.com bc99652491 More nested row group work. 1999-06-14 08:22:47 +00:00
hyatt@netscape.com c180aa1dcf More changes to allow tables to support nested row groups. 1999-06-14 08:01:00 +00:00
mjudge@netscape.com d36c31368a fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
karnaze@netscape.com 72ecd5c7e3 removed temp windows code added by accident 1999-06-10 03:48:06 +00:00
peterl@netscape.com 2be7efb0cf #ifdef'd out windows specific timer code 1999-06-10 03:43:43 +00:00
karnaze@netscape.com dae5bff98a bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame 1999-06-10 02:29:34 +00:00
karnaze@netscape.com 1bab559952 empty table cells ignore their background 1999-06-08 05:04:22 +00:00
karnaze@netscape.com 0a02140339 support for backgrounds on table elements in both compatibility modes 1999-06-07 21:10:25 +00:00
karnaze@netscape.com 9b28ac392e bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths 1999-06-03 02:42:33 +00:00
mjudge@netscape.com 255745201b new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
karnaze@netscape.com a138139e00 Rewrote DistributeRemainingSpace a 2nd time and added compat mode.
bug 6068, 6933. nsTableRowGroupFrame::CalculateRowHeights - changed row spans to consider
top and bottom margins during height calculations. Calculations using percentages ensure that the sum of
rows sum exactly to excess.

bug 6404 BasicTableLayoutStrategy::BalanceColumnsConstrained cols in span other than 1st col was
not getting additional allocations from cell. ::DistributeRemainSpace uses max width of col
instead of max effective width. Also added checks for negative value during percentage calculations.
1999-05-26 22:22:23 +00:00
mjudge@netscape.com 63e34cc6d3 incorrect C++ put class:: in front of method name illegal ASCII C++ MAC picks this up i guess 1 line change 1999-05-20 03:01:02 +00:00