Commit Graph

426 Commits

Author SHA1 Message Date
uriber@gmail.com
912b10771a Bug 331440: Remove eSelectDir from nsSelectionAmount enum, and all references to it. r+sr=roc 2006-03-23 18:36:44 +00:00
uriber@gmail.com
12008b7b04 Simplified bidi code in GetFrameFromDirection; changed bidi semantics of eDirPrevious, eDirNext. bug=330815 r=smontagu sr=roc 2006-03-23 08:30:30 +00:00
uriber@gmail.com
7c6e4ce2d0 In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc 2006-03-23 08:20:29 +00:00
dbaron@dbaron.org
73fa3686e1 Fix clamping of scrollable area in light of ability to scroll to the left. b=330732 r+sr=roc 2006-03-23 00:13:07 +00:00
sharparrow1@yahoo.com
3baa3c8b08 Bug 329031 - home/end/ctrl+home/ctrl+end offset calculation cleanup. r=uriber, sr=roc. 2006-03-13 01:13:25 +00:00
uriber@gmail.com
05c6402dd8 Bug 328655: Pressing "Home" or "End" on a blank line in a textarea in a bidi page moves the caret to the top of the textarea. r=smontagu sr=roc 2006-03-01 19:34:00 +00:00
sharparrow1@yahoo.com
c671bf186e Bug 320326: deCOMtaminate GetContentAndOffsetsFromPoint, plus some slight behavior changes. r+sr=roc. 2006-02-27 05:57:37 +00:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
dbaron@dbaron.org
e11876f3cf Don't store or use a widget in the delayed caret data; it's not important, and it might have been destroyed. b=307989 r+sr=roc 2005-12-16 04:58:33 +00:00
roc+@cs.cmu.edu
cf95169f58 Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
timeless@mozdev.org
71ed8bc863 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
smontagu@smontagu.org
980a07de30 Bug 313602: Bidi: Caret appears incorrectly when using up/down arrows to move into a blank line surrounded by reverse-direction text. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:40:52 +00:00
smontagu@smontagu.org
406d191d8d Bug 305798: Bidi: After deleting last character of reverse-direction text, arrow keys move caret incorrectly. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:37:01 +00:00
dbaron@dbaron.org
b55c028d13 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
mats.palmgren@bredband.net
698f01e0b1 Restore Mac-specific caret movement when there is a selection. b=299417 r=uriber sr=roc 2005-10-17 00:51:46 +00:00
mozilla.mano@sent.com
b33a62a68e Bug 312620 - Bidi: Caret doesn't move correctly when arrowing where line wraps, if the wrapped line starts with a single reverse-direction character. patch from uriber@gmail.com, r+sr=roc. 2005-10-16 23:26:22 +00:00
mozilla.mano@sent.com
b319ea7894 Bug 308017 - Bidi: up/down-arrow sometimes behave incorrectly after switching keyboard layout. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc. 2005-09-18 14:18:28 +00:00
mrbkap@gmail.com
6208449d3b bug 299622: BiDi: Pressing End in a blank line moves the caret back, to the end of the previous line. Patch by Uri Bernstein <uriber@gmail.com>. r=smontagu sr=roc 2005-08-24 17:46:45 +00:00
mrbkap@gmail.com
2b3676846e bug 303399: Bidi: Problems with caret positioning on blank lines. Patch by Uri Bernstein <uriber@gmail.com>. r=mrbkap sr=roc 2005-08-24 17:44:28 +00:00
bzbarsky@mit.edu
93240998ef Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
roc+@cs.cmu.edu
334d4dd8e5 Bug 305239. Fix regression in text entry. r+sr=roc, patch by Uri Bernstein 2005-08-22 01:32:03 +00:00
roc+@cs.cmu.edu
b4a49af918 Bug 16311. Instead of using geometric scanning to find the ends of lines, just look at the frame hierarchy. patch by uriber, r+sr=roc 2005-08-18 17:04:51 +00:00
mozilla.mano@sent.com
c7dfb41752 Bug 301033 - Bidi: Caret placed in wrong position when arrowing over a single reverse-direction character. patch from Uri Bernstein <uriber@gmail.com>, r+sr=roc, a=asa. 2005-08-08 07:35:48 +00:00
rbs@maths.uq.edu.au
1127c955ed Avoing crashing due to outdated text pointers by flushing pending reflows before finding out where to scroll the selection, b=252970, r+sr=bzbarsky, a=bsmedberg 2005-07-30 02:43:17 +00:00
cbiesinger@web.de
821f8c108c 254278 assign to |result| in the loop, to terminate at the right place
r+sr=bz a=asa
2005-07-14 15:48:11 +00:00
jst@mozilla.jstenback.com
f54c1fc9b1 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
timeless@mozdev.org
5193cb81ca Bug 217599 Minor tweaks to nsSelection
r=akk sr=rbs
2005-03-25 07:35:17 +00:00
bryner@brianryner.com
ca100921ee Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc. 2005-01-31 23:47:26 +00:00
scott@scott-macgregor.org
8ea301a405 Bug #278312 --> layout and selection changes to support inline spell checking for Thunderbird
Includes changes to draw spell check selection as a red dotted line instead of a solid underline.

r/sr=dbaron
2005-01-31 17:57:35 +00:00
mats.palmgren@bredband.net
7f43683861 Move caret normally even if it collapses a selection. b=207623 r=aaronleventhal sr=bzbarsky 2005-01-25 22:38:37 +00:00
bmlk@gmx.de
7d4129e77a remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2004-12-26 19:48:54 +00:00
dbaron@dbaron.org
577ee6bd5b Make page up and page down leave at most two lines in common between pages. b=175380 r+sr=roc 2004-11-24 22:05:36 +00:00
timeless@mozdev.org
2349e1cddb Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=dbradley rs=brendan
2004-11-10 07:27:11 +00:00
bzbarsky@mit.edu
3058450426 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
daniel@glazman.org
4d1e601174 fixes inconsistent selection schemes in HTML tables; b=261385, r=Neil, sr=roc 2004-10-20 15:24:11 +00:00
bzbarsky@mit.edu
0e97f61e3c Fix ComparePoints() to be faster (helps with things like innerHTML). Bug
262764, r+sr=peterv
2004-10-09 21:02:16 +00:00
dbaron@dbaron.org
1b13fcd284 Don't allow the user to scroll things that are 'overflow: hidden'. b=259615 r+sr=roc 2004-09-21 04:41:08 +00:00
neil@parkwaycc.co.uk
6d93ca9f7e Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc 2004-09-20 22:25:07 +00:00
roc+@cs.cmu.edu
f6d4272f10 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
bryner@brianryner.com
76ee74ad4b Restoring previous failure code, follow-up to bug 257596 2004-09-01 18:02:04 +00:00
bryner@brianryner.com
ec6f36a174 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc). 2004-09-01 05:16:00 +00:00
mats.palmgren@bredband.net
c17e7d41df Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron 2004-08-06 15:55:17 +00:00
cbiesinger@web.de
06a9136297 Bug 254278 remove some *WithConversion in layout/content
r+sr=bz
2004-08-04 17:33:30 +00:00
bryner@brianryner.com
8fc0179c66 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
roc+@cs.cmu.edu
360603efcb Bug 53966. Don't just capture to the nearest view when selecting with mouse; only capture to the nearest scrolling view. r+sr=dbaron 2004-07-20 00:02:43 +00:00
smontagu@smontagu.org
3fa48e3a2b DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
jst@mozilla.jstenback.com
91aa65c204 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
gerv@gerv.net
cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bryner@brianryner.com
5ddc9f91a1 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00