Commit Graph

599 Commits

Author SHA1 Message Date
d9d840e528 Fixing bustage 2007-10-09 19:30:48 -07:00
7fd63192b3 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 2007-10-09 19:25:57 -07:00
e1eefbc250 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. 2007-10-09 19:21:33 -07:00
4c3b831a27 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 2007-10-02 01:52:09 -07:00
b72107a865 Bug 392829. Clean up nsLineLayout code that's not used (or at least used differently). r+sr+a=dbaron 2007-10-01 19:36:26 -07:00
225a2e993d Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 18:47:40 -07:00
93832c0391 Backing out 2007-10-01 15:11:23 -07:00
7e1cbddfb6 Bug 397734. More parsimonious storage of glyph extents ... trying to fix private-bytes regression. r=vlad,a=pavlov 2007-10-01 14:29:19 -07:00
d8b89f7ae3 Bug 393906. Make AdjustOffsetsForBidi maintain textframe invariants across the entire continuation chain, not just the fluid chain. r=smontagu 2007-09-27 16:37:46 -07:00
621176fa35 Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron 2007-09-23 19:19:14 -07:00
479f8c2dbb Backing out due to test bustage 2007-09-22 06:28:16 -07:00
23a473ccb6 Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron 2007-09-22 05:43:52 -07:00
1ba77e3ee9 [OS/2] Bug 396661: fix OS/2 build break in nsTextFrameThebes by removing the unnecessary cast, r/sr/a=roc 2007-09-19 16:01:44 -07:00
5af3fc5b94 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 2007-09-17 21:23:14 -07:00
e27f7cbdf0 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 2007-09-17 20:00:16 -07:00
912322ce1b Bug 394832. Remove overeager rounding that causes underlines to appear too close to the text. r=smontagu,a=dbaron 2007-09-17 19:48:19 -07:00
31d131c1b2 Bug 394542. we leak the blink timer and its timer in a cycle. Patch by David Baron. r/sr=roc, a=dsicore/mconnor 2007-09-11 13:06:44 -07:00
97883a9b9a Bug 386807. Remove duplicate elements from the linebreak array textrun construction parameter. r=smontagu,a-M8=damon 2007-09-06 14:54:33 -07:00
315985428e Bug 392435. Make ClearTextRun work no matter which frame of a continuation chain we call it on. r=smontagu,a=dbaron 2007-09-05 16:06:05 -07:00
b321dc12c4 Bug 393923. Fix text-offset calculation for first-letter. r=smontagu,a=dbaron 2007-09-05 16:03:31 -07:00
94c67fa6aa Bug 394510. Don't leak the hyphen textrun when we display a soft hyphen. r=smontagu 2007-09-05 15:59:44 -07:00
1d18c33311 Bug 391621. Remove unnecessary trimmed-space counting. r=smontagu,a=dbaron 2007-09-03 21:02:22 -07:00
ca5c1e5f90 Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 08:27:26 -07:00
6dcbc76640 Oops, backing-out previous checked-in, because tinderbox has RED. 2007-09-03 04:03:49 -07:00
e31f98164b Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc 2007-09-03 04:01:48 -07:00
a6851be88b 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. 2007-08-29 20:10:19 -07:00
e36b44ded3 Bug 385426. Be careful about looking for a previous soft-hyphen when checking for hyphen breaks. r=smontagu 2007-08-29 02:11:39 -07:00
ec8a320aea Blow away text runs after Bidi resolution. Bug 382429, r+sr+a=roc 2007-08-26 10:20:28 -07:00
409d7404ef Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
e5d538f318 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 2007-08-22 02:08:13 -07:00
8e5940fc96 Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron 2007-08-16 20:43:00 -07:00
0379dfac7f Bug 367614 [Win Only] The composition string for IME should have dashed underline r+sr+a=roc 2007-08-16 13:35:18 -07:00
3796520edb Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 11:39:38 -07:00
8f9e2eba49 Backing out 2007-08-15 09:20:46 -07:00
e5c63d2437 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 09:04:17 -07:00
27e41dcc94 Backing out fix for bug 385607 due to bustage and Tp regressions 2007-08-09 21:41:00 -07:00
9fc9748051 Bug 385607. Force re-evaluation of textruns when block descendants are deleted or added. 2007-08-09 19:49:28 -07:00
ff8e11fff6 Oops, undoing unrelated change 2007-08-09 19:34:30 -07:00
f59d98fb5d Bug 388049. Update mCurrentFramesAllSameTextRun along the same-content path as well as the normal path. r=smontagu,a=dbaron 2007-08-09 19:32:49 -07:00
138d3e1304 Fix bustage 2007-08-09 19:00:15 -07:00
5db2a35ae7 Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 12:07:43 -07:00
f5d4190bff Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
335eacfcdd bug 348901. Remove extra whitespace from source when exposing accessible text. r+sr=roc, r=surkov. a=dbaron 2007-08-03 18:12:24 -07:00
01bb74082a 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 2007-07-30 16:56:14 -07:00
6323a1270c Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 02:47:43 -07:00
6e6c1f8c5e nsTextFrameThebes ClusterIterator misuses memset plus cleanup b=387964 r+sr=roc 2007-07-13 01:22:00 -07:00
227bc77c4b Bug 387867. Rename DISABLE_LIGATURES to DISABLE_OPTIONAL_LIGATURES and make the ATSUI code only disable optional ligatures. r=pavlov 2007-07-13 01:09:25 -07:00
c79ee4b695 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 2007-07-12 16:00:20 -07:00
98de634631 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. 2007-07-08 00:08:04 -07:00
ca0f7d6711 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 2007-07-03 20:39:01 -07:00