583 Commits

Author SHA1 Message Date
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
smontagu%smontagu.org
513984de68 Bug 308023: Bidi: Caret positioned incorrectly after deleting last character of reverse-direction text and then typing. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@181030 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 08:35:05 +00:00
mozilla.mano%sent.com
f9d81faf34 Bug 303781 - Bidi: In RTL text in a textarea, deleting a blank line requires pressing 'Backspace' twice. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@180498 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 14:13:40 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
roc+%cs.cmu.edu
d225763725 Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!)
git-svn-id: svn://10.0.0.236/trunk@178583 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:00:06 +00:00
bzbarsky%mit.edu
39cf7e102d Hold an nsWeakPtr ref to presshell like everyone else, not a raw weak ref. Bug
299494, r=brade, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@175853 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 20:36:47 +00:00
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
timeless%mozdev.org
464be8ac2e Bug 106386 Correct misspellings in source code
patch by ajvincent@gmail.com r=timeless rs=brendan a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174115 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 10:26:28 +00:00
bzbarsky%mit.edu
d7f8a4affc Remove a tad more code. r=sicking, sr=peterv, a=asa
git-svn-id: svn://10.0.0.236/trunk@172578 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-21 21:27:46 +00:00
bzbarsky%mit.edu
ae597b89c4 Don't create an unneeded selection object when serializing and editor. Bug
290350, r=sfraser/brade, sr=peterv, a=brendan.


git-svn-id: svn://10.0.0.236/trunk@172407 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:14:53 +00:00
jst%mozilla.jstenback.com
466764776f Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@171770 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 02:22:45 +00:00
masayuki%d-toybox.com
d959b44165 Bug 286804 Newline improperly getting into single-line edit field. r=timeless, sr=neil.parkwaycc.co.uk
git-svn-id: svn://10.0.0.236/trunk@171209 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 16:37:14 +00:00
jst%mozilla.jstenback.com
eaa2cccb13 Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@171162 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 19:00:01 +00:00
timeless%mozdev.org
b0cd329aef Bug 278058 non-editable and disappearing character exists on password field when using ATOK
patch by masayuki@d-toybox.com r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@170280 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 12:25:26 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
scott%scott-macgregor.org
9880b9b613 Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
and editor hooks to call out to an inline spell checker component.


moa/r=glazman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@168662 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:12:53 +00:00
bzbarsky%mit.edu
7572605e3c Add a way for IME to query the caret position. Bug 278061, patch by
Masayuki Nakano (Mozilla Japan) <masayuki@d-toybox.com>, r=smontagu,glazou,
sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168653 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 19:24:59 +00:00