Commit Graph

335 Commits

Author SHA1 Message Date
alecf%netscape.com
25b6456d26 fix for blocker #17882
a=leaf
1999-11-03 19:47:17 +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
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
e29f314bcf fix build warnings, r=putterman, add cancel method to protocol r=mscott 1999-11-03 03:16:26 +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
10e0f64b8b add support for pending counts for imap folders r=mscott 1999-11-01 01:06:29 +00:00
mscott%netscape.com
2c586468ca remove shut down listener stuff.
r=bienvenu
1999-11-01 00:57:49 +00:00
putterman%netscape.com
7d2a82beee Fix for 17556. Reviewed by alecf. Newsgroups show abbreviated name in folder pane. 1999-10-29 20:46:15 +00:00
bienvenu%netscape.com
075caf0152 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +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
alecf%netscape.com
07e6ba4f2e more cleanup work - now retrieve the server at URI creation time, so that GetServer() is really fast, and just forward calls to GetUsername and GetPassword() to the server. r=sspitzer 1999-10-28 20:19:57 +00:00
mscott%netscape.com
58e1b51338 added a url dispatching comment. 1999-10-27 06:48:19 +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
nhotta%netscape.com
35df054c4f Unicode encoder related change for unmapped characters.
If unicode encoder cannot map a character to the target encoding, it returns used unicode length including the unmapped character.
That is true for all encoder except ISO-2022-JP (bug #15706). Changed the callers to match the encoder behavior. bug 8865, r=cata.
1999-10-26 20:16:11 +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
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
nhotta%netscape.com
73e800ef37 Adding a wrapper function for a new i18n interface, part of bug fix 15475, r=rhp. 1999-10-20 23:51: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
860d40cd8b Bug #16814 --> i found a problem which may be causing us to block in the imap protocol when downloading larger
attachments or images. Basically, the nsMsgLineStreamBuffer class had a fence post bug when determining
if it had enough room to read in more bytes. If the # of free bytes in the stream buffer was 1 byte and we
had just one byte of data left to read in from the incoming stream, we would fail to read in that one byte.
r=sspitzer
1999-10-20 21:01:58 +00:00
nhotta%netscape.com
49eae1bcac Checking in a fix for the linux build bastage, 1999-10-18 23:32:45 +00:00
nhotta%netscape.com
b5873913b7 Changed interface and implementation of nsIEntityConverter,
more entity support (before Latin1 only), added a string based interface. Bug fix 8865, r=ftang.
1999-10-18 22:33:14 +00:00
sspitzer%netscape.com
af4500add9 fix warnings. following alecf's recommendations, remove the FindServerUsingURI() method from the nsIMsgAccountManager, remove CreateFolderInDatasource() from nsIMsgFolder, change several methods in nsMsgCopy to return nsresult, and have nsIMsgFolder ** as an outparam, use GetResource() instead of CreateFolderInDatasource(). use NS_SUCCEEDED() instead of comparing against NS_OK directly. 1999-10-18 20:42:06 +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
sspitzer%netscape.com
872b817711 add more comments about what's left to do, and why this is a little scary. 1999-10-13 05:33:26 +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
jefft%netscape.com
64fe1a5593 added files: mozilla/mailnews/base/util/nsMsgI18N.cpp 1999-10-12 05:21:21 +00:00
jefft%netscape.com
57a2c2ac1e fixed bug 15676 - Display problem in Subject header with non-ascii when Forwarding; decode the subject string based on character prior setting it to nsMsgComposeFields; move nsMsgI18N.h, nsMsgI18N.cpp from compose/src to base/util; r=rhp, nhotta 1999-10-12 05:18:27 +00:00
warren%netscape.com
641f3b5442 Lowercased idl method names for scriptability. Cleaned up nsIURL interface. 1999-10-12 01:39:37 +00:00
mscott%netscape.com
c73e972de5 support nsIStreamObserver to get rid of an assert in necko.
r=sspitzer
1999-10-12 00:13:45 +00:00
putterman%netscape.com
df01d32703 Remove ctor/dtor counter macros I added before it was determined we shouldn't
use them for xpcom classes.
1999-10-10 22:52:49 +00:00
putterman%netscape.com
6a6fa70abd Use ctor/dtor counter macros on non xpcom classes. reviewed by mscott. no bug. 1999-10-10 22:32:54 +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
valeski%netscape.com
43edbee475 r=warren, 15457. Added file extension attribute to URL implementations 1999-10-06 14:36:22 +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
dbd7050065 Bug #0000 --> (no bug necessary)....add a #ifdef guard around this header file
so we don't try to include the contents multiple times!!
r=sspitzer
1999-10-05 05:53:31 +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
putterman%netscape.com
c3de5f7fdb Implement init ins nsMessage. 1999-09-21 20:03:37 +00:00
alecf%netscape.com
95f9061092 depricate old SMTP API. 1999-09-20 06:50:21 +00:00
sspitzer%netscape.com
ca2ce65b99 check in work around for #10235
check in start of work for #14312
fix a couple warnings
comment out some dump() calls
1999-09-20 02:12:28 +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
bienvenu%netscape.com
300285c838 check for null before addreffing 1999-09-18 17:42:51 +00:00
alecf%netscape.com
09558ecb98 it's ok to return null from a pref read 1999-09-17 23:56:39 +00:00
jefft%netscape.com
8e557400ac add CreateStartupUrl() utility routine 1999-09-17 23:17:03 +00:00
putterman%netscape.com
a3e720e049 more performance work for loading folders without .msf files or that have to have
headers downloaded.
1999-09-17 23:12:44 +00:00
mscott%netscape.com
008d364cfc Bug #14021 --> convert nsIURI into a nsISupports before passing in to avoid an nsCOMPtr assert later on. 1999-09-17 20:13:59 +00:00
alecf%netscape.com
93750d1ed6 make the signature an nsIFileSpec for right now 1999-09-17 06:43:27 +00:00