hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
troy%netscape.com
3f61543a91
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
88c4d96e2c
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
troy%netscape.com
d16381b6f3
Removed 5 convenience functions from nsIFrame
...
git-svn-id: svn://10.0.0.236/trunk@51531 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:53:52 +00:00
troy%netscape.com
dced08401d
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
git-svn-id: svn://10.0.0.236/trunk@51358 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 05:11:43 +00:00
karnaze%netscape.com
0b5271c1c7
bug 15958(partial) - uses mComputedWidth instead of availableSize.width. r=buster; asked hook for permission, got no response.
...
git-svn-id: svn://10.0.0.236/trunk@50982 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 13:47:01 +00:00
karnaze%netscape.com
43efe84083
bug 15247 - ComputeAvailableTableWidth accounts for margins
...
git-svn-id: svn://10.0.0.236/trunk@50653 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:03:20 +00:00
karnaze%netscape.com
12a011a2e9
removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@50597 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 14:39:33 +00:00
troy%netscape.com
4e1923d3ad
Hooked up SizeOf() for cell map and table layout strategies. Also added in
...
some table frame data that was missed
git-svn-id: svn://10.0.0.236/trunk@49622 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 00:02:54 +00:00
karnaze%netscape.com
cb8caac5a9
removed border subtraction from out table frame and adjusted in layout strategy.
...
git-svn-id: svn://10.0.0.236/trunk@47175 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:45:58 +00:00
karnaze%netscape.com
0cba8f36fe
bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption.
...
git-svn-id: svn://10.0.0.236/trunk@45580 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:07:14 +00:00
kipp%netscape.com
eea3ab916a
Updated SizeOf methods to not waste space when doing a non-debug build
...
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
kipp%netscape.com
c9002f20df
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
...
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
karnaze%netscape.com
5daea56f8b
bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified.
...
git-svn-id: svn://10.0.0.236/trunk@44899 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:15:21 +00:00
karnaze%netscape.com
7cecd8f2db
bug 12590 - vertical-align:middle working on cell
...
git-svn-id: svn://10.0.0.236/trunk@44748 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:29:05 +00:00
karnaze%netscape.com
7f20e88284
backing out recent changes that failed table regression tests
...
git-svn-id: svn://10.0.0.236/trunk@44689 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 16:56:42 +00:00
hyatt%netscape.com
badf0ce469
Fix for bug 12887.
...
git-svn-id: svn://10.0.0.236/trunk@44664 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 10:23:49 +00:00
karnaze%netscape.com
5e4439a661
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
git-svn-id: svn://10.0.0.236/trunk@43641 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:52:37 +00:00
troy%netscape.com
8a85938908
Changed to table incremental reflow
...
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
troy%netscape.com
c5f5ea93ed
Converted outer table frame code over to new reflow command handling
...
git-svn-id: svn://10.0.0.236/trunk@42911 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 03:52:15 +00:00
troy%netscape.com
6287040813
Work-in-progress for table handling of reflow commands
...
git-svn-id: svn://10.0.0.236/trunk@41773 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 22:01:37 +00:00
cmanske%netscape.com
f92bc8ef26
Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted.
...
git-svn-id: svn://10.0.0.236/trunk@41766 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 18:26:45 +00:00
cmanske%netscape.com
e5ae1ba132
Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods
...
git-svn-id: svn://10.0.0.236/trunk@41757 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:20:14 +00:00
cmanske%netscape.com
6ea23b2d7b
Adding interface for editor access to table layout data
...
git-svn-id: svn://10.0.0.236/trunk@41743 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 22:11:50 +00:00
troy%netscape.com
947927e816
Renamed DeleteFrame() to Destroy()
...
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
hyatt%netscape.com
0b331a0f57
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.
git-svn-id: svn://10.0.0.236/trunk@37994 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 05:28:32 +00:00
karnaze%netscape.com
1827bdff68
removed temp windows code added by accident
...
git-svn-id: svn://10.0.0.236/trunk@34553 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:48:06 +00:00
peterl%netscape.com
691ead1e2f
#ifdef'd out windows specific timer code
...
git-svn-id: svn://10.0.0.236/trunk@34552 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:43:43 +00:00
karnaze%netscape.com
16daf5e57c
bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame
...
git-svn-id: svn://10.0.0.236/trunk@34544 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:29:34 +00:00
mjudge%netscape.com
85ff7d2a69
reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
...
git-svn-id: svn://10.0.0.236/trunk@32354 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 00:52:00 +00:00
kipp%netscape.com
de60169b67
Reworked frame factory methods; fixed bug 4519
...
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
troy%netscape.com
473511a1eb
Removed some code from nsContainerFrame that is no longer needed now that'
...
we have nsFrameList
git-svn-id: svn://10.0.0.236/trunk@27238 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:46:02 +00:00
karnaze%netscape.com
6184433bc6
code clean up, use of macros for debugging
...
git-svn-id: svn://10.0.0.236/trunk@26183 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 00:06:48 +00:00
kipp%netscape.com
9e4c4cb1e3
Whacked paint methods to use new constants
...
git-svn-id: svn://10.0.0.236/trunk@25154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:35 +00:00
troy%netscape.com
cac3fb5b73
Added some XXX comments
...
git-svn-id: svn://10.0.0.236/trunk@23048 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 05:03:09 +00:00
kipp%netscape.com
b4d19704fd
use new nsHTMLReflowState ctors
...
git-svn-id: svn://10.0.0.236/trunk@22833 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:19:09 +00:00
troy%netscape.com
b51e46e943
Removed nsIFrame::CreateContinuingFrame()
...
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
troy%netscape.com
f293c578fd
Changed nsIFrame::Init() to take an additional parameter
...
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
troy%netscape.com
70b1ea8e3f
Added frame type atoms for several table frame classes
...
git-svn-id: svn://10.0.0.236/trunk@21708 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:54:31 +00:00
troy%netscape.com
cc2323242f
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
git-svn-id: svn://10.0.0.236/trunk@21702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:48:08 +00:00
troy%netscape.com
bd78450e96
Changed GetNextSibling() to use a pointer argument instead of a reference
...
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
2af2ec249b
Changed GetParent() to use ** instead of *&
...
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
buster%netscape.com
5ca7f5e8c6
fixed bug 2516. The InitChildList code needed to check display types before
...
assigning the mCaptionFrame member variable.
git-svn-id: svn://10.0.0.236/trunk@18066 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 07:27:06 +00:00
kipp%netscape.com
4e355995e6
Spanked away SizeOf methods and nsIListFilter
...
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
kipp%netscape.com
c3040176bf
Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
...
git-svn-id: svn://10.0.0.236/trunk@17883 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:52:05 +00:00