661 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
b0526fa99c Bug 336592, Fixing mistake in previous patch, PRUint32->PRInt32, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206548 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 07:35:35 +00:00
uriber%gmail.com
3bea28d295 Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@206546 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 05:40:57 +00:00
roc+%cs.cmu.edu
47bea9dfd5 Bug 346035. Force <stack> children to be full-fledged stacking contexts and put their display items in the Content display list. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@206519 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 21:39:39 +00:00
uriber%gmail.com
17a6df652a Enable PeekOffset to find the visual beginning/end of a line, and use use it for bidi caret positioning. bug=302051 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@206472 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 06:24:11 +00:00
uriber%gmail.com
fcb47a90e2 Simplify handling of the eSelectNoAmount case in nsFrame::PeekOffset. bug=344514 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@202305 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:32:58 +00:00
uriber%gmail.com
cc251423d1 Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201994 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 06:06:29 +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
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
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
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
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
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
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
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
Olli.Pettay%helsinki.fi
5dc78f28e1 Bug 336592, Crash when window gets destroyed during selection event, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@196376 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 06:40:49 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
d0080625f7 Bug 334897 Useless null check of shell in nsFrame::Destroy
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@196114 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 21:42:49 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
aaronleventhal%moonset.net
e80adb2cf6 Bug 336162. Don't fire DOM events from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@195907 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 17:02:37 +00:00
roc+%cs.cmu.edu
1f8c8f9667 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@195507 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:45:03 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
bzbarsky%mit.edu
c65fc9a4e7 Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195380 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 19:56:45 +00:00
mrbkap%gmail.com
b8eef2bbb9 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194553 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:16:46 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
uriber%gmail.com
f7fdeca918 Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193942 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 14:45:48 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
dbaron%dbaron.org
b258ce85ca Single line comments to describe files (helpful in LXR)
git-svn-id: svn://10.0.0.236/trunk@193203 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 18:29:03 +00:00
uriber%gmail.com
fab151668b For left/right arrows, don't flip the hint in PeekOffset(); instead figure it afterwards in MoveCaret(). bug=331444 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193140 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 18:33:37 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
uriber%gmail.com
1b5030c427 Bug 331440: Remove eSelectDir from nsSelectionAmount enum, and all references to it. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192855 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 18:36:44 +00:00
uriber%gmail.com
1cfa63d599 Simplified bidi code in GetFrameFromDirection; changed bidi semantics of eDirPrevious, eDirNext. bug=330815 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@192843 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:30:30 +00:00
uriber%gmail.com
5cbb166257 Bug 330881: Crash when double-clicking in empty area inside isindex with position:absolute;direction:rtl;. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192624 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-20 09:20:49 +00:00
pavlov%pavlov.net
41d90a0b12 forgot to remove Save/Restore before checking in. bug 328390. r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@192502 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 22:46:10 +00:00
pavlov%pavlov.net
39afaa56de draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@192499 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 21:42:50 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c469d694c3 Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
sharparrow1%yahoo.com
bf9ca61396 Bug 329031 - home/end/ctrl+home/ctrl+end offset calculation cleanup. r=uriber, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@192249 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-13 01:13:25 +00:00
roc+%cs.cmu.edu
38a9722e9f Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
uriber%gmail.com
7a1587db3e Bug 328876: Avoid compiler warning in nsFrame::GetSelectionClosestFrame(). r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191519 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 21:18:30 +00:00
uriber%gmail.com
e5b952f46a Bug 326932: Triple-click paragraph selection doesn't work correctly in paragraphs containing form controls. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191505 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 19:28:42 +00:00
sharparrow1%yahoo.com
46b919e4f9 Bug 320326: deCOMtaminate GetContentAndOffsetsFromPoint, plus some slight behavior changes. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@191302 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 05:57:37 +00:00
roc+%cs.cmu.edu
fe7bb3975b Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191298 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 04:15:05 +00:00
roc+%cs.cmu.edu
b280811155 Backing out changes for bug 326944.
git-svn-id: svn://10.0.0.236/trunk@191296 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 03:22:03 +00:00
roc+%cs.cmu.edu
ede1364b21 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@191294 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:51:57 +00:00
uriber%gmail.com
9abc8fa432 Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190744 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu
38baec06b0 Bug 327670. Fix memory leak from bug 317375. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190737 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:06:17 +00:00
sharparrow1%yahoo.com
c7989ee277 Bug 327868: nsIFrameSelection cleanup. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@190633 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 00:49:04 +00:00