Commit Graph
131 Commits
Author SHA1 Message Date
kipp@netscape.com 0d0c583aac Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp@netscape.com 3dbd670c62 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
karnaze@netscape.com bec7a58f27 bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified. 1999-08-27 21:15:21 +00:00
karnaze@netscape.com 00f459927b bug 12590 - vertical-align:middle working on cell 1999-08-27 04:29:05 +00:00
karnaze@netscape.com 25c0251e69 backing out recent changes that failed table regression tests 1999-08-26 16:56:42 +00:00
hyatt@netscape.com c6c603bf13 Fix for bug 12887. 1999-08-26 10:23:49 +00:00
karnaze@netscape.com 1be27de6a7 Added new incremental reflow methods.
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
1999-08-19 19:52:37 +00:00
troy@netscape.com 454b06e71e Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
troy@netscape.com 8adc257737 Converted outer table frame code over to new reflow command handling 1999-08-10 03:52:15 +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 b44bfb4768 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
troy@netscape.com d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +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
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
mjudge@netscape.com 2c77f1b613 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
kipp@netscape.com 68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
troy@netscape.com b8c6f4f581 Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList
1999-04-12 23:46:02 +00:00
karnaze@netscape.com 266ae9dffe code clean up, use of macros for debugging 1999-04-04 00:06:48 +00:00
kipp@netscape.com 74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
troy@netscape.com 91ffa8430f Added some XXX comments 1999-03-06 05:03:09 +00:00
kipp@netscape.com 4b0544c35e use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
troy@netscape.com ca28eafb7d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy@netscape.com 7f63268a34 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy@netscape.com 5a1fc226a0 Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy@netscape.com b2d859edbe Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy@netscape.com 87805c7a92 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy@netscape.com 48040900a7 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy@netscape.com b4f8c0fbbe Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
buster@netscape.com ed3948a814 fixed bug 2516. The InitChildList code needed to check display types before
assigning the mCaptionFrame member variable.
1999-01-20 07:27:06 +00:00
kipp@netscape.com b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp@netscape.com e1ed25a763 Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame* 1999-01-15 22:52:05 +00:00
buster@netscape.com 9fc864efd1 comments and removal of dead code 1999-01-15 19:55:19 +00:00
troy@netscape.com 62b64b2067 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy@netscape.com 80de7a2d9f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy@netscape.com 6f9192bec1 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
kipp@netscape.com 1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
troy@netscape.com 2d36aa1c73 Fixed a crash when resizing the print preview window 1998-12-09 04:26:42 +00:00
troy@netscape.com c7164e5f56 Initial table pagination support 1998-12-08 17:57:45 +00:00
buster@netscape.com 5bd9aecd8e minor optimizations and cleanup. removed constructors that did nothing. 1998-12-03 20:19:01 +00:00
troy@netscape.com e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
wtc@netscape.com 50476c767e This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
buster@netscape.com 560f1fe058 2 Nav4 compatibility additions:
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
kipp@netscape.com f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
troy@netscape.com 7d57a590c9 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy@netscape.com b04ee51233 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
buster@netscape.com b80a9ca305 some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00