Commit Graph

314 Commits

Author SHA1 Message Date
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
jfrancis%netscape.com
cfd6751b33 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 2001-03-09 14:18:41 +00:00
kin%netscape.com
bf5be95329 Initial checkin of nsTransactionList.cpp and nsTransactionList.h.
NOT PART OF THE BUILD.
2001-03-02 15:18:56 +00:00
dprice%netscape.com
199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dprice%netscape.com
997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
kin%netscape.com
a907c4ffe0 Initial checkin of XPIDL'ized TransactionManager interfaces.
NOT PART OF THE BUILD YET!
2001-02-08 22:12:30 +00:00
bryner%uiuc.edu
69e9b90bc6 Removing dead .toc files. Not part of build. a=sfraser. 2001-01-03 01:32:06 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
danm%netscape.com
2c6d578e14 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode. 2000-11-18 02:13:42 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
warren%netscape.com
e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
cls%seawood.org
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
cls%seawood.org
cb31f6e62d More OS/2 changes. Batches 19 & 20 of Bug #34106 r=pavlov 2000-05-21 13:32:11 +00:00
mjudge%netscape.com
2cfb602409 making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
cls%seawood.org
f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
bryner%uiuc.edu
6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
brade%netscape.com
49568eb54e fix paths for move to CW5 (bug #25779) 2000-02-02 15:27:53 +00:00
cls%seawood.org
4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dp%netscape.com
bc95e3bdf7 - Converting to nsGenericModule
- Removed exported NS_New*()
- Using NS_IMPL_ISUPPORTS[0-9]
r=akkanna@netscape.com
1999-11-22 21:03:04 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
kin%netscape.com
ef66dcd123 TransactionManager fix for bug #11590: eliminate NS_COMFALSE
Modified all nsITransactionListener::Will* methods and implementations
to use an aInterrupt argument.

    mozilla/editor/base/nsEditorTxnLog.cpp
    mozilla/editor/base/nsEditorTxnLog.h
    mozilla/editor/txmgr/public/nsITransactionListener.h
    mozilla/editor/txmgr/src/nsTransactionItem.cpp
    mozilla/editor/txmgr/src/nsTransactionManager.cpp
    mozilla/editor/txmgr/src/nsTransactionManager.h

r=brade@netscape.com
1999-11-11 19:35:40 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
tbogard%aol.net
09503b80da Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:27:09 +00:00
morse%netscape.com
b735dfc765 fix bug 10434, memory leak detection, r=kin 1999-10-14 13:50:36 +00:00
waterson%netscape.com
bdfcaec321 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
kipp%netscape.com
29c7fcb9b4 new 1999-09-25 20:11:47 +00:00
colin%theblakes.com
541685cff2 Add dist/bin to EXTRA_DSO_LDOPTS to locate xpcom. See bug 14562. 1999-09-23 00:27:00 +00:00
brade%netscape.com
f0effa903f add idl to the build list 1999-09-21 23:21:14 +00:00
brade%netscape.com
e99928219d First Checked In. 1999-09-21 22:27:05 +00:00
briano%netscape.com
40320c9f41 General cleanup. 1999-09-11 01:20:05 +00:00
briano%netscape.com
d5abd4e0c7 General cleanup. 1999-09-09 03:34:19 +00:00
cyeh%netscape.com
9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
ramiro%netscape.com
416ac6f958 Dont clobber the DEFINES macro. 1999-07-16 13:28:12 +00:00
kin%netscape.com
54e49f6b16 Fix for bug #9826: [malloc] memory allocation problems - editor tests
Added checks for NULL everywhere new and create are called.
1999-07-14 17:27:34 +00:00
dveditz%netscape.com
9bc612bf52 makeile cleanups 1999-07-02 13:38:47 +00:00
mcafee%netscape.com
d8516561a9 Adding coment for BeOS. 1999-06-25 14:33:31 +00:00
warren%netscape.com
b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
briano%netscape.com
8699ea0019 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
warren%netscape.com
cbbfa208f8 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). 1999-06-03 21:50:47 +00:00
kin%netscape.com
236417d08b Enabled LOCK/UNLOCK macros. 1999-06-03 15:26:48 +00:00
jfrancis%netscape.com
388fb3940d linking against nspr 1999-06-01 22:07:00 +00:00
mcmullen%netscape.com
43e2872126 Removed obsolete base/baseDebug.shlb 1999-05-27 23:28:37 +00:00
kin%netscape.com
4c8dbecd07 Changed GetUndoString() and GetRedoString() to use nsString *. 1999-05-27 20:50:05 +00:00
kin%netscape.com
8245590ade Changed interface and implementation to us NS_IMETHOD and NS_IMPMETHOD macros. 1999-05-27 20:48:55 +00:00
kin%netscape.com
ea1a98b277 Added support for nsITransactionListener.
Cleaned up includes in header files.
1999-05-26 21:16:25 +00:00
dp%netscape.com
65309656b6 removing -lreg 1999-05-26 07:08:19 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
dp%netscape.com
b5707f7a96 Converting stray UnregisterFactory calls to UnregisterComponent 1999-05-06 01:37:04 +00:00
warren%netscape.com
c289c670cd Added Write(nsIInputStream) and Flush to nsIOutputStream. 1999-04-22 07:31:03 +00:00
buster%netscape.com
033ffdd7ed * beginnings of font handling. WIP, I did a big merge today and I'm checking in to synch up, not to announce new functionality here.
* added TextEditorTest.cpp, a unit test module for nsTextEditor.  It's use is actually commented out since my checkin is happening so late due
to all-day build bustage, and I don't have a Mac handy to verify.  With someone's Mac help tomorrow, I can turn it on.
* some minor bug fixes to property handling
1999-04-15 06:06:33 +00:00
jband%netscape.com
01475d8a25 fixed typo so no extra .pdb files get left behind 1999-04-06 00:10:10 +00:00
buster%netscape.com
8b2ac0cbbc fixed bug 4517
WIP on remove text attributes
1999-04-05 20:52:29 +00:00
kin%netscape.com
806301a0b5 Changed all occurences of NS_TRANSACTION_MANAGER_FACTORY_CID
and kCTransactionManagerFactoryCID to NS_TRANSACTIONMANAGER_CID
and kCTransactionManagerCID.
1999-03-10 21:27:02 +00:00
kin%netscape.com
17133e31ce Modified the clobber target so that it removes the dll from the bin/components directory. 1999-03-10 21:25:03 +00:00
warren%netscape.com
44568143d6 Backed out the nsService template stuff. 1999-03-09 11:49:41 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
cmanske%netscape.com
f2098f2965 Fixed editor classes to do autoregistration correctly and moved target directory to bin/components 1999-03-08 22:46:33 +00:00
mcmullen%netscape.com
5c9516e394 Adapt to new stream interfaces some more. 1999-03-06 02:12:52 +00:00
mcmullen%netscape.com
1b6c1b44be Adapt to new stream interfaces 1999-03-06 00:29:58 +00:00
mcmullen%netscape.com
9798175c73 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
dp%netscape.com
06a110237c Installing loadable components in components/ directory 1999-03-03 01:25:21 +00:00
cmanske%netscape.com
27e9ab27a5 Fixed mismatched declarations/implementations 1999-03-02 07:13:45 +00:00
ebina%netscape.com
1b377a9c65 Changing RegisterFactory to use the new API. 1999-02-26 15:59:52 +00:00
warren%netscape.com
44cae3cd3f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
rickg%netscape.com
7fe2dc800c fix build crash caused by deque API change 1999-02-26 07:37:27 +00:00
rickg%netscape.com
00ee3b87f3 attempt to fix build 1999-02-26 07:24:27 +00:00
rickg%netscape.com
ce3f1fd855 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
sfraser%netscape.com
313ee557d8 Mac project changes -- convert from using MLSShLibRuntime to MSLDropinRuntime. 1999-02-26 00:44:01 +00:00
kin%netscape.com
f87a9a3d4a Added IID() methods. 1999-02-22 19:56:57 +00:00
kin%netscape.com
6b7560f829 Removed all references to ServiceManager, we now rely on nsRepository directly. 1999-02-12 16:57:55 +00:00
kin%netscape.com
0985517287 Added NSRegisterSelf() and NSUnregisterSelf(). 1999-02-12 16:56:04 +00:00
dp%netscape.com
81c281f428 Adding libreg as xpcom depends on it 1999-02-10 02:01:50 +00:00
kin%netscape.com
9bd79d07f3 Added test cases for TransactionManager's BeginBatch() and EndBatch() methods. 1999-02-08 17:30:30 +00:00
kin%netscape.com
225d4fcce1 Added BeginBatch(), EndBatch(), BeginTransaction() and EndTransaction()
methods.
1999-02-08 17:29:43 +00:00
kin%netscape.com
efd75e5cfe Added BeginBatch(), EndBatch(), BeginTransaction() and EndTransaction()
methods. Modified Do() method to use Begin/EndTransaction().
1999-02-08 17:28:33 +00:00
kin%netscape.com
0de03a45e7 Changed all occurences of !NS_SUCCEEDED() to NS_FAILED(). 1999-02-08 17:28:08 +00:00
kin%netscape.com
5797e5b2a3 Added GetNumberOfChildren() method. Changed all occurences of !NS_SUCCEEDED()
to NS_FAILED(). Modified GetNumberOfUndoItems() and GetNumberOfRedoItems() to
handle the case where their stack is NULL.
1999-02-08 17:27:42 +00:00
kin%netscape.com
3c7b27cf7e Made nsTransactionReleaseFunctor destructor virtual. 1999-02-04 17:40:35 +00:00
kin%netscape.com
ad9f0f2bad Modified Redo() method to allow for mTransaction being NULL. 1999-02-04 17:39:21 +00:00
kin%netscape.com
17208b294c Fixed regression introduced by the renaming of nsDeque::Pop()
to nsDeque::PopFront().
1999-02-04 17:36:24 +00:00
kin%netscape.com
208f109b51 Added calls to nsServiceManager::ShutdownService() to get the tests working
again.  Fixed some compiler warnings.
1999-02-04 17:35:04 +00:00
mcafee%netscape.com
4f34ff2320 Ignore generated Makefiles 1999-02-02 06:11:26 +00:00
amusil%netscape.com
0a5ede47fe New Service Manager changes 1999-01-25 11:08:18 +00:00
mcafee%netscape.com
5f96195848 Removed hard-coded link line, use the one in rules.mk instead. 1999-01-22 10:03:32 +00:00
rickg%netscape.com
8f11084fc8 sync up with mods to the parser 1999-01-09 01:11:37 +00:00
mjudge%netscape.com
1a702419c2 changing COM_auto_ptr to nsCOMPtr.h 1998-12-17 19:26:17 +00:00
kin%netscape.com
a62c1e0d05 Backout previous changes to fix build bustage. 1998-12-16 18:52:23 +00:00
mjudge%netscape.com
793bd2fc59 write now takes ints instead of unsigned ints 1998-12-16 18:43:13 +00:00
warren%netscape.com
ce21da626c Fixed some unsigned problems for the Mac. 1998-12-16 08:03:53 +00:00
sfraser%netscape.com
8730698eb7 Fix target and output libary names. 1998-12-16 03:34:58 +00:00
sfraser%netscape.com
99ade2922d First Checked In. 1998-12-15 22:17:48 +00:00
sfraser%netscape.com
fea2f57371 First Checked In. 1998-12-15 21:59:40 +00:00
kin%netscape.com
1c9bd558c4 Added OPTIMIZATION comment. 1998-12-15 02:12:25 +00:00
kin%netscape.com
8344827a20 Added tests for SetMaxTransactionCount(). 1998-12-15 02:11:53 +00:00
kin%netscape.com
d9d646fc42 Removed ';' in IID defines. This was causing a problem on the Mac. 1998-12-15 02:11:17 +00:00
kin%netscape.com
5e6f7ebaaa Added TestTransactionFactory classes. Got rid of duplicate test/stress
functions.
1998-12-14 23:50:27 +00:00
mjudge%netscape.com
b2888d6f9d updating txmgr.. 1998-12-14 20:38:36 +00:00
mjudge%netscape.com
c97fc5a613 txmgr changes not built yet 1998-12-14 18:46:13 +00:00
kin%netscape.com
55f4cd2715 Removed src directory from list of includes. 1998-12-14 18:39:33 +00:00
kin%netscape.com
89636dafc7 Removed src directory from includes list. 1998-12-14 18:39:14 +00:00
kin%netscape.com
c1f69879d7 Added LLIBS and MISCDEP. 1998-12-14 18:37:46 +00:00
jfrancis%netscape.com
9c135b8f7a more preperation for adding tx mgr stuff to mac build 1998-12-11 19:25:48 +00:00
jfrancis%netscape.com
feeb5427eb getting transaction manager ready for addition to mac build 1998-12-11 18:13:11 +00:00
kin%netscape.com
0565a3e76b We no longer statically link libtxmgr.a. 1998-12-11 00:26:05 +00:00
kin%netscape.com
2a84b4165f Modified tests to call nsServiceManager::GetService() to create an
nsITransactionManager.
1998-12-11 00:25:33 +00:00
kin%netscape.com
06d81cbffd Initialize mRefCnt in constructor. Removed useless white space. Commented
out references to NS_TRANSACTIONMANAGER.
1998-12-11 00:24:29 +00:00
kin%netscape.com
59e43e9390 Added EXTRA_DSO_LDOPTS. 1998-12-11 00:23:25 +00:00
kin%netscape.com
3074a19e6a Added SetMaxTransactionCount() method to nsITransactionManager and
nsTransactionManager. Replaced all !NS_SUCCEEDED with NS_FAILED.
1998-12-11 00:22:34 +00:00
kin%netscape.com
70033161fa Added nsTransactionManagerFactory.cpp to list of files to build. 1998-12-10 18:25:12 +00:00
kin%netscape.com
150922c941 Added nsTransactionManagerCID.h to list of exports. 1998-12-10 18:24:18 +00:00
kin%netscape.com
b49d65a85a Initial checkin of file. 1998-12-10 18:23:04 +00:00
sfraser%netscape.com
b2b751eef5 Convert AppleSingle->binary format. 1998-12-10 03:22:27 +00:00
kin%netscape.com
962ec07d6f Modified Undo() and Redo() to throw an error if there is a transaction
on the Do stack.
1998-12-09 19:53:31 +00:00
kin%netscape.com
dfaac710fa Added aggregation_test(), stress_test(), and aggregation_stress_test(). 1998-12-09 19:28:58 +00:00
kin%netscape.com
2a9c5f3e6d Fixed bug that prevented transaction item children from being redone. 1998-12-08 22:05:23 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
kin%netscape.com
cfaea97c1e Added transient and coalescing test cases. 1998-12-05 01:15:40 +00:00
kin%netscape.com
54aeeda011 Added support for nsITransaction::GetIsTransient() method. 1998-12-04 23:09:55 +00:00
kin%netscape.com
6d6a1940ba Implemented RecoverFromUndoError() and RecoverFromRedoError(). 1998-12-04 21:50:09 +00:00
kin%netscape.com
7e610d5df9 Added test case for error during a redo. Added checks to make sure all
transaction destruction happens in the order we expect.
1998-12-04 21:32:47 +00:00
kin%netscape.com
45ade84f31 Added more test cases. 1998-12-04 18:09:06 +00:00
mjudge%netscape.com
ac6b0fe43f removing NULL replacing with nsnull 1998-12-03 23:46:36 +00:00
kin%netscape.com
0f82ce934a Fixed crash bug when calling PeekUndoStack() or PeekRedoStack() when the stacks
are empty. Fixed bug that allowed mMaxLevelsOfUndo + 1 entries on the undo
stack.
1998-12-03 00:41:44 +00:00
kin%netscape.com
1da4475fea Fix for build bustage on Unix. Put in missing '$'. 1998-12-02 21:25:41 +00:00
kin%netscape.com
26e84bb821 Fix for build bustage on Unix. 1998-12-02 18:02:06 +00:00
kin%netscape.com
093d952375 Added GetTransaction() method. 1998-12-02 17:40:56 +00:00
kin%netscape.com
a26443652f Updated TestTransaction methods to match changes to nsITransaction interface.
Started implementation of simple test.
1998-12-02 17:40:25 +00:00
kin%netscape.com
5028505321 Fix for build bustage on Unix. 1998-12-02 17:39:40 +00:00
kin%netscape.com
cc62ea4233 Added implementations for new Clear(), PeekUndoStack(), and PeekRedoStack()
interface methods. Added support for transaction merging/coalescing, and
max number of undos.
1998-12-02 17:39:09 +00:00
kin%netscape.com
440860854b Added Clear(), PeekUndoStack(), and PeekRedoStack() methods to interface. 1998-12-02 17:37:16 +00:00
kin%netscape.com
f0d7606b0b Added Merge() method to interface. 1998-12-02 17:36:46 +00:00
kin%netscape.com
82e8e9c1ee Implemented transaction aggregation, modified code to use nsTransactionItem. 1998-12-01 18:38:52 +00:00
kin%netscape.com
435fb22f40 Initial version of file. 1998-12-01 18:35:49 +00:00
mjudge%netscape.com
bd75a79258 removed non production code 1998-11-28 01:28:00 +00:00
jfrancis%netscape.com
9957a55260 First Checked In. 1998-11-25 00:33:59 +00:00
jfrancis%netscape.com
536f618a2e First Checked In. 1998-11-24 19:43:21 +00:00
mjudge%netscape.com
455eb7c6e8 changing makefiles to build test apps on win32 1998-11-24 19:26:45 +00:00
kin%netscape.com
84e16bb502 Modified transaction manager to use nsTransactionStacks. 1998-11-24 00:45:21 +00:00
kin%netscape.com
5ac2ee1f8a Added nsTransactionStack.cpp to list of files to build. 1998-11-24 00:44:29 +00:00
kin%netscape.com
e78c24068a Initial checkin of file. 1998-11-24 00:43:31 +00:00
kin%netscape.com
2bbdbbe8de Quick test to see if the first pass transaction manager code is working. 1998-11-21 01:21:14 +00:00
kin%netscape.com
be08e6d153 First pass implementations of Do, Undo, and Redo. 1998-11-21 01:02:55 +00:00
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
kin%netscape.com
3e40ccf817 Corrected comments for Do(), Undo(), and Redo(). 1998-11-20 20:59:40 +00:00
kin%netscape.com
b9d9887672 Initial checkin of files. 1998-11-20 18:36:05 +00:00
kin%netscape.com
aa3e1c5209 Added QueryInterface() implementation. 1998-11-20 18:04:57 +00:00
kin%netscape.com
939615bd74 Removed '_' from IID defines to conform to naming conventions used in nglayout. 1998-11-20 18:04:03 +00:00
kin%netscape.com
5c09bb55a3 Updated nsITransaction and nsITransactionManager to match current spec. 1998-11-20 00:43:07 +00:00
kin%netscape.com
cb2770d554 Added nsITransactionListener.h to list of EXPORTS. 1998-11-20 00:42:20 +00:00
kin%netscape.com
04793bfb50 Initial checkin of file. 1998-11-20 00:41:43 +00:00
kin%netscape.com
faef3ce058 Changed all occurrences of transactionManager to nsTransactionManager. 1998-11-19 21:58:58 +00:00
kin%netscape.com
6a9df623cb Renamed transactionManager.{cpp,h} to nsTransactionManager.{cpp,h}. 1998-11-19 21:51:57 +00:00
kin%netscape.com
cd3599254d Renamed files to nsTransactionManager.{h,cpp}. 1998-11-19 21:51:13 +00:00
kin%netscape.com
8176990870 Initial checkin of file. 1998-11-19 21:43:21 +00:00
kin%netscape.com
982dd9b3f2 Added stubs. 1998-11-19 02:05:16 +00:00
kin%netscape.com
c349f91c18 Updated documenation. 1998-11-19 01:40:53 +00:00
kin%netscape.com
b6be3cbd77 Fixed DEPTH entries. 1998-11-19 00:12:56 +00:00
kin%netscape.com
f619802272 Initial checkin of files. 1998-11-18 22:29:44 +00:00