r=sspitzer
nsCRT::strcmp was returning 0 when you pass a PRUnichar* 0 null pointer
git-svn-id: svn://10.0.0.236/trunk@55569 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@50551 18797224-902f-48f8-a5cc-f745e15eee43
Created new GetPasswordWithUI which is the equivalent of getpassword(PR_TRUE..)
git-svn-id: svn://10.0.0.236/trunk@48741 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@47319 18797224-902f-48f8-a5cc-f745e15eee43
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.
git-svn-id: svn://10.0.0.236/trunk@46629 18797224-902f-48f8-a5cc-f745e15eee43
so everyone can share in the logic including imap and eventually news.
Bug #7444 --> Add remember password smarts
git-svn-id: svn://10.0.0.236/trunk@45290 18797224-902f-48f8-a5cc-f745e15eee43
- 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
git-svn-id: svn://10.0.0.236/trunk@42922 18797224-902f-48f8-a5cc-f745e15eee43