38 Commits

Author SHA1 Message Date
bugzilla%standard8.plus.com
5e1a29bf36 Part of Bug 381343 - move the composer debug options to the debugQA extension r=KaiRo,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@233218 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 16:05:25 +00:00
neil%parkwaycc.co.uk
1544dc18b2 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@232575 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:54:17 +00:00
peterv%propagandism.org
624961ea27 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@232572 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:54:14 +00:00
timeless%mozdev.org
2ac97aa5f9 Bug 240947 use content instead of _content
r=neil sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@232571 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:54:13 +00:00
timeless%mozdev.org
522c526bae Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@232570 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:54:12 +00:00
timeless%mozdev.org
6ec5fd6d23 Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@232569 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:54:11 +00:00
gerv%gerv.net
9cea91ccd9 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@232568 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:54:10 +00:00
kin%netscape.com
04995c1088 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@232564 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:54:06 +00:00
cmanske%netscape.com
39dd53c0c6 Remove editorShell from Composer app. b=169029, r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@232563 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:54:05 +00:00
cmanske%netscape.com
f5e8b9b904 Fixed broken smileys in Mail Composer. b=70031, r=suresh, sr=kin
git-svn-id: svn://10.0.0.236/trunk@232526 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:22 +00:00
akkana%netscape.com
86a978a794 169308: Make nsIEditorLogging scriptable: fix a typo. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@232525 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:21 +00:00
akkana%netscape.com
d2fa00943e 169308: Make nsIEditorLogging scriptable: fix a typo. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@232524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:20 +00:00
akkana%netscape.com
ea80378a58 169308: Make nsIEditorLogging scriptable: a couple of nicities suggested by Kin. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@232523 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:19 +00:00
akkana%netscape.com
5ed14fa3bc 169308: Make nsIEditorLogging scriptable. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@232522 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:18 +00:00
akkana%netscape.com
342aecdc8c 169001: remove editorshell references. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@232521 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:17 +00:00
brade%netscape.com
1fdb6a9112 clean up new Object usage (bug 157970); r=Neil, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@232520 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:16 +00:00
glazman%netscape.com
f5bdc5bcc6 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@232519 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:15 +00:00
cmanske%netscape.com
f222cbb48d Update for publishing UI, b=88208, r=brade, sr=ben
git-svn-id: svn://10.0.0.236/trunk@232518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:14 +00:00
darin%netscape.com
0c7c704ec6 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@232517 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:13 +00:00
gerv%gerv.net
26a275439d License changes, take 2. Bug 98089. mozilla/editor/.
git-svn-id: svn://10.0.0.236/trunk@232516 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:12 +00:00
gerv%gerv.net
7d5f108c73 Oops.
git-svn-id: svn://10.0.0.236/trunk@232515 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:11 +00:00
scc%mozilla.org
085a8dcbbb bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@232514 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:10 +00:00
akkana%netscape.com
03a1abb210 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@232513 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:09 +00:00
kin%netscape.com
d0001e2da0 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@232512 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:08 +00:00
akkana%netscape.com
b80d64417f 67337: Initial implementation of Tableize. r=aaronl sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@232511 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:07 +00:00
sfraser%netscape.com
4ebd68357f 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@232510 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:06 +00:00
jst%netscape.com
f58f958811 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@232509 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:05 +00:00
rayw%netscape.com
22525f0ea3 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@232508 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:04 +00:00
akkana%netscape.com
e3fc6f3ee4 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@232507 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:03 +00:00
danm%netscape.com
4739a373ee tracking change of name of window.content to _content. (bug 33650) r=hyatt
git-svn-id: svn://10.0.0.236/trunk@232506 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:02 +00:00
cmanske%netscape.com
cc19710b45 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@232505 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:01 +00:00
cmanske%netscape.com
87547bdef7 Fixed debug selection output command
git-svn-id: svn://10.0.0.236/trunk@232504 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:53:00 +00:00
sfraser%netscape.com
31cdf28834 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@232503 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:52:59 +00:00
akkana%netscape.com
8e636a9160 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@232502 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:52:58 +00:00
cmanske%netscape.com
d7935e209e 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@232501 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:52:57 +00:00
cmanske%netscape.com
359e87cf2a Fixed debug menu bustage, bug 25107,r=akkana
git-svn-id: svn://10.0.0.236/trunk@232500 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:52:56 +00:00
cmanske%netscape.com
fe3df1c0f5 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@232499 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:52:55 +00:00
brade%netscape.com
92b987c8d0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@232498 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 04:52:54 +00:00