99 Commits

Author SHA1 Message Date
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
cathleen%netscape.com
b8cedf8e73 eliminate nsCRT::strlen for char* strings (part 3), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114908 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 08:42:48 +00:00
bbaetz%student.usyd.edu.au
fd7671f948 Bug 44995 - support socks proxies in mailnews
r=mscott, sr=darin


git-svn-id: svn://10.0.0.236/trunk@114899 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:07:23 +00:00
cavin%netscape.com
0991672678 Bug #100167: Added server name to a few connection error msgs for imap, news and pop. Also fixed two obsolete imap error numbers (1 & 2). r=bienvenu, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@112045 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-13 19:26:28 +00:00
bienvenu%netscape.com
1ac54d43da fix regression reading offline news messages 111065 r=mscott,sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@109775 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:42:58 +00:00
naving%netscape.com
77196885e6 108276. Open the mailbox in PR_RDONLY mode because only read operations are done using
this connection. should cut down closing mailbox (PR_Close()) time.


git-svn-id: svn://10.0.0.236/trunk@107429 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 04:25:28 +00:00
jaggernaut%netscape.com
e4b4c0231a Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106534 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 09:27:57 +00:00
bienvenu%netscape.com
cf0079914f correct fix for 103703 loading message leaks url spec, r/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@105932 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 13:25:54 +00:00
bienvenu%netscape.com
b6a9f1e8dc fix 103701 leak of url spec when loading local message rs=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104847 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:23:44 +00:00
jaggernaut%netscape.com
bf7774eb72 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
darin%netscape.com
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +00:00
mscott%netscape.com
d7d4a08c64 Bug # 98846 --> fix a leak of a nsFileSpec object.
r=naving, hawara
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@102659 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:16:48 +00:00
naving%netscape.com
e6a794f445 95501 r/sr=bienvenu sr=mscott. Fix nsDocShell leaks for pop3 accts on start-up and shutdown.
git-svn-id: svn://10.0.0.236/trunk@102460 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:32:11 +00:00
ducarroz%netscape.com
07620bd845 Fix for bug 66647. Add a way to cancel a smtp process. mscott wrote the protocole part of this fix. R=ducarroz, R=varada, SR=ssptizer
git-svn-id: svn://10.0.0.236/trunk@100825 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 22:23:47 +00:00
sspitzer%netscape.com
6f59a9c1a6 fix for #86556. instead of throwing up an alert that says "Unknown Error 800004005"
we do nothing.  in debug builds, we assert.  r/sr=mscott


git-svn-id: svn://10.0.0.236/trunk@100775 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 18:54:23 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
mscott%netscape.com
4b69349530 Bug #65209 --> hook up progress for posting messages.
r=ducarroz
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@98244 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 04:05:38 +00:00
ducarroz%netscape.com
e700b770c7 Fix for bug 84544. Check for null pointer to avoid crash. R=varada, SR=mscott, A=asa
git-svn-id: svn://10.0.0.236/trunk@97484 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 23:19:55 +00:00
mscott%netscape.com
8f844eb5e5 Bug #83381 --> crash replying to message with long lines
r=sspitzer
sr=bienvenu
a=asa


git-svn-id: svn://10.0.0.236/trunk@96476 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:44:06 +00:00
dougt%netscape.com
4b7b8b12ca Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko
git-svn-id: svn://10.0.0.236/trunk@96470 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:10:09 +00:00
mkaply%us.ibm.com
d76d8b8095 #66016
r=hwaara, sr=alecf, a=asa
Move hardcoded strings into properties file


git-svn-id: svn://10.0.0.236/trunk@96331 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 22:47:15 +00:00
ssu%netscape.com
0c32c964a4 checking in for mscott. fixes bug 82643 - Replying to a message fails. r=sspitzer,sr=bienvenu,a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@96228 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 04:54:51 +00:00
bienvenu%netscape.com
7c05f72e69 add support for ability to copy/move multiple local msgs r=naving, sr=sspitzer 73833
git-svn-id: svn://10.0.0.236/trunk@93434 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-29 22:43:57 +00:00
timeless%mac.com
75929d9555 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@92666 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 05:59:43 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
mscott%netscape.com
bcaa044f65 Bug #32222 --> Implement a subclass of nsMsgprotocol which performs asynch writes. Re-write how we send
post data to use this subclass. We'll now read in the post file asynchronously and write out the post
data asynchronously to the server. When necessary, we'll pause and resume the file request for the incoming
post data since that comes in faster than data goes out.
sr=bienvenu
r=ducarroz/varada


git-svn-id: svn://10.0.0.236/trunk@91666 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-08 00:40:30 +00:00
danm%netscape.com
4d7d5bacd9 removing use of nsNetSupportDialog. bug 72112 continued. r=hyatt,morse,mstoltz,various
git-svn-id: svn://10.0.0.236/trunk@91621 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 03:33:56 +00:00
dougt%netscape.com
21f01836f0 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
git-svn-id: svn://10.0.0.236/trunk@89380 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:41:28 +00:00
bryner%uiuc.edu
ab5139c48f Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@88637 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:10:33 +00:00
dougt%netscape.com
175245e2de 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


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df 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


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
dougt%netscape.com
9dcfce529d backing my ass out. These changes were meant for my branch, not the trunk. sr-leaf
git-svn-id: svn://10.0.0.236/trunk@85524 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:07:38 +00:00
dougt%netscape.com
3f044800d5 updating to new necko interfaces
git-svn-id: svn://10.0.0.236/trunk@85522 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:44:59 +00:00
bienvenu%netscape.com
34383772fb add error code to unknown error alert for diagnosis purposes r=sspitzer, sr=mscott 57057
git-svn-id: svn://10.0.0.236/trunk@85491 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:49:04 +00:00
darin%netscape.com
73495dffa0 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@85390 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:10:34 +00:00
bienvenu%netscape.com
69a87ca2d7 more work on reading offline news, sr=sspitzer for mscott 15870
git-svn-id: svn://10.0.0.236/trunk@84206 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 22:49:05 +00:00
sspitzer%netscape.com
c436fd88e2 fix #54491 (subscribe is a big fat pig)
fix #56971 (correct spelling mistake: suppress not supress)
fix #60244 (subscribe retains only last server subscribe changes)
fix #60242 (subscribe typedown should select first match in list)
fix #39156 (fix how I determine the delimiter in subscribe.js)
fix #59231 (make insecure imap login work if password has a \ in it)
fix #53654 (subscribe downloaded bytes don't start at zero)
fix #39393 (stop button in subscribe)
fix #60506 (switching servers doesn't clear text area in subscribe)


git-svn-id: svn://10.0.0.236/trunk@82743 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 20:47:31 +00:00
blakeross%telocity.com
3352c8fcfa Fix 56971: logging should not log user's password. patch by Andrew Taylor (andrew.taylor@cal.montage.ca). r=jefft sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82661 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 23:55:25 +00:00
sspitzer%netscape.com
a89b010409 fix uninitialized variable. #59673. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82528 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 15:15:28 +00:00
sspitzer%netscape.com
b6002faa44 fix for #53487. get open attachment to work from news messages.
code stolen from mscott's code for imap & local messages.
r/a=mscott.


git-svn-id: svn://10.0.0.236/trunk@79793 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:44:08 +00:00
warren%netscape.com
4d62e29749 Bug 46864 - Embedding needs a name attribute on nsIRequest.
git-svn-id: svn://10.0.0.236/trunk@76772 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 08:23:54 +00:00
bienvenu%netscape.com
bccac1d2cd protect against null channel when getting status, r=mscott
git-svn-id: svn://10.0.0.236/trunk@74821 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:07:01 +00:00
mscott%netscape.com
e3c43054ee Bug #43691 --> fix pop uidl urls by supressing OnStart and OnStopRequest calls
if the url we are running isn't going to result in any new content.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74275 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:16:47 +00:00
mscott%netscape.com
9469caada6 Bug #44158 --> fix modal dialog problems by using correct nsIPrompt object obtained from the message window
associated with the current url.

r=alecf


git-svn-id: svn://10.0.0.236/trunk@73866 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 01:10:30 +00:00
mscott%netscape.com
889a4c8fd1 Bug #10802 --> in order to implement open attachment i need the mail news channels to implement set owner
and set/get contenttype
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73019 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 03:11:20 +00:00