Commit Graph

120 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
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
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
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
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
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
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
briano%netscape.com
40320c9f41 General cleanup. 1999-09-11 01:20:05 +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
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
4c8dbecd07 Changed GetUndoString() and GetRedoString() to use nsString *. 1999-05-27 20:50:05 +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
warren%netscape.com
c289c670cd Added Write(nsIInputStream) and Flush to nsIOutputStream. 1999-04-22 07:31:03 +00:00
jband%netscape.com
01475d8a25 fixed typo so no extra .pdb files get left behind 1999-04-06 00:10:10 +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
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +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
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
kin%netscape.com
6b7560f829 Removed all references to ServiceManager, we now rely on nsRepository directly. 1999-02-12 16:57:55 +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
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
mcafee%netscape.com
5f96195848 Removed hard-coded link line, use the one in rules.mk instead. 1999-01-22 10:03:32 +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
kin%netscape.com
8344827a20 Added tests for SetMaxTransactionCount(). 1998-12-15 02:11:53 +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
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
jfrancis%netscape.com
9c135b8f7a more preperation for adding tx mgr stuff to mac build 1998-12-11 19:25:48 +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
dfaac710fa Added aggregation_test(), stress_test(), and aggregation_stress_test(). 1998-12-09 19:28:58 +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
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
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
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
jfrancis%netscape.com
9957a55260 First Checked In. 1998-11-25 00:33:59 +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
2bbdbbe8de Quick test to see if the first pass transaction manager code is working. 1998-11-21 01:21:14 +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
b9d9887672 Initial checkin of files. 1998-11-20 18:36:05 +00:00