118 Commits

Author SHA1 Message Date
dbaron%dbaron.org
91b5291b5d Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons
git-svn-id: svn://10.0.0.236/trunk@250237 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-15 01:04:19 +00:00
dbaron%dbaron.org
d102a1ff10 Fix bad reference counting of atoms so we don't manipulate garbage atom pointers. b=422546 r=timeless sr=roc a=damon
git-svn-id: svn://10.0.0.236/trunk@247757 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 18:54:02 +00:00
Olli.Pettay%helsinki.fi
2eb9b51758 Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246410 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 10:55:39 +00:00
roc+%cs.cmu.edu
157557ef49 Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep
git-svn-id: svn://10.0.0.236/trunk@246267 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 02:24:05 +00:00
reed%reedloden.com
088f0a4ab1 Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures.
git-svn-id: svn://10.0.0.236/trunk@246075 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 11:10:17 +00:00
reed%reedloden.com
479a331f94 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@246071 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 10:20:05 +00:00
roc+%cs.cmu.edu
23a169e1f0 Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep
git-svn-id: svn://10.0.0.236/trunk@246025 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 02:07:50 +00:00
reed%reedloden.com
5dd6e56b77 Back out Theppitak Karoonboonyanan's patch from bug 157546 due to a regression (bug 417745).
git-svn-id: svn://10.0.0.236/trunk@245791 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 20:20:56 +00:00
reed%reedloden.com
b59adc6b61 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@245769 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-15 05:30:35 +00:00
martijn.martijn%gmail.com
1c3fd47fba Bug 396108 – Crash [@ PresShell::ResizeReflow] with iframes, binding, while onbeforecopy removing stuff, patch by Mathieu Fenniak, r=Olli.Pettay, sr=jst, a=jonas
git-svn-id: svn://10.0.0.236/trunk@236924 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 17:56:05 +00:00
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
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
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
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
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
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
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
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
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
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
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
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bryner%brianryner.com
b65ef5dbc6 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155788 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 23:55:16 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
jst%mozilla.jstenback.com
12ed685455 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
smontagu%smontagu.org
5b10353aba Make Ctrl+Delete and Ctrl+Backspace delete words in the expected direction in right-to-left text. Bug 209430, r=daniel@glazman,org, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@151225 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 23:39:40 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
scott%scott-macgregor.org
af440d36e0 fix for bug #216581
Rewrap is broken

thanks to Akkana (akkzilla@shallowsky.com) for the fix

r=brade a=sspitzer for 1.5 final


git-svn-id: svn://10.0.0.236/trunk@146526 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 04:17:45 +00:00
brade%netscape.com
c96a8ac9cc fix compiler warning
git-svn-id: svn://10.0.0.236/trunk@145294 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 22:18:42 +00:00
bzbarsky%mit.edu
9e4941c980 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +00:00
brade%netscape.com
7b542e3e34 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@145270 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 13:13:50 +00:00
brade%netscape.com
4d8f0dad73 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144579 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:22:56 +00:00
kin%netscape.com
752b792e95 jst@netscape.com's fix for tree blocker bug 210641 (Crash using Japanese IME)
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp

    - Fixed INTERFACE_MAP macros so that they call through to the class we inherit from.

r=brade@netscape.com  sr=kin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@144154 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 19:21:59 +00:00
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00