Commit Graph

166 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
cfdcd1fbe2 Bug 392809. Fix word-based caret movement around punctuation and whitespace. r=smontagu,a=beltzner 2008-03-03 00:37:34 -08:00
roc+@cs.cmu.edu
bc1e698534 Bug 400057. Make nsBlockInFlowLineIterator useful for finding the line containing a frame, searching across block continuations and their overflow lines. Use it in various places, especially in textrun construction. r+sr=dbaron 2008-02-27 01:53:48 -08:00
roc+@cs.cmu.edu
e29a1f3193 Bug 419531. Don't wipe out stored tab widths during text intrinsic size calculation. r+sr=dbaron 2008-02-27 01:29:46 -08:00
fantasai.cvs@inkedblade.net
d4dc37580f switch GetOverflowAreaProperty callers to GetOverflowRect b=417116 r+sr=roc a=roc 2008-02-19 23:08:55 -08:00
masayuki@d-toybox.com
cb5c20d581 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
roc+@cs.cmu.edu
b278a54a54 Bug 400813. Text with font-size:0 should not make a line be treated as empty. r+sr=dbaron 2008-02-14 01:08:33 -08:00
roc+@cs.cmu.edu
79bbde3785 backing out bug 400813 again due to reftest failure... 2008-02-11 18:48:17 -08:00
roc+@cs.cmu.edu
4251201001 Bug 400813. Lines with font-size:0 content should not be treated as empty. r+sr=dbaron 2008-02-11 17:42:14 -08:00
roc+@cs.cmu.edu
dada6c8a8d Backing out 400813, sigh 2008-01-29 23:35:05 -08:00
roc+@cs.cmu.edu
81d839b21e Bug 400813. Lines with actual content that just happens to be zero-width should be treated as non-empty. r+sr=dbaron 2008-01-29 23:12:26 -08:00
roc+@cs.cmu.edu
926a7142d9 Bug 411792. Never put a line break before a preformatted newline. r=smontagu 2008-01-26 23:48:39 -08:00
mats.palmgren@bredband.net
5eb8d1615d Update the content offset for existing non-fluid continuations when creating a next-in-flow. b=406380 r+sr=roc a=blocking1.9 2008-01-04 09:09:35 -08:00
roc+@cs.cmu.edu
fb28ffc853 Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats 2008-01-03 18:08:29 -08:00
mats.palmgren@bredband.net
56d920eba2 Backing out bug 406380 to fix reftest failure. 2007-12-31 03:32:07 -08:00
mats.palmgren@bredband.net
4aa25eb7a7 Update content offset for all next-continuations, not just fluid ones. b=406380 r+sr=roc a=blocking1.9 2007-12-31 02:29:20 -08:00
Evan.Yan@Sun.COM
bc99bfe327 Bug 405248 - Space between embedded objects characters is missing r=aaronleventhal a=mtschrep 2007-12-19 04:57:08 -08:00
vladimir@pobox.com
1f7f3e59ed b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
smontagu@smontagu.org
89837357fe Make sure that the offsets in a textframe are up-to-date before creating a bidi continuation. Bug 406675, r=uriber, sr=roc, blocking1.9=schrep 2007-12-12 23:51:27 -08:00
roc+@cs.cmu.edu
8a54485b51 Bug 407078. Don't allow a trailing break in a text run that is followed by a <br>. r=smontagu 2007-12-10 17:19:20 -08:00
roc+@cs.cmu.edu
991719200d Bug 407155. Backing out 392809 to fix regressions. a=schrep 2007-12-07 01:35:44 -08:00
roc+@cs.cmu.edu
deaf474141 Bug 407227. Include end-of-linebreaker-textrun break opportunity in min-width calculation. r+sr=dbaron,a=schrep 2007-12-06 19:27:01 -08:00
roc+@cs.cmu.edu
079aadfbec Bug 407227. Include end-of-linebreaker-textrun break opportunity in min-width calculation. r+sr=dbaron,a=schrep 2007-12-06 19:16:07 -08:00
roc+@cs.cmu.edu
3d895dcd14 Bug 405577. Allow available width to go negative for inlines/text, so we can tell whether zero-width content fits or not. Also allow textframes to honour a forced break at the end of the text. r+sr=dbaron 2007-12-05 17:24:03 -08:00
roc+@cs.cmu.edu
264008d558 Backing out unintentionally-checked in stuff 2007-12-04 18:12:40 -08:00
roc+@cs.cmu.edu
ea37d818bc Bug 392809. Break between whitespace and following punctuation even when stop_at_punctuation is false. Don't stop between punctuation and following non-punctuatino if the preceding punctuation follows white-space. r=smontagu 2007-12-04 18:11:17 -08:00
dmose@mozilla.org
a7aaa3bf1f Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
roc+@cs.cmu.edu
3577d8dad0 Bug 403426. We should clear whitespace status when we reset the linebreaker. If a final break opportunity exists we should save it and forward it to the line layout. Relanding with a fix so hopefully we won't crash Tp this time. r=smontagu 2007-12-03 00:22:07 -08:00
masayuki@d-toybox.com
db9a1f0734 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron 2007-12-02 22:51:57 -08:00
roc+@cs.cmu.edu
d77a6b0058 Relanding bug 404624 because it was not, in fact, responsible for that assert 2007-12-02 20:18:37 -08:00
roc+@cs.cmu.edu
b2e3b8803a Backing out fix for bug 404624 because I think it's causing a mochitest to assert 2007-12-02 18:20:22 -08:00
roc+@cs.cmu.edu
26f2048d33 Relanding fix for bug 404624 because it had no effect on Tp 2007-12-02 17:42:52 -08:00
roc+@cs.cmu.edu
202376d9be Backing out bug 404624 to see if it fixed Tp regression on bl-bldxp01 2007-12-02 12:47:41 -08:00
roc+@cs.cmu.edu
1a6bd11ee8 Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron 2007-12-01 01:24:24 -08:00
roc+@cs.cmu.edu
41d0d00457 Backing out bug 403426 2007-11-30 12:52:24 -08:00
roc+@cs.cmu.edu
a2464227d0 Bug 403426. Clear break-after-whitespace flags when we reset the linebreaker. Also rescue a trailing break opportunity when we reset the line breaker and notify the line layout that the opportunity exists. r=smontagu 2007-11-30 12:03:33 -08:00
roc+@cs.cmu.edu
6d826063d8 Bug 404624. Silence assertion failures by allowing PropertyProvider's content length to be PR_INT32_MAX. r=smontagu 2007-11-30 11:59:03 -08:00
smontagu@smontagu.org
5e7ee1a7dc Prevent duplicate entries in the line-break array. Bug 404204, b+r+sr=roc 2007-11-26 00:27:06 -08:00
Olli.Pettay@helsinki.fi
2976ce8f18 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
smontagu@smontagu.org
eb7e623bfe Use Unicode escapes instead of octal escapes to print non-ASCII text in frame tree dumps. Bug 403871, r+sr=roc, a=dsicore 2007-11-21 02:37:40 -08:00
roc+@cs.cmu.edu
5a449a18d5 Bug 394752. Skip over preformatted newlines when moving caret; the caret will appear at the end of a line when it is positioned at the start of the next line with a HINTLEFT. r=smontagu 2007-11-15 18:25:59 -08:00
roc+@cs.cmu.edu
4dcead5d4b Bug 403455. Allow prewrap text to record 'last break opportunity'. r=smontagu 2007-11-15 17:48:26 -08:00
bzbarsky@mit.edu
ac8234d604 Don't compare lines from different blockframes' lists to each other. Also fix handling of text-decorations in in-flows of blocks with text-indent. Bug 393330, r+sr=roc, a=schrep 2007-11-14 22:12:17 -08:00
roc+@cs.cmu.edu
27f5bebbe9 Bug 389707. Rework text-transform:capitalize by putting logic to decide what to capitalize into nsLineBreaker. r=smontagu 2007-11-11 17:51:31 -08:00
dholbert@cs.stanford.edu
3c53007c53 Bug 398181: Use NSCoordSaturatingAdd/Subtract in 3 places where we might have unconstrained heights. r+sr+a=roc 2007-11-09 09:16:36 -08:00
reed@reedloden.com
948ef26c2b Bug 400081 - "Leak gfxFont and gfxTextRun with font-size: 0" [p=cpearce r+sr=roc a1.9=stuart] 2007-11-09 00:04:19 -08:00
reed@reedloden.com
f968a1c4dc Fixing bustage from landing of bug 397510. 2007-11-08 23:37:31 -08:00
reed@reedloden.com
27a0532bd8 Bug 397510 - Limit the number of lines we build textruns in BuildTextRuns (speeds up painting of huge pages) [p=roc r=smontagu a=blocking1.9+] 2007-11-08 23:27:18 -08:00
reed@reedloden.com
ec9b5160d0 Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+] 2007-11-08 22:27:23 -08:00
roc+@cs.cmu.edu
a1e0ed3605 Bug 403004. Let the text-transform style setting loop cross non-fluid continuation boundaries. r+sr=bz 2007-11-08 15:37:34 -08:00
reed@reedloden.com
50d128a352 Backout roc's patch for bug 385417, as it most likely caused bug 402990 and the numerous test failures. 2007-11-07 23:41:06 -08:00