Граф коммитов

287 Коммитов

Автор SHA1 Сообщение Дата
brade%netscape.com ee332541d8 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard 2003-07-28 13:13:50 +00:00
brade%netscape.com f506ba963b fix includes; r=kaie, sr=tor, bug=180316 2003-07-18 19:03:34 +00:00
brade%netscape.com ed15121205 fix comment 2003-07-09 02:39:51 +00:00
brade%netscape.com 13cfbbcb35 fix warning for cstring charset change made a week or two ago; editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:38:51 +00:00
glazman%netscape.com 0da80aab17 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:50:48 +00:00
glazman%netscape.com 1a9f1eb39f Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv 2003-06-19 14:06:05 +00:00
alecf%flett.org b7fa256d74 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
2003-06-17 16:40:34 +00:00
glazman%netscape.com f73fa81318 Removing text styles in CSS mode was potentially removing too much if the styles were added in HTML mode
The fix creates a span element that will carry the inline styles and class of the HTML element to be removed, if any.
b=202037, r=kaie, sr=dmose
2003-06-17 08:45:54 +00:00
brade%netscape.com 97e32dcb83 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967 2003-06-12 14:51:37 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
brade%netscape.com c616a1e4e6 add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539 2003-06-10 18:52:31 +00:00
jfrancis%netscape.com f3491fa767 bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin 2003-06-02 22:21:06 +00:00
brade%netscape.com e417c0926a api change to insertion filter to add flag for delete selection; r=timeless; sr=kin; a=asa; bug=204066 2003-05-09 18:33:14 +00:00
sfraser%netscape.com 352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
kin%netscape.com 1358474efa Fix for bugzilla 91131(Cannot spellcheck selection)
First pass implementation of spellcheck selection feature:

  editor/composer/src/nsEditorSpellCheck.cpp
  editor/idl/nsIEditorSpellCheck.idl
  editor/txtsvc/public/nsITextServicesDocument.h
  editor/txtsvc/src/Makefile.in
  editor/txtsvc/src/nsTextServicesDocument.cpp
  editor/txtsvc/src/nsTextServicesDocument.h
  editor/ui/composer/content/ComposerCommands.js
  editor/ui/dialogs/content/EdSpellCheck.js
  mailnews/compose/resources/content/MsgComposeCommands.js

r=jfrancis@netscape.com,brade@netscape.com  sr=sfraser@netscape.com
2003-04-17 14:29:08 +00:00
brade%netscape.com 8c65e3aa3e updated insertHTML* methods; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 14:00:08 +00:00
brade%netscape.com 8bbe4a00b9 add new idl file; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 13:57:38 +00:00
brade%netscape.com 96f7a475e9 new idl file for bug 192567 (r=jfrancis, sr=kin) 2003-04-15 13:56:53 +00:00
kin%netscape.com e665d2543f Fixes for bug 192569 (allow foreign transactions to be added to the queue)
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp

  - Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
    can be called from JavaScript.

  - Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
    nothing happens outside the check of mUpdateCount.

  - Modified PlaceholderTxn.cpp so that it checks to see
    if a merged transaction implements nsPIEditorTransaction
    before attempting to cast it to (EditorTxn*).

mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd

  - Added debug menu items to test execution of foreign transactions
    via the txnmgr and editor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-04-04 20:50:25 +00:00
glazman%netscape.com 7a9303b6e6 missing files for b=47066, r=brade,cmanske, sr=kin 2003-02-24 10:18:18 +00:00
glazman%netscape.com 7d058dbd34 Allow mouse-driven resizing of images and tables in all instances of editor.
For the default Mozilla build, this includes Composer and Mail Composition.
Embeddors willing to disable this feature should look at |nsHTMLEditor::SetIsImageResizingEnabled()|
Displays eight resizing handles plus an info box. Images are resized real-time.
Uses HTML attributes in pure HTML mode (mail composition for instance) and CSS properties when available.
Undoable and Redoable. Does not grind coffe and make a good expresso yet.
Thanks if you really read to that line.

b=47066, r=brade, r=cmanske (for the algo part inheriting from the XBL patch), sr=kin
2003-02-24 09:37:18 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
rods%netscape.com 338d74b952 Implement filters for spellchecker, so we can skip certain nodes (like Block Quote "cite") for mail
Bug 173046 r=jfrancis sr=kin a=asa
2002-12-10 15:03:04 +00:00
cmanske%netscape.com 411cfc84da Added command to notify when document url changes. b=181091, r=akkana, sr=sfraser 2002-11-27 00:35:09 +00:00
cmanske%netscape.com bc4a112d1e Final removal of 'editorShell' and associated files. b=169029, r=brade, sr=sfraser 2002-11-15 15:36:44 +00:00
cmanske%netscape.com 4bbeaffa3f Remove editorShell from Composer app. b=169029, r=akkana, sr=sfraser 2002-11-12 22:52:55 +00:00
akkana%netscape.com 3a4e8d5779 168999: Make nsEditorSpellCheck an independant object instead of part of editorshell. r=brade sr=kin a=asa 2002-10-11 23:46:57 +00:00
akkana%netscape.com 753fba95f6 161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer 2002-10-08 20:24:23 +00:00
cmanske%netscape.com be8799bf71 Implemented command and Composer UI for 'Paste Without Formatting' command. b=64647, r=mjudge, sr=darin 2002-10-06 01:23:18 +00:00
cmanske%netscape.com cf361191e0 Remove editorShell from main Composer window. b=169026, r=brade, sr=alecf 2002-10-03 04:07:10 +00:00
bryner%netscape.com 97334d8f6e Add a configure option to disable building composer (bug 170136). Move handling of the -composer command-line option from libeditor/base/ to composer/src/. Remove unused nsIEditorService interface. r=seawood, sr=sfraser. 2002-10-01 00:16:51 +00:00
brade%netscape.com 780df61345 bug 121648; remove unused portions of editorshell; r=glazou, sr=kin 2002-09-30 13:51:58 +00:00
akkana%netscape.com 0ce7189dff 169308: Make nsIEditorLogging scriptable: a couple of nicities suggested by Kin. r=brade sr=kin 2002-09-25 23:34:04 +00:00
akkana%netscape.com 45c04544f8 169308: Make nsIEditorLogging scriptable. r=brade sr=kin 2002-09-25 23:29:40 +00:00
cmanske%netscape.com 1010f8aeed Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz 2002-09-18 19:42:38 +00:00
glazman%netscape.com e03e047dcf fixes several bugs at once:
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js

b=167712, b=167716, r=brade, r=jfrancis, sr=kin
2002-09-17 12:04:59 +00:00
akkana%netscape.com 7ae5c1cecb 124265: make nsIEditorStyleSheet more scriptable. Fix is partly me r=cmanske, partly cmanske r=me; all is sr=alecf 2002-09-13 19:47:38 +00:00
cmanske%netscape.com 27b8578e83 Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt 2002-09-13 04:19:30 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
akkana%netscape.com efa18def7e 126312: Remove the obsolete old find code. r=brade, sr=alecf. 2002-07-09 20:24:37 +00:00
kin%netscape.com 2cc8934aad 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
2002-06-13 20:35:12 +00:00
brade%netscape.com ac0a0bb682 remove checkOpenWindowForURLMatch (now in JS, editorApplicationOverlay.js) bug 104908, r=cmanske, sr=hewitt, a=asa, adt=jaime 2002-04-06 00:47:21 +00:00
akkana%netscape.com 36234b8d88 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu 6efddef09e Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:16:54 +00:00
cmanske%netscape.com d5612a514e Moved mouse listener from EditorShell to HTMLEditor but keep previous context click and doubleclick element selection behavior. b=112181 & 128836, r=akkana, sr=sfraser, a=asa 2002-03-17 20:39:16 +00:00
glazman%netscape.com 72b1c305b0 It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa
2002-03-15 15:33:29 +00:00
akkana%netscape.com d7cbebbdc8 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron 2002-03-14 22:11:14 +00:00
glazman%netscape.com b9ada4affb Adding noCSS flag to nsHTMLEditor; b=bugscape11956, r=brade, sr=kin 2002-02-05 15:16:14 +00:00
glazman%netscape.com 8846933b69 inline styles were not saved because gElement was outside of document's tree; b=91548, r=brade, sr=kin 2002-01-28 16:00:12 +00:00
glazman%netscape.com 0d36604e29 move CSS in Composer stuff from nsEditorShell to nsHTMLEditor; b=121081, r=brade, sr=kin 2002-01-25 10:20:11 +00:00
glazman%netscape.com fd4d0fd0da remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
brade%netscape.com 6fb7fac03b remove SaveDocument from the API; use nsIWebBrowserPersist instead 2002-01-14 20:33:18 +00:00
glazman%netscape.com 68488c9353 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin 2002-01-09 13:51:37 +00:00
cmanske%netscape.com b6728d8c63 Support changing list bullet/number style for selected list items. b=92278 r=jfrancis,brade sr=kin 2001-12-12 03:57:32 +00:00
brade%netscape.com f4d80d28e6 implement modification count in editor; bug 112008, sr=smfr, r=akk 2001-12-10 15:23:11 +00:00
cmanske%netscape.com 931c4dc848 Remove nsIEditorShell::Init(), b=110763, r=brade, sr=sfraser 2001-12-06 15:11:50 +00:00
brade%netscape.com 3537a13ed3 allow scripting of methods with no parameters (bug #112008, r=akkana, sr=sfraser) 2001-11-29 10:05:36 +00:00
brade%netscape.com 42b3f7502b remove unused methods; r=cmanske; sr=kin (bug #107636) 2001-11-27 13:59:57 +00:00
brade%netscape.com ab6471d770 add doAfterSave and isSupportedTextType so they can be called from JS (bug #107636 r=kin; sr=sfraser) 2001-11-20 09:54:01 +00:00
brade%netscape.com b9efb8ee91 nsIFile->nsIURI in SaveDocument api (bug #104883) 2001-11-01 15:26:34 +00:00
gerv%gerv.net eecb4c06ee License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
cmanske%netscape.com c8695a1a29 Remove dialog utilities from editor c++ and nsIEditorShell interface (use nsIPromptService from JS instead). b=96649, r=brade, r=kin/sfraser, a=asa 2001-08-24 19:47:46 +00:00
akkana%netscape.com b2618d9ca4 54726: Add link to W3C Validator
90550: Need to rewrite URLs for publishing and for save as
91388: Link checker, Work in progress (doesn't work yet)
r=brade, sr=kin
2001-08-07 21:39:07 +00:00
akkana%netscape.com 61c245d25f Adding html URI ref object to the build. r=brade sr=kin. Work in progress. 2001-08-07 21:12:08 +00:00
kin%netscape.com 9f92e6bc3a Fix for bug #93109: Orphaned #endif's in IDLs crashes xpidl during build
Removed bogus #endif statements in:

    mozilla/editor/idl/nsIEditorIMESupport.idl
    mozilla/editor/idl/nsITableEditor.idl
    mozilla/editor/txmgr/idl/nsITransactionManager.idl

sr=waterson@netscape.com
2001-08-02 20:34:54 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
sfraser%netscape.com 172a2ac866 Fix for bugs 23943, 47640 and 63515. Teach editor to handle plain text, and other text file types (including XUL, XML, JS etc), and, in the process, make the commands be smarter about disabling in text mode, and HTML source mode. r=brade, sr=kin 2001-05-18 06:42:37 +00:00
kin%netscape.com 0eba0b4b07 Fix for bug #79177: nsIEditorShell editor property should not be [noscript]
Removed the [noscript] notation on the editor attribute.

    editor/idl/nsIEditorShell.idl

r/sr=sfraser@netscape.com
2001-05-11 13:59:45 +00:00
jst%netscape.com ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
mjudge%netscape.com 4492ebaad6 kin=sr r=kin bug 75743 removing some [noscript]s from idl file to expose more idl to js 2001-04-12 23:37:08 +00:00
cmanske%netscape.com 1719c073e7 Fixed reset selection when inserting under <head>. Also removed compile warning in nsTableEditor.cpp, b=71883, r=jfrancis,kin sr=sfraser 2001-04-12 03:41:06 +00:00
mjudge%netscape.com 0d5b00ec9a 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings 2001-04-07 00:45:26 +00:00
pinkerton%netscape.com c38b4d8593 landing manifest changes for mjudge. bug# 66318. 2001-04-07 00:42:10 +00:00
sfraser%netscape.com ae21d8429d Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin 2001-04-04 23:48:03 +00:00
mjudge%netscape.com 8135be47de part of big editor checkin for 66318. this is NOT part of build yet but patches for this big change are going around to be approved so these files WILL be looked at. have no fear 2001-03-27 23:11:08 +00:00
kin%netscape.com 11f8ac97cd Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
sr=sfraser@netscape.com,mscott@netscape.com r=jfrancis@netscape.com

* nsITransaction, nsITransactionListenter, nsITransactionManager have
  been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
  of these interfaces in mozilla/editor/txmgr/public are being CVS removed.

* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
  and RedoTransaction() to avoid reserved word problems in languages like
  JS. I did a sweep through editor and mailnews to remove these methods.

* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.

* Removed GetUndoString(), GetRedoString() and Write() from the
  nsITransaction interface. Neither editor or mailnews really made
  use of these methods.

* Removed Write() from the nsITransactionManager.cpp interface.

* The Transaction Manager now supports weak references.

* Added support for nsITransactionList to the TransactionManager
  to allow access to all transactions on the Undo and Redo stacks, as
  well as auto-aggregated transactions.

* Removed all references to nsITransactionDescription from txmgr and editor.

* Added nsPIEditorTransaction and made all Editor internal transactions
  inherit from it so we can distinguish between our transactions and
  ones from 3rd parties.

New files checked in:

  editor/txmgr/idl/nsITransaction.idl
  editor/txmgr/idl/nsITransactionList.idl
  editor/txmgr/idl/nsITransactionListener.idl
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/src/nsITransactionList.cpp
  editor/txmgr/src/nsITransactionList.h
  editor/idl/nsPIEditorTransaction.idl

Files that were CVS removed:

  editor/txmgr/public/nsITransaction.h
  editor/txmgr/public/nsITransactionListener.h
  editor/txmgr/public/nsITransactionManager.h
  editor/txmgr/idl/nsITransactionDescription.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h

Files modified:

  editor/Makefile.in
  editor/makefile.win
  editor/base/ChangeAttributeTxn.cpp
  editor/base/ChangeAttributeTxn.h
  editor/base/CreateElementTxn.cpp
  editor/base/CreateElementTxn.h
  editor/base/DeleteElementTxn.cpp
  editor/base/DeleteElementTxn.h
  editor/base/DeleteRangeTxn.cpp
  editor/base/DeleteRangeTxn.h
  editor/base/DeleteTextTxn.cpp
  editor/base/DeleteTextTxn.h
  editor/base/EditAggregateTxn.cpp
  editor/base/EditAggregateTxn.h
  editor/base/EditTxn.cpp
  editor/base/EditTxn.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h
  editor/base/IMETextTxn.cpp
  editor/base/IMETextTxn.h
  editor/base/InsertElementTxn.cpp
  editor/base/InsertElementTxn.h
  editor/base/InsertTextTxn.cpp
  editor/base/InsertTextTxn.h
  editor/base/JoinElementTxn.cpp
  editor/base/JoinElementTxn.h
  editor/base/nsEditor.cpp
  editor/base/nsEditorShell.cpp
  editor/base/nsEditorShell.h
  editor/base/nsEditorTxnLog.cpp
  editor/base/nsStyleSheetTxns.cpp
  editor/base/nsStyleSheetTxns.h
  editor/base/PlaceholderTxn.cpp
  editor/base/PlaceholderTxn.h
  editor/base/SetDocTitleTxn.cpp
  editor/base/SetDocTitleTxn.h
  editor/base/SplitElementTxn.cpp
  editor/base/SplitElementTxn.h
  editor/idl/Makefile.in
  editor/idl/makefile.win
  editor/idl/MANIFEST
  editor/idl/nsIEditorShell.idl
  editor/macbuild/editor.mcp
  editor/macbuild/EditorIDL.mcp
  editor/txmgr/idl/Makefile.in
  editor/txmgr/idl/makefile.win
  editor/txmgr/idl/MANIFEST
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/macbuild/txmgr.mcp
  editor/txmgr/macbuild/txmgrIDL.mcp
  editor/txmgr/public/Makefile.in
  editor/txmgr/public/makefile.win
  editor/txmgr/public/MANIFEST
  editor/txmgr/src/Makefile.in
  editor/txmgr/src/makefile.win
  editor/txmgr/src/nsTransactionItem.cpp
  editor/txmgr/src/nsTransactionItem.h
  editor/txmgr/src/nsTransactionList.cpp
  editor/txmgr/src/nsTransactionList.h
  editor/txmgr/src/nsTransactionManager.cpp
  editor/txmgr/src/nsTransactionManager.h
  editor/txmgr/src/nsTransactionManagerFactory.cpp
  editor/txmgr/src/nsTransactionStack.cpp
  editor/txmgr/src/nsTransactionStack.h
  editor/txmgr/tests/TestTXMgr.cpp
  editor/ui/composer/content/EditorCommandsDebug.js
  editor/ui/composer/content/editorOverlay.xul
  editor/ui/composer/locale/en-US/editorOverlay.dtd
  mailnews/base/src/nsMessenger.cpp
  mailnews/base/util/nsMsgTxn.cpp
  mailnews/base/util/nsMsgTxn.h
  mailnews/imap/src/nsImapMailFolder.cpp
  mailnews/imap/src/nsImapUndoTxn.cpp
  mailnews/imap/src/nsImapUndoTxn.h
  mailnews/local/src/nsLocalMailFolder.cpp
  mailnews/local/src/nsLocalUndoTxn.cpp
  mailnews/local/src/nsLocalUndoTxn.h
2001-03-09 14:23:59 +00:00
kin%netscape.com 889ae0a4c8 Initial checkin of file. NOT PART OF THE BUILD! 2001-03-09 13:58:05 +00:00
cmanske%netscape.com 841f710b87 For recent changes r=brade, sr=sfraser 2001-02-26 23:24:38 +00:00
jfrancis%netscape.com fb60392b41 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
kin%netscape.com 4275b833c4 Fix for bug #6254 (Find/Replace needs to be implemented.)
First pass implementation of Find and Replace.
sr=sfraser@netscape.com  r=ducarroz@netscape.com

New Files:

    editor/txtsvc/macbuild/txtsvcIDL.mcp
    editor/txtsvc/public/MANIFEST_IDL
    editor/txtsvc/public/nsIFindAndReplace.idl
    editor/txtsvc/src/nsFindAndReplace.cpp
    editor/txtsvc/src/nsFindAndReplace.h
    xpfe/components/find/resources/replacedialog.js
    xpfe/components/find/resources/replacedialog.xul
    xpfe/components/find/resources/locale/en-US/replacedialog.dtd


Modified Files:

    build/mac/build_scripts/MozillaBuildList.pm
    editor/base/nsEditorShell.cpp
    editor/idl/nsIEditorShell.idl
    editor/txtsvc/macbuild/txtsvc.mcp
    editor/txtsvc/public/Makefile.in
    editor/txtsvc/public/makefile.win
    editor/txtsvc/public/MANIFEST
    editor/txtsvc/src/Makefile.in
    editor/txtsvc/src/makefile.win
    editor/txtsvc/src/nsTextServicesFactory.cpp
    editor/ui/composer/content/ComposerCommands.js
    editor/ui/composer/content/editor.js
    editor/ui/composer/content/editorOverlay.xul
    editor/ui/composer/locale/en-US/editorOverlay.dtd
    mailnews/compose/resources/content/messengercompose.xul
    mailnews/compose/resources/content/MsgComposeCommands.js
    mailnews/compose/resources/locale/en-US/messengercompose.dtd
    xpfe/components/jar.mn
    xpfe/components/find/public/nsIFindComponent.idl
    xpfe/components/find/public/nsISearchContext.idl
    xpfe/components/find/resources/makefile.win
    xpfe/components/find/resources/MANIFEST
    xpfe/components/find/resources/locale/en-US/MANIFEST
    xpfe/components/find/src/nsFindComponent.cpp
    xpfe/components/find/src/nsFindComponent.h
2001-01-23 21:55:04 +00:00
sfraser%netscape.com a0dda75954 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
akkana%netscape.com d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
sfraser%netscape.com 4d2dbcae97 Removal of some crufty old code that used to do UI udpating, and was obsolete by XUL command nodes. r=akkana 2000-11-17 01:25:28 +00:00
akkana%netscape.com d20c260cc6 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis 2000-11-17 00:25:31 +00:00
akkana%netscape.com d180f4af3a Plaintext editor API. sr=sfraser 2000-11-17 00:10:37 +00:00
mjudge%netscape.com e2be918716 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
jfrancis%netscape.com 86f482d466 fixes for 45608, 51398, 51591; r=cmanske 2000-09-14 05:59:19 +00:00
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
cmanske%netscape.com 3afb7bab79 Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis 2000-08-23 00:29:24 +00:00
jfrancis%netscape.com 76f9c50305 groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-14 12:07:10 +00:00
cmanske%netscape.com a5251f332c Big UI fix checkin continued - same bugs as last checkin. r=sfraser 2000-08-10 03:43:09 +00:00
anthonyd%netscape.com 562e4bc652 checkins for Hurricane
translation of all C++ functions to JS which included SaveDocument
which eventually will allow for the completeion of autosave
r: brade, anthonyd
a: waterson, cmanske
2000-08-07 21:12:18 +00:00
cmanske%netscape.com 15901d9765 Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser) 2000-07-11 23:41:22 +00:00
cmanske%netscape.com e50d57138a Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
cmanske%netscape.com 9436731bbb Simple comment change for clarity relating to table editing. b=20973, r=jfrancis 2000-06-22 03:09:19 +00:00
cmanske%netscape.com 7519eedb3d Part of table dialog work: new method needed to convert to TH from TD and vice versa. b=20973. r=jfrancis 2000-06-14 04:59:50 +00:00
cmanske%netscape.com 0d7f94d904 Part of fix for bug 41034, new methods to return block state(e.g., list) info. r=sfraser, a=beppe 2000-06-05 20:25:57 +00:00
cmanske%netscape.com 44d6a93dee Fixed Composer taskbar buttons. Changed Editorshell mouse listener so editorshell controls action, allowing selection of elements in All Tags mode with single click. Improved isCommandEnabled for Split cell command 2000-05-16 05:33:51 +00:00
cmanske%netscape.com bf15afa2b3 Table editing: Join and Split cells (part of bug 20973) 2000-05-15 03:06:29 +00:00
cmanske%netscape.com 0aa739ecd5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
sfraser%netscape.com f9a3a34695 Get rid of the redundant command state saving methods, and amalgamate the code that deals with multiple reloads into one method. 2000-05-05 23:19:08 +00:00
kin%netscape.com c4f863915d Fixed spellchecker recheck bug.
mozilla/editor/base/nsEditorShell.cpp
mozilla/editor/idl/nsIEditorSpellCheck.idl

    - Modified StartSpellChecking() so that it no longer calls
      NextMisspelledWord().
    - Renamed Start/CloseSpellChecking() to Init/UninitSpellChecker().
    - Changed prototype of GetCurrentDictionary() in the idl file.
    - Replaced all references of NS_SPELLCHECKER_CID with NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsISpellChecker.h

    - Added NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsTextServicesCID.h

    - Removed NS_SPELLCHECKER_CID.

mozilla/editor/ui/composer/content/ComposerCommands.js

    - Replaced all calls to  Start/CloseSpellChecking() with
      Init/UninitSpellChecker().
    - We now call GetNextMisspelledWord() after initing the spellchecker.

mozilla/editor/ui/dialogs/content/EdSpellCheck.js

    - Dialog now assumes the spellchecker language has been set before the
      dialog is invoked.
    - Fixed Recheck() so that it now sets the language.
2000-05-05 14:58:43 +00:00
cmanske%netscape.com 7237e38781 Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell' 2000-05-04 22:32:24 +00:00
kin%netscape.com 9a62a21851 Added spellchecker support for different dictionaries/languages:
mozilla\editor\base\nsEditorShell.cpp
    mozilla\editor\idl\nsIEditorSpellCheck.idl
    mozilla\editor\txtsvc\public\nsISpellChecker.h

      - Added GetDictionaryList() and Get/SetCurrentDictionary() methods.

    mozilla\editor\ui\dialogs\content\EdDialogCommon.js

      - Added AppendValueAndDataToMenulist() function.

    mozilla\editor\ui\dialogs\content\EdSpellCheck.xul

      - We now import strres.js.

    mozilla\editor\ui\dialogs\content\EdSpellCheck.js

      - Added InitLanguageMenu().
2000-05-04 14:37:56 +00:00
cmanske%netscape.com 003a94051d Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window 2000-05-02 03:24:11 +00:00
sfraser%netscape.com 035965297d Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
cmanske%netscape.com e78e6fbae6 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
akkana%netscape.com c2c750f37e 6276: Add wrapping support for mail. 2000-04-20 22:45:54 +00:00
akkana%netscape.com b16cf77faa 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.
2000-04-18 22:39:10 +00:00
akkana%netscape.com b92f151eba 35814: add clipboard type to editor paste methods, and call the right type 2000-04-14 23:38:21 +00:00
cmanske%netscape.com 55e2ac48d1 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs 2000-04-14 03:19:31 +00:00
cmanske%netscape.com fc8ad1658c Fixed spell checker bug 34479. r=akkana, a=leaf 2000-04-06 01:17:54 +00:00
cmanske%netscape.com 9a9c1a24e8 Show/hide paragraph marks (b=22181) and cleaned up style sheet code. 3-D shading fixed for HLine props (b=26841). Toolbar button spaces (b=12514). New color picker button and other conversions to new XUL widgets in dialogs. Optimizations in table editing. r=sfraser 2000-03-31 04:18:29 +00:00
cmanske%netscape.com 901944bd23 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge 2000-03-21 06:05:24 +00:00
akkana%netscape.com 4038b1da98 30311: add a plain-vs-html flag to InsertAsCitedQuotation. r=rhp 2000-03-20 23:13:25 +00:00
cmanske%netscape.com 235ce19d67 Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge 2000-03-16 23:45:41 +00:00
sspitzer%netscape.com b50f24a71b move the nsICmdLineHandler responsibilties from nsHTMLEditorLog to nsEditorService. r=sfraser 2000-02-16 03:14:20 +00:00
sspitzer%netscape.com 901a6ea5f1 not part of the build, yet. 2000-02-16 02:21:30 +00:00
cmanske%netscape.com afecaab477 Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge 2000-02-10 05:14:52 +00:00
cmanske%netscape.com 894a83b297 More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge 2000-02-03 02:06:10 +00:00
cmanske%netscape.com 1a85d5b775 Table editing (bug 20973): added support for rowspan/colspan=0, Rewrote Spelling Dictionary dialog (bug 24264), removed beep from forceInteger filter, r=akkana 2000-01-26 14:57:43 +00:00
cmanske%netscape.com e70eaf046f Table editing work and fixed bug 21389, r=buster. Added detecting table, row, or cell for setting background color, bug 7992, r=kin. Renamed overloaded GetDocumentTitle to GetDocumentTitleString and set new URL of saved page in webshell, bug 23726, r=mjudge 2000-01-13 23:33:00 +00:00
akkana%netscape.com 0b23aa43ac 22655: add API to allow specifying charset when inserting/quoting html. r=rhp
16015: Add API and implementation for delete-to-beginning (^U). r=slamm,rhp
490: Insert formatting newlines when inserting new nodes. r=rhp
2000-01-04 20:38:12 +00:00
cmanske%netscape.com 6e3e75173d Finished fix for 13695 (r=danm), basic table editing (bug 6256): cpp r=mjudge, related UI work r=brade 1999-12-04 01:46:23 +00:00
brade%netscape.com 0fdea11231 remove unused functions; r=sfraser 1999-12-03 15:18:38 +00:00
akkana%netscape.com 520e982ed0 18033: Editor changes to use the new nsISelectionController interface.
Triggered from key events.  Untested since the nsISelectionController
  implementation isn't in yet (bug 18046), but key events do call
  the stub routines.  r=mjudge
1999-12-02 21:47:30 +00:00
brade%netscape.com 6121ea98e8 remove some unused functions from editor shell (r=jfrancis) 1999-11-30 15:23:46 +00:00
akkana%netscape.com 757b1fce03 18033: Add editor API for delete methods, and hook up an initial
set of emacs key bindings for Unix.  r=jfrancis
1999-11-25 04:11:51 +00:00
akkana%netscape.com e8544d1c6c 19610: Change InsertAsQuotation API to return inserted node r=rhp 1999-11-24 20:48:59 +00:00
dp%netscape.com bc95e3bdf7 - Converting to nsGenericModule
- Removed exported NS_New*()
- Using NS_IMPL_ISUPPORTS[0-9]
r=akkanna@netscape.com
1999-11-22 21:03:04 +00:00
cmanske%netscape.com cade4ed318 Partial fix for 14344(Page Properties) and 18774(Increase/Decrease Font Size). Fixed 18234 (move Advanced Edit button), 18485 (don't prompt for title with Save As), 16714 (undefined value for para. property combobox) and 18494 (add filename to window caption). Improved Image Properties dialog and CSS style for toolbars. Added new Composer icons. r=sfraser 1999-11-13 16:37:58 +00:00
sfraser%netscape.com 114504ab0c Fix for 18525 -- non-scriptable accessor to get at the editor from the editor shell. r=akkana. 1999-11-11 00:58:40 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
davidm%netscape.com 1f0a7ff024 8673 ShutDown() should try to close all open windows. r=sfraser set tryToClose function and proprogate out if the close was sucessfull 1999-11-03 05:28:02 +00:00
cmanske%netscape.com 618ed72e8d Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge 1999-10-26 23:13:00 +00:00
cmanske%netscape.com e7457117e4 Fixed bugs 12515, 16493,16494,16495,16692,16794,most of 9758. Replaced old 'target' icon with interim 'anchor' icon. r=sfraser 1999-10-20 14:15:25 +00:00
cmanske%netscape.com 547ccdf063 Fixed bugs 16316, 16494, 16495, all relating to editor file open, saving, and window title issues. r=law 1999-10-15 22:06:41 +00:00
cmanske%netscape.com 711c0f72c9 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge 1999-10-14 00:13:27 +00:00
jfrancis%netscape.com c412022f4a revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com 1999-10-06 19:34:09 +00:00
cmanske%netscape.com d20641b38c Carpool checkin, r=brade. Lots of editor UI work, including new Advanced Edit dialog by Ben Goodger. Fixed style sheet loading leaks and implemented override style sheets for editor behavior, which be unloaded for edit mode vs. browser preview mode 1999-09-29 21:45:50 +00:00
cmanske%netscape.com 20f2a8bffa More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists 1999-09-22 05:52:44 +00:00
sfraser%netscape.com 7274bfc0ef Added UpdateInterfaceState, to force an update of the UI 1999-09-22 01:19:33 +00:00
briano%netscape.com 40320c9f41 General cleanup. 1999-09-11 01:20:05 +00:00
sfraser%netscape.com 58b73017cb Add DocumentIsEmpty to EditorShell.idl and nsIEditor, and modify length and content getters to do the right thing with an empty document (which contains the bogus text node). 1999-09-08 23:32:04 +00:00
jfrancis%netscape.com 03c6026eb0 implementing RemoveList() - ie, list button now works as a toggle 1999-09-06 19:47:25 +00:00
cmanske%netscape.com 662edc2554 Added CloneAttributes to IDL and nsIHTMLEditor. Reworked property dialogs to accomodate AdvancedEdit dialog. Preliminary version of AdvancedEdit dialog done 1999-09-02 01:47:18 +00:00
cmanske%netscape.com ba11acdca2 Changed IsNodeBlock to NodeIsBlock for JS. Fixed all compiler warnings. Added Advanced property Edit files 1999-09-01 19:58:25 +00:00