190 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
b186cf0080 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@244074 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 23:59:51 +00:00
peterv%propagandism.org
c48ce25d48 Fix for bug 335856 (Can't easily put caret in this designmode iframe testcase (caret doesn't show up)), also fixes bug 393568 (blocking1.9+) and bug 386872. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@237178 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 12:16:52 +00:00
sayrer%gmail.com
be674c6c1f Bug 386009. Fix a leak in nsEditor and delete some code we don't need anymore. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@229033 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-30 03:09:53 +00:00
sayrer%gmail.com
4489b12465 backout fix for bug 386009 to see if it causes orange.
git-svn-id: svn://10.0.0.236/trunk@228928 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 07:33:23 +00:00
sayrer%gmail.com
86a2319d70 Bug 386009. Fix a leak in nsEditor and delete some code we don't need anymore. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228915 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 01:37:03 +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
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
neil%parkwaycc.co.uk
3efbf1903e Editor needs strong references to its editor observers b=278677 r=glazou sr=roc
git-svn-id: svn://10.0.0.236/trunk@213350 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-09 15:41:26 +00:00
neil%parkwaycc.co.uk
e2368d20a6 Actually pass the correct offset and length when deleting text b=352520 r=glazou,aaronlev sr=roc
git-svn-id: svn://10.0.0.236/trunk@213168 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 13:20:30 +00:00
pkasting%google.com
0f0eee34d2 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking


git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
pamg.bugs%gmail.com
22934e7775 Bug 339434: Crash trying to spellcheck in a closed window. Patch by pkasting@google.com. r=brettw, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203331 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 01:15:57 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
peterv%propagandism.org
7a73f4805e Fix for bug 340674 (Clean up some editor transactions code - unused code). r=glazman, sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@199499 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 12:47:24 +00:00
dbaron%dbaron.org
95b56667f6 Fix backspace/delete on non-BMP characters for plaintext editor. b=237585 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193473 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 00:57:55 +00:00
smontagu%smontagu.org
c51cc29d20 Correcting a comment, bug 329079, r/rs=daniel@glazman.org
git-svn-id: svn://10.0.0.236/trunk@191565 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 10:39:16 +00:00
neil%parkwaycc.co.uk
c70b5151e9 Bug 303713 Allow content to type into textfields using key events r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185826 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 11:23:54 +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
masayuki%d-toybox.com
6948be6ab9 Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184612 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
96eaea8614 backing out previous patch b=55751
git-svn-id: svn://10.0.0.236/trunk@184606 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:33:39 +00:00
masayuki%d-toybox.com
6794b16a7b Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184594 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:32:16 +00:00
peterv%propagandism.org
92b741449b Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@179660 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 14:18:56 +00:00
peterv%propagandism.org
294bd7ed16 Another try to fix btek.
git-svn-id: svn://10.0.0.236/trunk@174735 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 22:57:46 +00:00
peterv%propagandism.org
f51ef7380a Trying to fix btek bustage.
git-svn-id: svn://10.0.0.236/trunk@174730 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:52:44 +00:00
peterv%propagandism.org
878e956625 Trying to fix btek bustage.
git-svn-id: svn://10.0.0.236/trunk@174726 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:20:57 +00:00
peterv%propagandism.org
24fb172e43 Trying to fix btek bustage.
git-svn-id: svn://10.0.0.236/trunk@174720 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 19:56:21 +00:00
peterv%propagandism.org
72275d6be3 Trying to fix btek bustage.
git-svn-id: svn://10.0.0.236/trunk@174715 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:44:01 +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
bzbarsky%mit.edu
1e1749cf96 Fix crashes due to editor not removing its listeners properly on document
teardown.  Bug 289379, r=sfraser, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@171988 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 17:53:28 +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
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
jshin%mailaps.org
2b60749067 bug 16940: need an XP API to disable input methods for password fields (r/sr : various people : see bugzilla), patch by Masayuki Nakano <masayuki@d-toybox.com>
git-svn-id: svn://10.0.0.236/trunk@162153 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 05:00:57 +00:00
smontagu%smontagu.org
e23a460903 Backout last checkin because of build bustage
git-svn-id: svn://10.0.0.236/trunk@162140 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:48:29 +00:00
smontagu%smontagu.org
eab0baf7ca Bug 16940, XP API to disable input methods for password fields. Patch by Masayuki Nakano, masayuki@d-toybox.com; see bug for reviewers.
git-svn-id: svn://10.0.0.236/trunk@162139 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 07:13:12 +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
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
brade%netscape.com
f90cd30f83 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144881 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 13:47:15 +00:00
kaie%netscape.com
c217443fac b=202166 Edit actions place caret on invalid position
r=jfrancis sr=kin


git-svn-id: svn://10.0.0.236/trunk@143582 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 11:50:36 +00:00
glazman%netscape.com
f981e4719a meta-fix for image and table resizing bugs in html editor
solves bugs 195412, 196624, 196122, 195849, 197158, 195141, 195126, 199013
r=brade, sr=kin


git-svn-id: svn://10.0.0.236/trunk@140251 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 15:24:08 +00:00
jfrancis%netscape.com
dab8e009ec editor fixes for:
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field  (patch courtesy of Shotaro Kamio)

r=jfrancis,brade,cmanske   sr=kin


git-svn-id: svn://10.0.0.236/trunk@135560 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 01:51:14 +00:00
nhotta%netscape.com
3a03e1c043 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.


git-svn-id: svn://10.0.0.236/trunk@135438 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:38:04 +00:00
jfrancis%netscape.com
8247e85525 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@134304 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 03:30:59 +00:00
jfrancis%netscape.com
dd06260172 fix for 178264: nsRangeUpdater bugs and enhancements. precursor to 143338 landing. r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@133536 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 15:11:08 +00:00
cmanske%netscape.com
7b1780cf51 Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@129937 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:42:38 +00:00
akkana%netscape.com
a2c8efc800 124265: make nsIEditorStyleSheet more scriptable. Fix is partly me r=cmanske, partly cmanske r=me; all is sr=alecf
git-svn-id: svn://10.0.0.236/trunk@129543 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:47:38 +00:00
kin%netscape.com
fa152a3def Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
jfrancis%netscape.com
64b7f510fc fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm
git-svn-id: svn://10.0.0.236/trunk@121418 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:05:37 +00:00
jfrancis%netscape.com
f81c6987d5 fixes for bugs:
90759: spaces not working in IME editting
132133: deleting last char on line can place caret incorrectly
132837: inline style and making new list items dont play nice
103867: nsSelectionState logic error
r=glazman; sr=kin; a=asa; adt=jamie; i'd also like to thank my mom, and my producer, who was there for me during detox, and of course everyone inthe academy, you are all so beautiful


git-svn-id: svn://10.0.0.236/trunk@118389 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 19:07:47 +00:00
dbaron%fas.harvard.edu
7e18e96015 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117344 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:16:54 +00:00