693 Commits

Author SHA1 Message Date
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
karnaze%netscape.com
3edd689e09 put back to rev 3.340 due to mail/news regressions.
git-svn-id: svn://10.0.0.236/trunk@53215 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 18:22:57 +00:00
karnaze%netscape.com
003aeba6b5 fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated.
git-svn-id: svn://10.0.0.236/trunk@53196 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 05:43:35 +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
karnaze%netscape.com
c5c9738319 crash on abc - calls EnsureColumns upon entering reflow if appropriate
git-svn-id: svn://10.0.0.236/trunk@52878 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-05 22:33:04 +00:00
karnaze%netscape.com
bf8bc966c9 ComputeDesiredHeight - removed potential error if first child is not a row group.
git-svn-id: svn://10.0.0.236/trunk@52547 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 15:41:38 +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
karnaze%netscape.com
15d92465ad simplified caching of column frames. split out collapsing border processing into nsBorderCollapser (checked in previously). r=troy
git-svn-id: svn://10.0.0.236/trunk@52050 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 04:09:39 +00:00
kipp%netscape.com
0637f2c48a Backed out chris's accidental checkin (don't ask)
git-svn-id: svn://10.0.0.236/trunk@51973 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 15:57:35 +00:00
karnaze%netscape.com
03e8200f99 hello
git-svn-id: svn://10.0.0.236/trunk@51972 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 15:55:31 +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
kipp%netscape.com
2ed3a3fc6a Removed some more warnings
git-svn-id: svn://10.0.0.236/trunk@51530 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 14:51:41 +00:00
troy%netscape.com
54572af2e6 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.


git-svn-id: svn://10.0.0.236/trunk@51485 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 02:06:22 +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
fb5466f5e4 bug 14915 - fix crash.
git-svn-id: svn://10.0.0.236/trunk@51328 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 00:11:55 +00:00
karnaze%netscape.com
6418d90654 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy
git-svn-id: svn://10.0.0.236/trunk@51256 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 14:18:56 +00:00
troy%netscape.com
c04a6a88dc 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


git-svn-id: svn://10.0.0.236/trunk@50941 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 03:30:11 +00:00
karnaze%netscape.com
ef61c5a72c pass2 reflow doesn't request max element sizes to help with bug 14855. Reviewers didn't respond.
git-svn-id: svn://10.0.0.236/trunk@50782 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 04:09:22 +00:00
troy%netscape.com
50fb78a575 Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size


git-svn-id: svn://10.0.0.236/trunk@50654 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:27:01 +00:00
troy%netscape.com
bae6f56e4b Changes to SizeOf() code only. This code is debug code that only runs
when you chose the "Show Frame Sizes" menu item...


git-svn-id: svn://10.0.0.236/trunk@50269 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:18:19 +00:00
slamm%netscape.com
16bf5b4e43 Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@50230 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 18:52:19 +00:00
troy%netscape.com
093e5bfd97 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing


git-svn-id: svn://10.0.0.236/trunk@50206 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:12:55 +00:00
troy%netscape.com
70a3da2b30 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)


git-svn-id: svn://10.0.0.236/trunk@50117 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:38:50 +00:00
karnaze%netscape.com
89bd8c3bc9 fixed assertion in viewer sample 4. AdjustForCollapsingCols was incorrectly counting as columns frames which were not of display type NS_STYLE_DISPLAY_TABLE_COLUMN and something must have changed elsewhere to tickle this.
git-svn-id: svn://10.0.0.236/trunk@49948 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 03:59:07 +00:00
troy%netscape.com
9598e1278f Checked in workaround for tree-view/apprunner problem of assert in GetColumnWidth()
git-svn-id: svn://10.0.0.236/trunk@49787 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 02:41:36 +00:00
troy%netscape.com
4f1bf46f5d Space optimization for nsTableFrame. r=karnaze@netscape.com
- changed mBorderEdges to be heap allocated (only needed for collapsing border model)
- made the 8 boolean data members into bitfields
- changed mColumnWidths to be as small as necessary instead of defaulting its size to 100 elements


git-svn-id: svn://10.0.0.236/trunk@49748 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 23:48:05 +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
mjudge%netscape.com
124711cde1 changes to selection code to stop a never ending loop
git-svn-id: svn://10.0.0.236/trunk@48665 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 22:58:14 +00:00
mjudge%netscape.com
cbf04231bb adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different.
git-svn-id: svn://10.0.0.236/trunk@48081 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:33:39 +00:00
kipp%netscape.com
8ebf1dd75a Squish a warning or two
git-svn-id: svn://10.0.0.236/trunk@48002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:16:37 +00:00
karnaze%netscape.com
d7c9692b2e bug 13135, removed unused code
git-svn-id: svn://10.0.0.236/trunk@47248 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 01:27:40 +00:00
troy%netscape.com
0bfb91d8a1 Added support for incremental table painting
git-svn-id: svn://10.0.0.236/trunk@47088 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 03:19:39 +00:00
karnaze%netscape.com
9f24e29442 fixed bug in debug output for reflow
git-svn-id: svn://10.0.0.236/trunk@46766 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 13:03:32 +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
mjudge%netscape.com
fa54e221ee getting rid of build warnings
git-svn-id: svn://10.0.0.236/trunk@45528 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:37:32 +00:00
troy%netscape.com
34b68e1b56 Added definition for RowHasSpanningCells()
git-svn-id: svn://10.0.0.236/trunk@45436 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:36:47 +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
troy%netscape.com
3f3a37b810 Changed ReflowMappedChildren() to reset max element size to 0 for an
incremental reflow


git-svn-id: svn://10.0.0.236/trunk@45302 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 05:55:33 +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
troy%netscape.com
c45af7c51f Changing tables to return max element size during an incremental reflow
git-svn-id: svn://10.0.0.236/trunk@45209 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:30:32 +00:00
hyatt%netscape.com
0cf34ce7ba Changes to the cell map to support incremental insertion and removal of rows. Currently
only used by the tree widget.


git-svn-id: svn://10.0.0.236/trunk@45097 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:01:09 +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
42a0e08a9e bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
git-svn-id: svn://10.0.0.236/trunk@44534 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:49:18 +00:00
karnaze%netscape.com
112f671dfe replaced debug flags with class. removed compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@44283 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 12:01:31 +00:00
karnaze%netscape.com
633cb9cc8f bugs 9123, 10002 - percentage height tables exclude margin/border/padding of HTML and BODY
git-svn-id: svn://10.0.0.236/trunk@44236 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 04:17:05 +00:00
hyatt%netscape.com
1f5079c7ff Patching a function used only by the tree code.
git-svn-id: svn://10.0.0.236/trunk@44052 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 09:50:22 +00:00