4307 Commits

Author SHA1 Message Date
dbaron%dbaron.org
53af910084 Set curpos after maxpos to fix restoration of horizontal scrollbar in RTL scrolled all the way to the left. b=333829 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194472 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 06:34:45 +00:00
sharparrow1%yahoo.com
1c6d65819c Bug 328395: deal with an nsTypedSelection existing after its presentation is destroyed so it doesn't crash. r=bzbarsky, sr=roc
git-svn-id: svn://10.0.0.236/trunk@194369 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 00:28:22 +00:00
martijn.martijn%gmail.com
af6f3b8e45 Bug 333136 - scrollSelectionIntoView should try to scroll the complete selection into view, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194315 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 15:40:52 +00:00
sharparrow1%yahoo.com
7964cbc37f Bug 333590: fix input field scrolling. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194202 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 01:55:25 +00:00
bzbarsky%mit.edu
6dc3270ec7 Make line boxes have the right width when justifying. Bug 309761, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194200 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 01:07:01 +00:00
sharparrow1%yahoo.com
c9ccbbfad1 Bug 332927: missed a file
git-svn-id: svn://10.0.0.236/trunk@194090 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 02:20:24 +00:00
sharparrow1%yahoo.com
b1c51e04df Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
uriber%gmail.com
890a674685 Bug 314519: Caret skips blank lines using right-arrow key in some cases of preformatted text. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193983 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 06:49:50 +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
roc+%cs.cmu.edu
cbc5855a71 Bug 282173. Remove BuildFloatList. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193974 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-09 22:56:27 +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
c17b6b4c3d Fix state restoration for RTL cases. b=331607 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193832 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 19:51:46 +00:00
uriber%gmail.com
31609c1a43 Make wordSelectEatSpaceAfter take effect when moving forward relative to the paragraph direction, regardless of the text frame direction. bug=299535 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193678 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 08:21:12 +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
bzbarsky%mit.edu
84ef11c140 Make sure to not rely on how scrollframes handle frame offsets (esp. since it's
changed) when positioning fixed-pos frames.  Bug 331729, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@193567 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 22:36:01 +00:00
pavlov%pavlov.net
2e3d9319de add type info to thebes. bug 332743. r=vlad
git-svn-id: svn://10.0.0.236/trunk@193561 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 21:54:22 +00:00
uriber%gmail.com
b4c4d45d77 Bug 299240: BiDi: Caret gets stuck (or moves cyclically) when using Ctrl+arrow and reaching a reverse-direction character/word followed by punctuation. r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193407 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 08:05:46 +00:00
sharparrow1%yahoo.com
6de1b08e94 Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Trémon, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 01:19:28 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
dbaron%dbaron.org
38dfc5e1f2 Reorder FinishAndStoreOverflow and SyncFrameViewAfterReflow so it does what I intended. b=331458 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193244 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 04:26:36 +00:00
sharparrow1%yahoo.com
4faf77261e Bug 331415: some printing code cleanup. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +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
rbs%maths.uq.edu.au
ea324b55a6 Re-checkin as it showed no impact on luna's TDHML bug 331661. Introduce a soft-break flag that means that a whitespace has been trimmed at the end of the line, and therefore its width has not been accounted for (this width can actually be large, e.g., if a large word-spacing is set). LineLayout should not be misled into placing something where the whitespace was trimmed. b=329987, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@193030 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 07:04:29 +00:00
rbs%maths.uq.edu.au
f057f2eefe Backing out to investigate the DHTML jump on luna, bug 331661
git-svn-id: svn://10.0.0.236/trunk@193028 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 05:21:44 +00:00
dbaron%dbaron.org
39a926c190 Fix two regressions related to sizing of canvas frames. b=331458 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193023 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 22:12:54 +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
roc+%cs.cmu.edu
cbf12a16e3 Bug 328946. Mark reflowed block as non-dirty earlier, so we don't get a spurious assertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193020 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:02:19 +00:00
dbaron%dbaron.org
e92900026b Always use the UI direction for the scrollbar side, which is what we used to do in the most common case, but make it a pref. b=330863 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193001 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 00:48:03 +00:00
Olli.Pettay%helsinki.fi
ed6f59a4d7 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst
git-svn-id: svn://10.0.0.236/trunk@192998 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 22:03:49 +00:00
rbs%maths.uq.edu.au
a824b2320f Introduce a soft-break flag that means that a whitespace has been trimmed at the end of the line, and therefore its width has not been accounted for (this width can actually be large, e.g., if a large word-spacing is set). LineLayout should not be misled into placing something where the whitespace was trimmed. b=329987, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@192959 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 22:45:05 +00:00
cvshook%sicking.cc
a3aecc875b Bug 329974: Share textdata for common textnode values. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@192902 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 03:29:52 +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
60d1fa7f53 In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@192841 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:20:29 +00:00
dbaron%dbaron.org
6997cf4a86 It is no longer correct to assume 0 as a default value for curpos, due to translations of curpos when scrolling left of the viewport. b=331049 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192832 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 03:45:41 +00:00
dbaron%dbaron.org
2ec4e93072 Fix clamping of scrollable area in light of ability to scroll to the left. b=330732 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192821 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 00:13:07 +00:00
dbaron%dbaron.org
e3404f83e9 Add comment about importance of view sizing. b=330732 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192820 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 00:11:43 +00:00
bryner%brianryner.com
1de3fc0366 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
dbaron%dbaron.org
32758d4ffd Avoid potential problems initializing attributes to -1. b=192767 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192763 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 07:10:31 +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
vladimir%pobox.com
a0fde75ce7 Re-landing fixed cairo update, r=pav
git-svn-id: svn://10.0.0.236/trunk@192565 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 22:24:30 +00:00
vladimir%pobox.com
eaedad5e8c People tell me that quadrupling Tp is bad. Me? I want a second opinion.
git-svn-id: svn://10.0.0.236/trunk@192527 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 07:44:38 +00:00
vladimir%pobox.com
3cf7e11a05 b=330738, update in-tree cairo to current cairo head
git-svn-id: svn://10.0.0.236/trunk@192518 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 04:05:32 +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
bzbarsky%mit.edu
0332048377 Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@192462 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 01:30:38 +00:00
uriber%gmail.com
83e152722a Mark lines for which bidi continuations were created or removed dirty, instead of marking everything dirty when continuations removed. bug=330373 r=roc sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192444 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 20:52:02 +00:00
uriber%gmail.com
46af3b19e5 Bug 318116: Overflowing inlines in fixed-width RTL blocks overflow to the right instead of to the left. r=dbaron sr=roc
git-svn-id: svn://10.0.0.236/trunk@192424 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 17:10:35 +00:00
dbaron%dbaron.org
22a8d25049 Fix handling of auto margins on blocks and tables wider than their container. b=96394 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192423 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 17:00:57 +00:00