12 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
e9b2057bb2 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
git-svn-id: svn://10.0.0.236/trunk@240287 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 08:23:31 +00:00
roc+%cs.cmu.edu
1b5b174eb2 Backing out bug 403426
git-svn-id: svn://10.0.0.236/trunk@240170 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 20:52:25 +00:00
roc+%cs.cmu.edu
bb4d972143 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
git-svn-id: svn://10.0.0.236/trunk@240157 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 20:03:33 +00:00
smontagu%smontagu.org
ff356fc517 Prevent duplicate entries in the line-break array. Bug 404204, b+r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@239919 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 08:27:06 +00:00
roc+%cs.cmu.edu
ea80cd5d63 Bug 389707. Rework text-transform:capitalize by putting logic to decide what to capitalize into nsLineBreaker. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@239178 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 01:51:32 +00:00
roc+%cs.cmu.edu
410a9698d9 Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu
git-svn-id: svn://10.0.0.236/trunk@229305 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 03:39:03 +00:00
roc+%cs.cmu.edu
02c47d48da Bug 386548. Remove nsTextTransformer. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@229199 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 23:37:00 +00:00
roc+%cs.cmu.edu
cc6c87fe7c Landing textframe updates: Use word-based textrun cache; rewritten PeekOffsetWord; adjust textframe content-offsets and content-lengths when CharacterDataChanged fires; search backwards for textrun scanning/creation start point, instead of all the way back to the start of the block; ensure that we pass the correct start iterator to PropertyProvider in TrimTrailingWhiteSpace.
git-svn-id: svn://10.0.0.236/trunk@227903 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 21:01:12 +00:00
roc+%cs.cmu.edu
7a5518f06a Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount.
git-svn-id: svn://10.0.0.236/trunk@227294 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 22:27:28 +00:00
roc+%cs.cmu.edu
9140c4c01a Not part of the build. Update new text frame for textrun API changes. Also implements a textrun cache for the new text frame
git-svn-id: svn://10.0.0.236/trunk@226214 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 22:04:56 +00:00
roc+%cs.cmu.edu
d69b531ce7 Bug 333659. Major new-textframe update. You can really browse the Web with it now, although major bugs remain.
git-svn-id: svn://10.0.0.236/trunk@222211 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-22 23:13:12 +00:00
roc+%cs.cmu.edu
e2373f9a14 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
git-svn-id: svn://10.0.0.236/trunk@218447 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 20:51:52 +00:00