37 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
d970a7707d Replace old decimal constants with funky newly scriptable nsIDocumentEncoder enums p=gautheri@noos.fr r+sr=me YES-YES-YES!!!=glazou
git-svn-id: svn://10.0.0.236/trunk@193131 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 16:44:55 +00:00
peterv%propagandism.org
1670106ec8 Fix for bug 286300 (Clean up HTML tags enum and related code). r/sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174702 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 12:58:13 +00:00
timeless%mozdev.org
7078d213aa Bug 240947 use content instead of _content
r=neil sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@158446 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-24 23:44:05 +00:00
timeless%mozdev.org
d8e97cbd9d Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@156521 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 09:13:28 +00:00
timeless%mozdev.org
d5f9c7bdbe Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@156489 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 23:38:25 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
kin%netscape.com
d43528516f 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


git-svn-id: svn://10.0.0.236/trunk@140707 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 20:50:25 +00:00
cmanske%netscape.com
a64dcd2981 Remove editorShell from Composer app. b=169029, r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133700 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 22:52:55 +00:00
cmanske%netscape.com
99ccfbf71f Fixed broken smileys in Mail Composer. b=70031, r=suresh, sr=kin
git-svn-id: svn://10.0.0.236/trunk@131322 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 20:13:09 +00:00
akkana%netscape.com
53086064e0 169308: Make nsIEditorLogging scriptable: fix a typo. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@130465 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 23:53:17 +00:00
akkana%netscape.com
d8b0b8b662 169308: Make nsIEditorLogging scriptable: fix a typo. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@130453 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 23:34:59 +00:00
akkana%netscape.com
10d9953c1b 169308: Make nsIEditorLogging scriptable: a couple of nicities suggested by Kin. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@130452 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 23:34:04 +00:00
akkana%netscape.com
de546ddbb7 169308: Make nsIEditorLogging scriptable. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@130450 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 23:29:40 +00:00
akkana%netscape.com
9bd12db00e 169001: remove editorshell references. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@130449 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 23:20:38 +00:00
brade%netscape.com
ecf0215829 clean up new Object usage (bug 157970); r=Neil, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@127493 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 21:37:24 +00:00
glazman%netscape.com
da45b23bb4 Test Selection debug menu item was horked in Composer; b=146424, r=neil@parkwaycc.co.uk, sr=jst
git-svn-id: svn://10.0.0.236/trunk@122216 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 09:00:25 +00:00
cmanske%netscape.com
80166e4a8a Update for publishing UI, b=88208, r=brade, sr=ben
git-svn-id: svn://10.0.0.236/trunk@114574 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 06:07:40 +00:00
darin%netscape.com
a1e097d98f fixes bug 15320 "Forms/Necko: Temp file (formpost) left after file upload"
r=dougt, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109918 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:40:55 +00:00
gerv%gerv.net
3821428085 License changes, take 2. Bug 98089. mozilla/editor/.
git-svn-id: svn://10.0.0.236/trunk@103757 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:53:13 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
akkana%netscape.com
58153259b6 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


git-svn-id: svn://10.0.0.236/trunk@100531 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:39:07 +00:00
kin%netscape.com
7365b2cbe5 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


git-svn-id: svn://10.0.0.236/trunk@89126 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:23:59 +00:00
akkana%netscape.com
0f2421018e 67337: Initial implementation of Tableize. r=aaronl sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87245 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 01:33:07 +00:00
sfraser%netscape.com
4e7e05789b Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84675 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:02 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
akkana%netscape.com
383539d22b 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@78401 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:40:14 +00:00
danm%netscape.com
2972eb8e6e tracking change of name of window.content to _content. (bug 33650) r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72857 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:48:45 +00:00
cmanske%netscape.com
6674d2c7c5 Fix for 41034 - new list submenu, fix for 41351 - object properties not working. Fix for OS2 support for table selection feedback in menu. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71541 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:26:26 +00:00
cmanske%netscape.com
8c3d820634 Fixed debug selection output command
git-svn-id: svn://10.0.0.236/trunk@69987 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:12:57 +00:00
sfraser%netscape.com
e1c3f451ab Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
git-svn-id: svn://10.0.0.236/trunk@67740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:49:52 +00:00
akkana%netscape.com
5a1992b769 Fix an entity bug for Naoki: Japanese entities weren't being correctly
pasted.  This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug.  r=nhotta


git-svn-id: svn://10.0.0.236/trunk@64270 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:10:44 +00:00
cmanske%netscape.com
f86529f366 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63551 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:05:24 +00:00
cmanske%netscape.com
921a7b4b4d Fixed debug menu bustage, bug 25107,r=akkana
git-svn-id: svn://10.0.0.236/trunk@58837 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:57:35 +00:00
cmanske%netscape.com
c4d88f4318 Table editing (bug 20973): added support for rowspan/colspan=0, Rewrote Spelling Dictionary dialog (bug 24264), removed beep from forceInteger filter, r=akkana
git-svn-id: svn://10.0.0.236/trunk@58784 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 14:57:43 +00:00
brade%netscape.com
0aa41dda0b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@58474 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 15:28:05 +00:00