Commit Graph

145 Commits

Author SHA1 Message Date
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