4441 Commits

Author SHA1 Message Date
cvshook%sicking.cc
5b1363f0be Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957
git-svn-id: svn://10.0.0.236/trunk@214128 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-25 20:24:00 +00:00
cvshook%sicking.cc
7a22e1ec80 Bug 357445: Some cleanup of range code. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213947 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-21 01:30:54 +00:00
roc+%cs.cmu.edu
c423eac088 Fixing Mac bustage
git-svn-id: svn://10.0.0.236/trunk@213838 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 02:17:51 +00:00
roc+%cs.cmu.edu
f06ba26d9e Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@213836 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 01:47:47 +00:00
jwatt%jwatt.org
132641cabd Replace aDesiredSize in comment with aReflowMetrics to make it match the parameter name (no bug)
git-svn-id: svn://10.0.0.236/trunk@213584 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-13 13:47:19 +00:00
Olli.Pettay%helsinki.fi
49abd2076b Bug 355100, Remove XTF visuals (part I/II, not removing files), r=alex,bryner,aaronr,doronr sr=bz
git-svn-id: svn://10.0.0.236/trunk@213305 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 14:15:02 +00:00
smontagu%smontagu.org
b34a757087 SetTransformedTextIsAscii() should depend on no multibyte text having been detected as well as on LeaveAsAscii(). Bug 333535 (relanding), r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213302 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 06:57:34 +00:00
smontagu%smontagu.org
c347bdb40b Backing out patch from bug 333535 to test performance impact
git-svn-id: svn://10.0.0.236/trunk@213294 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-07 18:36:27 +00:00
mats.palmgren%bredband.net
a9d91dc390 Avoid crashing on OOM. b=352335 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@213288 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-07 08:53:06 +00:00
smontagu%smontagu.org
a6a5b3502e SetTransformedTextIsAscii() should depend on no multibyte text having been detected as well as on LeaveAsAscii(). Bug 333535, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213105 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 11:40:49 +00:00
aaronleventhal%moonset.net
5d90ded709 Bug 354832. Support nsIAccessibleText for html buttons and list options. r=ginn.chen, sr=roc
git-svn-id: svn://10.0.0.236/trunk@213008 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 19:33:49 +00:00
roc+%cs.cmu.edu
f59ad5c466 Bug 354451. Fix uppercasing of ß and possibly other regressions from bug 345071. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@212981 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 05:38:34 +00:00
uriber%gmail.com
7de18fd0a8 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
git-svn-id: svn://10.0.0.236/trunk@212288 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 11:39:10 +00:00
flamingice%sourmilk.net
5356b2670d Bug 351575, Dereference before null check in |nsTypedSelection::GetRangesForInterval|, patch by Adam Guthrie <ispiked@gmail.com>, r=brettw, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@212234 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 06:04:00 +00:00
roc+%cs.cmu.edu
a39e1632ea Bug 312963. Apply aTryPull to pulls of inline frames as well as lines. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212140 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 02:04:56 +00:00
roc+%cs.cmu.edu
5082d0a3b4 Bug 350137. Don't forget to apply BR-clearance when the BR is on the last line of a block. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212138 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 01:53:13 +00:00
roc+%cs.cmu.edu
4339568eee Update nsIFrame IID
git-svn-id: svn://10.0.0.236/trunk@212036 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 23:54:28 +00:00
roc+%cs.cmu.edu
2cdafb8452 Bug 350148. Improve scrolling of large documents generally by only searching descendants of the moving frame for position-varying graphics when we know we've actually painted position-varying graphics in this prescontext. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212028 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 22:05:33 +00:00
roc+%cs.cmu.edu
9414980ef8 Bug 350148. Fix gmail scrolling speed by not creating nsDisplayBorder items for zero-width borders. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212023 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:46:01 +00:00
roc+%cs.cmu.edu
8d851a39b2 Bug 351268. Remove nsIFrame::AdjustFrameSize, it's unused. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@212018 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 21:04:06 +00:00
roc+%cs.cmu.edu
4d75bdec5d Bug 349477. Generalize handling of non-inline frames in inline contexts so they all make pseudo-stacking-contexts. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@212016 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 20:58:36 +00:00
aaronleventhal%moonset.net
a91bbb546f Bug 349519. Crash and incorrect results for getOffsetAtPoint. r=ginn.chen, sr=roc
git-svn-id: svn://10.0.0.236/trunk@211996 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 17:29:10 +00:00
timeless%mozdev.org
4c8b94c084 Bug 352523 Warning: String literal converted to char* in formal argument aAttr in call to nsFrameUtil::Tag::GetAttr(char*).
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@211973 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 06:41:07 +00:00
bzbarsky%mit.edu
b869f56794 Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211969 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:26:20 +00:00
bzbarsky%mit.edu
44797a0245 If we have to do a second pass because we found clearance on the first pass,
invalidate the entire area we're being moved to.  Otherwise invalidates from
the first pass will be lost.  Bug 352417, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@211967 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 00:15:15 +00:00
Olli.Pettay%helsinki.fi
f4d5b8a9f7 Bug 349931, crashes during drag-and-drop, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211914 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-18 08:47:06 +00:00
smontagu%smontagu.org
a898ca275a When text is displayed from right to left natively, reverse the coordinates of selection decoration to match. Bug 349352, r=uriber, sr=bz
git-svn-id: svn://10.0.0.236/trunk@210006 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 08:10:19 +00:00
mats.palmgren%bredband.net
a2deb14fca Remove an optimisation that prevented views from being reparented in some situations. b=351225 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209825 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 03:47:38 +00:00
uriber%gmail.com
78cfa593e6 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, plus some more related refactoring. bug=300131 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209768 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 20:43:01 +00:00
uriber%gmail.com
fcf4d1b5af Backing out bug 300131 until I figure out how to deal with the bustage.
git-svn-id: svn://10.0.0.236/trunk@209689 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 08:03:28 +00:00
uriber%gmail.com
d818162f1c Change nsIFrame::PeekOffset back to NS_IMETHOD to fix bustage from bug 300131
git-svn-id: svn://10.0.0.236/trunk@209687 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 07:44:59 +00:00
uriber%gmail.com
09e8c4f558 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, and some related refactoring. bug=300131 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209685 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 06:39:56 +00:00
sayrer%gmail.com
4b8ca2af78 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
bzbarsky%mit.edu
44ecd11243 Update our cached YMosts when our regions are cleared. Bug 351202, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209310 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 03:01:25 +00:00
smontagu%smontagu.org
7045305358 Make the test for visual order before Arabic shaping more fine-grained. Bug 258099, r=uri, sr=roc
git-svn-id: svn://10.0.0.236/trunk@208808 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 14:20:46 +00:00
uriber%gmail.com
30f3ba7887 Allow users of nsFrameTraversal to specify what features they want the iterator to have, and make nsFrame::GetFrameFromDirection() specify "following OOFs". bug=334626 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208806 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 13:38:16 +00:00
uriber%gmail.com
d9b988dfa9 Use the caret visual position as a base for visual movement, but the logical position as a base for logical movement. bug=350012 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@208799 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-30 09:26:39 +00:00
bzbarsky%mit.edu
db46782d41 When cleaning up anonymous content, let the ESM know; that way if any of it is
:hover or :active the state will be updated accordingly.  Bug 314346, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@208760 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 22:00:26 +00:00
bzbarsky%mit.edu
9bfaa5ca42 Speed up ClearFloats for cases when we have lots of floats. Bug 349113, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208758 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 21:56:51 +00:00
joshmoz%gmail.com
ee50ab7bd1 use slower idle event timer for plugins that are hidden by tabs. b=336060 r=mento sr=jst
git-svn-id: svn://10.0.0.236/trunk@208734 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 19:14:53 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
mats.palmgren%bredband.net
b414463fe9 Don't iterate past the beginning line (crash fix). b=350370 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@208611 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 07:30:01 +00:00
mats.palmgren%bredband.net
f119c67ad5 Don't overlap scroll frame margin box with float (regression). b=350046 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208474 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 22:55:32 +00:00
bzbarsky%mit.edu
7db942a02d Remove some unnecessary members and code. Bug 335477, patch by Marc Liddell
<marcldl+mozbugs@gmail.com>, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@208413 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 16:46:22 +00:00
mats.palmgren%bredband.net
381021cc6b Don't steal floats from descendant float containing blocks. b=348887 (patch B) r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208388 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 04:17:41 +00:00
smontagu%smontagu.org
ec3cf4e6c5 Only strip zero-width joiner and non-joiner control characters when we do our own Arabic shaping (hunk missed in original checkin). Bug 280936, r=jshin, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@208287 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 07:34:29 +00:00
mats.palmgren%bredband.net
2b07153d10 1. Make scroll frames non-splittable.
2. Make a placeholder splittable only if the out-of-flow is.
3. If a float placeholder is not splittable then place it immediately
   instead of failing to reflow it because it can't be split.
b=337419 (Patch B) r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@208285 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 05:22:16 +00:00
mats.palmgren%bredband.net
338bf14650 Don't steal floats from descendant float containing blocks. b=348887 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208086 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 03:04:18 +00:00
mats.palmgren%bredband.net
0e4fca5671 Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208083 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-22 01:33:46 +00:00
mats.palmgren%bredband.net
3f20c69ea2 Leave the placeholder's pointer to the out-of-flow intact because the float cache depends on it later on. b=348688 r=bzbarsky sr=roc
git-svn-id: svn://10.0.0.236/trunk@207728 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 13:15:26 +00:00