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

40 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
dbaron%dbaron.org 3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org 0ec06d045f Change the way we calculate max-element-width for blocks with floaters: stop trying (and sometimes failing) to ensure that there can always be text next to the floater. b=186593 r+sr=roc+moz 2003-02-22 16:19:31 +00:00
dbaron%dbaron.org 57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
bryner%netscape.com 7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
dbaron%fas.harvard.edu 6e86902faa Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson 2001-10-26 05:06:07 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
buster%netscape.com d2c314a090 bug 57039 crash in [@ nsBlockBandData::GetBandData()]
r=karnaze
a=rickg, a=waterson
some simple bullet-proofing for possible null pointer dereferencing
2000-10-19 05:21:26 +00:00
waterson%netscape.com 69afdebc22 Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster 2000-08-24 19:55:11 +00:00
buster%netscape.com f40b76249a bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
r=buster

bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy

bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy

no bug number.  performance work.  reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy
2000-04-17 14:40:46 +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
buster%netscape.com 64906b0b20 fixed bug 19494
r=troy

The problem was the space mgr was computing mCount to be > 2* mSize, which this code couldn't handle correctly. So now if the space mgr computes mCount to be more than twice the size of the current count, we immediately bump up the size to that count.� If more are needed later, the next call will give us twice this number anyway.
1999-12-23 20:49:07 +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 a12c3d6c5d Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
kipp%netscape.com 0d540807d5 r=troy; bugs: 13196; fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval 1999-10-21 20:44:22 +00:00
kipp%netscape.com 26e0a12c03 Expose left vs. right floaters (again) 1999-09-16 19:56:15 +00:00
kipp%netscape.com 424e55fe9d Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310) 1999-08-27 21:44:10 +00:00
troy%netscape.com bc9ccffd53 Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
kipp%netscape.com 39c56cdb27 Removed compiler warnings 1999-04-27 22:14:17 +00:00
kipp%netscape.com e7d121e337 Fixed bug #5192 by growing the trapezoid buffer as needed 1999-04-20 23:08:03 +00:00
kipp%netscape.com 4bec7a8874 Translate trapezoid into proper coordinate system 1999-03-27 01:20:46 +00:00
kipp%netscape.com 9a7fc8e883 Use raw trapezoid data to solve issues of floaters with margins (bug #2024) 1999-03-26 01:59:13 +00:00
kipp%netscape.com c6a9c511fd Init mFloaters 1999-03-26 00:37:32 +00:00
kipp%netscape.com e77334dd29 Simply floater counters; handle case of a single occupied trapezoid 1999-03-23 01:32:55 +00:00
kipp%netscape.com de3a0d8646 Removed some cruft 1999-03-20 21:55:37 +00:00
kipp%netscape.com ca18ac0959 Removed a duplicated method; moved by debug asserts into a central spot 1999-03-08 19:22:55 +00:00
kipp%netscape.com 2f71be6002 Some asserts for me 1999-03-05 04:20:31 +00:00
troy%netscape.com 03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
kipp%netscape.com fff7bf9929 Avoid using the trapezoid data when we have none (bug #1277) 1999-02-13 19:39:31 +00:00
kipp%netscape.com 36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +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 c5ec74eb54 Changed nsISpaceManager interface to conform to XP-COM conventions on
return values
1999-01-04 04:54:33 +00:00
kipp%netscape.com 5c8c37f9e8 Added methods for get floater info in the band and a method to compute the impact on the max-element-size of the floaters 1998-12-17 18:50:45 +00:00
kipp%netscape.com 9cb6aebcb0 Revised ClearFloaters to loop so that all appropriate floaters are cleared 1998-12-12 19:17:58 +00:00
kipp%netscape.com 14d0a212d5 new 1998-12-08 21:44:22 +00:00