84 Commits

Author SHA1 Message Date
sfraser%netscape.com
7e4641fb92 Adding nsTextEditRulesBidi.cpp for mkaply
git-svn-id: svn://10.0.0.236/trunk@95642 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 00:26:39 +00:00
kin%netscape.com
d11e18cfc5 Bug 79157: resurrect plaintext editor library. Mac build love. not part of SeaMonkey build. sr=kin
git-svn-id: svn://10.0.0.236/trunk@95032 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 20:37:09 +00:00
jfrancis%netscape.com
73072cd5e7 bug 65557 and cast of thousands: making the editor behave more intelligently wrt html whitespace rules. Improved ws handling for:
insert text,
insert break,
join blocks,
split block,
delete
Yet to be tackled is html copy & paste.  r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@94635 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 12:43:22 +00:00
pinkerton%netscape.com
a71bc3256a landing idl changes for mjudge. bug# 66318.
git-svn-id: svn://10.0.0.236/trunk@91607 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 00:42:23 +00:00
akkana%netscape.com
a9c46eb554 66345: factoring for editor reorganization. sr=kin/sfraser, r=jfrancis.
git-svn-id: svn://10.0.0.236/trunk@91512 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 23:48:38 +00:00
jfrancis%netscape.com
64c2bf50ed 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



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
  edito


git-svn-id: svn://10.0.0.236/trunk@89124 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:18:41 +00:00
sfraser%netscape.com
f130cc329b Add SetDocTitleTxn.cpp for cmanske
git-svn-id: svn://10.0.0.236/trunk@87631 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:18:20 +00:00
jfrancis%netscape.com
7cde2dddd5 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
git-svn-id: svn://10.0.0.236/trunk@85666 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 20:13:07 +00:00
bryner%uiuc.edu
6f97e20f49 Removing dead .toc files. Not part of build. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@84289 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:32:06 +00:00
akkana%netscape.com
15699a9838 Add nsIPlaintextEditor.
git-svn-id: svn://10.0.0.236/trunk@82713 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:19:56 +00:00
cmanske%netscape.com
c6989bd4b7 added files: mozilla/editor/idl/nsIEditorController.idl
git-svn-id: svn://10.0.0.236/trunk@76921 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:29:53 +00:00
sfraser%netscape.com
caef63e134 Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70384 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:48:58 +00:00
sfraser%netscape.com
597b31823e Add nsEditorShellMouseListener.cpp for cmanske
git-svn-id: svn://10.0.0.236/trunk@68916 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:10:30 +00:00
sfraser%netscape.com
0e9467e4f6 Added nsComposerCommands.cpp
git-svn-id: svn://10.0.0.236/trunk@67739 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:43:21 +00:00
akkana%netscape.com
0623ccf912 Add nsWrapUtils to build.
git-svn-id: svn://10.0.0.236/trunk@66576 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:41:02 +00:00
sfraser%netscape.com
71306fc976 Added nsEditorParserObserver.cpp
git-svn-id: svn://10.0.0.236/trunk@64666 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:59:00 +00:00
sfraser%netscape.com
c52ce2f444 Added nsIEditorService.idl for sspitzer. r=me
git-svn-id: svn://10.0.0.236/trunk@61037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 03:21:04 +00:00
sspitzer%netscape.com
220eccdbfd added files: mozilla/editor/base/nsEditorService.cpp
git-svn-id: svn://10.0.0.236/trunk@61036 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 03:17:36 +00:00
sfraser%netscape.com
f60d5374f8 Add nsEditorCommands.cpp, for bug 18395. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@61002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:34:53 +00:00
pinkerton%netscape.com
78f4c3efcd adding nsTableEditor.cpp for cmanske, removing EditTable.cpp.
git-svn-id: svn://10.0.0.236/trunk@60285 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 05:15:56 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
brade%netscape.com
eeab04ed71 fix paths for move to CW5 (bug #25779)
git-svn-id: svn://10.0.0.236/trunk@59524 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 15:27:53 +00:00
akkana%netscape.com
91c4a4e086 Add nsHTMLEditUtils to build.
git-svn-id: svn://10.0.0.236/trunk@58661 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 00:54:27 +00:00
jfrancis%netscape.com
44c793f98d rearranging project view a bit
git-svn-id: svn://10.0.0.236/trunk@57935 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 14:30:22 +00:00
sfraser%netscape.com
29fb3935af Really added nsEditorController.cpp for mjudge.
git-svn-id: svn://10.0.0.236/trunk@56033 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 04:09:34 +00:00
mjudge%netscape.com
212f24a709 adding in nsEditorController to makesystem. adding in registration to allow someone to get an editorcontroller from the outside. also change editor shell to register a controller to handle keyboard navigation.
git-svn-id: svn://10.0.0.236/trunk@56025 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:46:27 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
sfraser%netscape.com
7bac435457 Removed nsEditorFactory.cpp and nsEditorShellFactory.cpp which are no longer needed. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@51363 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 05:37:04 +00:00
law%netscape.com
45245a0e3f Bug #14999; stop using toolkit app core (added JavaScript[Debug].shlb to this project); r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51028 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 21:36:57 +00:00
beard%netscape.com
da97767078 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr
git-svn-id: svn://10.0.0.236/trunk@49690 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 20:46:23 +00:00
jfrancis%netscape.com
5c131e0e76 rearranging project view a bit
git-svn-id: svn://10.0.0.236/trunk@46885 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 23:31:04 +00:00
sfraser%netscape.com
d1919dbdf7 Removed nsInsertHTMLTxn.cpp
git-svn-id: svn://10.0.0.236/trunk@46397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:18:29 +00:00
kin%netscape.com
a6b30f6bce Re-enabling Editor API Logging on Mac.
git-svn-id: svn://10.0.0.236/trunk@43589 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:27:57 +00:00
kin%netscape.com
549b2c9000 added files: mozilla/editor/base/nsEditorTxnLog.cpp, mozilla/editor/base/nsHTMLEditorLog.cpp
git-svn-id: svn://10.0.0.236/trunk@43587 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:25:14 +00:00
sfraser%netscape.com
4dd92661ce Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
git-svn-id: svn://10.0.0.236/trunk@42725 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:37:50 +00:00
sfraser%netscape.com
71e4b293c3 Turn off JS logging for now.
git-svn-id: svn://10.0.0.236/trunk@42724 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:37:36 +00:00
brade%netscape.com
5565d062bf fix access paths to be more correct (dist first, etc.)
git-svn-id: svn://10.0.0.236/trunk@42172 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:06:32 +00:00
brade%netscape.com
a1d24cc000 fix build bustage by adding path to dist/editor before all other paths
git-svn-id: svn://10.0.0.236/trunk@42140 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 15:18:33 +00:00
sfraser%netscape.com
c9d0cb3a7e Add nsIDocumentStateListener.idl
git-svn-id: svn://10.0.0.236/trunk@41904 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 00:45:32 +00:00
sfraser%netscape.com
1dd947029b Added nsInterfaceState for UI state maintenance
git-svn-id: svn://10.0.0.236/trunk@41402 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 02:53:09 +00:00
sfraser%netscape.com
16ac8cfe57 Remove table editing transactions, for cmanske.
git-svn-id: svn://10.0.0.236/trunk@41371 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:58:28 +00:00
sfraser%netscape.com
b089efa46d Added nsStyleSheetTxns.cpp
git-svn-id: svn://10.0.0.236/trunk@37967 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:01:38 +00:00
tague%netscape.com
db23dd7d5c Added clause range and selection support for Input Methods.
git-svn-id: svn://10.0.0.236/trunk@37434 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:30:42 +00:00
kin%netscape.com
ba3ef45bce Fix for bug #8306: [PP] Need to enable Editor API Logging on the Mac
Uncommented out define for ENABLE_JS_EDITOR_LOG.
Approved by chofmann@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@35733 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:30:16 +00:00
sfraser%netscape.com
fa083d6e2a Add JS logging files for kin.
git-svn-id: svn://10.0.0.236/trunk@35273 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:21:03 +00:00
sfraser%netscape.com
546d03c21a Include new config file
git-svn-id: svn://10.0.0.236/trunk@35271 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:20:36 +00:00
sfraser%netscape.com
3b8a6cc841 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35270 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:20:24 +00:00
sfraser%netscape.com
29857082ee Rename nsISpellCheck to nsIEditorSpellCheck
git-svn-id: svn://10.0.0.236/trunk@34887 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:43:19 +00:00
sfraser%netscape.com
e21d74eb6e Add EditorShell and its factory to build, and add idl dir to makefiles.
git-svn-id: svn://10.0.0.236/trunk@34814 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:00:22 +00:00
sfraser%netscape.com
0d0d1f8ebb Fixing header output directory
git-svn-id: svn://10.0.0.236/trunk@34808 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:57:03 +00:00