Граф коммитов

67 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu cfebedd1b1 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 18:39:38 +00:00
roc+%cs.cmu.edu d4460d0179 Backing out 2007-08-15 16:20:46 +00:00
roc+%cs.cmu.edu 80d5a87537 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron 2007-08-15 16:04:17 +00:00
roc+%cs.cmu.edu 3418a30ac2 Backing out fix for bug 385607 due to bustage and Tp regressions 2007-08-10 04:41:00 +00:00
roc+%cs.cmu.edu 626e0d6ef9 Bug 385607. Force re-evaluation of textruns when block descendants are deleted or added. 2007-08-10 02:49:28 +00:00
roc+%cs.cmu.edu 7849b070b5 Oops, undoing unrelated change 2007-08-10 02:34:30 +00:00
roc+%cs.cmu.edu 91e3eb3d43 Bug 388049. Update mCurrentFramesAllSameTextRun along the same-content path as well as the normal path. r=smontagu,a=dbaron 2007-08-10 02:32:49 +00:00
roc+%cs.cmu.edu 9fadc6b636 Fix bustage 2007-08-10 02:00:15 +00:00
sharparrow1%yahoo.com cdbcbdeb35 Bug 390740: Pass lang-group into GetMetricsFor more consistently (general patch). r+sr=roc, a=dbaron 2007-08-07 19:07:44 +00:00
masayuki%d-toybox.com 4a880d7637 Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 08:15:02 +00:00
aaronleventhal%moonset.net 935cec7af8 bug 348901. Remove extra whitespace from source when exposing accessible text. r+sr=roc, r=surkov. a=dbaron 2007-08-04 01:12:25 +00:00
roc+%cs.cmu.edu 38f428dfd0 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 23:56:14 +00:00
roc+%cs.cmu.edu 8477256fc6 Bug 387969. Use CSS 'text-rendering' property to control text quality. r=pavlov,r+sr=bzbarsky 2007-07-26 09:47:45 +00:00
neil%parkwaycc.co.uk 780f70b3b0 nsTextFrameThebes ClusterIterator misuses memset plus cleanup b=387964 r+sr=roc 2007-07-13 08:22:00 +00:00
roc+%cs.cmu.edu 57913dde6c Bug 387867. Rename DISABLE_LIGATURES to DISABLE_OPTIONAL_LIGATURES and make the ATSUI code only disable optional ligatures. r=pavlov 2007-07-13 08:09:28 +00:00
roc+%cs.cmu.edu 39564c075e 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 23:00:20 +00:00
jwalden%mit.edu ef68fcf595 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 07:08:56 +00:00
roc+%cs.cmu.edu 8394f8779a 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-04 03:39:03 +00:00
flamingice%sourmilk.net d8be3a0c47 Bug 386012, Crash [@ nsTextFrameUtils::TransformText] loading png as HTML, Patch by Karl Tomlinson, r+sr=roc 2007-07-03 00:46:05 +00:00
roc+%cs.cmu.edu fa95cf660f Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 23:37:00 +00:00
roc+%cs.cmu.edu 35c0b0b9f5 Bug 386122. Allow text runs to end at preformatted newlines. Speeds up loading of plain-text files a lot because we don't have to have a textrun for the entire file. r=smontagu 2007-07-02 01:20:43 +00:00
roc+%cs.cmu.edu fc46e08b84 Bug 9101. Fix various soft-hyphen bugs, primarily related to detecting when hyphenation is needed during a second-pass break-forcing line reflow. r=smontagu 2007-07-02 01:14:27 +00:00
roc+%cs.cmu.edu fdcb16906c Bug 384836. Relanding fix to pass around gfxContexts a bit more instead of hanging on to one in nsTransformedTextRun. r=smontagu,pavlov 2007-06-27 04:22:21 +00:00
roc+%cs.cmu.edu 6741d15725 Bug 385293. Silence warnings about textrun recreation that aren't really problems, just informational. r=smontagu 2007-06-27 02:21:34 +00:00
dbaron%dbaron.org a483d6b35e Back out bug 384836 to diagnose Tp/Tp2 regression bug 385957. 2007-06-26 22:16:35 +00:00
roc+%cs.cmu.edu d770f6750b Bug 384836. Avoid using a stale gfxContext, by not holding onto one in nsTransformedTextRun, passing in a gfxContext when required instead. r=pavlov,smontagu 2007-06-26 04:25:01 +00:00
roc+%cs.cmu.edu 8f1fb18de5 Bug 385344. Always reconstruct textruns for next-in-flows of firstline/firstletter frames. Also, be more careful looping over text in AddInlinePrefWidthForFlow. r=smontagu 2007-06-25 03:41:07 +00:00
roc+%cs.cmu.edu 84fb1e155c Bug 385234. Iterate through textframe continuations properly in AddInlinePref/MinWidth. r=smontagu 2007-06-22 00:17:30 +00:00
roc+%cs.cmu.edu cc164e9991 Bug 382105. Clean up PeekOffsetWord to exit early without setting *aOffset if there is nowhere to go in the requested direction. Also, ignore *aSawBeforeType when we're checking for punctuation. r=smontagu 2007-06-22 00:13:05 +00:00
dbaron%dbaron.org ad71819fa6 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc 2007-06-21 22:33:10 +00:00
roc+%cs.cmu.edu 718f199d7d Bug 382105. Yet another word caret movement fix to ensure we stop at punctuation. 2007-06-15 05:37:08 +00:00
roc+%cs.cmu.edu 4097601686 Not part of the build (barely). Don't allow PeekOffsetWord to break before the first cluster. Avoids a fencepost error in ClusterIterator where going backwards we might try to look at one past the end of mWordBreaks. 2007-06-13 18:25:14 +00:00
roc+%cs.cmu.edu 037f672258 Not part of the build (barely). Fix intrinsic-min-widths properly for preformatted white-space... the previous checkin messed up the check for newline characters. 2007-06-13 10:58:44 +00:00
roc+%cs.cmu.edu 017ed2adc8 Not Part Of The Build (barely). Clean up function names and comments. Also fix an unreported regression where we failed to take preformatted newlines into account when computing text intrinsic-min-width. 2007-06-13 09:06:28 +00:00
roc+%cs.cmu.edu 84bb744feb 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. 2007-06-12 21:01:12 +00:00
smontagu%smontagu.org b5d9601bbd Clear textruns during bidi resolution. Not Part of the Build. Bug 382429, r+sr=roc 2007-06-03 06:53:10 +00:00
roc+%cs.cmu.edu f5dea68223 Bug 382279. Disable ligatures when letter-spacing is in effect. Also, avoid adding space inside ligatures if the gfx backend doesn't respect our disabling of ligatures. r=pavlov 2007-05-31 05:01:57 +00:00
roc+%cs.cmu.edu c71de10d30 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. 2007-05-30 22:27:28 +00:00
roc+%cs.cmu.edu 3d899a2169 Not part of the build. Don't trim whitespace if wrapping is disabled --- in min-width and pref-width calculations. 2007-05-28 02:38:21 +00:00
roc+%cs.cmu.edu 14921561b0 Not part of the build. Don't trim whitespace if wrapping is disabled. Don't compress a space that's preceded by an incompressible space. 2007-05-28 02:20:58 +00:00
roc+%cs.cmu.edu 2287c703f8 Not part Of The Build. Bug 381228. Fix handling of case where the text is not part of a block. 2007-05-24 03:06:37 +00:00
roc+%cs.cmu.edu 095b3bd0e4 Bug 380625. (Not Part Of The Build). Fix cluster count for trimmed spaces. 2007-05-23 09:36:16 +00:00
roc+%cs.cmu.edu 91f9b5c192 Not Part Of The Build (new textframe). IsInBounds uses incorrect logic and produces spurious warnings. 2007-05-23 04:08:38 +00:00
roc+%cs.cmu.edu 82b0adbe9a Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 23:45:47 +00:00
dbaron%dbaron.org 48a5de0d15 Don't propagate line layout in reflow state when we're not in the line. b=320502 r+sr=roc 2007-05-18 06:04:04 +00:00
mats.palmgren%bredband.net 8c09268132 NPOTB. Add missing rendering context null-checks. b=380502 r+sr=roc 2007-05-17 10:52:20 +00:00
roc+%cs.cmu.edu c4a2486cb0 Not Part Of The Build. 1) Round font underline/overline/strikeout offsets and sizes to device pixels to try to ensure consistent visual offsets and sizes even when the baseline point is not pixel-aligned. 2) snap the text baseline y coordinate to the nearest pixel, because the decoration lines will be snapped themselves and we need the gaps to remain consistent. 3) fix bug in selection-decoration x coordinate which was forgetting to include the frame x-offset. 2007-05-16 05:21:41 +00:00
roc+%cs.cmu.edu 02d49ac58d Not Part Of The Build. Fix underline/strikeout positioning in new text frame --- simple appunits/pixels confusion. 2007-05-15 23:41:41 +00:00
roc+%cs.cmu.edu ed04d778ce NPOTB, new-text-frame. Fix mouse events targeting after the end of a textframe. 2007-05-15 05:23:19 +00:00
roc+%cs.cmu.edu f0c99ae7eb Bug 380692. Change gfxTextRun API so the textrun copies text, if necessary, instead of the caller having to do it. r=vlad 2007-05-15 03:56:48 +00:00