Граф коммитов

2557 Коммитов

Автор SHA1 Сообщение Дата
jfrancis%netscape.com 71a198358a renaming variable to match coding guidelines; r=fm; sr=kin 2001-03-09 14:19:14 +00:00
jfrancis%netscape.com 6479cea88e 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 a204ffc70a Initial checkin of file. NOT PART OF THE BUILD! 2001-03-09 13:58:05 +00:00
cmanske%netscape.com 092b0af21f Missed file checkin as part of bug 67993, sr=sfraser 2001-03-09 01:47:18 +00:00
jfrancis%netscape.com bf6a0f6378 bug 57863: pasting multiple table cells outside of table doens't work. r=cmanske;sr=kin 2001-03-09 01:36:38 +00:00
hewitt%netscape.com 9c8c933d65 68480 - cleanup msgcompose toolbar menubuttons, r=cmanske/ducarroz, sr=hyatt 2001-03-09 00:01:55 +00:00
hewitt%netscape.com 222b18489c 66354 - editor image props dialog cleanup, r=cmanske, sr=hyatt 2001-03-08 23:39:49 +00:00
cmanske%netscape.com 22ff42aa90 Fixed problems in Advanced Edit dialog, b=67918, r=brade, sr=kin 2001-03-08 15:07:14 +00:00
cmanske%netscape.com 0c9c5b12d1 Removed registering of commands not used in plain text editor, b=67993, r=brade, sr=sfraser 2001-03-08 15:03:51 +00:00
disttsc%bart.nl aebc676048 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
timeless%mac.com 63a9571bee fix bug 64562 Some chrome dtd bugs [duplicate entities in dtds]
fixes from cjh@kr.freebsd.org r=jag, sr=jst
2001-03-07 11:28:42 +00:00
cmanske%netscape.com 1c6d9ac013 Fixed editor bugs 68064 and 70263. r=brade, sr=kin 2001-03-06 21:12:28 +00:00
jfrancis%netscape.com f89d314aee fix for 70602: selection not properly reset when joining nodes. {r,sr}={kin,sfraser} 2001-03-06 20:16:38 +00:00
cmanske%netscape.com d0cec09984 Checkin to fix bug 69851 for pedimont@us.ibm.com, r=cmanske, sr=kin 2001-03-05 15:41:39 +00:00
cmanske%netscape.com ba6e36a8bf Better error message, b=69560, r=robinf, sr=kin 2001-03-04 00:25:30 +00:00
kin%netscape.com d1b149c1ca Initial checkin of nsTransactionList.cpp and nsTransactionList.h.
NOT PART OF THE BUILD.
2001-03-02 15:18:56 +00:00
brade%netscape.com 2923c3eb03 stop propagation on drop over non-editable fields (unfortunately we have to additionally catch it in the drop since someone else might have accepted the drag for us); sr=kin 2001-03-02 14:11:55 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
blakeross%telocity.com 686e5a8010 UIEvent button property is incorrect according to the DOM2 spec. Changing values to 0, 1, 2 (left, middle, right mouse buttons respectively) from 1, 2, 3. |event.which| continues to use the old values for backwards compatibility. This affects future xbl, js, and c++ event button checks so please see the newsgroups for more info (60703). r=timeless sr=jst 2001-03-02 03:07:53 +00:00
jfrancis%netscape.com c1879e8f7a bug 30763: splitting mailcites in plaintext mail reply was broken. r=akkana; sr=blizzard 2001-03-02 00:08:20 +00:00
dprice%netscape.com 5184a7104b # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
cmanske%netscape.com 0bfc92fc61 For recent changes r=brade, sr=sfraser 2001-02-26 23:24:38 +00:00
cmanske%netscape.com 75322ff678 Forgot interface headers! DOH! 2001-02-26 23:21:37 +00:00
cmanske%netscape.com d2efc15e1b Make setting doc title undoable (add SetDocumentTitle transaction) b=60129, add export to text file, b=51798, some interface param changes to table editing methods as part of embedding work (b=66300). r=brade, sr=sfraser 2001-02-26 22:02:58 +00:00
cmanske%netscape.com ea5f6e6237 UI changes for export to text file (51798) and adding read-only DOCTYPE display in HTML Source (58650), and new command to update Recent Files menu (part of 60129). r=brade, sr=sfraser 2001-02-26 22:02:07 +00:00
cmanske%netscape.com f97df559ec Fixed table editing bug 63439. r=brade,jfrancis, sr=kin 2001-02-26 22:02:06 +00:00
cmanske%netscape.com 1bc8bfd119 Make setting <title> and <meta> contents undoable transactions. Part of bug 60129, r=brade, sr=sfraser 2001-02-26 21:51:44 +00:00
cmanske%netscape.com 44e403f9da Fixed Table dialog bugs 57206 and 69795. Cleanup up warinings in Insert Chars dialog. r=brade, sr=sfraser 2001-02-26 20:00:17 +00:00
brade%netscape.com 1f1cc70e80 fix copy/paste error in code logic (2 cmd_scrollPage* and no cmd_movePage*); r=akkana, sr=kin 2001-02-26 15:37:25 +00:00
blakeross%telocity.com 4c8a38b2d1 Making editor's |dont_AddRef| usages easier on the eyes (56033). r=timeless sr=scc 2001-02-26 00:28:58 +00:00
tao%netscape.com 9485f2f1b3 62171: "Separate content from UI". Split langenus.xpi into regus.xpi.
browser: (r=pchen,sr=alecf), mailnews: (r=yamamoto,sr=sspitzer),
editor: (r=cmonske,sr=sfraser), xpinstall (r=ssu,sr=dveditz).
2001-02-23 08:34:10 +00:00
blakeross%telocity.com 7273675bec Forced reload, stop button, ability to use bookmark keywords in Open Web Location dialog, persist window choice, .8 -> .9, moving things to more appropriate places (60498, 62078, 49773, others). r=timeless/jag sr=alecf 2001-02-23 03:31:46 +00:00
disttsc%bart.nl 744785129a 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
sfraser%netscape.com c1c6040849 Add SetDocTitleTxn.cpp for cmanske 2001-02-22 04:18:20 +00:00
waterson%netscape.com 2cd62f503b 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
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
brade%netscape.com ccb9d31167 comment out HideImage() which was moved (to fix blocker #69669) r=granrose 2001-02-21 19:13:14 +00:00
syd%netscape.com 955e5569e3 Fix for bug 67981. checking in for anatoliya@netscape.com r=cmanske, sr=kin 2001-02-21 00:34:04 +00:00
akkana%netscape.com 30644d14de 67337: Initial implementation of Tableize. r=aaronl sr=sfraser 2001-02-17 01:33:07 +00:00
cmanske%netscape.com 7ee9dd1694 No real code change: added comment to explain fix to bug 57206, r=brade, sr=kin 2001-02-16 21:10:01 +00:00
cmanske%netscape.com 00e45511df Part of fix for bug 57206, r=brade, sr=kin 2001-02-16 21:04:41 +00:00
blakeross%telocity.com 61e2ace39e Make tab and shift+tab move to the next and previous (focusable) elements for textfields (2083, 47282). r=brade sr=sfraser 2001-02-16 03:40:15 +00:00
cmanske%netscape.com cae8a8e18b Fixed Cell Properties navigation in dialog bug 68836. r=brade, sr=sfraser 2001-02-16 03:37:26 +00:00
cmanske%netscape.com be0c7b7e85 Fixed link properties bug 68064. r=brade, sr=sfraser 2001-02-16 03:36:03 +00:00
cmanske%netscape.com 94def0723f Fixed Spell Check dialog layout bug 57398. r=brade, sr=sfraser 2001-02-16 03:35:02 +00:00
cmanske%netscape.com d686044eb9 Fixed Spell Check dialog default button bug 56531. r=brade, sr=sfraser 2001-02-16 03:34:29 +00:00
cmanske%netscape.com 6874923b05 Fixed initializing widgets in prefs dialog, b=53275, r=brade, sr=sfraser 2001-02-16 03:33:27 +00:00
cmanske%netscape.com 1fce00819d UI for Insert Break, b=47545, r=brade, sr=sfraser 2001-02-16 03:33:07 +00:00
cmanske%netscape.com 0732a9c14e Fixed string truncation bug 68684; r=brade, sr=sfraser 2001-02-16 03:32:55 +00:00
cmanske%netscape.com bcdb23d0f4 Fixed Send Page bug 68197, Table Properties dialog bug 68835, Implement Insert Break (bug 47544); r=brade, sr=sfraser 2001-02-16 03:32:49 +00:00