Commit Graph
316 Commits
Author SHA1 Message Date
[email protected] 2212426f77 caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser 2001-02-05 15:44:38 +00:00
[email protected] 40b684d9f7 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin 2001-01-28 20:13:07 +00:00
[email protected] 57a1304b11 64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin 2001-01-25 23:12:16 +00:00
[email protected] b99c65b2f1 Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin 2001-01-09 22:47:02 +00:00
[email protected] dd69e61668 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
[email protected] 90e4751963 r=kin, sr=sfraser. 47207. removal of extraneous (and noisy in embedding builds) printf. 2001-01-02 23:20:56 +00:00
[email protected] 780b86e64a Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 [email protected] [email protected] 2000-12-09 04:46:08 +00:00
[email protected] 17c98b91a9 Misc fixes for pedantic build warnings.
[email protected] [email protected]
2000-11-29 22:06:02 +00:00
[email protected] 0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
[email protected] 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
[email protected] 574305823a Fixing rtm++ bug 56212. The new serializers were a bit too eager about what characters to encode as entities, this caused bad things when sending email that contained double quotes and also when writing a message containing quotes in AIM. sr=vidur, r=nisheeth. 2000-10-13 11:06:05 +00:00
[email protected] 2f0055414c Fix for 52808 -- standardized nsEditorShell creation and destruction across components, to fix editor observer notification timing. r=kin,ducarroz,jelwell, sr=hyatt. 2000-10-10 01:45:46 +00:00
[email protected] a8aa837d08 fix for bug#54222
The "noshade" attribute on Horizontal rule not set at all
sr=kin
r=mjudge
a=mjudge
2000-10-08 06:14:21 +00:00
[email protected] ab294f3f8f small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
[email protected] c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
[email protected] df20e8d927 Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge. 2000-09-12 20:54:41 +00:00
[email protected] 2c6de8186b fixes bugs 46782,50161,48643,49266,49265,46395; groundwork for bugs 47931,49952; r=fm 2000-08-26 04:03:50 +00:00
[email protected] 7f5721f4dd fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
[email protected] 3082483a50 Fixes for 48474 (JS errors typing in plain text compose), 44684 (make align buttons reflect state), 49155 (UMR in editor code). r=anthonyd 2000-08-24 01:20:29 +00:00
[email protected] 3ba32f670e DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
[email protected] d839d6302a fixing code that relied on implicit string construction; note that |NS_LITERAL_STRING| does not produce an |nsString|, it produces something that is a |nsAReadableString|. Many functions still take |nsString&| arguments, and so |NS_LITERAL_STRING| is not appropriate in calling them, yet. 2000-08-20 00:34:08 +00:00
[email protected] 1f96a5035c fix for 48132: editor observer list maintainance was even less safe than i would have guessed... 2000-08-17 04:50:04 +00:00
[email protected] ba3e1b5b50 fix for 48297: ome edit operations not scroling selection into view; r=fm 2000-08-14 02:39:37 +00:00
[email protected] cc8e0dfef2 Part of fix for bug 36480. I check in this fix for jfrancis. The function EndOfDocument which wasn't used yet was setting the selection on the wrong node. R=ducarroz 2000-08-08 04:05:26 +00:00
[email protected] 7c5ae8ae49 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by [email protected]

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp
2000-08-04 21:43:29 +00:00
[email protected] ef1f96ca49 Fix for bug #42263: Unable to invoke IME in the receipient and subject field on plain text mail composer
Replaced GetDeepestWidget() with new function GetEditorContentWindow().
Modified ForceCompositionEnd() to call GetEditorContentWindow().

[email protected]
2000-07-18 22:11:31 +00:00
[email protected] 5ae877d130 adding in support for nsIEditorObserver. this is for bug 42329: autocompletion firing in the middle of uncommitted ime entry. r=fm 2000-07-16 06:36:27 +00:00
[email protected] 1db9a9af29 Fix for bug #45002: Password displayed in clear text.
layout/html/forms/src/nsGfxTextControlFrame2.cpp
      - Modified CreateAnonymousContent() to disable forced
        refreshes and reflows in the editor, and call
        SetTextControlFrameState() to set the intial value
        of the text widget.
      - Fixed leak in SetTextControlFrameState().

    editor/public/nsIHTMLEditor.h
      - Added DisableForcedUpdates and DisableForcedRefreshes flags.

    editor/base/nsEditor.cpp
      - Modified EndUpdateViewBatch() so that it uses the new
        DisableForcedUpdates and DisableForcedRefreshes flags.
      - We now also close the reflow batch before we close the
        update batch.

[email protected]
2000-07-14 20:26:09 +00:00
[email protected] 7c58e004c9 fix for regression, bug#45477
cant insert hrules, images, etc...
r=brade, a=granrose
2000-07-14 18:38:24 +00:00
[email protected] cf0ec74544 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead. 2000-07-13 23:15:41 +00:00
[email protected] c55d190175 fix for 43366; r=kin 2000-07-11 19:51:36 +00:00
[email protected] 41f3021811 Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
[email protected] aaa3d0163f fix for undo in ender-lite (text fields, url bar, etc) 2000-06-30 04:58:34 +00:00
[email protected] 1d16c0a20f bug fixes: 41744 - editor shouldnt be quite as loosy goosy about html 4.0 as CnavDTD is; 41746 - editor ui state (paragraph format feedback) wrong if a <br> is embedded inside the current block; 41971 - using alignment inside table cells gives unexpected results. 2000-06-29 09:23:41 +00:00
[email protected] 48cc7b6c20 wrong ifdef. 25% increase in editor typing on windows r=ftang 2000-06-28 03:41:32 +00:00
[email protected] 1d8ede8201 fix for 42188, r=akkana 42347. use selection controller to tell the doc if it should display non-text-selection. 2000-06-23 04:00:45 +00:00
[email protected] 55f4c89a62 Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana 2000-06-22 05:39:54 +00:00
[email protected] 357814f237 Change invalid REC-html40 to correct XHTML namespace. b:7834. a:[email protected] 2000-06-15 09:54:41 +00:00
[email protected] 285e4e878d Fix leaks of nsHTMLHeadElement. [email protected] 2000-06-15 02:14:16 +00:00
[email protected] 510f25ee7f Fixed problem in nsEditor::CloneAttributes where undo system used when it shouldn't. b=41862. r=sfraser. a=beppe 2000-06-14 01:32:27 +00:00
[email protected] 86464b6803 bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe 2000-06-07 01:18:12 +00:00
[email protected] acba9d4138 fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell 2000-06-01 02:38:13 +00:00
[email protected] d1845c26a4 fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
[email protected] f5152be16c no point in turning off the link handler if we are allready in text only mode. 2000-05-15 05:18:45 +00:00
[email protected] b41a13ff87 changes to add hidden attribute on selection. also to make setcaret go through the selection controller 2000-05-11 04:22:32 +00:00
[email protected] 2e5d962486 editor embedding work; fixing bug with making lists 2000-05-09 21:06:49 +00:00
[email protected] 3005d83e28 we get selection controller not from pres shell. we get it from GetSelectionController 2000-05-08 04:01:26 +00:00
[email protected] 2c0d652f5b fixing bugs with paste; making paste not inherit local inline stlyes 2000-05-05 20:42:36 +00:00
[email protected] 52992a87eb merge error. my fault. fix 2000-05-04 09:32:40 +00:00
[email protected] 5a4454305b massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00