gijskruitbosch%gmail.com
71a4dfaf55
Backing out fix for bug 92543 due to build bustage
...
git-svn-id: svn://10.0.0.236/trunk@233200 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 09:10:23 +00:00
gijskruitbosch%gmail.com
a8bef70bc4
Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray
...
p=alfredkayser@nl.ibm.com (Alfred Kayser)
r+sr=roc@ocallahan.org (Robert O'Callahan)
a=dbaron@mozilla.com (David Baron)
git-svn-id: svn://10.0.0.236/trunk@233199 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 08:53:33 +00:00
asqueella%gmail.com
a6ab533de7
back out 92543 due to DEBUG builds bustage
...
git-svn-id: svn://10.0.0.236/trunk@230147 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:52:27 +00:00
asqueella%gmail.com
96cf2d302c
Bug 92543 - BandRect.mFrames should be created as an nsAutoVoidArray
...
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@230135 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:00:27 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
timeless%mozdev.org
46444dd782
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
dbaron%dbaron.org
b258ce85ca
Single line comments to describe files (helpful in LXR)
...
git-svn-id: svn://10.0.0.236/trunk@193203 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 18:29:03 +00:00
timeless%mozdev.org
faf573a28d
Bug 298277 remove useless references to nsVoidArray
...
r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191016 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 10:30:59 +00:00
roc+%cs.cmu.edu
b4617efcf5
Bug 312777. Don't pass negative-margin-box floats to the space manager; correct them and preserve the right margin-edge on left floats and the left margin-edge on right floats. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@183303 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 01:16:45 +00:00
roc+%cs.cmu.edu
0d1ac7f10f
Bug 288560. Set mIsTopOfPage for each column in a column set. Also, make it possible to force floats to fit by relaxing the space manager's height constraint if necessary. r+sr=dbaron,a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@172829 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:25:11 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
2c97c45164
Move clearing from nsBlockBandData to nsSpaceManager so that 'clear' works even when the floats to be cleared don't overlap the block's border-box. b=148994 Patch by Blake Kaplan <mrbkap@rice.edu>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@157603 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 19:18:30 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
d956db112f
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
dbaron%dbaron.org
33601224e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
69da9d4a19
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
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
897a1a273b
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
...
git-svn-id: svn://10.0.0.236/trunk@138197 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:19:31 +00:00
dbaron%dbaron.org
a569c670f5
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
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
6278746fdf
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.
...
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%fas.harvard.edu
7ddeb79974
Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@106331 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 05:06:07 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
9359000a40
Header include dependency cleanup. b=64023 r=jag rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
buster%netscape.com
767024fce0
bug 57039 crash in [@ nsBlockBandData::GetBandData()]
...
r=karnaze
a=rickg, a=waterson
some simple bullet-proofing for possible null pointer dereferencing
git-svn-id: svn://10.0.0.236/trunk@81433 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 05:21:26 +00:00
waterson%netscape.com
579ee87174
Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster
...
git-svn-id: svn://10.0.0.236/trunk@77103 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:55:11 +00:00
buster%netscape.com
2fa9ad90e8
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
git-svn-id: svn://10.0.0.236/trunk@66201 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:40:46 +00:00
buster%netscape.com
bf63049426
bug 29595 (and others)
...
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +00:00
buster%netscape.com
6dda03d9d8
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.
git-svn-id: svn://10.0.0.236/trunk@56504 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 20:49:07 +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
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
kipp%netscape.com
57dac66f2e
r=troy; bugs: 13196; fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval
...
git-svn-id: svn://10.0.0.236/trunk@51397 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 20:44:22 +00:00
kipp%netscape.com
268f88d813
Expose left vs. right floaters (again)
...
git-svn-id: svn://10.0.0.236/trunk@47815 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:56:15 +00:00
kipp%netscape.com
d313b06d4d
Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310 )
...
git-svn-id: svn://10.0.0.236/trunk@44918 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:44:10 +00:00
troy%netscape.com
ed06c35f34
Added 'm' prefix to structs defined in nsISpaceManager
...
git-svn-id: svn://10.0.0.236/trunk@41059 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 19:01:13 +00:00
kipp%netscape.com
12a0ca23a4
Removed compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@29555 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:14:17 +00:00
kipp%netscape.com
28d76e7068
Fixed bug #5192 by growing the trapezoid buffer as needed
...
git-svn-id: svn://10.0.0.236/trunk@28352 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:08:03 +00:00
kipp%netscape.com
b7d7f14850
Translate trapezoid into proper coordinate system
...
git-svn-id: svn://10.0.0.236/trunk@25290 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:20:46 +00:00
kipp%netscape.com
32e9a9f145
Use raw trapezoid data to solve issues of floaters with margins (bug #2024 )
...
git-svn-id: svn://10.0.0.236/trunk@25180 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:59:13 +00:00
kipp%netscape.com
e86d824453
Init mFloaters
...
git-svn-id: svn://10.0.0.236/trunk@25152 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:37:32 +00:00
kipp%netscape.com
2bea53205b
Simply floater counters; handle case of a single occupied trapezoid
...
git-svn-id: svn://10.0.0.236/trunk@24762 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:32:55 +00:00
kipp%netscape.com
a34759dd7e
Removed some cruft
...
git-svn-id: svn://10.0.0.236/trunk@24592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 21:55:37 +00:00
kipp%netscape.com
c60c176227
Removed a duplicated method; moved by debug asserts into a central spot
...
git-svn-id: svn://10.0.0.236/trunk@23179 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:22:55 +00:00
kipp%netscape.com
9c5a7c3cee
Some asserts for me
...
git-svn-id: svn://10.0.0.236/trunk@22835 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:20: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
kipp%netscape.com
597b5f13e7
Avoid using the trapezoid data when we have none (bug #1277 )
...
git-svn-id: svn://10.0.0.236/trunk@20667 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 19:39:31 +00:00
kipp%netscape.com
9b917419dc
COMized nsIPresShell and nsIPresContext
...
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +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
ecc9f6f19d
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
troy%netscape.com
4d65b22403
Changed nsISpaceManager interface to conform to XP-COM conventions on
...
return values
git-svn-id: svn://10.0.0.236/trunk@17085 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 04:54:33 +00:00