Commit Graph
559 Commits
Author SHA1 Message Date
[email protected] 42e86782a6 Finished cleanup of reflow command handling 1999-08-02 02:18:33 +00:00
[email protected] bc20c459b0 Reflow command cleanup 1999-08-01 22:21:03 +00:00
[email protected] a31590a4de Work-in-progress for table handling of reflow commands 1999-08-01 22:01:37 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 01d27c806d Added checking for trying to get cell data when index(es) are out of bounds 1999-07-31 23:05:11 +00:00
[email protected] b44bfb4768 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
[email protected] 4b9ae7693e Adding interface for editor access to table layout data 1999-07-31 22:05:37 +00:00
[email protected] ac0ec4c9a7 bug 10809, incremental reflow of nested tables now reflows children. 1999-07-29 23:19:52 +00:00
[email protected] a6e4ff24b6 fixes related to crash in AC_Wrapup on optimized builds. 1999-07-28 19:43:37 +00:00
[email protected] 73c51845d7 zero out colInfo wehen allocated to avoid startup crash and other badness 1999-07-28 18:52:04 +00:00
[email protected] f1201519ab fix mac breakage, hopefully 1999-07-28 09:13:44 +00:00
[email protected] 8192e46937 Attempt to fix the mac build. 1999-07-28 08:56:12 +00:00
[email protected] 541821e18e Fixing karnaze's bustage. 1999-07-28 08:55:41 +00:00
[email protected] 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
[email protected] 8ddc68a23e oops. crazy_width only defined for debug builds. Changing this. 1999-07-24 00:32:21 +00:00
[email protected] 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
[email protected] 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
[email protected] 8c10dec5d9 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
[email protected] d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
[email protected] 346eaed537 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
[email protected] 38179bdb96 Commented out warning. 1999-07-19 21:37:04 +00:00
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 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
[email protected] 29b6bbc508 set deleted pointers to nsnull. just to be safe. r=hyatt 1999-07-01 07:12:46 +00:00
[email protected] 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
[email protected] 84b5f256c8 fixed warnings 1999-06-28 13:44:40 +00:00
[email protected] 41331a7973 Shuffling some stuff around. 1999-06-28 10:38:06 +00:00
[email protected] cc2da07b54 More savory tree widget goodness. 1999-06-23 09:07:59 +00:00
[email protected] d6f1501962 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
[email protected] 23bd5fab7f Fixing a bug in the distribution of excess space to multiple row groups. 1999-06-15 07:06:55 +00:00
[email protected] e877bddf53 fixing a bug in getframeforpoint for nested row groups 1999-06-15 02:27:17 +00:00
[email protected] 560a7d38f0 Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH). 1999-06-15 01:19:18 +00:00
[email protected] 4449ba699e More nested row group work. 1999-06-14 23:45:14 +00:00
[email protected] 12d9213d89 More nested row group changes. 1999-06-14 23:42:16 +00:00
[email protected] bc99652491 More nested row group work. 1999-06-14 08:22:47 +00:00
[email protected] c180aa1dcf More changes to allow tables to support nested row groups. 1999-06-14 08:01:00 +00:00
[email protected] 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
[email protected] 72ecd5c7e3 removed temp windows code added by accident 1999-06-10 03:48:06 +00:00
[email protected] 2be7efb0cf #ifdef'd out windows specific timer code 1999-06-10 03:43:43 +00:00
[email protected] dae5bff98a bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame 1999-06-10 02:29:34 +00:00
[email protected] 1bab559952 empty table cells ignore their background 1999-06-08 05:04:22 +00:00
[email protected] 0a02140339 support for backgrounds on table elements in both compatibility modes 1999-06-07 21:10:25 +00:00
[email protected] 9b28ac392e bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths 1999-06-03 02:42:33 +00:00
[email protected] 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
[email protected] 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
[email protected] 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