Commit Graph

613 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
bee8df55df Bug 369227. Record the first soft break beyond the available width, if there isn't one within the available width. r+sr=dbaron 2007-02-21 01:52:03 +00:00
sharparrow1@yahoo.com
376b32f2e8 Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
sharparrow1@yahoo.com
2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
cvshook@sicking.cc
e80f1dba4e Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
roc+@cs.cmu.edu
73076819e1 Bug 367930. Introduce an nsIRenderingContext::GetHints flag (temporarily) that tells us whether new-text-runs are being used underneath. When new text runs are in use, never reverse text manually, we can be sure that the platform textrun will do it. 2007-01-25 01:58:55 +00:00
dbaron@dbaron.org
8648581bf7 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc 2007-01-23 04:06:56 +00:00
roc+@cs.cmu.edu
f0bee97191 Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron 2007-01-23 02:58:55 +00:00
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
timeless@mozdev.org
1b07f1e039 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:03:23 +00:00
mats.palmgren@bredband.net
1be7d32ec6 Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
uriber@gmail.com
dd85894949 Always set wordLen to -1 before calling tx.GetNextWord() from AddInline[Min|Pref]Width, so that GetNextWord() will look at the entire content. bug=363732, r=smontagu sr=dbaron 2006-12-17 16:57:15 +00:00
dbaron@dbaron.org
816c26ea2f Remove nsLineLayout::mWordWidth, which should have been removed in earlier reflow branch merging. b=363232 r+sr=roc 2006-12-13 23:11:13 +00:00
uriber@gmail.com
b8000a3b3b Bug 314519: Caret skips blank lines using right-arrow key in some cases of preformatted text. Take 2. r+sr=roc 2006-12-12 18:12:46 +00:00
roc+@cs.cmu.edu
33f5d4d6d8 Bug 357351. Assertion should be #ifdef MOZ_CAIRO_GFX only. Debug-only change. 2006-12-11 00:09:50 +00:00
dbaron@dbaron.org
d21cb374bd Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
Olli.Pettay@helsinki.fi
50b87c31b8 Bug 340564, Print/Print Preview does not print text in <input text> or <textarea>, p=sharparrow, r+sr=roc 2006-11-10 00:55:11 +00:00
gavin@gavinsharp.com
c722e73b4c Bug 355349: remove dead code from nsTextFrame.cpp, patch by Gerald <gerald_leder@gmx.at>, r+sr=roc 2006-11-06 16:18:35 +00:00
roc+@cs.cmu.edu
65b8e72024 Fixing Mac bustage 2006-10-19 02:17:51 +00:00
roc+@cs.cmu.edu
d9807fd270 Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron 2006-10-19 01:47:47 +00:00
roc+@cs.cmu.edu
3745594a65 Bug 354451. Fix uppercasing of &szlig; and possibly other regressions from bug 345071. r=smontagu,sr=rbs 2006-10-02 05:38:34 +00:00
uriber@gmail.com
feb2b0be61 Do the correction of caret position due to trimmed whitespace only when the caret is logically after the whitespace. bug=336408 r=rbs sr=roc 2006-09-25 11:39:10 +00:00
roc+@cs.cmu.edu
513df44bd0 Bug 351268. Remove nsIFrame::AdjustFrameSize, it's unused. r=smontagu,sr=rbs 2006-09-19 21:04:06 +00:00
bzbarsky@mit.edu
8ec0a3ab15 Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc 2006-09-19 04:26:20 +00:00
smontagu@smontagu.org
ce1cafb0ee When text is displayed from right to left natively, reverse the coordinates of selection decoration to match. Bug 349352, r=uriber, sr=bz 2006-09-13 08:10:19 +00:00
uriber@gmail.com
8c3328a001 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, plus some more related refactoring. bug=300131 r+sr=roc 2006-09-11 20:43:01 +00:00
uriber@gmail.com
bc5bc7aeba Backing out bug 300131 until I figure out how to deal with the bustage. 2006-09-11 08:03:28 +00:00
uriber@gmail.com
2297c8c2f0 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, and some related refactoring. bug=300131 r+sr=roc 2006-09-11 06:39:56 +00:00
bzbarsky@mit.edu
dc05a94d7d Remove some unnecessary members and code. Bug 335477, patch by Marc Liddell
<marcldl+mozbugs@gmail.com>, r+sr=roc
2006-08-25 16:46:22 +00:00
roc+@cs.cmu.edu
46f4667289 Bug 345071. Fix PrepareUnicodeText to handle words in the current textnode that extend past the end of the frame. r=smontagu,sr=rbs 2006-08-16 01:57:06 +00:00
masayuki@d-toybox.com
abde4503cb Bug 346417 RTL justify code is wrong in nsTextFrame r=smontagu, sr=roc 2006-08-07 06:27:57 +00:00
gavin@gavinsharp.com
3cc26c8aff Bug 338368: fix uninitialized variable used in nsTextFrame::PaintAsciiText, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=roc 2006-08-04 14:29:48 +00:00
cvshook@sicking.cc
de453923d9 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
aaronleventhal@moonset.net
30d921584f Bug 334353. Duplicate insert/delete events. r=evan.yan, sr=roc 2006-07-19 01:56:54 +00:00
uriber@gmail.com
d7ce53fcff Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00
aaronleventhal@moonset.net
6abe15ae45 Bug 342596. Allow start/end of word to be specified for PeekOffset(). Necessary for upcoming nsIAccessibleText::GetText[At|Before|After]Offset() methods. r=uriber, sr=roc 2006-07-11 22:11:02 +00:00
uriber@gmail.com
40d3369002 Limit the fix for bug 337135 to the -moz-pre-wrap case only. bug=343390, r+sr=roc 2006-07-03 07:12:42 +00:00
uriber@gmail.com
860bc8dc12 Allow removing multiple trimmed whitespace characters when painting text. bug=337135 r+sr=roc 2006-06-28 12:14:48 +00:00
roc+@cs.cmu.edu
ae8b9b80de Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
roc+@cs.cmu.edu
f8aef6bd08 Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs 2006-06-09 03:29:32 +00:00
brettw@gmail.com
c2f4f5dde1 Bug 336679 r+sr=roc the text/lines disappears when spellchecking Unicode text and focus is lost 2006-05-15 19:20:32 +00:00
aaronleventhal@moonset.net
d45169cde3 Bug 310921. AccessibleObjectFromPoint wrong when a span ends the previous line within the same block. In fact the next text object after that wasn't even exposed. r=ginn.chen, sr=roc 2006-04-27 15:47:22 +00:00
bzbarsky@mit.edu
e1fdce5918 Make sure to never read off the end of the buffer in HasTerminalNewline(). Bug
335320, r+sr=roc
2006-04-26 15:54:48 +00:00
roc+@cs.cmu.edu
5e0300fa5c Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 02:01:07 +00:00
uriber@gmail.com
b864d85759 Attempt to fix Tp regression from bug 333769. r+sr=roc 2006-04-22 21:02:34 +00:00
uriber@gmail.com
cfd9fd491b When measuring text, make sure nsTextTransformer::GetNextWord looks only at the part of the text content covered by the current frame. bug=333769 r+sr=roc 2006-04-22 13:29:50 +00:00
dbaron@dbaron.org
be7b7f6009 Let the caret go outside of text frames (particularly when whitespace is trimmed). b=235223 r=mrbkap sr=bzbarsky 2006-04-20 07:58:22 +00:00
uriber@gmail.com
c226a79e9b Bug 314519: Caret skips blank lines using right-arrow key in some cases of preformatted text. r+sr=roc 2006-04-10 06:49:50 +00:00
roc+@cs.cmu.edu
24f6f0ed12 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
uriber@gmail.com
8e04bf3873 Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc 2006-04-08 14:45:48 +00:00
uriber@gmail.com
3590deb574 Make wordSelectEatSpaceAfter take effect when moving forward relative to the paragraph direction, regardless of the text frame direction. bug=299535 r+sr=roc 2006-04-06 08:21:12 +00:00