karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
karnaze%netscape.com
a81a269978
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
rbs%maths.uq.edu.au
da17b2181d
Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson
2001-02-23 12:35:34 +00:00
pierre%netscape.com
9af01acf22
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
rods%netscape.com
99666eed8c
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
7ecf530933
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
rods%netscape.com
edb0c6270c
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
karnaze%netscape.com
45c48d4cce
bug 55789 - the col group frame increments its num cols before inserting the col into the table. a=buster, r=dcone.
2000-10-11 22:09:00 +00:00
rods%netscape.com
87ca6a324b
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:36:33 +00:00
karnaze%netscape.com
41c7c7ff5d
bug 2479 - deleting cols and/or colgroups caused incorrect reseting of col group starting index.
2000-04-04 04:28:18 +00:00
dbaron%fas.harvard.edu
87e19c9cef
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
pierre%netscape.com
4d43de09aa
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
2000-03-17 10:15:13 +00:00
jdunn%netscape.com
080142580c
Fix problem with NS_IF_ADDREF on member variables inside of const
...
member functions. This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h
r=troy@netscape.com ,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +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
5cb57b00e7
fixed tinderbox warnings
2000-01-03 00:56:12 +00:00
bryner%uiuc.edu
21e2898b7d
Changing an instance of = to ==, which is what it should have
...
been. r=karnaze.
1999-12-28 20:10:32 +00:00
karnaze%netscape.com
1949a7d733
removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt
1999-12-16 01:51:06 +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
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
1be0909b54
Hooked up SizeOf() for cell map and table layout strategies. Also added in
...
some table frame data that was missed
1999-10-02 00:02:54 +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
karnaze%netscape.com
7bad0d49ba
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
karnaze%netscape.com
c598fc57e3
added constructor to nsTableColGroupFrame, fixed a few places where
...
nsColGroupFrame assummed its children were nsColGroupFrames.
1999-08-10 02:45:18 +00:00
troy%netscape.com
35e2410e44
Changed reflow command handling over to the new approach
1999-08-06 14:34:56 +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
troy%netscape.com
7a5e4dbdb5
Renamed some nsFrameList member functions
1999-07-22 04:00:57 +00:00
buster%netscape.com
481008636f
fixed warnings
1999-06-28 13:44:40 +00:00
karnaze%netscape.com
a4f30df4ac
bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame
1999-06-10 02:29:34 +00:00
karnaze%netscape.com
1036c9827e
support for backgrounds on table elements in both compatibility modes
1999-06-07 21:10:25 +00:00
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
troy%netscape.com
03e8dd2540
Removed some code from nsContainerFrame that is no longer needed now that'
...
we have nsFrameList
1999-04-12 23:46:02 +00:00
kipp%netscape.com
9ddafbd9f8
use new nsHTMLReflowState ctors
1999-03-05 04:19:09 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
kipp%netscape.com
36c243cdc0
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy%netscape.com
902190112d
API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
1999-02-11 15:56:23 +00:00
karnaze%netscape.com
a43b2445da
collapsing rows, row groups, cols, col groups
1999-02-11 06:22:33 +00:00
troy%netscape.com
034aa56b83
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
b974e26cea
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kipp%netscape.com
2a44cdd816
Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings
1999-02-04 16:27:18 +00:00
buster%netscape.com
45846b7bca
workaround for bug 2476: check for null child list before calling nsFrameList::AppendFrames
1999-01-18 23:54:23 +00:00
kipp%netscape.com
7f96144059
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
kipp%netscape.com
065905fa0b
Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
1999-01-15 22:52:05 +00:00
troy%netscape.com
036e6852f2
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
4b3e1eebad
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com
7b5cc03059
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
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
buster%netscape.com
23112ce100
minor optimizations and cleanup. removed constructors that did nothing.
1998-12-03 20:19:01 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
wtc%netscape.com
59b32f50ef
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
888de27782
removed a spurious GetContent that was the cause of a memory leak
1998-11-20 23:10:47 +00:00
kipp%netscape.com
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
buster%netscape.com
f4b68564d6
col and colgroup attribute handling
...
colgroup pseudo frame for cols inserted directly into a table. More like this to come...
1998-11-12 18:37:28 +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
peterl%netscape.com
cedec7bc27
sync to style resolution api changes
1998-11-03 20:33:43 +00:00
buster%netscape.com
f01655410d
implemented basic attribute changed handling. most things currently work, those that don't will work better after Peter
...
lands some style context resolution changes.
1998-10-30 23:08:34 +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
0c1c724f56
incremental reflow: append/insert/delete row group, append/insert/delete col
1998-10-15 21:07:37 +00:00
buster%netscape.com
2a254f6de9
nsTableFrame can now incrementally insert, append, and delete colgroups
1998-10-14 22:51:50 +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
kipp%netscape.com
ea5a5735f5
Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
1998-10-12 14:48:02 +00:00
buster%netscape.com
56237b7411
WIP for inner table incremental reflow
...
lots of interface cleanup
1998-10-11 09:18:27 +00:00
troy%netscape.com
d25a9a35a2
Removed GetContentIndex() from nsIFrame
1998-10-08 20:35:16 +00:00
buster%netscape.com
c81a22ecf1
all frames properly setting ascent and descent values for reflow
...
WIP incremental reflow in nsTableOuterFrame
1998-10-08 15:34:48 +00:00
troy%netscape.com
7e64653dab
Changed ReflowChild() to send the WillReflow() notification as well
1998-10-06 00:27:22 +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
783bdbef96
just synching up some minor cleanup work
1998-09-30 18:11:48 +00:00
buster%netscape.com
15751816da
fixed bug 915. Colgroup frames now get Init() calls properly with
...
synthesized COLs.
1998-09-28 20:38:10 +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
0f842c0152
Removed all references to m<First,Last>ContentOffset,mChildCount,mLastContentIsComplete
1998-09-21 03:40:32 +00:00
troy%netscape.com
62b1375f69
Removed farme enumeration member functions for indexed access, last child,
...
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com
29e5156e14
Removed nsIContentDelegate.h
1998-09-18 17:34:48 +00:00
troy%netscape.com
b2f7d8a3d8
Fixed a compiler warning
1998-09-18 03:13:47 +00:00
troy%netscape.com
434ecf7423
Fixed a problem with tables with COLGROUP and COL elements crashing
...
because there was a null cellmap
1998-09-16 23:24:39 +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
49cf716e9d
reimplemented cell map in terms of nsVoidArrays for incremental building.
...
the cellmap is now built incrementally, driven by nsTableRowFrame::InitialReflow
1998-08-31 21:23:28 +00:00
kipp%netscape.com
c6290fa577
XPCOM'ized nsIContent and nsIHTMLContent
1998-08-29 20:20:38 +00:00
buster%netscape.com
7b6c525170
more content decoupling
...
support work for style optimizations
fixed a bug in table columns -- the attribute repeat defaults to 1, not 0
1998-08-26 17:26:38 +00:00
troy
a90fe8e1de
Changed Reflow() member function to take a reference to a nsIPresContext
...
instead of a pointer
1998-07-15 02:53:09 +00:00
troy
97ae834b23
Deprecated the SetFirstContentOffset/SetLastContentOffset member
...
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
buster
288d645ae3
Separated table content from table layout. This paves the way for XML/CSS-2 tables.
...
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
buster
f1483bd22e
more separation between table content and frames
1998-06-11 17:50:51 +00:00
troy
66b6882d23
Added nsIReflowCommand interface
1998-06-09 04:51:44 +00:00
peterl
91c5893512
sync up to new style data apis
1998-06-05 06:09:09 +00:00
buster
3086966c54
much better fixed and percentage width layout
1998-06-01 20:21:05 +00:00
buster
a58280cec0
some proportional column balancing now works
...
the <TABLE> COLS attribute is supported via proportional column balancing.
1998-05-29 22:08:19 +00:00
troy
7a485fcc40
Changed nsReflowState structs to be linked together
1998-05-29 20:36:05 +00:00
buster
aad54b07f6
set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
...
set the groundwork for handling percentage-width tables. Troy is adding a hook for me to get the correct width info from the parent. WIP.
1998-05-28 21:39:22 +00:00