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

1119 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com b93fab61f7 Remove obsolete files 2000-03-18 18:36:13 +00:00
mscott%netscape.com 5394231758 build idl version of nsIImapUrl.idl
r=bienvneu
2000-03-18 18:36:06 +00:00
mscott%netscape.com 4335aa3455 Use our new scriptable version of nsIImapUrl.idl and make the .h version obsolete.
r=bienvenu
2000-03-18 18:35:54 +00:00
mscott%netscape.com 012f6835c8 Use scriptable version of nsIImapUrl 2000-03-18 18:35:53 +00:00
dougt%netscape.com 8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
mscott%netscape.com 3a07f7ef36 **NOT Part of the build yet**
Here's a fully scriptable version of nsIImapUrl. We used to only have a .h file
for this interface. When this file is part of the build,nsIImapUrl.h will become
obsolete.
2000-03-17 07:08:53 +00:00
bienvenu%netscape.com f6ca95bef5 fix problems cancelling imap logon, fix handling of marking deleted messages read r=mscott,jefft 2000-03-17 00:52:03 +00:00
jdunn%netscape.com 98ac40c70e removing redundant ;; to fix AIX build 2000-03-15 23:31:39 +00:00
jefft%netscape.com dd2accbee8 fixed unnecessary database loading when building folder view; r=bienvenu 2000-03-15 06:26:31 +00:00
mscott%netscape.com 96fce242e1 Force all copy related objects to only get executed on the UI thread instead of the imap thread.
r=bienvenu
2000-03-15 02:00:27 +00:00
jefft%netscape.com 9cdfa6fef7 fix bug 30784 - save messages / attachment with bogus path name failed sliently; this is bad if user think save was successful then followed by a delete and compact; we will have a data loss here 2000-03-14 13:54:42 +00:00
jefft%netscape.com 489aa96a47 fix bug 27396 - shouldn't display error message when selecting uw folder-only mailbox, 28301 - failed to store/read folder flags from folderInfo, 28916 - need to handle /NoSelect folder as 4.x does; r=bienvenu 2000-03-14 13:37:54 +00:00
gagan%netscape.com 583ed3e9c4 Fix for 30385. We were leaking channel due to the no longer needed "proxy channel" by the cache transport (mem cache) 2000-03-14 03:20:26 +00:00
rickg%netscape.com 7a722be971 replaced calls to deprecated string methods 2000-03-12 21:36:35 +00:00
bienvenu%netscape.com e1eea71612 change default for fetching by chunks if pref is not specfiied 31191 2000-03-11 19:45:56 +00:00
putterman%netscape.com 36a0950773 a=phil. r=jefft and mscott. Fix for 30918. Can now move messages from imap to local
and local to imap.
2000-03-09 04:17:02 +00:00
sspitzer%netscape.com ae9d88e477 bulletproofing fix for #30937. r=mscott a=jar. don't crash if the imap server goes away. 2000-03-08 05:04:14 +00:00
sspitzer%netscape.com daa66da4ed bulletproofing fix for #30937. r=mscott a=jar. don't crash
if the imap server goes away.
2000-03-08 04:17:05 +00:00
mscott%netscape.com ee46900da4 fix assertion problems related to the thread macro by adding a routine to prxoy the imap url to the ui thread
for release. this ensures that the objects held onto by the imap url are released and destroyed on the ui thread.
r=bienvenu
a=jar
2000-03-07 06:40:41 +00:00
mscott%netscape.com 5444f29e24 fix assertion problems related to the thread macro by adding a routine to prxoy the imap url to the ui thread
for release. there is also a lot of white space changes to this file so don't be alarmed.
r=bienvenu
a=jar
2000-03-07 06:39:10 +00:00
mscott%netscape.com 9d0e84f49d fix assertion problems related to the thread macro by adding a routine to prxoy the imap url to the ui thread
for release
r=bienvenu
a=jar
2000-03-07 06:38:30 +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
bienvenu%netscape.com 07efd04099 fix 28203 handle bad password error from logon redirection a=chofmann, r=mscott 2000-03-05 03:04:23 +00:00
mscott%netscape.com a6d6fc0f6a Bug #30102 --> don't logoff the external login requestor
if we succeeded in the request...we want to cache the requestor
 for the session.
r=amusil
a=daver
2000-03-03 06:29:58 +00:00
jefft%netscape.com 4cb964ecf5 fixed bug 29746 - startup imap folder cache bypassed; reset online folder name should only happen when rename; a=phil,r=bienvenu 2000-03-02 03:21:15 +00:00
jefft%netscape.com 8142d351ad fixed bug 25988 -- IMAP Subfolders appearing at 1st level instead of 2nd level; bug 26061 -- Rename a pop3 folder and its subfolders disappear; a=phil,r=bienvenu 2000-03-01 05:17:53 +00:00
bienvenu%netscape.com 38aeed8620 fix utf7 encoding of folder names whose last char is non-ascii, r=jefft a=phil 26745 2000-03-01 03:58:53 +00:00
mscott%netscape.com 4bed2407e9 Bug #29650 --> add a cache stream listener which can mediate between the cache channel and the mock channel
when broadcasting onstart/on stop, etc. notifications to the end consumer
r=bienvenu
a=phil
2000-03-01 03:10:06 +00:00
jefft%netscape.com 2c5ea9d2a5 fixed bug 28445 - [PDT+] Error displayed after selecting the renamed subfolders; bug 20366 - Unsuccessful IMAP folder rename makes folder disappear; r=bienvenu,a=phil 2000-02-29 01:16:55 +00:00
mscott%netscape.com 2d70636dd5 Bug #23788 --> in order for the logon redirector to work for smtp and imap we need to pass in a service ID request
token.
r=bienvenu
a=phil
2000-02-27 01:11:13 +00:00
putterman%netscape.com 5f45c92152 a=phil. r=bienvenu. More work on 26456, speeding up Imap mail folder loading by
reusing dbhdr in syncflags.
2000-02-26 20:48:14 +00:00
sspitzer%netscape.com 09b7b9db4f fix for #26773, alert when there is a network error in mailnews. r=mscott, a=phil 2000-02-26 01:04:50 +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
bienvenu%netscape.com 408197527f part of fix for 28891 r=mscott, a=phil 2000-02-25 01:19:13 +00:00
bienvenu%netscape.com c8bac6b070 fix logon referral stuff to put up error messages and reprompt a=phil,r=mscott 28201 28203 2000-02-24 04:27:16 +00:00
jefft%netscape.com d7de82e4e7 fixed bug 28445, 26547, 26657, 25988 - failed to set server directory separator correctly; r=bienvenu, a=phil 2000-02-23 20:31:11 +00:00
bienvenu%netscape.com 768775fb2a null terminate cookie coming back from logon redirection, a=phil,r=mscott 18920 2000-02-22 03:01:04 +00:00
mscott%netscape.com fdf6596edd Bug #28099 --> turn on imap ssl. Part of this code was written by pavlov. I needed to examine the greeting
from the server and if the server told us we were in the pre-authenticated state, then we should move directly to
our authenticated state on the client. Pav added code to detect if the server is supposed to be secure and if it is,
to create a ssl socket transport.
r=jefft,bienvenu,pavlov
a=phil
2000-02-18 21:28:25 +00:00
jefft%netscape.com 3122359680 fixed bug 27759 -- Empty Trash breaks trash folder display; r=bienvenu,a=phil,chofmann 2000-02-17 06:03:55 +00:00
bienvenu%netscape.com c7135c3496 use msf file spec as key for panacea.dat, r=sspitzer 26977 2000-02-16 05:06:37 +00:00
bienvenu%netscape.com 24e403ac8e more work for logon referral, r=mscott (+ backout inadvertent checkin to nsImapMailFolder.cpp 2000-02-16 00:53:43 +00:00
putterman%netscape.com de272ba0ac Fix for 21469. r=jefft. Deleting a message in a thread now goes to the next message and scrolls
to it so that you don't lose your place in the thread pane.  More work on 26456.  r=alecf.
Some performance improvements for loading folders by speeding up building up a uri.
2000-02-16 00:39:23 +00:00
rhp%netscape.com 0d5876b1d2 Changes to implement printing correctly - Buf #12505 - r: jefft 2000-02-15 23:05:06 +00:00
bienvenu%netscape.com 57807b6a9f logon referral code, r=mscott,jefft 2000-02-15 22:22:57 +00:00
bienvenu%netscape.com cb3ebd6620 add nsIMsgLogonRedirector.idl 2000-02-15 15:37:45 +00:00
bienvenu%netscape.com de9bd2fa96 add logon requestor interface r=amusil" 2000-02-15 07:05:27 +00:00
jefft%netscape.com 1cc80e8dba partial checkin for bug 24740 - namespaces and acl for imap account; r=bienvenu 2000-02-11 15:36:34 +00:00
jefft%netscape.com 2852f3fc6b partial check in for bug 24740; check for non-empty namespace for public & other users when reading from the pref; r=bienvenu 2000-02-11 05:23:01 +00:00
bienvenu%netscape.com 25d1996511 add nsIMsgLogonRedirector,r=phil 2000-02-11 01:36:41 +00:00
bienvenu%netscape.com 373d59125c fix 26246 problem reading aol imap mail, just a typo 2000-02-10 06:56:22 +00:00
bienvenu%netscape.com 97b6ba7b3d msg logon redirector, NOT PART OF BUILD 2000-02-10 03:44:39 +00:00
bienvenu%netscape.com 7bd6982e23 add support for unicode error and status messages, fix non-latin1 folder names at startup, r=jefft 26596 2000-02-09 06:48:21 +00:00
jefft%netscape.com 0c7c21b07d fixed bug 23322 -- [IMAP] freeze on folder/ in .mailboxlist; r=bienvenu 2000-02-08 15:49:52 +00:00
alecf%netscape.com 8b80d95351 don't access mFolder directly, instead go through base class
r=putterman
2000-02-08 06:00:57 +00:00
mscott%netscape.com 2a539efa45 Optimize our use of monitors in this class because it gets called from multiple threads. This means
using nsAutoCMonitor instead of NS_LOCK/UNLOCK_INSTANCE. I also went through and removed the locks from
methods which are only called from one thread.
r=bienvenu.
2000-02-08 01:36:07 +00:00
bienvenu%netscape.com 85ee28a198 more fixes for double byte folder names, including create and rename, r=putterman,jefft 2000-02-08 01:20:00 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
jefft%netscape.com 015ed59aa6 fixed bug 14893 - undo/redo should enable only when it is available; bug 23089 - selecting undo after delete cause trash folder to load; r=rhp 2000-02-07 15:15:14 +00:00
bienvenu%netscape.com ece14626a0 allow creation of folders with double-byte characters r=putterman, 26745 2000-02-07 00:20:37 +00:00
sspitzer%netscape.com 72d8e4bf7a be consistent with how we define the incoming server prog ids. add a debugging
printf (for me only).  r=alecf
2000-02-06 06:51:24 +00:00
bienvenu%netscape.com 3606781335 use imap utf7 internally, fixes unicode folder names, r=jefft 2000-02-05 01:22:29 +00:00
bienvenu%netscape.com 0decdacb6c fix unicode folder name handling, user name escaping, r=jefft 7130 and 25476 (for real this time, last checkin was wrong) 2000-02-04 05:52:32 +00:00
bienvenu%netscape.com abcdfec4c5 fix unicode folder name handling, user name escaping, r=jefft 7130 and 25476 2000-02-04 05:09:19 +00:00
pp%ludusdesign.com d8d073bd7c Conversion of ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-04 00:39:15 +00:00
mscott%netscape.com 99adf6984f Bug #26274 --> fix infinite loop when SendData generates an error. TellThreadtoDie only calls SendData if the
socket is still open. Some minor optimizations to some monitors by using nsAutoCMonitor.
r=bienvenu,jefft
2000-02-04 00:15:24 +00:00
jefft%netscape.com 342229275a fixed bug 26169 -- Sending message appears to fail if the Sent folder not yet parsed; r=scottip 2000-02-03 23:40:09 +00:00
jefft%netscape.com dee555546a fixed bug 24667, 22349, 23588, 24715 - default folders not working with Cyrus server; r=bienvenu, mscott 2000-02-03 05:43:03 +00:00
sspitzer%netscape.com 96a0249281 change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott
2000-02-03 05:01:42 +00:00
mscott%netscape.com dc3d75621c small performance tweak...we were getting the proxy manager service 3 times in SetupSinkProxy. I'm just
fetching it once and re-using it.
r=bienvenu
2000-02-03 04:56:41 +00:00
jefft%netscape.com 9ae0c201e0 fixed bug 24667, 22349, 23588, 24715 - default folders not working with Cyrus server; r=bienvenu, mscott 2000-02-03 04:35:45 +00:00
valeski%netscape.com 41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
bienvenu%netscape.com e85a06c8ad create temp file for mesage upload in temp directory, r=jefft, 23444 2000-02-03 01:28:47 +00:00
mscott%netscape.com b3309467eb Bug #25570 --> imap unable to show msg bodies containing 8-bit data.
this was a dumb problem where we were setting m_connectionStatus
to be the value of the character returned in the create new line
buffer...if the character happened to be an 8-bit character,
we would actually set the connection status as a negative number...
r=bienvenu
2000-02-02 05:47:09 +00:00
sspitzer%netscape.com e39c42f4fd migrate the "mail.imap.server.<hostname>.server_sub_directory" pref from 4.x
and add serverDirectory to the nsIImapIncomingServer interface, and hook up the advanced imap server ui to use it. r=alecf
2000-02-01 06:51:07 +00:00
ducarroz%netscape.com 4f851be879 fix part of bug 25949, update project path for compatibilty with CW Pro 5. R=n/a 2000-02-01 01:53:01 +00:00
jefft%netscape.com 228ad2d0a9 Fixed bug 18565 -- Single sing on for Pop3 and Imap; passing in nsIMsgWindow for nsIPrompt 2000-01-29 15:53:14 +00:00
jefft%netscape.com eed8bf4e25 partial fix for bug 20366 - imap rename problem, bug 24749 - need to make sure namespace, acl works on cyrus server;staged checkin 1; r=bienvenu 2000-01-28 15:38:16 +00:00
jefft%netscape.com b91993b68b partial fix for bug 20366 - imap folder rename problem; prevent rename crash if parent is null 2000-01-28 15:35:15 +00:00
sspitzer%netscape.com d2866d5a80 add a #define for the secure imap default, and move the #defines for news ports out of core and into the right place. 2000-01-28 09:06:33 +00:00
alecf%netscape.com 1fd07b7033 prepare to eliminate getcurrentserver
just a test, no reviewers
2000-01-28 08:57:46 +00:00
bienvenu%netscape.com c13a9dce89 add nsIMsgWindow to a bunch of apis so we can stop urls, r=putterman 2000-01-28 01:22:33 +00:00
mscott%netscape.com 3effa8834b Bug #23891 --> remove some extra locks in IsImapThreadRunning which are unnecessary.
This helps relieve a contention problem in this bug.
r=bienvenu
2000-01-28 01:20:42 +00:00
bienvenu%netscape.com 43eef5cdf0 add hierarchy delimiter to CreateClientSubfolderInfo, fixes cyrus sub-folders, r=jefft 2000-01-28 00:41:20 +00:00
bienvenu%netscape.com 58d6d989ad override online server name in db if server gives different case r=sspitzer, part of 24631 2000-01-27 02:50:59 +00:00
bienvenu%netscape.com 63fa5073bc fix for blocker 25076 r=rhp 2000-01-26 16:50:38 +00:00
bienvenu%netscape.com 200958b425 fall back on uri if online name not set, r=sspitzer 2000-01-26 15:27:04 +00:00
sspitzer%netscape.com b18624d734 clean up nsIMsgFolder.idl and break it apart. r=alecf 2000-01-26 10:00:00 +00:00
sspitzer%netscape.com 39b8bcbe3e added files: mozilla/mailnews/imap/public/nsIMsgImapMailFolder.idl 2000-01-26 09:58:57 +00:00
sspitzer%netscape.com d6ed37c13f I'm taking this out of nsIMsgFolder. not part of build yet. 2000-01-26 09:50:06 +00:00
alecf%netscape.com c0c5561c87 remove some dead/redundant code
r=sspitzer
2000-01-26 08:28:16 +00:00
sspitzer%netscape.com 10dd4bd9d3 clean up / simplify how we determine if two folders are on the same server.
instead of comparing the username / hostname, we use the Equal method
of nsIMsgIncomingServer and compare the servers of the folders.

also, use nsXPIDLCString to clean things up.

r=mscott
2000-01-26 06:40:05 +00:00
bienvenu%netscape.com 9f4009bcfc fix build warning 2000-01-26 06:13:32 +00:00
bienvenu%netscape.com 12fccea128 use online name instead of db name for imap folders, r=sspitzer 24631 2000-01-26 06:05:42 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
mscott%netscape.com 3f81da7c45 Bug #24274--> when creating a new channel, if we don't have a mock channel,
return an error instead of NS_OK.
r=bienvenu,travis
a=chofmann
2000-01-20 03:55:25 +00:00
bienvenu%netscape.com b76cc82188 fix copying multiple msgs from local folder to imap r=jefft,mscott a=chofmann 24384 2000-01-19 22:25:53 +00:00
bienvenu%netscape.com bcc30623c6 fix online to offline move to delete source headers, r=mscott 2000-01-19 01:28:16 +00:00
alecf%netscape.com 92cc754390 use the right port when constructing the IMAP url
r=mscott
2000-01-18 22:43:58 +00:00
bienvenu%netscape.com dc6da4bc94 add ability to copy multiple imap messages efficiently, r=jefft,mscott 23302 2000-01-18 22:33:35 +00:00
alecf%netscape.com 79b4912975 allow imap to support port numbers in the pref file
r=mscott
bugged by=pavlov
2000-01-18 02:34:08 +00:00
sford3%swbell.net b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
alecf%netscape.com 8cf359a674 back my changes out 2000-01-14 22:53:16 +00:00
alecf%netscape.com 523131d38d fix usages of GetPreHost so that local/imap/news folders can be displayed
a=granrose
2000-01-14 20:17:14 +00:00
alecf%netscape.com 151c9ac450 make the mail notification systems use nsIAtoms instead of char*s, and add capability to notify on PRUnichar* data that changes
(in preparationfor #19079)
r=scottip
2000-01-14 09:01:39 +00:00
bienvenu%netscape.com 3113769c3f fix box spec memory leaks, mismatched free r=mscott 2000-01-14 01:02:57 +00:00
alecf%netscape.com ad1c3f61c3 fix compiler bustage
r=mscott
2000-01-13 23:43:46 +00:00
mscott%netscape.com df476382d9 Landing imap integration with the memory cache!! *Yeah*
Bug #23491 --> add memory cache support for imap urls.
Bug #23325 --> fix a crasher...only try to find a folder if we have a folder name
r=bienvenu
2000-01-13 04:54:23 +00:00
bienvenu%netscape.com e07fcecffc fix solaris build bustage 2000-01-12 23:48:35 +00:00
sspitzer%netscape.com a39617cb0f after all my bitching, I goofed and made it so for a new imap server, the copies and folders prefs defaults to the imap server, and not local folders.
fix #21237
2000-01-12 22:18:50 +00:00
bienvenu%netscape.com 5b392de1c5 remove obsolete file 2000-01-12 22:07:53 +00:00
bienvenu%netscape.com 4937f4c8bb remove obsolete folder sink proxy 2000-01-12 21:59:10 +00:00
bienvenu%netscape.com 0ef6b2b69a add idl for mailbox spec and mail folder sink, r=mscott 2000-01-12 21:42:19 +00:00
bienvenu%netscape.com 36136bf490 add nsIIMailboxSpec, nsIImapMailFolderSpec.idl,r=mscott 2000-01-12 21:41:23 +00:00
bienvenu%netscape.com f89d9339f3 folder sink idl, not part of build yet 2000-01-12 03:30:21 +00:00
bienvenu%netscape.com 4a6b816bca first entry into cvs, not part of build 2000-01-12 00:24:26 +00:00
sspitzer%netscape.com 9ca75194ad fix for bug #23457. when we create a new account, set the copies and folders prefs for the associated identity to the right defaults.
added to the nsIMsgProtocolInfo interface defaultCopiesAndFoldersPrefsToServer,
which we use to see for a given server type, do the defaults live on the server
or not (where not would mean "Local Folders").

fix the getFoldersWithFlag method in the nsIMsgFolder interface so it
would be easier to use in JS.

r=alecf
2000-01-11 08:01:37 +00:00
bienvenu%netscape.com eeceb110d7 remove unneeded include 2000-01-11 06:15:31 +00:00
pavlov%netscape.com 97d562dc92 check for null before calling into a method of the object r=dmose 2000-01-11 06:11:12 +00:00
bruce%cybersight.com 7d37b23a32 Real fix for the Solaris bustage. 2000-01-11 06:06:29 +00:00
bienvenu%netscape.com fd8894dec9 add include of nsIEventQueue.h 2000-01-11 05:57:45 +00:00
bienvenu%netscape.com 9c7d36144c fix build bustage 2000-01-11 05:51:14 +00:00
bienvenu%netscape.com f018c66b93 add include of prmon.h to fix build bustage 2000-01-11 02:50:46 +00:00
bienvenu%netscape.com 76d996686e removing in favor of idl file,r=mscott 2000-01-11 02:28:29 +00:00
bienvenu%netscape.com 298d239019 convert nsIImapProtocol.cpp to idl,r=mscott 2000-01-11 02:27:43 +00:00
bienvenu%netscape.com 5fbdf449f1 add nsIImapProtocol.idl,r=mscott 2000-01-11 02:27:17 +00:00
bienvenu%netscape.com d6cdc6cbd7 make nsIImapProtocol scriptable, r=mscott 2000-01-11 01:18:56 +00:00
rpotts%netscape.com 023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
sspitzer%netscape.com da6aaee871 fix #23372, remove hard coded string from account manager and account wizard
js.  fix #23313, don't allow user to delete "local folders" account.
fix #23413, implement delete account.  further divorce "none" from "pop3"
(which will be useful once we get to movemail and other incoming mail server types)

r=alecf
2000-01-08 04:01:06 +00:00
alecf%netscape.com 7267aa24f9 minor dependancy cleanup 2000-01-08 03:40:54 +00:00
bienvenu%netscape.com 28d0c22ed9 add folder listing, support for imap extensions, fix prob deleting from trash,r=mscott 2000-01-08 01:38:34 +00:00
bienvenu%netscape.com 5fdf30d156 add folder listing support,r=mscott 2000-01-08 01:36:05 +00:00
sspitzer%netscape.com c40113f7f6 fix bug #23317. when using the account wizard, check the
protocol info to see if username is required and how to preflight
the pretty name.  (news does it different than imap and pop.)

to help the insane clown posse, create a string bundle to be used
by the account wizard.

fix the bug that I just introduced where creating accounts
would fail at the very end, so the folder pane would fail to refresh.

r=alecf
2000-01-07 07:49:37 +00:00
mscott%netscape.com c3b5f82457 Bug #17065 --> remove our hack in CreateNewLineFromSocket on Unix. This hack was in place
as a work around for the fact that events were getting processed on the wrong threads. dougt
fixed this problem for us. So we don't need this work around which was forcing us to spike the cpu.
r=bienvenu
2000-01-06 23:44:41 +00:00
mscott%netscape.com 852a74f10d Fix a rare crash when displaying imap messages. Don't remove the mock channel from the url
on the imap thread. Why? Because this causes the channel to be removed from the load group
which triggers a chain of UI notifications that should be on the UI thread and not the imap thread.

r=bienvenu
2000-01-06 21:24:03 +00:00
jefft%netscape.com 9c5b3edc9f remove shadow variable; r=bienvenu 2000-01-06 14:25:04 +00:00
mscott%netscape.com 134f73a40c DisplayMessage now takes in the nsIMsgWindow
r=bienvenu
2000-01-06 00:47:58 +00:00
mscott%netscape.com baaffcdc83 Bug #22960 --> push data in 1.5K chunks into the channel listener
r=bienvenu
2000-01-06 00:44:17 +00:00
waterson%netscape.com 0d805d4978 Fix message loading. nsXULDocument expects the GetPrincipal() method to -not- fail, so instead, return a null principal. 2000-01-05 22:55:04 +00:00
bienvenu%netscape.com 81f77c0efc fix crash reading mail after deleting inbox.msf file, r=jefft 2000-01-04 15:58:54 +00:00
putterman%netscape.com 823521f8ff Fixes 22570. r=alecf. Use base class mPath so that counts show up correctly. 2000-01-03 23:43:05 +00:00
dougt%netscape.com 528b809112 Including nsString.h directly. It is included indirectly by nsFileSpec. This
prep work for the nsIFile landing.
2000-01-03 23:16:47 +00:00
rpotts%netscape.com c9377dd1ab fix to prevent a crash when displaying IMap messages... nsXULDocument::StartDocumentLoad(...) calls GetOriginalURI(...) which returned null - this was bad. 1999-12-29 04:58:46 +00:00
bienvenu%netscape.com 158dfd5122 performance enhancement for deleting messages and diddling flags,r=jefft,mscot,ta=syd 1999-12-22 04:32:18 +00:00
bienvenu%netscape.com 199c7dc97f fix progress for msg load, slight performance tweak,r=mscott,a=syd 1999-12-22 04:30:35 +00:00
sspitzer%netscape.com e8a4061a40 warnings fixes, and fix for #21901, all password dialogs to have titles
if the user passes one in, or use "Password" if they pass null.
1999-12-21 23:03:29 +00:00
jefft%netscape.com 624d8a50ea fixed bug 21670 -- read mail crashes on particular message (HP-UX); r=mscott,a=chofmann 1999-12-20 14:54:17 +00:00
alecf%netscape.com fe72f1219a move GetPath/SetPath into a base class, combining all the .sbd directory creators. reduces calls to FindServer() by about 2 calls per folder
r=sspitzer
a=chofmann
1999-12-18 01:09:51 +00:00
bienvenu%netscape.com b6affc07ea fix 19229, imap hierarchy separator,r=jefft,a=chofmann 1999-12-17 03:06:42 +00:00
bienvenu%netscape.com a0423f36a7 fix problem applying multiple imap filter hits r=mscott,a=chofmann 21435 1999-12-13 02:24:13 +00:00
bienvenu%netscape.com 7eba3ad2da fix for stop in mailnews,r=mscott,a=chofmann 18242 1999-12-12 01:23:26 +00:00
bienvenu%netscape.com 91c22f9f57 fix imap reply quoting, r=mscott,a=chofmann 21217 1999-12-09 02:19:30 +00:00
bienvenu%netscape.com 49f8f78d79 fix problem with extra .msf tacked on db names for imap r=mscott 1999-12-07 22:04:12 +00:00
bienvenu%netscape.com b4e61f2f13 fix msf file names for imap folders with illegal characters, r=mscott 20324 1999-12-07 05:51:53 +00:00
jefft%netscape.com 1438c6a790 possibly fix bug 20230, save template requires canonical line ending when uploading to an imap server; r=rhp; 1999-12-06 15:40:24 +00:00
sspitzer%netscape.com 862031a04c remove CanBeRenamed and CanCreateChildren. In most cases, these weren't
implemented or they were just stubs.  I added CanRename and CanCreateSubfolder
(which follow the naming convention, so we'll keep them) without knowing these were there.  I move over the additional logic for special folders (like INBOX, TRASH, etc) in CanBeRenamed to CanRename, and put the logic in one place, in nsMsgFolder::CanRename(), instead of in multiple places.  thanks to alecf for pointing out that CanBeRenamed and CanCreateChildren were already there.
1999-12-04 19:56:06 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
alecf%netscape.com 79f24d5d40 move SetParent call to earlier in the subfolder creation process so that the folder has a parent much earlier. This allows us to benefit from the lazy URI parsing I just checked in.
r=sspitzer
just some cleanup work after the previous checkins to fix #20706
1999-12-04 03:08:03 +00:00
sspitzer%netscape.com 91d20aadc4 fix for #17402, stationary -> stationery.
r=alecf

major fixes for the new folder / rename folder / subscribe dialogs.
we no longer use an html select for the folder picker.
now we use cascading menu popups, like the copy and move menus.
this fixes a lot of bugs, and allows pre-flighting to finally work.

our folder data source has some new properies:
CanFileMessages, CanSubscribe, CanRename, and CanCreateSubfolders
we use these to determine what cascading menu to build, what to disable, etc.

also, nsMessenger::NewFolder() and nsMessenger::RenameFolder() were changes to
take a nsIRDFResource instead of a nsIDOMXULElement.  Before we were
passing through to the back end the selected xul element, now we pass
the resource in.

other cool side effects:
in the copy & move menus, you don't get the choice to file or copy to a server, on folders
in the rename dialog, you can't pick a server, on a folder
in the new folder dialog, you can't pick the imap inbox. (* more needs to be done here.)

bugs fixed: #14773, #14254, #20599, #20646
r=alecf

a couple bullet proofing fixes to prevent some crashes reported on fullcircle
r=bienvenu
1999-12-03 08:10:09 +00:00
bienvenu%netscape.com 4d6f4037a2 fix crash creating top level imap folder r=rhp, 20349 1999-12-03 06:31:08 +00:00
jefft%netscape.com a4a163266a fixed bug 12929 & bug 20415 - imap rename/delete/move folder should reset the connection to authenticated state; imap empty trash didn't delete subfolders; r=bienvenu 1999-12-03 05:59:57 +00:00
alecf%netscape.com 36e9c23dd2 remove an unused header (no reviewer) - speeds up dependancy builds 1999-12-03 03:46:47 +00:00
alecf%netscape.com abbd8c6507 missed another test 1999-12-02 07:37:23 +00:00
alecf%netscape.com df62407466 mail architecture cleanup (no bug - emptying my tree before next week's closure)
- get rid of GetAccountManager call (it's now a service)
- move hacks GetCurrentIdentity and GetCurrentServer into the account manager for now
- eliminate these calls from nsMsgMailSession
- update all call sites (C++ and JS)
r=mscott
1999-12-02 06:59:28 +00:00
bienvenu%netscape.com ff8f6ed9d1 fix assert creating uri's for imap sub-folders, r=mscott 1999-12-02 01:06:50 +00:00
buster%netscape.com b3ed19480f trivial code cleanup, just removed webshell includes from files where they are not used. 1999-12-01 22:25:01 +00:00
sspitzer%netscape.com 45fc16c656 clean up in preparation for bug #14254. remove unused files. create
new string bundle (messenger.properties) for use by the messenger application
fix widgetglue.js to use the string bundle.  now we get the title of the
new folder / subscribe dialog from the string bundle.
also fix the problem where the new folder / subscribe dialog wouldn't open
if zero, or more than one server / folder were selected.
1999-11-30 22:57:42 +00:00
bienvenu%netscape.com 3d38e6fdfd fix newline in msg string, same as last check in for this directory, but the right file this time 1999-11-30 22:42:29 +00:00
mscott%netscape.com e56bc19fdd small optimization for windows and Mac in CreatenewLineFromSocket.
implement AsyncOpen (a fake version) for imap protocol
1999-11-30 22:22:46 +00:00
bienvenu%netscape.com ad0ba1d988 fix escaping of mailbox names, r=,mscott, part of 17681 1999-11-30 14:10:20 +00:00
warren%netscape.com 2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
bienvenu%netscape.com 5a76d4c33c remove newline, fix 19128 spurious n in error msg 1999-11-29 20:57:29 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
jefft%netscape.com 987cabcbc4 fixed bug 20063 -- Linux Save Message As Template not working with correct line endings; r=mscott 1999-11-26 22:37:03 +00:00
mscott%netscape.com da43e82a45 Bug #19955 --> QI was incorrectly going to nsmsgFolder if it couldn't handle it
instead of going to nsMsgDBFolder
r=alecf
1999-11-24 00:38:35 +00:00
putterman%netscape.com e71f346f0f Work on making folder pane look like spec. Fixes 17841. Reviewed by alecf. 1999-11-22 22:08:23 +00:00
jefft%netscape.com 8d9b71b7d5 fixed Mac compilation warnings; rv=binenvenu; remove obsoleted private method, AddSubfolder 1999-11-22 14:43:19 +00:00
jefft%netscape.com d12796ae31 fixed bug 17765 - Rename not implemented for Pop3, bug 19097 -- copying messages cause corrupted messages if the message size is greater than 4 k; r=putterman; make sure all children node were deleted when rename a folder, also rename the directory if it has subfolders; added m_leftOver to keep tracking partial completed line 1999-11-19 14:39:05 +00:00
warren%netscape.com 59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com 34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
bienvenu%netscape.com b18dd910ba fix memory leak in canonical folder path, r=jefft 1999-11-16 02:43:50 +00:00
bienvenu%netscape.com 58ef34a7cf fix problem with not reporting server error messages, r=jefft 11970 1999-11-16 02:43:17 +00:00
bienvenu%netscape.com 226efe3505 fix filters firing on read message, r=mscott, 17838 1999-11-12 01:29:26 +00:00
jefft%netscape.com ebc03cdbf6 fixed bug 6904 -- Close() to implicit expunge deleted messages when in delete is move to the trash mode; this only happened when we shutdown the app; r=bienvenu 1999-11-11 15:46:22 +00:00
putterman%netscape.com 38dfa802ce Work on 12846 for making message threads work. Reviewed by bienvenu. 1999-11-11 00:23:29 +00:00
bienvenu%netscape.com 95d1852e05 hook up pseudo interruption, r=jefft 15012 1999-11-11 00:04:45 +00:00
bienvenu%netscape.com 4675215f31 fix build warnings 1999-11-10 04:05:16 +00:00
bienvenu%netscape.com 40c59e9339 more work on imap pending counts,r=jefft 1999-11-10 00:42:55 +00:00
sspitzer%netscape.com c55085fe75 add bulletproofing for bug #15093. bug still exists, but this code and assertion is needed. 1999-11-10 00:14:29 +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
gagan%netscape.com df88140573 Modified the call to match the new signature of CreateTransport. a=mcafee. 1999-11-03 08:52:04 +00:00
mscott%netscape.com b1e4d518d2 work around for Bug 17065
for bienvenu
r=mscott
1999-11-03 07:53:44 +00:00
mscott%netscape.com debee8018a Some work arounds to HIDE Bug #17065 which causes us to hang when parsing large imap folders on linux.
WE still have the problme where the ui thread is stealing events from the imap thread and processing them
on the ui thread.

We're just working around it so folks can use linux imap mail. This code was jointly written with bienvenu.

r=bienvenu/mscott
1999-11-03 07:52:45 +00:00
alecf%netscape.com 5b487df4b2 fix for #17214 - consolidate all username and hostname handling so that escaping/unescaping happens logically 1999-11-03 07:16:59 +00:00
warren%netscape.com d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
bienvenu%netscape.com 67dc096258 remove the imap channel from the load group when finished running r=mscott 1999-11-02 23:22:29 +00:00
bienvenu%netscape.com fbbac1c0dc more work to hook up stop button, r=mscott 17743 1999-11-02 21:36:59 +00:00
bienvenu%netscape.com 9ba6e2321b fix updating of folders after imap/moves r=mscott bug 12491 1999-11-01 01:10:08 +00:00
jefft%netscape.com 3b635bea72 fixed bug 12131 -- message counts not updated after a move/copy; call UpdateFolder() after move/copy is done; r=bienvenu 1999-10-29 22:28:55 +00:00
bienvenu%netscape.com 075caf0152 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
bienvenu%netscape.com b005697e20 fix race condition opening imap folder r=mscott, build stopper 1999-10-27 19:15:20 +00:00
warren%netscape.com f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
jefft%netscape.com d7e36bdecd fixed bug 17176 -- [DOGFOOD] [Reqression] Can't save attachment; we are not generating message uri correctly; r=mscott 1999-10-26 00:07:27 +00:00
mscott%netscape.com 8028448766 Bug #16927 implement GetMessageUrlFromUri
r=sspitzer
1999-10-23 23:39:28 +00:00
alecf%netscape.com 4bd03fe287 start to consolidate URL and URI parsing into the base classes: remove a whole bunch of protocol-specific code in favor of generalization
basically, more fixes for #14437
r=scottip
1999-10-22 01:02:08 +00:00
mscott%netscape.com 2e67d0a2e9 Bug #16538 --> FetchMessage takes a stream listener and we should try to create a necko channel for the url,
and call AsyncRead on the channel, passing in the stream listener instead of trying to run the imap url
through the normal means. This fixes the problem where the channel wasn't properly initialized when
copying a imap message to a local folder.
r=jefft,bienvenu
1999-10-21 22:33:24 +00:00
bienvenu%netscape.com 62733bfe6a fix syncing of imap flags change to db r=mscott,16839 1999-10-21 22:23:25 +00:00
alecf%netscape.com a33565470d clean up nsIMsgFolder API in preparation for fixing a number of bugs, most importantly #14437
r=scottip
1999-10-20 21:58:21 +00:00
mscott%netscape.com 3c940c6846 optimize nsImapBuildMessageURI to use a nsCAutoString. This saves us an extra allocation of the string later on.
r=sspitzer
1999-10-20 21:41:18 +00:00
bienvenu%netscape.com 40741f49b6 more memory leak fixes, r=mscott 1999-10-20 21:18:25 +00:00
bienvenu%netscape.com cba2dfa027 fix memory leaks of uri's and a progress string r=mscott 1999-10-20 20:49:45 +00:00
bienvenu%netscape.com 300bf03a34 fix nsImapProtocol leaks r=mscott, no bug # 1999-10-19 21:24:31 +00:00
mscott%netscape.com 9518826bba Bug #16394 --> no longer need to call intialize after creating a url
r=jefft
1999-10-17 20:04:59 +00:00
mscott%netscape.com fcd8e0024b Bug #16394 --> extract user name from the url spec. Don't force us to pass it in on initialize.
r=jefft
1999-10-17 20:04:40 +00:00
mscott%netscape.com 6aa84d05a2 Bug #16394 --> Initialize now has no arguments.
r=jefft
1999-10-17 20:04:08 +00:00
mscott%netscape.com 69ef2c9e61 Bug #16394 --> call Initialize function on url after we create one
r=jefft
1999-10-17 20:03:37 +00:00
bienvenu%netscape.com 86ed577bd4 fix memory leak of user name r=mscott 1999-10-16 22:44:55 +00:00
bienvenu%netscape.com 50c75cd694 fix shutdown leak by resetting host session list r=jefft 1999-10-15 21:35:55 +00:00
gagan%netscape.com f1203c259d Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
mscott%netscape.com 9f622a5a7d make sure the user name goes into outgoing imap urls that we make
Bug #16263 --> implement NewURI so we can view embedded images!
r=sspitzer
1999-10-13 05:21:08 +00:00
mscott%netscape.com 325c1a107a Bug #16263 --> CreateListOfMessageIDStrings should look for '?' as the delimiter used by
mime for each message part instead of '&'.
r=sspitzer
1999-10-13 05:20:14 +00:00
mscott%netscape.com 6e9c861c93 Bug #16263 --> make nsGetImapServer public
r=sspitzer
1999-10-13 05:19:27 +00:00
sspitzer%netscape.com 8227e7bda9 fix for bug #14591, r=mscott.
handle the case where we migrate from 4.x and our sent folder is on the imap server.
but, since we haven't logged into the imap server yet, our folders are undiscovered.

other related fixes:
1) make it so on failure to fcc, save to draft, save to template, send later the message shows up.
2) clean up the error message strings
3) fix how we determine if an URI points to a local folder. (all we need to do is look at the scheme and see if it is "mailbox:"
4) remove a stale comment.
1999-10-13 04:12:06 +00:00
mscott%netscape.com 897ac92e73 we appeared to be leaking an rdf resource. I fixed this leak by using a nsCOMPtr.
r=sspitzer
1999-10-13 03:18:32 +00:00
dveditz%netscape.com ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
tao%netscape.com dfc5dc1b02 Move da-DK files to l10n/lang; r=leaf 1999-10-08 01:06:56 +00:00
tao%netscape.com 452378ee8a Move localized resource files to mozilla/l10n/lang. 1999-10-07 23:59:32 +00:00
jefft%netscape.com 33672e6f76 fixed bug 10801 -- [Featuure] Save Messages, bug 14794 - message sent from unsent folder display as raw message; we need to pay attention to where we want to save the message as template, if the message goes to the local mail folder we have to add the dummy envelope header plus the x mozilla status lines; when sending unsent messages we need to set from/sender information to pass the sanity check at the send time; reviewed by rhp 1999-10-07 14:27:11 +00:00
warren%netscape.com 8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
mscott%netscape.com 207c54ed3b Bug #15583 --> fix warning (unused variable)
r=sspitzer
1999-10-05 22:03:50 +00:00
jefft%netscape.com 97af25e48e fixed bug 9540, 10827, 11991 - copy news article failed on certain platforms; replacing CRLF to platform specific MSG_LINEBREAK; reviewed by mscott 1999-10-05 14:15:04 +00:00
mscott%netscape.com 2654838625 fix vc5.0 build......include nsISupportsArray before using a com ptr on it. 1999-10-05 06:56:12 +00:00
mscott%netscape.com 55830c8d88 Bug #11837 use NS_GENERIC_FACTORY_CONSTRUCTOR, remove NS_New**
r=sspitzer
1999-10-05 05:46:20 +00:00
mscott%netscape.com 054da20a5c Bug #11837 use NS_GENERIC_FACTORY_CONSTRUCTOR for our components
the factory should cache nsIGenericFactory objects for each
component we know how to produce.
r=sspitzer
1999-10-05 05:45:07 +00:00
mscott%netscape.com e5aaf41ad5 Bug #11837 --> in order to use NS_GENERIC_FACTORY_CONSTRUCTOR the
class declaration needs to be in the header file. Removing old NS_New*
method in favor of NS_GENERIC_FACTORY_CONSTRUCTOR.
r=sspitzer
1999-10-05 05:44:41 +00:00
sspitzer%netscape.com e3cdd7da27 a bunch of changes, all reviewed by mscott.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file.  it's called history.dat in 5.0, but the file
formats are different.  (binary in 4.x, vs mork in 5.0)
1999-10-05 04:12:58 +00:00
alecf%netscape.com 1ecd2e3371 exorcism of net.h from IMAP
r=mscott
1999-10-04 23:53:56 +00:00
mscott%netscape.com 1069c88868 Bug #11837 --> rewrite the imap factory to use nsIModule. This meant adding appropriate factory methods to the components.
r=bienvenu
1999-10-04 00:29:18 +00:00
mscott%netscape.com d8006bc36f Bug #11837 --> rewrite the imap factory to use nsIModule.
r=bienvenu
1999-10-04 00:27:42 +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
valeski%netscape.com d66cd6ac49 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 1999-10-01 23:30:06 +00:00
bienvenu%netscape.com fd63be5bc1 fix memory leak of hostname 1999-09-30 01:45:20 +00:00
bienvenu%netscape.com 5f056b6037 add method to shut down connections 1999-09-30 01:44:30 +00:00
jefft%netscape.com 0d7587bd28 implemented forward messages as attachments & inline; a=mcafee 1999-09-29 20:43:50 +00:00
bienvenu%netscape.com bdbeecff29 for mscott fix memory leaks of imap urls 15088 r=bienvenu, a=chofmann 1999-09-28 21:50:04 +00:00
bienvenu%netscape.com 8b02e4c762 fix purify error in imap startup bug #14724 a=chofmann 1999-09-27 20:04:34 +00:00
mscott%netscape.com 0df4028173 GetPasswordWithUI takes a prompt string to give the protocols finer control over the actual text that goes with the dialog 1999-09-22 06:02:46 +00:00
bienvenu%netscape.com 34c96e8d3d fix race condition with fe events 1999-09-22 04:16:41 +00:00
tao%netscape.com 41a531de2a Add da-DK property file. 1999-09-22 02:34:41 +00:00
alecf%netscape.com fa0ee6edae turn the password back into an attribute so I can access it from HTML forms.
Created new GetPasswordWithUI which is the equivalent of getpassword(PR_TRUE..)
1999-09-22 02:21:18 +00:00