150 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
1aee7e382d Bug 385607. Force re-evaluation of textruns when block descendants are deleted or added.
git-svn-id: svn://10.0.0.236/trunk@231777 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 02:49:28 +00:00
roc+%cs.cmu.edu
dd2750ace1 Oops, undoing unrelated change
git-svn-id: svn://10.0.0.236/trunk@231775 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 02:34:30 +00:00
roc+%cs.cmu.edu
6da327649c Bug 388049. Update mCurrentFramesAllSameTextRun along the same-content path as well as the normal path. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231774 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 02:32:49 +00:00
roc+%cs.cmu.edu
448ca97baa Fix bustage
git-svn-id: svn://10.0.0.236/trunk@231771 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 02:00:15 +00:00
sharparrow1%yahoo.com
66c4c37428 Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231596 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 19:07:44 +00:00
masayuki%d-toybox.com
a8014a587a Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@231524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 08:15:02 +00:00
aaronleventhal%moonset.net
8b9d8c0a2a bug 348901. Remove extra whitespace from source when exposing accessible text. r+sr=roc, r=surkov. a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231465 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 01:12:25 +00:00
roc+%cs.cmu.edu
e63bc63a94 Backing out patches for bug 385270 (mostly --- due to other checkins in the meantime, the GetContent*() helper functions need to stay) to fix regressions. a=schrep
git-svn-id: svn://10.0.0.236/trunk@231203 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 23:56:14 +00:00
roc+%cs.cmu.edu
11a415bfd1 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231046 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 09:47:45 +00:00
neil%parkwaycc.co.uk
7531c924eb nsTextFrameThebes ClusterIterator misuses memset plus cleanup b=387964 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229885 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 08:22:00 +00:00
roc+%cs.cmu.edu
80985c6ff6 Bug 387867. Rename DISABLE_LIGATURES to DISABLE_OPTIONAL_LIGATURES and make the ATSUI code only disable optional ligatures. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@229884 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 08:09:28 +00:00
roc+%cs.cmu.edu
0cb6476357 Bug 387358. Don't go into an infinite loop searching for end-of-first-letter-cluster; also translate from DOM to textrun offsets. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@229852 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 23:00:20 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00