99 Commits

Author SHA1 Message Date
cmanske%netscape.com
4c87049c94 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
git-svn-id: svn://10.0.0.236/trunk@116754 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 20:39:16 +00:00
akkana%netscape.com
1f0b47ba2b 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116581 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 22:11:14 +00:00
mjudge%netscape.com
40f7d1b02e 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work.
git-svn-id: svn://10.0.0.236/trunk@113507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:13:56 +00:00
glazman%netscape.com
5124d29644 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@111660 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 13:51:37 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
ccarlen%netscape.com
745e58b9e6 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110224 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 04:54:47 +00:00
ccarlen%netscape.com
6d33fa025c Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110170 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 20:25:12 +00:00
sfraser%netscape.com
457115228d Clean up static linkage with unichar utils (bug 100214) for alecf. r=fm, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106429 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:34:53 +00:00
alecf%netscape.com
91e99a93f5 Added files:
mozilla/intl/unicharutils/util/nsUnicharUtils.cpp


git-svn-id: svn://10.0.0.236/trunk@106322 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:37:38 +00:00
brade%netscape.com
8adb8df188 reorg to split composer from core editing functionality
git-svn-id: svn://10.0.0.236/trunk@104620 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:13:58 +00:00
brade%netscape.com
1b976c3ac5 add missing file
git-svn-id: svn://10.0.0.236/trunk@104619 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:13:31 +00:00
brade%netscape.com
4b48c75b1e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@104614 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:57:13 +00:00
sfraser%netscape.com
8f846789a9 Project cleanup, rs=scc. Fix one or more of access paths, linking with the correct startup library, and unnecessary linkage.
git-svn-id: svn://10.0.0.236/trunk@101255 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 01:16:19 +00:00
brade%netscape.com
b1f234db41 add nsHTMLURIRefObject.cpp for Akkana
git-svn-id: svn://10.0.0.236/trunk@100530 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:30:01 +00:00
brade%netscape.com
64ca288067 add nsIURIRefObject.idl for Akkana
git-svn-id: svn://10.0.0.236/trunk@100527 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:18:38 +00:00
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