4346 Commits

Author SHA1 Message Date
aaronleventhal%moonset.net
ab684c50c1 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@201939 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 14:35:43 +00:00
aaronleventhal%moonset.net
ce424ecaee Bug 340667. New ATK: Expose <br>'s as \n character, combining before & after blocks of text together. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201937 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 13:51:50 +00:00
uriber%gmail.com
928f0ccda5 Always use the visual iterator when moving visually in a bidi page, even if the current line or adjacent lines are LTR. bug=309432 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@201927 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 11:22:18 +00:00
Olli.Pettay%helsinki.fi
4fecdff0a7 Bug 343457, Adding nsWeakFrame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201923 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 07:41:11 +00:00
uriber%gmail.com
8949cb7ef1 Bug 16203: double-click drag should do selection in "word-by-word" mode. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201921 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 07:07:36 +00:00
aaronleventhal%moonset.net
dd08577b50 Bug 342035. Create accessibles for all block level elements so that ATs can determine line spacing. r=ginn.chen, sr=neil, sr=roc
git-svn-id: svn://10.0.0.236/trunk@201907 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 22:14:09 +00:00
aaronleventhal%moonset.net
5c15d496c9 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
git-svn-id: svn://10.0.0.236/trunk@201906 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 22:11:02 +00:00
Olli.Pettay%helsinki.fi
62e7c4758f backing out Bug 343457 too see if it caused btek tp regression
git-svn-id: svn://10.0.0.236/trunk@201898 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 20:18:07 +00:00
Olli.Pettay%helsinki.fi
3e553a6049 Bug 343457, Add nsWeakFrame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201872 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 13:01:07 +00:00
mats.palmgren%bredband.net
b87855df49 Block-level replaced element margin box must not overlap any floats. b=342531 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@201547 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-05 03:53:22 +00:00
uriber%gmail.com
01ebf6856f Limit the fix for bug 337135 to the -moz-pre-wrap case only. bug=343390, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201480 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-03 07:12:42 +00:00
cvshook%sicking.cc
aba7c6ff77 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
mats.palmgren%bredband.net
1bbaeed419 Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@201187 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:32:36 +00:00
roc+%cs.cmu.edu
b1ae3cf7e7 relanding fix for bug 317278 :-(
git-svn-id: svn://10.0.0.236/trunk@201179 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 01:19:48 +00:00
uriber%gmail.com
a8c46f2589 Allow removing multiple trimmed whitespace characters when painting text. bug=337135 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201089 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 12:14:48 +00:00
roc+%cs.cmu.edu
bd9175c940 Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@200963 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:18:23 +00:00
dveditz%cruzio.com
1df5c4d525 bug 284219 addendum, missed biesi's review comment
git-svn-id: svn://10.0.0.236/trunk@200636 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 22:21:52 +00:00
martijn.martijn%gmail.com
ad03baad9d Bug 342422 - Using createRange() and then adding that range to the selection with addRange throws exception, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200611 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:33 +00:00
dveditz%cruzio.com
f869942298 Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
roc+%cs.cmu.edu
e7ac888254 Bug 342093. Use GetPositionIgnoringScrolling where we can, now that it exists. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200462 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 21:13:05 +00:00
dbaron%dbaron.org
de473d5f34 Make conditions that cause additional pass for shrink wrap case less restrictive so that we do the additional pass inside a shrink-wrap scrollframe. b=325680 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@200385 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 00:46:32 +00:00
mark%moxienet.com
011cbdbc29 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch (tweak) by Peter Kasting <pkasting@google.com>. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@200377 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 00:30:18 +00:00
roc+%cs.cmu.edu
d643001e93 Bug 317278. Reland patch that reflows lines again if we detect some already-placed floats need to move to the next line. This time, with changes to nsSpaceManager's PushState/PopState infrastructure so that dynamic allocations are never required; the saved state is always stack-allocated by callers. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@200367 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:06:59 +00:00
roc+%cs.cmu.edu
fd309fa894 Backing out patch for 317278 due to Tp regression
git-svn-id: svn://10.0.0.236/trunk@200257 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 01:29:07 +00:00
roc+%cs.cmu.edu
6d142c7e60 Bug 317278. In some cases we push float placeholders from one line to the next after we have already placed their floats on the line. In such situations, reset the space manager and force the line to reflow again so those floats don't get placed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@200256 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 00:02:49 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
mark%moxienet.com
358bd9fb6c 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch by Peter Kasting <pkasting@google.com>. r=mconnor sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@200173 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-17 01:05:26 +00:00
dbaron%dbaron.org
f019e59995 Implement a stub imgIDecoderObserver to save code size in content and layout. b=339612 r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200151 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 21:07:47 +00:00
roc+%cs.cmu.edu
6116366065 Bug 334765. Fix XUL boxobject coordinates to not take scrolling into account. Second try, with a patch that hopefully won't regress Tp. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200097 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 02:40:29 +00:00
mrbkap%gmail.com
1b46c4ab62 Avoid a crash in nsAutoScrollTimer by keeping a reference to the content instead of the view. bug 322084, patch by jpl24 <jlurz24@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@200087 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 01:54:31 +00:00
uriber%gmail.com
816ab1e15e Bug 328168: Horizontal paddings, borders and margins on multi-frame bidi inlines appear in the wrong places. Patch by Haamed Gheibi <gheibi@gmail.com>. r=roc+uriber, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@199957 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 08:16:23 +00:00
roc+%cs.cmu.edu
a3a8c10417 Bug 341141. Position abs-pos clip rects correctly. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199941 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:25:33 +00:00
dbaron%dbaron.org
007c225a7e Fix regression by re-retrieving style struct after changing the frame we're dealing with. b=340798 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@199637 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 21:04:21 +00:00
roc+%cs.cmu.edu
d5ea80116c Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@199574 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 03:29:32 +00:00
uriber%gmail.com
8b9a1f9460 Allow searching a line for a frame starting from a given point, to improve performance of forward-moving searches. Used in bidi resolution. bug=339935, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@199496 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 08:41:51 +00:00
roc+%cs.cmu.edu
08078b50ef Bug 331590. Treat inline-box/grid/stack XUL elements like inline blocks, making them pseudo-stacking-contexts. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@199487 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 03:35:29 +00:00
roc+%cs.cmu.edu
99e2835bf4 Bug 336121. Treat table outer frames as psuedostacking contexts. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@199486 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 03:32:06 +00:00
roc+%cs.cmu.edu
0314852d54 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@199483 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 02:41:32 +00:00
roc+%cs.cmu.edu
e71eeec88a Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199477 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 01:11:43 +00:00
mats.palmgren%bredband.net
eac60be8ef Make the frame dump in CheckFloats() DEBUG_roc only. b=322436 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@199175 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 01:39:48 +00:00
vladimir%pobox.com
d138dc5c23 b=325465, flash is not rendered properly with cairo builds (windowless plugins on win32); r=stuart
git-svn-id: svn://10.0.0.236/trunk@199137 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 18:41:24 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
dbaron%dbaron.org
7be4b9c543 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
brettw%gmail.com
1a53ef8dd8 Bug 337871 r+sr=roc Screen jumps around with multiple textboxes and spellchecking
git-svn-id: svn://10.0.0.236/trunk@198685 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 21:59:56 +00:00
uriber%gmail.com
13b90f0e61 Fix triple-click paragraph selection near block generated content. bug=339430, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@198555 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-29 08:32:46 +00:00
mats.palmgren%bredband.net
50b31580f5 Bustage fix (bug 337883)
git-svn-id: svn://10.0.0.236/trunk@198363 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 01:48:00 +00:00
mats.palmgren%bredband.net
416c8f1e7b Clear the float cache from placeholders that are descendants of the frame we remove. b=337883 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@198362 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 01:30:34 +00:00
uriber%gmail.com
061a9992b0 Adjust the fix for bug 334256 so that it does not affect non-normal selections. bug=338315, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@198166 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 16:56:44 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
brettw%gmail.com
dc205d57ee Bug 336679 r+sr=roc the text/lines disappears when spellchecking Unicode text and focus is lost
git-svn-id: svn://10.0.0.236/trunk@196561 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 19:20:32 +00:00