Commit Graph

443 Commits

Author SHA1 Message Date
98de634631 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
bf9ea34c63 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
9b2de45f14 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
bd21679096 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
50379e5deb 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
e0f90db412 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
20e76df4f1 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
43d7614a16 Bug 374937, Crashes [@ nsTypedSelection::GetFrameSelection], r+sr=roc 2007-03-22 17:06:38 -07:00
Olli.Pettay@helsinki.fi
b8a39e4f6c Bug 373586 , r+sr=roc 2007-03-19 10:23:29 +00:00
Olli.Pettay@helsinki.fi
5e7ebb4a14 Backout bug 373586 2007-03-19 08:13:01 +00:00
Olli.Pettay@helsinki.fi
9b559775f4 Bug 373586 , r+sr=roc 2007-03-19 06:30:41 +00:00
uriber@gmail.com
2a73f82546 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
378d56c9f7 Collapse() might have destroyed 'frame'. b=368697 r+sr=roc 2007-01-30 22:28:06 +00:00
uriber@gmail.com
748b5a19ae The correct version of the patch for bug 363198, this time. 2007-01-30 19:36:55 +00:00
uriber@gmail.com
9b16992ff7 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
e80f1dba4e 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
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
gavin@gavinsharp.com
1615608000 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
d6fee943a2 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
861593eb0e 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
f75d64cf5b 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
fd61d9f701 Bug 357445: Some cleanup of range code. r/sr=jst 2006-10-21 01:30:54 +00:00
flamingice@sourmilk.net
745b1f833c 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
67f8af50b6 Bug 349931, crashes during drag-and-drop, r+sr=roc 2006-09-18 08:47:06 +00:00
uriber@gmail.com
8c3328a001 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
bc5bc7aeba 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
2297c8c2f0 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
3954591075 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
83ad47153f 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
5b9f3bbe12 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
4d2d2ea07c 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
a31f02572b 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
5dbf40a6a3 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
243a0f0410 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
df75e1c236 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
fbba9fccc5 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
5d41bc0240 Bug 345099 r+sr=bryner Fix includes from main patch on this bug 2006-07-27 21:46:34 +00:00
brettw@gmail.com
daedeb1290 Fix bustage from bug 345099 2006-07-27 18:39:18 +00:00
brettw@gmail.com
319ff67d26 Bug 345099 r=uriber sr=bryner Sort ranges in selection for faster comparison. 2006-07-27 17:57:15 +00:00
cvshook@sicking.cc
de453923d9 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
uriber@gmail.com
94b72b1e7f 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
c1899978f4 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
d7ce53fcff Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00
uriber@gmail.com
f12ea6ca9d 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
ca373cf479 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
mark@moxienet.com
c066904ebb 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch (tweak) by Peter Kasting <pkasting@google.com>. r=dbaron 2006-06-20 00:30:18 +00:00
mark@moxienet.com
c6c47f58f5 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch by Peter Kasting <pkasting@google.com>. r=mconnor sr=dbaron 2006-06-17 01:05:26 +00:00
mrbkap@gmail.com
896a7031f9 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 2006-06-16 01:54:31 +00:00
brettw@gmail.com
63db171aac Bug 337871 r+sr=roc Screen jumps around with multiple textboxes and spellchecking 2006-05-30 21:59:56 +00:00
uriber@gmail.com
0cdf52bb55 Adjust the fix for bug 334256 so that it does not affect non-normal selections. bug=338315, r+sr=roc 2006-05-22 16:56:44 +00:00