jst%mozilla.org
daccf057ae
Bug 280959: Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@231016 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:14:35 +00:00
bzbarsky%mit.edu
43d165c801
Avoid doing some work when initializing textfields. Bug 221150, patch by
...
peterv and a little bit me, r=me, sr=roc
git-svn-id: svn://10.0.0.236/trunk@230820 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 00:11:23 +00:00
peterv%propagandism.org
c38fe4dd36
Fix for bug 386838 (Cannot select text twice in readonly textboxes). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@229607 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 15:38:30 +00:00
jwalden%mit.edu
dda6ff3c99
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.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
Olli.Pettay%helsinki.fi
7d1d980bdd
Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@229243 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 13:37:33 +00:00
Olli.Pettay%helsinki.fi
c94ce86117
back out bug 238987
...
git-svn-id: svn://10.0.0.236/trunk@229241 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 12:37:05 +00:00
Olli.Pettay%helsinki.fi
8e7e787c4b
Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@229239 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 11:49:41 +00:00
peterv%propagandism.org
f7c4714979
Fix for bug 382778. r=smaug, sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@229149 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 14:01:27 +00:00
peterv%propagandism.org
9e04fca5dd
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36
Backing out to fix orange.
...
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453
Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
Olli.Pettay%helsinki.fi
30ac6877b1
Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226456 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 08:50:37 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0
backout Bug 363089
...
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(0) to using this API. Bug 378780. API introduction part by me,
r+sr=jst. Mass-changes done by taras using squash, r+sr=me
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
benjamin%smedbergs.us
7262cdad6d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
...
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
enndeakin%sympatico.ca
1c4cf263de
Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@224430 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 04:37:41 +00:00
enndeakin%sympatico.ca
ae6cfb8b02
Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@222094 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 12:14:52 +00:00
Olli.Pettay%helsinki.fi
d8d314d9b0
Bug 365798, IME leaks nsPrivateTextRangeList objects, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217718 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:32:10 +00:00
cvshook%sicking.cc
ff69f339f4
Don't use ranges when getting the value of a textfield since we get the value in the middle of tearing down a document. b=359674 r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@215023 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 08:43:26 +00:00
mrbkap%gmail.com
10f4e54168
Add an API on the presshell for invalidating the caret if it isn't currently
...
contained entirely in its frame. Use it in the editor where we remove the
caret's frame out from under it without properly notifying it (due to selection
batching). bug 335065, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@214842 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:35:36 +00:00
caillon%redhat.com
79ced9fea2
Bug 97811.
...
Add nsILookAndFeel::GetPasswordCharacter() to allow toolkits to specify their platform password character.
Implement this for GTK+ 2 by grabbing the property from GtkEntry.
Make editor ask nsILookAndFeel for the platform password character.
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@214020 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-23 20:48:05 +00:00
smontagu%smontagu.org
cc3863cd7b
Make word-delete behaviour when there is a selection follow platform conventions. Bug 350564, r=glazman, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@213434 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 16:50:50 +00:00
martijn.martijn%gmail.com
3d79216d64
Bug 332811 - Backspace in readonly input triggers history.back() (part 2), r=mats.palmgren, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@210007 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-13 08:23:33 +00:00
sayrer%gmail.com
4b8ca2af78
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
uriber%gmail.com
bf3c2a0692
Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 05:14:52 +00:00
uriber%gmail.com
635bd815f7
Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@202304 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:28:38 +00:00
masayuki%d-toybox.com
7346dd1fa7
Bug 271815 GTK2 IM over-the-spot doesn't work with Chinese IM because the editor doesn't return correct caret position r=timeless, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@200297 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 15:00:58 +00:00
bzbarsky%mit.edu
35553cc59b
Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
...
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +00:00
roc+%cs.cmu.edu
0efb95265d
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@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
sharparrow1%yahoo.com
6febafd105
Bug 334416: Misc view usage cleanups. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@194582 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 06:05:24 +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
masayuki%d-toybox.com
bb38c2225d
Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@194136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 16:37:58 +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
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
martijn.martijn%gmail.com
6e3f9af9a3
Bug 327623 - nsHTMLEditor::SelectElement crashes if passed null argument, patch by Tony Goold, r=timeless, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@192470 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 12:41:57 +00:00
bzbarsky%mit.edu
fed75ccda3
nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
...
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192316 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 17:12:41 +00:00
smontagu%smontagu.org
829a7d8bd4
Add a user option to allow delete and backspace to delete immediately even if the character to be deleted is visually distant from the caret location. Bug 328834, r=uriber@gmail.com, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@191881 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 06:03:37 +00:00
uriber%gmail.com
85cbed050e
White-space fixes I promised to do for Bug 327107 but forgot
...
git-svn-id: svn://10.0.0.236/trunk@190706 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 17:35:22 +00:00
uriber%gmail.com
bc814a7dd4
Bug 327107: After using backspace[delete] to remove a single LTR character in RTL text, the next press on backspace[delete] has no effect. r=smontagu sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@190704 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 17:30:16 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
timeless%mozdev.org
3381bf1e44
Bug 253481 xul:textbox attribute to specify what happens to pasted line breaks
...
patch by ted.mielczarek@gmail.com r=brade/neil sr=jag
git-svn-id: svn://10.0.0.236/trunk@186330 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 20:12:54 +00:00
neil%parkwaycc.co.uk
56ad8facc8
Remove plaintext editor's outdated event listener removal code that caused dangling event listener crash (regression from bug 303713) b=319732 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@185909 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 09:26:29 +00:00
masayuki%d-toybox.com
b6ab5f2399
Bug 317782 A character is deleted on HTML Editor when running IME reconvertion with non-selected text / Bug 296686 When insert a space with EGBRIDGE(TSM(IME) of Japanese), a next character of caret is deleted / Removing nsHTMLEditor::SetCompositionString and nsHTMLEditor::GetReconversionString, Because bug 66290 has been duplicated these method in nsPlaintextEditor r=timeless, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@185291 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-26 22:10:03 +00:00
timeless%mozdev.org
f9bdb44b34
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
mats.palmgren%bredband.net
8827f1128a
Make the plaintext editor count the length of the selected text correctly, so it doesn't violate MAXLENGTH. b=299417 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@182353 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:54:02 +00:00
mats.palmgren%bredband.net
efbadbe3c4
Middle-click on scrollbar should not paste. b=70698 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@181815 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 10:08:18 +00:00
smontagu%smontagu.org
5ee547497a
Bug 118629: Set the caret hint when inserting text so that the caret appears on the same line as inserted text not ending with a newline, and on the line following text ending with a newline. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@181706 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-06 08:19:51 +00:00
aaronleventhal%moonset.net
3d26c8dcab
Bug 193316. Caret not visible in readonly fields (HTML or XUL). r=mrbkap, sr=smfr
...
git-svn-id: svn://10.0.0.236/trunk@181542 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 03:14:03 +00:00