roc+@cs.cmu.edu
41a5176429
Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron
2007-01-18 01:20:09 +00:00
roc+@cs.cmu.edu
f610a4faf0
Backout of nsLineLayout changes; trying to fix luna orange
2007-01-17 06:27:01 +00:00
roc+@cs.cmu.edu
8ec6bf1a3e
Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron
2007-01-17 03:59:32 +00:00
roc+@cs.cmu.edu
9d3ff4b973
Backing out text landing.
2007-01-16 22:25:20 +00:00
roc+@cs.cmu.edu
8b03653c52
Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts
2007-01-16 20:51:52 +00:00
dbaron@dbaron.org
816c26ea2f
Remove nsLineLayout::mWordWidth, which should have been removed in earlier reflow branch merging. b=363232 r+sr=roc
2006-12-13 23:11:13 +00:00
dbaron@dbaron.org
d21cb374bd
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
roc+@cs.cmu.edu
d9807fd270
Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
2006-10-19 01:47:47 +00:00
bzbarsky@mit.edu
b6011925a4
Trim whitespace that comes right before a <br> when trimming whitespace. Bug
...
132561 relanding, r+sr=dbaron
2006-04-21 01:31:35 +00:00
bzbarsky@mit.edu
8f7ba211e4
Make line boxes have the right width when justifying. Bug 309761, r+sr=roc
2006-04-12 01:07:01 +00:00
dbaron@dbaron.org
60eede3c11
Single line comments to describe files (helpful in LXR)
2006-03-29 18:29:03 +00:00
rbs@maths.uq.edu.au
9c6bc8eff6
Re-checkin as it showed no impact on luna's TDHML bug 331661. Introduce a soft-break flag that means that a whitespace has been trimmed at the end of the line, and therefore its width has not been accounted for (this width can actually be large, e.g., if a large word-spacing is set). LineLayout should not be misled into placing something where the whitespace was trimmed. b=329987, r+sr=bz
2006-03-27 07:04:29 +00:00
rbs@maths.uq.edu.au
71a6037dbc
Backing out to investigate the DHTML jump on luna, bug 331661
2006-03-27 05:21:44 +00:00
rbs@maths.uq.edu.au
07d860ad88
Introduce a soft-break flag that means that a whitespace has been trimmed at the end of the line, and therefore its width has not been accounted for (this width can actually be large, e.g., if a large word-spacing is set). LineLayout should not be misled into placing something where the whitespace was trimmed. b=329987, r+sr=bz
2006-03-24 22:45:05 +00:00
roc+@cs.cmu.edu
a5bd2b79f6
Bug 297537. Line layout should not set an available-height constraint on the inline frames, because they can't break vertically ... and it certainly shouldn't set the constraint based on the band dimensions. Fixes Gmail rich text toolbar layout issue. r+sr=dbaron,a=asa
2005-06-17 02:46:36 +00:00
roc+@cs.cmu.edu
51b95a1634
Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron
2005-03-23 03:35:08 +00:00
bryner@brianryner.com
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
jim_nance@yahoo.com
34afa67d4a
Fix But #250105 - Add Arena for nsLineLayout buffers. r+sr=roc
2004-07-15 17:50:34 +00:00
gerv@gerv.net
a1ec040a65
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
dbaron@dbaron.org
1eabe65556
Backing out my checkin from yesterday. b=199673
2004-03-10 17:13:39 +00:00
dbaron@dbaron.org
142c56e9fc
In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky
2004-03-10 00:28:17 +00:00
scott@scott-macgregor.org
cf5453fb86
Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
...
(See Bug #235223 ).
a=brendan
2004-03-02 01:23:13 +00:00
bzbarsky@mit.edu
ed07456165
Trim whitespace that comes right before a <br> when trimming whitespace. Bug
...
132561, r+sr=dbaron
2004-02-19 22:12:38 +00:00
bzbarsky@mit.edu
894ec7fb8b
Collapse trailing whitespace even if there is a placeholder after it. Bug
...
233451, r+sr=dbaron
2004-02-09 01:01:06 +00:00
dbaron@dbaron.org
a64d01f4d3
Removed unused LineIsEmpty function.
2003-11-11 19:25:49 +00:00
dbaron@dbaron.org
9446ce805f
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
dbaron@dbaron.org
f7edc2b9f3
Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc
2003-09-28 22:56:08 +00:00
pkw@us.ibm.com
6506ffc555
Bug 217499: Clean up AIX libpath and configure script
...
r=cls@seawood.org , a=asa@mozilla.org
2003-08-29 17:15:06 +00:00
dbaron@dbaron.org
2c91043d4a
Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc
2003-07-23 00:14:16 +00:00
mkaply@us.ibm.com
b757a078b1
rs=leaf
...
Remove XP_OS2_VACPP from the tree
2003-07-21 22:10:08 +00:00
dbaron@dbaron.org
1c37d177d4
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
dbaron@fas.harvard.edu
4c4f65aba0
Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
2002-12-11 04:00:18 +00:00
bzbarsky@mit.edu
f7da96f8e7
Reorder some members in nsLineLayout to make them pack better. Bug
...
176749, patch by dann@godzilla.ics.uci.edu (Dan), r=bzbarsky, sr=dbaron
2002-11-06 02:03:43 +00:00
karnaze@netscape.com
d94f7cf2db
bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov
2002-09-24 22:13:20 +00:00
dbaron@fas.harvard.edu
c853b6104c
Back out most of patch for bug 154910 to fix crash, since nsLineLayout need not do all its allocation without other things lower on the stack. b=162516
2002-08-14 13:00:16 +00:00
dbaron@fas.harvard.edu
fa400b9cf2
Make BR-related parts of the quirky inline box model also quirky in almost-standards mode, to match the rest of the inline box model quirks. b=161691 sr=bzbarsky r=caillon
2002-08-11 18:00:07 +00:00
dbaron@fas.harvard.edu
b7d00d4b79
Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson
2002-08-06 13:51:07 +00:00
dbaron@fas.harvard.edu
d7ebbb7e37
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
2002-06-25 21:16:17 +00:00
karnaze@netscape.com
7ce5d8ded3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
dbaron@fas.harvard.edu
3b1c910c31
Use text-indent in max-element-size calculation (130116, 91468, 140682). Don't apply text-indent after page break to the same block (45694). b=130116 r=attinasi sr=waterson
2002-05-14 12:55:55 +00:00
waterson@netscape.com
a7380946d3
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
smontagu@netscape.com
eed9148bb1
Improve performance by making nsWordFrame in nsLineLayout an nsDeque instead of an nsAutoVoidArray. Bug 121967, r=timeless, sr=attinasi, a=asa
2002-03-19 21:57:45 +00:00
waterson@netscape.com
e3ca97d5a6
Bug 46918, 3490. Clean up inline margin handling. r=rbs, sr=kin
2002-01-30 23:28:56 +00:00
jdunn@netscape.com
ac2e4ab8fc
Change certain AIX ifdefs to AIX_XLC_364 since these ifdefs are only
...
needed for AIX's xlC 3.6.4 compiler. Add test to configure to check
compiler version. NOTE: also adding hpux and aix check for keyboardutils.
r=cls@seawood.org
# 119179
2002-01-25 15:07:38 +00:00
dbaron@fas.harvard.edu
d3f01c8c10
Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
2001-10-26 05:06:07 +00:00
dbaron@fas.harvard.edu
4b1de618fc
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
2001-10-25 01:08:40 +00:00
dbaron@fas.harvard.edu
b6e29c0bef
Use nsAutoVoidArray for stack-based nsLineLayout to reduce allocations. r=jag sr=waterson b=90727
2001-07-25 05:20:09 +00:00
dbaron@fas.harvard.edu
c156662a18
Add some comments to code about issues that we should look at, remove some unused code, rename some unnecessarily-overloaded functions, fix some typos, and make a few minor style changes. b=88735 r=waterson sr=attinasi
2001-07-04 02:00:05 +00:00
waterson@netscape.com
7b3f285e70
Bug 77414. Break nsBlockReflowState out into its own files. sr=attinasi
2001-05-01 04:22:57 +00:00
buster@netscape.com
c639e1a5a5
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