Граф коммитов

79 Коммитов

Автор SHA1 Сообщение Дата
karnaze%netscape.com ad5fdfb2aa bug 7741 - handling of overlapping rowspans, r=troy. 2000-02-03 14:04:49 +00:00
troy%netscape.com 8a78d916a5 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
karnaze%netscape.com d41822031d bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes. 2000-01-13 05:29:38 +00:00
karnaze%netscape.com 2eb4655c2e incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
hyatt%netscape.com de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
troy%netscape.com 597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy%netscape.com 1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com d5a8f7fbf0 b=17573. Changed mRowIndex to be signed integer (was unsigned integer) but
field. This allows it be negative, which some of the table code is depending
on
1999-10-31 03:15:52 +00:00
troy%netscape.com d3fa427eb2 Space reduction. We now save 8 bytes per row frame by eliminating the max
top/bottom margin data members which are no longer needed
1999-10-29 14:40:58 +00:00
troy%netscape.com e828d1c0f3 Space reductions for nsTableRowFrame. Changed mInitializedChildren to be a
frame state bit, and changed mMinRowSpan and mRowIndex to be packed into
one 32-bit field. Total savings of 8 bytes per row frame
1999-10-23 23:08:30 +00:00
kipp%netscape.com 7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
troy%netscape.com a7a27982af Changing tables to return max element size during an incremental reflow 1999-08-30 22:30:32 +00:00
hyatt%netscape.com 415182cc05 Changes to the cell map to support incremental insertion and removal of rows. Currently
only used by the tree widget.
1999-08-30 00:01:09 +00:00
hyatt%netscape.com dc1ee7e3f6 Tweaks to be able to see the RowReflowState over in trees 1999-08-28 00:43:53 +00:00
karnaze%netscape.com 7dddc57925 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00
troy%netscape.com eda8afb2b6 Optimized incremental reflow and split some code out into member functions
so there's less dusplication of code
1999-08-21 20:16:32 +00:00
troy%netscape.com c166a9097c Changed to new command reflow handling 1999-08-03 02:41:27 +00:00
karnaze%netscape.com a88b1a3f85 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
kipp%netscape.com 4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
karnaze%netscape.com b32fa94515 support for right-to-left direction 1999-04-22 03:51:58 +00:00
troy%netscape.com c67fa96f11 Removed SetInitialChildList() and now we inherit the base class version
which does the same thing
1999-04-13 01:11:46 +00:00
troy%netscape.com 3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com 47cbdb1e9d Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy%netscape.com 68894039d4 More work-in-progress for table pagination 1999-02-22 03:28:00 +00:00
kipp%netscape.com 7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp%netscape.com c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
troy%netscape.com fabbe773c2 Changed SetRowIndex() to be inline and non-virtual 1998-12-16 04:31:38 +00:00
troy%netscape.com 6b60c930de Removed InitRowData() member function which is now obsolete 1998-12-16 04:08:36 +00:00
troy%netscape.com 2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
buster%netscape.com 4c98e2689d implemented table height algorithms. also made a slight modification to
the way a table finds its container's width.
1998-11-20 01:01:25 +00:00
kipp%netscape.com a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com 77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
troy%netscape.com 527ee073f8 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
buster%netscape.com a8be97a521 fixed the bug where events were not getting passed down to content inside
of cells with rowspans.  Basically, I just override HandleEvent() in nsTableRowGroupFrame
to ask nsTableRowFrame::Contains(), rather than the default action which is to
just use the child's rect.
1998-11-07 00:36:37 +00:00
buster%netscape.com 03cad6390d some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
buster%netscape.com e220aee18d all containers now decend from nsHTMLContainerFrame
all "unknown frame" incremental reflow support methods now
replaced with nsHTMLContainerFrame::AddFrame and ::RemoveFrame
1998-10-20 17:45:07 +00:00
buster%netscape.com d8e6fb4c34 incremental reflow now includes insert/append/delete cell 1998-10-20 15:59:56 +00:00
buster%netscape.com 0d373afd21 lots of work for incremental reflow when the target frame is a table frame 1998-10-14 16:32:45 +00:00
troy%netscape.com 7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy%netscape.com ba3c7125c2 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
buster%netscape.com 0bec735087 removed lots of assumptions about frame ordering and containership.
table frames no longer assume they are n levels below the inner table frame
table frames no longer assume their child frames are always the expected type of
frame.  Now they check the display type and use that as sufficient proof that the frame
is of the right type.  This implies a heavy reliance on the frame construction code to do
the right thing and always stamp out the right kind of frame for a given display type.
1998-09-24 16:37:22 +00:00
buster%netscape.com 1fba5ac7dc all frame initialization and related logic has moved into the various table frames' Init() methods
from their respective InitalReflow() methods.
table-layout=fixed now completely skips pass1 reflow and doesn't require maxElementSize
information, saving a tremendous amount of time during initial reflow.
1998-09-23 21:48:26 +00:00
troy%netscape.com 65269d3422 Frame construction changes for tables 1998-09-16 17:19:20 +00:00
buster%netscape.com 953b2efb58 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
buster%netscape.com 89e198237d expanded nsIFrame::List to include nsIListFilter *aFilter param, by default nsnull.
aFilter is useful for determining if a frame should output itself during
a List().  In any event, the children of the frame are always processed.
added nsIListFilter, an interface for any object that wants to act like a filter for frame dumps
added   static NS_LAYOUT nsIListFilter * GetFilter(nsString *aFilterName);
currently, only TableListFilter implements nsIListFilter.
in response to List(...TableListFilter), the frame model is dumped in a way that is useful
for table layout regression testing.  Currently this is controlled by command line switches on the viewer app.
1998-09-02 21:59:54 +00:00
buster%netscape.com 911380aeb5 any table with a nonsense rowspan lays out better 1998-07-24 00:43:09 +00:00
troy a629312753 Some more changes of nsIPresContext* to nsIPresContext& 1998-07-15 17:05:21 +00:00