Commit Graph

37 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
277d3af41f Make destructors that exist only for MOZ_COUNT_DTOR be #ifdef NS_BUILD_REFCNT_LOGGING instead of #ifdef DEBUG so the leak stats on optimized builds are correct. r=waterson@netscape.com sr=brendan@mozilla.org b=62421 2000-12-16 18:56:06 +00:00
buster%netscape.com
37e900a62c bug 28811
r=karnaze
The problem was we were over-eager in optimizing away a resize reflow for lines
that contain %-aware children.  We were only looking at the first-level children
of a line, not all the children.  Now, we compute a bit for each inline container
based on it's children, true if any of them are %-aware wrt any width measurement.
We propogate this bit upwards to a bit on the line itself, and check this bit during reflow.
2000-09-11 20:46:44 +00:00
buster%netscape.com
a017796f68 bug 45152 (Typed text does not render in TextAreas with a horizontal scrollbar)
fixed by adding a flag in nsLineBox for the content of a line to mark it "forceInvalidate",
logic in nsLineLayout to set the line dirty for initial reflow of text frames,
and logic in block to check the new flag.
r=kin
2000-08-24 04:26:43 +00:00
anthonyd%netscape.com
2ba178903c warning fixes for linux. r: mjudge a: beppe 2000-06-16 22:28:10 +00:00
anthonyd%netscape.com
7ab436fd88 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.
2000-05-16 08:11:14 +00:00
anthonyd%netscape.com
e8ceb8ee1b r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
buster%netscape.com
1c6eca645a bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
2000-03-22 23:19:10 +00:00
troy%netscape.com
6464eafc57 Now line boxes are allocated out of the pres shell arena. This reduces the
overhead of memory allocation, and it gets us recycling which speeds up
resize reflows
2000-03-12 03:00:51 +00:00
troy%netscape.com
f08e81815b More work on getting block frames to incrementally update their
maximum width
2000-01-08 03:58:27 +00:00
troy%netscape.com
8791b810ba Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
2000-01-03 04:32:13 +00:00
troy%netscape.com
138fa22a88 Work-in-progress for having maximum width (needed by tables) be updated
incrementally
1999-12-30 04:15:45 +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
kipp%netscape.com
f6d66c6b92 r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property 1999-11-02 23:42:52 +00:00
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
kipp%netscape.com
24eed8d0c5 r=troy; api changes for 12958, 12760 and preperations for 17377 1999-10-29 14:35:36 +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
kipp%netscape.com
a5c69dc5af Fixed O(N^2) debug logic bug; speed up paint loop by avoiding painting too much now that we have combined-area (bug 7455, 12297) 1999-10-19 23:04:19 +00:00
kipp%netscape.com
ab0a40b009 r=troy; Reworked nsLineBox api to allow for reduced storage overhead; fixed bug 16252 while keeping bug 12709 fixed 1999-10-14 23:10:03 +00:00
kipp%netscape.com
d29d16b728 r=troy; Cleaned up line-box API (prep work for bug #12297; more coming); Support new line iterator API change (#16176) 1999-10-12 23:24:22 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
troy%netscape.com
6b808204e8 Added SizeOf() handler for floater information maintained by the
line box
1999-10-02 02:51:03 +00:00
kipp%netscape.com
6488f7b26e Fixed various incremental reflow bugs (1764,12890,1910,2222) and list bullet painting bug (10675,13599) 1999-09-15 00:28:10 +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
ea250c6886 Changed block frame code to cache the max element width. This enables
us to ask for the maxElementSize when doing an incremental reflow
1999-08-28 00:39:55 +00:00
kipp%netscape.com
8c0ea0f9ae Updated line iterator impl to match API in nsILineIterator 1999-05-13 00:54:28 +00:00
kipp%netscape.com
bfcbd0e0c8 Beginnings of a line iterator 1999-05-10 22:28:49 +00:00
kipp%netscape.com
51f4880f08 Added WasDirty for debugging incremental reflow 1999-04-27 22:12:53 +00:00
kipp%netscape.com
187be6b63f Tweaked FindLineContaining to return the index in the line where the frame is found 1999-04-20 21:52:22 +00:00
kipp%netscape.com
1e5bc6c757 Added first line support methods 1999-04-20 00:22:58 +00:00
kipp%netscape.com
40aded725e Removed some debris 1999-04-03 18:57:51 +00:00
kipp%netscape.com
33027c97cb Removed some cruft 1999-03-29 23:45:49 +00:00
kipp%netscape.com
90bc4551ea Removed carried-out-top-margin 1999-03-27 01:24:24 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp%netscape.com
61e5ececd9 Added set/get empty line methods (currently unused) 1998-12-17 18:54:40 +00:00
kipp%netscape.com
d349695d52 #ifdef'd out the outside-children state methods 1998-12-15 00:16:21 +00:00
kipp%netscape.com
a00a2855e8 Updated 1998-12-05 16:01:11 +00:00
kipp%netscape.com
5841a14537 new 1998-12-01 16:13:49 +00:00