Commit Graph

298 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
733ec5dc31 Make sure layout is up to date before moving the caret. Bug 375436 followup to fix orange, pending reviews from roc. 2007-08-21 22:13:24 -07:00
bzbarsky@mit.edu
e51e8403e6 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
philringnalda@gmail.com
42675246db Bug 390423 - Simplify the signature of nsIFrame::GetPointFromOffset, patch by Ben Karel <web+moz@eschew.org>, r=aaronlev/elif, sr=roc, a1.9=dbaron 2007-08-16 20:43:00 -07:00
mats.palmgren@bredband.net
37fce74e9b Make GetFirstCellNodeInRange() deal with document node in the range. b=391747 r=Olli.Pettay sr+a=roc 2007-08-16 05:42:25 -07:00
mats.palmgren@bredband.net
7940ebdc50 Use NS_IMPL_ISUPPPORTS macros where possible. b=387211 r=neil sr=dbaron a19=pavlov 2007-08-07 08:18:36 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
peterv@propagandism.org
6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
mrbkap@gmail.com
3abd13b642 Don't depend on undefined behavior (sign extension on right shift). bug 385259, r=mats.palmgren sr=jst 2007-06-25 14:53:21 -07:00
bzbarsky@mit.edu
eeaa1a101b Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
Olli.Pettay@helsinki.fi
04a93cc490 Bug 375093, Crash [@ nsTypedSelection::ScrollIntoView] when right-clicking paste in input which then gets destroyed oninput, r+sr=dbaron 2007-03-23 10:32:34 -07:00
Olli.Pettay@helsinki.fi
74955417c0 Bug 374937, Crashes [@ nsTypedSelection::GetFrameSelection], r+sr=roc 2007-03-22 17:06:38 -07:00
Olli.Pettay%helsinki.fi
1f2499afdc Bug 373586 , r+sr=roc 2007-03-19 10:23:29 +00:00
Olli.Pettay%helsinki.fi
c9355efc94 Backout bug 373586 2007-03-19 08:13:01 +00:00
Olli.Pettay%helsinki.fi
de33e16799 Bug 373586 , r+sr=roc 2007-03-19 06:30:41 +00:00
uriber%gmail.com
1d2ba1b272 Always initialize numChildren, now that it's always checked. bug=368893 r=nian.liu sr=roc 2007-02-04 21:24:49 +00:00
mats.palmgren%bredband.net
9ea6a75e09 Collapse() might have destroyed 'frame'. b=368697 r+sr=roc 2007-01-30 22:28:06 +00:00
uriber%gmail.com
f7b12367dd The correct version of the patch for bug 363198, this time. 2007-01-30 19:36:55 +00:00
uriber%gmail.com
1f1b745917 GetFrameForNodeOffset: if aNode has no children and the offset is 0, return the frame corresponding to aNode rather than failing. patch by Nian Liu <nian.liu@sun.com>. bug=363198 r=uriber sr=roc. 2007-01-30 19:29:55 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
gavin%gavinsharp.com
a6c6f230c8 Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron 2006-12-16 14:40:44 +00:00
uriber%gmail.com
dfaa7745b0 Null-check GetContentOffsetsFromPoint's output, to avoid crashes later. bug=361229 r=roc sr=sicking 2006-11-22 17:34:15 +00:00
mats.palmgren%bredband.net
f04a29ec0d Right arrow key (to collapse selection to right) does not scroll textbox to show caret. b=352759 r+sr=roc 2006-11-09 16:37:10 +00:00
cvshook%sicking.cc
55d0c600fa Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957 2006-10-25 20:24:00 +00:00
cvshook%sicking.cc
5a6d9399ce Bug 357445: Some cleanup of range code. r/sr=jst 2006-10-21 01:30:54 +00:00
flamingice%sourmilk.net
23aaf31940 Bug 351575, Dereference before null check in |nsTypedSelection::GetRangesForInterval|, patch by Adam Guthrie <ispiked@gmail.com>, r=brettw, sr=bryner 2006-09-24 06:04:00 +00:00
Olli.Pettay%helsinki.fi
4b1c4393e9 Bug 349931, crashes during drag-and-drop, r+sr=roc 2006-09-18 08:47:06 +00:00
uriber%gmail.com
38c1e056e9 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
0fa608ce5e 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
95b377fc13 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
uriber%gmail.com
ca5218736c 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 2006-08-30 13:38:16 +00:00
uriber%gmail.com
186084ac05 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 2006-08-30 09:26:39 +00:00
uriber%gmail.com
24ef1f7947 In GetPrevNextBidiLevels, treat the "before <br>" case as if we were end-of-line. bug=330461 r=smontagu sr=roc 2006-08-14 11:25:57 +00:00
brettw%gmail.com
e15b1129b4 Bug 346729 r+sr=bryner Table cell selection is broken (get multiple copies on paste) 2006-08-10 19:56:43 +00:00
uriber%gmail.com
8982c70f78 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc 2006-08-08 05:14:52 +00:00
uriber%gmail.com
97d95c3f78 Refactored nsSelection::GetPrevNextBidiLevels to use GetFrameFromDirection; moved GetFrameFromDirection from nsFrame to nsIFrame and made it nonvirtual. bug=333883 r=smontagu sr=roc 2006-08-07 10:54:56 +00:00
uriber%gmail.com
af8d06933c Check for a null aNode in nsTypedSelection::ContainsNode and return immediately. bug=347036 r=brettw sr=bryner 2006-08-03 19:22:50 +00:00
uriber%gmail.com
cee7609648 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 2006-08-03 06:24:11 +00:00
brettw%gmail.com
83c62ff171 Bug 346185 r=uriber sr=bryner fixing one of two misspelled words in a line makes spellcheck underline disappear on both 2006-07-31 18:25:22 +00:00
brettw%gmail.com
fd061c8cbc Bug 345099 r+sr=bryner Fix includes from main patch on this bug 2006-07-27 21:46:34 +00:00
brettw%gmail.com
7a49e43b77 Fix bustage from bug 345099 2006-07-27 18:39:18 +00:00
brettw%gmail.com
d15c579c18 Bug 345099 r=uriber sr=bryner Sort ranges in selection for faster comparison. 2006-07-27 17:57:15 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
uriber%gmail.com
3bef115769 Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc 2006-07-18 07:28:38 +00:00
uriber%gmail.com
100bcb5400 Use GetFrameForNodeOffset instead of GetPrimaryFrameFor when extending selection for doubleclick-drag. bug=344384 r+sr=roc 2006-07-13 09:08:56 +00:00
uriber%gmail.com
e121423cb8 Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00
uriber%gmail.com
791743405c Bug 16203: double-click drag should do selection in "word-by-word" mode. r+sr=roc 2006-07-12 07:07:36 +00:00
martijn.martijn%gmail.com
23fbacf5e2 Bug 342422 - Using createRange() and then adding that range to the selection with addRange throws exception, r+sr=bzbarsky 2006-06-22 19:07:33 +00:00