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

677 Коммитов

Автор SHA1 Сообщение Дата
ducarroz%netscape.com 4e8eca6cab Mailnews performance branch landing... 2001-03-17 01:53:39 +00:00
racham%netscape.com 33be1443a1 Fixing bugs 66830, 68346, 71356. Fix to bug 66830 makes AccountCentral item display more dynamic based on server and protocol capabilities. Fix to bug 68346 makes the startup page appear once per account per mozilla session. Fix to bug 71356 fianlly makes the right biff sound to get played at the right time. r=gayatrib, sspitzer, bienvenu sr=sspitzer, bienvenu. 2001-03-14 02:32:04 +00:00
valeski%netscape.com 27feb04903 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api. and changing existing implementations over to new api 2001-03-13 01:59:19 +00:00
dougt%netscape.com c74c36c85e Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
varada%netscape.com bc6c0e45b7 fixes for bugs# 70615 70626;r=ducarroz;sr=mscott 2001-03-12 05:30:11 +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 8b43034cef 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
bryner%uiuc.edu 8b80c7c363 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
disttsc%bart.nl 277181c660 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
timeless%mac.com c5bb39e046 fix bug 49164 Secure IMAP on wrong port
fix by len@intelligenesis.net r=bienvenu, sr=mscott
2001-03-02 02:18:15 +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
racham%netscape.com 56dcc94128 Fixing busg 66460, 66442, 66447, 66376, 69358 and 69909. Bug 66460 - Check new mail at startup introduced. All the accounts with this option turned on will perform biff at startup. Bug 66442 - AccountCentral for alternate layout introduced. Bug 66447 - Modifying the AccountCentral header format. Bug 66376 - Read Messages link in AccountCentral fetches new mail. Bug 69358 - A performance improvement at startup. Bug 69909 - Fixing the AccountCentral headers broken by new stringbundle checkins. r=gayatrib, bienvenu, timeless, blakeross sr=sspitzer 2001-02-23 02:42:31 +00:00
timeless%mac.com 6c884ee071 fix bug 41083 Signature path not stored correctly when containing non-english characters
patch by alecf, updated by timeless and bz. r=sspitzer,alecf sr=mscott,alecf
2001-02-22 10:18:54 +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
dougt%netscape.com 128f95aa9b 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
naving%netscape.com 85c4d363cc 64751, 64753. sr =sspitzer, bienvenu. Adding Compact Folders feature to file_menu and Compact This Folder when
you right click on a folder. thanks to sspitzer and bienvenu for good review. Thanks to
david for providing nsMsgFolder::ListDescendents function and all the help.
2001-02-16 02:05:41 +00:00
dprice%netscape.com 997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 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.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
bienvenu%netscape.com ff1a4d77f3 fix one cause of 67989, meteors never stop spinning in mail news r/sr mscott/sspitzer a=brendan 2001-02-08 01:55:35 +00:00
naving%netscape.com 16e061b9c0 63300. r=racham, sr=bienvenu. Making IMAP folders case-sensitive and local folders
case-insensitive as done in 4x.
2001-02-06 23:17:26 +00:00
bienvenu%netscape.com 1434f87889 add support for limiting offline download size to base server class 15865 r=naving, sr=mscott 2001-02-03 17:43:24 +00:00
naving%netscape.com 583ec5dbac 25589. r=timeless, sr=bienvenu, sspitzer. Adding feature drag and drop of folder.
Thanks to sspitzer and david for good review.
2001-02-02 20:21:52 +00:00
gayatrib%netscape.com a583ea283e Fixes for bugs 41715 (filter ui: launch to selected account in folder pane) and 62106 (double click filter doesn't open for editing). Review/super review sspitzer and bienvenu. 2001-02-01 07:26:38 +00:00
bienvenu%netscape.com c8049d1889 add support for downloading all msgs for offline r=naving, sr=sspitzer 15865 2001-01-31 20:34:12 +00:00
sspitzer%netscape.com 14753e4abf fix for #67095, disable news biff by default, and allow us to
default biff (on or off) on a per protocol basis.
r=racham, sr=bienvenu.

turning news biff off will help us to stop pounding news.mozilla.org
2001-01-31 20:25:33 +00:00
gagan%netscape.com 79713bc4c2 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
dbaron%fas.harvard.edu c55ef35a27 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:31:15 +00:00
bienvenu%netscape.com 685b5860d3 fix saving of imap pending unread counts r=sspitzer,naving, sr=mscott 66580 2001-01-26 00:14:10 +00:00
dougt%netscape.com 5235e3266f backing my ass out. These changes were meant for my branch, not the trunk. sr-leaf 2001-01-25 22:07:38 +00:00
dougt%netscape.com d82f5acc6e updating to new necko interfaces 2001-01-25 21:44:59 +00:00
bienvenu%netscape.com 4bf1e5a1ff add error code to unknown error alert for diagnosis purposes r=sspitzer, sr=mscott 57057 2001-01-25 15:49:04 +00:00
mkaply%us.ibm.com 7b5309f180 No bug
r=jkobal, a=blizzard
Remove XP_OS2 codepath so Templates and Unsent Messages work
2001-01-24 00:50:14 +00:00
darin%netscape.com 6a7567992b Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
racham%netscape.com 3bd146e8d8 Fixing bugs 14301, 29745, 46450, 60668 and 63251. Fixes to bug 63251 includes introduction os new AccountCentral page. When user selects an account in the folder pane of the messenger, AccountCentral page is displayed inplace of threadpane and messagepane. This page contains links to various account related activities like read, search, compose messages and others. Bugs 14301 and 60668 are fixed so that we logon to the default account all other accounts that have been asked to login at startup. Fix to bug 29745 displays customized email description text on AcctWizard identity page. r=sspitzer sr=bienvenu 2001-01-23 21:54:34 +00:00
mkaply%us.ibm.com 0cddd31ff7 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names
2001-01-18 15:35:00 +00:00
bienvenu%netscape.com b1aaa4d191 rearrange column setting and getting code as part of offline support, also fix phantom msg counts r=naving, sr=mscott 2001-01-18 00:58:37 +00:00
bienvenu%netscape.com aaf3888a41 add offline msg display r=sspitzer, sr=,mscott 41751 2001-01-13 15:31:30 +00:00
bienvenu%netscape.com 006ca960b7 add compact offline store method, part of 15865 r=sspitzer, sr=mscott 2001-01-11 14:40:50 +00:00
bienvenu%netscape.com c8c915bd95 add setter for mem cache entry so we can clear it out r=sspitzer, sr=mscott 2001-01-11 04:05:18 +00:00
mscott%netscape.com e1d9a0bf74 Bug #54373 --> make relative links work in the message pane by enabling the ability
to resolve URLs.
sr=bienvenu
2001-01-10 03:37:42 +00:00
bienvenu%netscape.com a844d5f7f1 stop biff from putting up alerts when server down r=naving,sr=mscott 59802 2001-01-09 23:02:47 +00:00
bienvenu%netscape.com e1680af5b8 whoops, didn't mean to check that in 2001-01-08 19:19:22 +00:00
bienvenu%netscape.com c06b5f0b5f fix 64456, cache file stream when updating multiple local messages, r=sspitzer, sr=mscott 2001-01-08 19:18:22 +00:00
bienvenu%netscape.com a008c5a045 more work on newsgroup hdr purging sr=sspitzer 17217 2001-01-05 04:40:27 +00:00
nhotta%netscape.com 8de62518a5 Added override field to db to support folder level charset override, bug 39756, r=sspitzer, sr=bienvenu. 2001-01-04 22:13:56 +00:00
sspitzer%netscape.com e2955b1ba8 make the message view persist on a per folder basis. (#63853)
make it so you can view "threads with unread".  (#52927)
threaded and unread are no longer mutually exclusive.

later, I'll add "unread threaded" which is no the
same thing as "thread with unread".

fix the nsMsgMessageDataSource() to ask the view, thread or msg database for existance of messages, instead of getting an enumerator for all messages, and seeing if it is non empty.  more performance work on the way.

move enums from MailNewsTypes.h to MailNewsTypes2.idl, so that I can use the same ones from JS and C++.

sr=bienvenu
2001-01-04 00:12:36 +00:00
bienvenu%netscape.com b1208e5479 work on offline disk space mgmt sr=ssptizer for mscott 17217 2001-01-01 22:00:17 +00:00
bienvenu%netscape.com 6f2568e88f more work on reading offline news, sr=sspitzer for mscott 15870 2000-12-29 22:49:05 +00:00
sspitzer%netscape.com 923fe95a7a fixes for #57912, #14295, #14301
1) add ui and backend support for "log into this account at startup".  all that is missing is the code to actually do the logging in at startup.  that comes next.

2) hide the user name for news servers in the account manager.

3) fix ui to allow users to edit the username and hostname for a server, but disable it until the back end can handle a live swap of those values.

sr=bienvenu
2000-12-22 23:32:32 +00:00