Commit Graph

45 Commits

Author SHA1 Message Date
sspitzer%netscape.com
00fd3093ac fix the bogus comment 2000-01-12 03:03:30 +00:00
sspitzer%netscape.com
42ce930293 back end (migration) fix for bug #16219
migrate the mail.pop3_gets_new_mail and mail.imap.new_mail_get_headers get
migrated to mail.server.server1.download_on_biff
2000-01-11 20:03:51 +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
alecf%netscape.com
92c2c6a64e fix for #20647 (required to verify a PDT+ bug)
r=sspitzer
nsCRT::strcmp was returning 0 when you pass a PRUnichar* 0 null pointer
1999-12-07 08:48:52 +00:00
alecf%netscape.com
56753538ce fix unicode support for prettyName, #20405
retrieve name from prefs using CopyUnicharPref()
r=sspitzer
1999-12-03 00:10:00 +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
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
bienvenu%netscape.com
10e0f64b8b add support for pending counts for imap folders r=mscott 1999-11-01 01:06:29 +00:00
alecf%netscape.com
abead569d2 fix casting problem on solaris 1999-10-28 21:13:06 +00:00
alecf%netscape.com
78f9fb87fa prepare to consolidate server URI creation - create a new property of incoming servers, the local store type, and construct the URL from there.
r=sspitzer
1999-10-28 20:22:06 +00:00
sspitzer%netscape.com
6844e8ec38 fix for #17212, r=mscott.
migrate imap servers that have the port in the name (like nsmail-2:143)
1999-10-26 23:34:30 +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
putterman%netscape.com
d73cfc95db Added constructor/destructor counting macros for various mailnews
classes.  reviewed by bienvenu.  no bug.
1999-10-06 20:32:25 +00:00
bienvenu%netscape.com
5f056b6037 add method to shut down connections 1999-09-30 01:44:30 +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
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
mccabe%netscape.com
4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
sspitzer%netscape.com
68d0a7b530 don't need this code anymore, as we don't need to hash the hostname to get a suitable directory name. see #13480 1999-09-15 07:31:27 +00:00
sspitzer%netscape.com
b1a85f548a fix for #13833
now we support multiple accounts of the same type on the same server.
1999-09-15 00:04:47 +00:00
sspitzer%netscape.com
80d5ac54f4 nsIMsgIncomingServer needs a SetDefaultLocalPath(). we use this when migrating prefs.
add the newsrcRootPath attribute to the nsINntpIncomingServer interface.
implement Set/GetNewsrcRootPath(), similar to how Set/GetDefaultLocalPath() are implemented.

rewrite nsMsgAccountManager to use
Set/GetDefaultLocalPath() and Set/GetNewsrcRootPath()

rename some methods in nsMsgAccountManager for correctness.
1999-09-14 09:03:40 +00:00
alecf%netscape.com
43d4c32346 use new protocolinfo service 1999-09-14 00:36:37 +00:00
sspitzer%netscape.com
8457354b34 do some clean up in preperation of migrating the fcc prefs. (for bug #10583)
change the newsrcFilePath attribute to be a nsIFileSpec, instead of a string.(bug #13306)
add code to do hashing of hostname. [not turned on yet].  (for bug #13480)
remove the obsolete GetRootFolderPath() code from the incoming servers.
1999-09-09 21:17:32 +00:00
alecf%netscape.com
22703b41c3 change nsIMsgIncomingServer->SetLocalPath/GetLocalPath to be an nsIFileSpec instead of a string 1999-09-09 04:11:38 +00:00
mscott%netscape.com
44de0f44c0 Bug #11895 --> add protection for preventing multiple get new message calls on the same server. 1999-08-31 06:52:27 +00:00
mscott%netscape.com
58ce8728d2 migrate smarts about getting password from pop3 protocol to incoming server
so everyone can share in the logic including imap and eventually news.
Bug #7444 --> Add remember password smarts
1999-08-31 04:39:43 +00:00
putterman%netscape.com
6c0316033c If there's no root folder in GetRootFolder, create one. 1999-08-30 22:12:20 +00:00
alecf%netscape.com
719f9b06af clean up folder and server naming:
- prettyName is now a unicode string and lives in nsIFolder
- servers now have the automatic pretty name of "userid on servername" and can be overridden
- name consolidation is complete
1999-08-10 04:39:22 +00:00
bienvenu%netscape.com
7d4724fe66 more work on folder cache 1999-07-17 20:33:15 +00:00
bienvenu%netscape.com
e8ded1ea02 more work on folder cache 1999-07-17 03:26:24 +00:00
sspitzer%netscape.com
1402dd8bed changes to automatically migrate 4.x mail prefs to 5.0 prefs. news doesn't migrate gracefully yet. also, changes to newsrc.file pref and the directory path differently for news. 1999-07-13 19:23:40 +00:00
ducarroz%netscape.com
4db91e5644 Look for the default value when a pref doesn't exist. Fix problem with actual code, we passed the wrong name to GetDefaultName. 1999-07-01 21:56:54 +00:00
putterman%netscape.com
3f0119ce03 Use nsCOMTypeInfo 1999-07-01 00:16:39 +00:00
bienvenu%netscape.com
77ead97514 make name and pretty name unichar's 1999-06-28 21:56:33 +00:00
alecf%netscape.com
7532075779 add type attribute to nsIMsgIncomingServer, and reduce warnings by not using "value" 1999-06-15 03:47:59 +00:00
alecf%netscape.com
a16cc81bf2 implement GetPrettyName() correctly - return the hostname if no prettyname is known 1999-06-14 22:53:09 +00:00
putterman%netscape.com
c2289c8757 More work on Biff. 1999-06-11 22:10:42 +00:00
alecf%netscape.com
ca776f901e XPConnect doesn't seem to like returning NULL from string accessors 1999-06-07 04:29:18 +00:00
alecf%netscape.com
3ea7a6c876 make a little more robust so that we can easily call this from JS 1999-06-06 18:46:03 +00:00
alecf%netscape.com
ef4312b827 rename GetUserName -> GetUsername because Win32 substitutes all GetUserName's with GetUserNameA 1999-05-27 05:36:10 +00:00
bienvenu%netscape.com
729931951f changes for mail filters, including setting root folder for server 1999-05-26 23:56:21 +00:00
alecf%netscape.com
85cbec924c add new accessor to nsIMsgIncomingServer to get local folder path 1999-04-23 22:57:31 +00:00
alecf%netscape.com
d236f80d21 add a few more attributes to nsMsgIncomingServer 1999-04-16 00:36:52 +00:00
alecf%netscape.com
4b111c2878 forgot to define getDefaultCharPref 1999-04-10 21:58:09 +00:00
alecf%netscape.com
edada51a55 implementation for updated Multiple Accounts. create accounts/identities lazily, etc 1999-04-10 20:55:30 +00:00
alecf%netscape.com
44a799187b first addition of identity work
- Identity for outgoing mail
- Incoming Server for incoming mail
1999-04-06 22:34:19 +00:00