Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
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
accessible Forgot some makefile. NOT IN BUILD 2001-03-05 20:26:03 +00:00
apache/gzip/src
build Add build support for Vixen and Document Inspector on Mac (turned off by default), keep Transformiix and CView building on Mac. Doesn't affect the default build. r/a=sfraser@netscape.com. 2001-03-09 02:21:08 +00:00
calendar
caps Adding aim protocol to the list. No Specific bug number. r=syd. sr=mstoltz 2001-03-07 05:58:45 +00:00
cck
chrome Change implicit conversion from 2001-03-08 08:05:05 +00:00
cmd
config Add support for old NetBSD toolchains & use -Bsymbolic when linking components. 2001-03-09 07:55:29 +00:00
content fix 71324 . delete mList so we won't leak in IME code. 2001-03-09 13:47:17 +00:00
db # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
dbm carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
directory Fixes various sr= issues turned up in preparation for turning on LDAP in the default builds (bug 70658). Removes obsolete and private interface methods; fixes spacing, and lots of misc cleanups. moa=me, sr=shaver@mozilla.org 2001-03-09 03:25:47 +00:00
docshell moving [GS]etPersistence from nsIWebBrowserChrome to nsIDocShellTreeOwner. embedding API review meeting made me do it. bug 69918 r=ccarlen,hyatt 2001-03-09 02:04:06 +00:00
dom window positioning security check is now more conversant with multiple monitors. bug 67523 r=hyatt,pinkerton 2001-03-09 02:12:51 +00:00
editor Fixes for bug #66308 ([embed] XPIDL'ize transaction manager) 2001-03-09 14:23:59 +00:00
ef
embedding moving [GS]etPersistence from nsIWebBrowserChrome to nsIDocShellTreeOwner. embedding API review meeting made me do it. bug 69918 r=ccarlen,hyatt 2001-03-09 02:04:06 +00:00
expat Bug 34168, report error instead of crashing if we encounter a parameter entity containing double percent sign. Fix from James Clark. r=nisheeth, a=vidur. 2001-01-04 23:03:32 +00:00
extensions not part of build; adding logging by sicking, robustness by peterv, speed by me. (last patch before moving to outliner?) 2001-03-09 08:52:49 +00:00
gc/boehm [not part of build] "fixes" the stack during GC initialization, so later stack crawls won't crash. 2001-02-27 01:09:44 +00:00
gconfig
gfx Checking in bryner's fix for speedracer bustage. r=cls 2001-03-07 07:10:22 +00:00
gfx2 the changes that don't really work to make gfx2 build properly on windows 2001-03-09 00:17:37 +00:00
grendel
htmlparser Change implicit conversion from 2001-03-08 08:05:05 +00:00
include carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
intl fix 70601. r=bstell sr=erik 2001-03-09 13:23:02 +00:00
java (not part of TBOX builds) 2001-02-21 09:09:55 +00:00
jpeg # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
js Updated JS_GetImplementationVersion() to date of latest JS release (67111, r=rginda, sr=jband). 2001-03-09 07:36:48 +00:00
js2 Added support for more html elements 2001-03-09 02:12:21 +00:00
l10n Fix bug 66087 - Status Bar; Document: Done (0.78secs) should be changed to Document: Done (0.78 secs) 2001-03-04 20:57:19 +00:00
layout Cleanup DOS end-of-lines 2001-03-09 13:20:20 +00:00
lib carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
mailnews Fixes for bug #66308 ([embed] XPIDL'ize transaction manager) 2001-03-09 14:23:59 +00:00
modules use NS_LITERAL_STRING instead of NS_LITERAL_CSTRING when creating an atom, and put dont_AddRef() around NS_NewAtom so we don't add an extra addref 2001-03-09 07:42:04 +00:00
msgsdk
mstone
netwerk Change to NS_IMPL_THREADSAFE_ISUPPORTS to fix spurious warnings. 2001-03-09 11:22:24 +00:00
network/protocol/http
nsprpub Use CC instead of LD to link. 2001-03-09 07:41:26 +00:00
nunet
parser Change implicit conversion from 2001-03-08 08:05:05 +00:00
plugin/oji/MRJ carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
privacy
profile fix bug 70958 Profile Migration Doesn't Work With Keyboard 2001-03-08 22:54:39 +00:00
rdf Change implicit conversion from 2001-03-08 08:05:05 +00:00
README
security Remove CR chars 2001-03-09 02:19:19 +00:00
silentdl
string Change implicit conversion from 2001-03-08 08:05:05 +00:00
suite
sun-java Removing unused sun-java stubs. r=edburns, jj. 2001-02-25 02:58:39 +00:00
themes 69280 - boomarks window cleanup, r=blake, sr=ben 2001-03-09 00:24:27 +00:00
timer
tools support for embedtest 2001-03-03 02:14:29 +00:00
tripledb
uriloader Change implicit conversion from 2001-03-08 08:05:05 +00:00
view Don't paint floating views unless the root view for the repaint is floating. This ensures that if we paint a window under a transient, the actual window contents are painted and not the transient's contents. Fix for new view manager bug 69346. r=kmcclusk, sr=attinasi 2001-03-03 06:18:11 +00:00
wallet
webshell moving [GS]etPersistence from nsIWebBrowserChrome to nsIDocShellTreeOwner. embedding API review meeting made me do it. bug 69918 r=ccarlen,hyatt 2001-03-09 02:04:06 +00:00
webtools Re-fix for bug 17464: oldemailtech prefs work again. 2001-03-09 06:28:59 +00:00
widget it's another shot at being happy on multiple-monitor machines. man tweaks and various. bug 67523 r=hyatt,pinkerton 2001-03-09 02:17:37 +00:00
xpcom fix bustage 2001-03-09 01:38:36 +00:00
xpfc
xpfe Re-implements tooltips from bug 60260 r=db48x@yahoo.com a=ben@netscape.com 2001-03-09 07:23:56 +00:00
xpinstall Fix for non-Unix bustage relating to MAX_FILENAME being undefined. r=sgehani 2001-03-09 01:49:21 +00:00
.cvsignore
aclocal.m4
allmakefiles.sh Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson. 2001-03-08 02:41:16 +00:00
client.mak adding new directories to the pull scripts for new imagelib. bug 70938 r=bryner sr=cls 2001-03-08 23:18:55 +00:00
client.mk adding new directories to the pull scripts for new imagelib. bug 70938 r=bryner sr=cls 2001-03-08 23:18:55 +00:00
configure Automated update 2001-03-09 07:45:09 +00:00
configure.in Clean up netbsd section. 2001-03-09 07:34:36 +00:00
embed.mak NOT PART OF BUILD. Fixed recent breakage and merged export/install dirs into single list. b=68668 2001-02-23 12:54:24 +00:00
embed.mk NOT PART OF BUILD. Updated Unix/Linux embedding makefile to work once more. Changed target modules for recent layout/content split. b=68668 2001-02-21 12:27:11 +00:00
LEGAL
LICENSE
Makefile.in Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
makefile.win Enable developers to build PSM 2.0 in win32 platforms. 2001-03-04 23:05:45 +00:00
nglayout.mac
nglayout.mk
trex.mak
trex.mk