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

68 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com c74c36c85e 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 2001-03-12 22:41:28 +00:00
bryner%uiuc.edu 8b80c7c363 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
dougt%netscape.com 128f95aa9b 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
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 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
2001-02-10 00:16:26 +00:00
dougt%netscape.com 5235e3266f backing my ass out. These changes were meant for my branch, not the trunk. sr-leaf 2001-01-25 22:07:38 +00:00
dougt%netscape.com d82f5acc6e updating to new necko interfaces 2001-01-25 21:44:59 +00:00
bienvenu%netscape.com 4bf1e5a1ff add error code to unknown error alert for diagnosis purposes r=sspitzer, sr=mscott 57057 2001-01-25 15:49:04 +00:00
darin%netscape.com 6a7567992b Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
bienvenu%netscape.com 6f2568e88f more work on reading offline news, sr=sspitzer for mscott 15870 2000-12-29 22:49:05 +00:00
sspitzer%netscape.com 3a79a2ff9b 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)
2000-11-17 20:47:31 +00:00
blakeross%telocity.com 77b8600588 Fix 56971: logging should not log user's password. patch by Andrew Taylor (andrew.taylor@cal.montage.ca). r=jefft sr=mscott 2000-11-15 23:55:25 +00:00
sspitzer%netscape.com 4a3e4e1bc1 fix uninitialized variable. #59673. sr=alecf 2000-11-10 15:15:28 +00:00
sspitzer%netscape.com 2f6f849df8 fix for #53487. get open attachment to work from news messages.
code stolen from mscott's code for imap & local messages.
r/a=mscott.
2000-09-22 00:44:08 +00:00
warren%netscape.com e12f238589 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
bienvenu%netscape.com a5ba83d613 protect against null channel when getting status, r=mscott 2000-07-26 21:07:01 +00:00
mscott%netscape.com 4cd1b70fd2 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
2000-07-14 23:16:47 +00:00
mscott%netscape.com e02c584953 Bug #44158 --> fix modal dialog problems by using correct nsIPrompt object obtained from the message window
associated with the current url.

r=alecf
2000-07-08 01:10:30 +00:00
mscott%netscape.com 7e54058b07 Bug #10802 --> in order to implement open attachment i need the mail news channels to implement set owner
and set/get contenttype
r=sspitzer
2000-06-23 03:11:20 +00:00
valeski%netscape.com f0fec56b70 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
warren%netscape.com 88151adad6 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:39:45 +00:00
dougt%netscape.com 4b4d8250bf correcting invalid port number. They should be -1, not zero. 2000-05-20 00:19:24 +00:00
dougt%netscape.com d83290854c Fix for 31164, possibly 35658, and prep work for 31174.
1) Passing the proxy hostname and port to the underlying socket
   and changing all users that appeared in lxr.

2) (psm-glue) registering with the cache manager to allow local loopback so that
   psm will work with a proxy.

3) (psm-glue) Storing proxy information in psmSocketInfo.

most reviewed by gagan@netscape.com.
2000-05-19 22:56:12 +00:00
warren%netscape.com 618d468469 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
mscott%netscape.com 064d2d4d95 set a default progress event sink == the status feedback version.
necko may over-ride us with another one.
implement Get/SetNotification callbacks in order to extract the progress
event sink if there is one.
2000-05-03 21:16:22 +00:00
jefft%netscape.com 6626665a73 round 2,partial fix bug 10802; passed in part number and content type for open attachment 2000-05-02 22:45:44 +00:00
scc%netscape.com 391f0960dd making string conversions explicit 2000-04-22 08:43:34 +00:00
bienvenu%netscape.com 3033e31151 add InitFromUri method, r=mscott for nntp connection cache 2000-04-13 05:54:45 +00:00
mscott%netscape.com 11c6a6bca7 Bug #12505 --> fix printing for local and news. the load attributes for nsMsgProtocol weren't getting initialized!
r=bienvenu
a=leaf
2000-04-10 01:48:41 +00:00
sspitzer%netscape.com 842ee38a0a fix for #33471. fix by mscott, r=sspitzer, a=leaf. stop now works again for news, pop & smtp. 2000-04-06 03:23:21 +00:00
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jim_nance%yahoo.com bebfa35340 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz
2000-03-24 22:11:55 +00:00
mscott%netscape.com 41e8972a4b Bug #12505 --> implement get/set load attributes. I needed to refactor load group management
and useage in this class. Our underlying socket or file transport wasn't getting the right
load group. And we weren't passing the right load group out on on start / on stop requests.
r=rhp
2000-03-21 06:26:03 +00:00
dougt%netscape.com 8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
sspitzer%netscape.com fa9ec86bb0 changes for news over SSL. initial changes needed for SMTP over SSL, but
that isn't going to happen yet.  cleanup changes for nsNewsDownloadDialogArgs (still not used yet.)
2000-03-12 08:58:02 +00:00
sspitzer%netscape.com 0487a8b1a3 fix for #30775 and #30648. r=mscott,warren. a=phil
we need to call Cancel() to remove the closed nsSocketTransport from the
list of active transports.  if we don't, we quickly reach the max (50)
and pop, smtp, and nntp operation start failing.

also, upon NS_BINDING_ABORTED, do not pop up an alert.  we get
this when we call Cancel() or if the user hits the stop button.
2000-03-12 06:40:25 +00:00
mscott%netscape.com 8fa3c570dc Bug #23788 --> add the ability to open connection given a host and port instead extracting them from the url.
This is necessary in order to implement 23788.
r=bienvenu
a=phil
2000-02-26 23:11:45 +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
bienvenu%netscape.com 1237e0a5d0 hook up load group for msg protocol so stop will work, r=mscott 2000-01-09 23:38:52 +00:00
rpotts%netscape.com 023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +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
alecf%netscape.com 03a7f545e7 check for null pointer - happens when necko gives us back an empty channel (this is the only place we weren't checking)
r=jefft
1999-12-08 00:01:52 +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
mscott%netscape.com 7d23985437 stub implementation of AsyncOpen. 1999-12-01 06:17:49 +00:00
jefft%netscape.com 8efa7d5934 fixed bug 8889 - cannot post messages with attachments to the news server; rv=mscott; Added base PostMessage() method to remove duplicate code in smtp and nntp protocol 1999-11-22 14:41:20 +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
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
bienvenu%netscape.com e29f314bcf fix build warnings, r=putterman, add cancel method to protocol r=mscott 1999-11-03 03:16:26 +00:00