113 Commits

Author SHA1 Message Date
dietrich%mozilla.com
e53e8baa0a re-landing Bug 393758
git-svn-id: svn://10.0.0.236/trunk@237873 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 02:01:05 +00:00
reed%reedloden.com
2b5f11ce1e Fixing bustage from landing of bug 397510.
git-svn-id: svn://10.0.0.236/trunk@237872 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 01:33:52 +00:00
dietrich%mozilla.com
539328e19c Bug 397510 Scrolling in large file is very slow due to textrun reconstruction (re-landing for roc)
git-svn-id: svn://10.0.0.236/trunk@237871 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 01:19:11 +00:00
roc+%cs.cmu.edu
c941792170 Backing out bustage fix
git-svn-id: svn://10.0.0.236/trunk@237855 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-18 06:48:44 +00:00
gavin%gavinsharp.com
651824e356 Back out the patch for bug 399159 because it's suspected of having caused the Tp regression
git-svn-id: svn://10.0.0.236/trunk@237845 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-17 17:03:09 +00:00
roc+%cs.cmu.edu
3bcefb78aa Backing out 393758 just in case it caused perf regression
git-svn-id: svn://10.0.0.236/trunk@237834 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-16 23:56:27 +00:00
roc+%cs.cmu.edu
4c29c5587f Backing out fix for bug 397510 to see if it fixes the Tp regression
git-svn-id: svn://10.0.0.236/trunk@237815 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-16 08:20:22 +00:00
roc+%cs.cmu.edu
46a51e8de3 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@237790 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 21:20:36 +00:00
roc+%cs.cmu.edu
d81eb29bdf Bug 393758. Detect when we're about to create two flows with the same element in the same textrun (which violates our invariants), and prevent it by starting a new textrun for the second flow. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@237789 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 21:15:35 +00:00
roc+%cs.cmu.edu
0d41132b90 Bug 397510. Limit the number of lines below the initial line for which we reconstruct textruns. Speeds up line painting near the top of huge documents. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@237788 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 21:11:37 +00:00
masayuki%d-toybox.com
27f3792d9e Bug 399159 left edge is not aligned when text-align: justify; in Japanese paragraph r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@237761 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 12:37:15 +00:00
roc+%cs.cmu.edu
151722d42f Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@237645 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 08:30:55 +00:00
roc+%cs.cmu.edu
dbe96aba9b Bug 391584. Don't miss word-break opportunities at points where whitespace has collapsed away. Also, note that a word-break opportunity exists at the start of a frame when it starts with a space.
git-svn-id: svn://10.0.0.236/trunk@237553 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 22:32:53 +00:00
roc+%cs.cmu.edu
5cc81cc411 Backing out bug 391584 because of test failures on non-Mac
git-svn-id: svn://10.0.0.236/trunk@237511 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 04:25:43 +00:00
roc+%cs.cmu.edu
dc21a597bb Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@237506 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:30:48 +00:00
roc+%cs.cmu.edu
cb90f6018a Bug 387414. Detect situations where the textrun doesn't map enough text to fully reflow the frame (which can happen during style changes to preformatted whitespace, for example) and rebuild textruns in that case. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@237505 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:25:57 +00:00
roc+%cs.cmu.edu
102f5a6578 Bug 391584. Don't miss word-break opportunities at points where whitespace has collapsed away. Also, note that a word-break opportunity exists at the start of a frame when it starts with a space.
git-svn-id: svn://10.0.0.236/trunk@237504 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:21:34 +00:00
roc+%cs.cmu.edu
76ca21ee0c Bug 385635. Make text min-width calculation clear out old value of trimmable whitespace when the text contains non-collapsible whitespace. Also, set skipWhitespace to skip subsequent whitespace only if the trailing whitespace in the text is not preformatted. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@237066 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 08:52:09 +00:00
roc+%cs.cmu.edu
6351387599 Bug 392829. Clean up nsLineLayout code that's not used (or at least used differently). r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237043 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 02:36:26 +00:00
roc+%cs.cmu.edu
61b98244af Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov
git-svn-id: svn://10.0.0.236/trunk@237041 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 01:47:41 +00:00
roc+%cs.cmu.edu
44bc8a34a0 Backing out
git-svn-id: svn://10.0.0.236/trunk@237021 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 22:11:24 +00:00
roc+%cs.cmu.edu
dd95fa547d Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov
git-svn-id: svn://10.0.0.236/trunk@237018 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 21:29:20 +00:00
roc+%cs.cmu.edu
1f17cca567 Bug 393906. Make AdjustOffsetsForBidi maintain textframe invariants across the entire continuation chain, not just the fluid chain. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@236812 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 23:37:46 +00:00
roc+%cs.cmu.edu
44e8f1fb7a Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@236536 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 02:19:16 +00:00
roc+%cs.cmu.edu
a0eb13a375 Backing out due to test bustage
git-svn-id: svn://10.0.0.236/trunk@236492 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 13:28:17 +00:00
roc+%cs.cmu.edu
48a9ae898b Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@236491 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 12:43:55 +00:00
mozilla%weilbacher.org
be2bc9544c [OS/2] Bug 396661: fix OS/2 build break in nsTextFrameThebes by removing the unnecessary cast, r/sr/a=roc
git-svn-id: svn://10.0.0.236/trunk@236330 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-19 23:01:44 +00:00
roc+%cs.cmu.edu
6f13236723 Bug 393796. Be more careful about verifying that an existing textrun is okay to be reused again after a change to the frame tree. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@236193 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 04:23:14 +00:00
roc+%cs.cmu.edu
b6d8f8d678 Bug 385607. Ensure that whitespace is collapsed across text-run boundaries across incremental updates like adding/removing frames in the middle of the textrun. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@236189 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 03:00:16 +00:00
roc+%cs.cmu.edu
6f951ca3eb Bug 394832. Remove overeager rounding that causes underlines to appear too close to the text. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@236187 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 02:48:19 +00:00
sayrer%gmail.com
01c578ddce Bug 394542. we leak the blink timer and its timer in a cycle. Patch by David Baron. r/sr=roc, a=dsicore/mconnor
git-svn-id: svn://10.0.0.236/trunk@235506 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 20:06:44 +00:00
roc+%cs.cmu.edu
d28264b6d8 Bug 386807. Remove duplicate elements from the linebreak array textrun construction parameter. r=smontagu,a-M8=damon
git-svn-id: svn://10.0.0.236/trunk@235343 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 22:07:48 +00:00
roc+%cs.cmu.edu
6abac60cd5 Bug 392435. Make ClearTextRun work no matter which frame of a continuation chain we call it on. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@233988 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 23:06:05 +00:00
roc+%cs.cmu.edu
ef48332254 Bug 393923. Fix text-offset calculation for first-letter. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@233987 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 23:03:31 +00:00
roc+%cs.cmu.edu
ce5c3c0a3a Bug 394510. Don't leak the hyphen textrun when we display a soft hyphen. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@233984 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 22:59:44 +00:00
roc+%cs.cmu.edu
3bc75965c2 Bug 391621. Remove unnecessary trimmed-space counting. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@233826 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 04:02:22 +00:00
masayuki%d-toybox.com
5263a3cd1b Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233801 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 15:27:27 +00:00
masayuki%d-toybox.com
e43217ff03 Oops, backing-out previous checked-in, because tinderbox has RED.
git-svn-id: svn://10.0.0.236/trunk@233792 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 11:03:50 +00:00
masayuki%d-toybox.com
b045413a4f Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233791 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 11:01:49 +00:00
roc+%cs.cmu.edu
3f11928d52 Bug 389421. Rework word selection, in particular so that layout.word_select.stop_at_punctuation is applied to boundaries between punctuation and non-punctuation, and all Unicode punctuation is treated as punctuation.
git-svn-id: svn://10.0.0.236/trunk@233374 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 03:10:19 +00:00
roc+%cs.cmu.edu
68a8b9d133 Bug 385426. Be careful about looking for a previous soft-hyphen when checking for hyphen breaks. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@233302 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 09:11:39 +00:00
smontagu%smontagu.org
0ef5d3ecd6 Blow away text runs after Bidi resolution. Bug 382429, r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233115 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-26 17:20:29 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
roc+%cs.cmu.edu
ab3ff204b2 Bug 390050. Scan all blocks in a flow-chain, and their overflow lines, when iterating through lines to build text runs. r=smontagu,mats,sr=mats,a=bz
git-svn-id: svn://10.0.0.236/trunk@232839 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 09:08:15 +00:00
philringnalda%gmail.com
a10e4df6c0 Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@232249 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 03:43:01 +00:00
masayuki%d-toybox.com
3ae97ed985 Bug 367614 [Win Only] The composition string for IME should have dashed underline r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232228 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 20:35:19 +00:00
roc+%cs.cmu.edu
53d71bbebc Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232154 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 18:39:38 +00:00
roc+%cs.cmu.edu
4922258ec4 Backing out
git-svn-id: svn://10.0.0.236/trunk@232123 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 16:20:46 +00:00
roc+%cs.cmu.edu
062e921d54 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232121 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 16:04:17 +00:00
roc+%cs.cmu.edu
330537f74c Backing out fix for bug 385607 due to bustage and Tp regressions
git-svn-id: svn://10.0.0.236/trunk@231780 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 04:41:00 +00:00