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

97 Коммитов

Автор SHA1 Сообщение Дата
cmanske%netscape.com e7d0908c04 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze. 2000-03-23 04:24:58 +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
karnaze%netscape.com 49f3412344 bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy 2000-02-12 01:55:40 +00:00
karnaze%netscape.com 2e709d5d79 bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.
2000-02-12 00:58:38 +00:00
karnaze%netscape.com aebdc7d5fe bug 22246 - row/col span changes on cell alter cell map and reflow table. r=kmcclusk 2000-01-04 05:31:56 +00:00
troy%netscape.com b3f6ab293f Reduced size of table cell member data by 4 bytes by only storing the
maximum width and not both the width and height. The height was never used
so this wans't an issue
1999-12-24 03:46:21 +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
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 5d86678e7b r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
troy%netscape.com 5230acb007 Removed unused 4-byte "mMaxElementSize" member data 1999-10-21 20:51:04 +00:00
karnaze%netscape.com 886b682461 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy 1999-10-20 14:18:56 +00:00
troy%netscape.com 502629f011 r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
troy%netscape.com 5ab2223218 Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
troy%netscape.com f80550c400 Space savings. r=karnaze@netscape.com Cc'd hyatt@netscape.com
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame
1999-10-15 03:14:59 +00:00
slamm%netscape.com 26d787fa8c Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson. 1999-10-08 18:52:19 +00:00
troy%netscape.com f6340feb91 Space reductions, r=karnaze@netscape.com
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)
1999-10-07 20:38:50 +00:00
karnaze%netscape.com 498bb5f780 bug 12910 - SetPass1MaxElementSize considers nowrap on cell 1999-09-30 14:11:16 +00:00
karnaze%netscape.com 5b0679f4bf bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption. 1999-09-02 00:07:14 +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 20364c9f5a Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame
1999-08-29 04:18:00 +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
cmanske%netscape.com cb1417e9fa Added method to nsITableCellLayout. Fixed QI bug 1999-08-04 02:04:45 +00:00
troy%netscape.com 7c6dd3bfcb Reflow command cleanup 1999-08-01 22:21:03 +00:00
cmanske%netscape.com 5a6781c3b8 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
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
mjudge%netscape.com 864e061209 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
karnaze%netscape.com ebeb68d601 support for css padding in table cells 1999-05-18 05:18:16 +00:00
kipp%netscape.com 4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
ramiro%netscape.com ce86e7b16e Latest AIX fixes. (waqar@netscape.com).
When doing the multiple inheritance thing, explicitly give the publicness
for each superclass.
1999-03-08 15:13:54 +00:00
warren%netscape.com a60a14636f Fixed multiple mRefCnt problem. 1999-03-06 03:56:24 +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 2f913ac8b5 Changed GetRowIndex() so that for continued cell frames the row index is
that of the cell's first-in-flow
1999-02-21 19:55:22 +00:00
karnaze%netscape.com a43b2445da collapsing rows, row groups, cols, col groups 1999-02-11 06:22:33 +00:00
buster%netscape.com 178ad83c45 changed getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:16:28 +00:00
troy%netscape.com c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
kipp%netscape.com 7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +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
buster%netscape.com 1b814a3efe preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
according to css 2 spec
1999-01-03 19:22:40 +00:00
buster%netscape.com 714c427896 collapsing border computation and conflict resolution 1998-12-30 06:48:15 +00:00
buster%netscape.com d87ab21022 WIP for collapsing borders 1998-12-23 15:47:43 +00:00
buster%netscape.com 914c880651 collapsing borders now do rounding of odd-thickness borders correctly
at the pixel level.  The odd pixel is always given to the right and bottom
cell borders whenever possible, and to the top and left table border otherwise.
1998-12-21 18:54:23 +00:00
buster%netscape.com d1779f0342 beginnings of collapsing borders now implemented. Doesn't work for spanning cells yet,
and doesn't measure borders where the width changes along a shared edge yet.
1998-12-21 06:38:18 +00:00
kipp%netscape.com c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
buster%netscape.com 7f8a8688c4 WIP on collapsing borders 1998-12-16 17:05:14 +00:00
buster%netscape.com d35a765d2c clean up, removed some obsolete methods 1998-12-16 06:33:15 +00:00