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

62 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 4f125b95bb Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin 2005-08-12 22:53:22 +00:00
cbiesinger%web.de 9234d56bb8 addressing reviewer comments for bug 283489 2005-04-05 17:45:09 +00:00
cbiesinger%web.de 763f225033 bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
darin%meer.net c79cfdbf74 fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky 2004-11-15 20:16:52 +00:00
darin%meer.net 79280bb50d landing additional patch for bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-17 20:33:25 +00:00
gerv%gerv.net c40f4f93a2 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
darin%netscape.com ddebbeb3aa revising nsIChannel documentation further 2003-07-08 22:43:51 +00:00
darin%netscape.com af7236f048 cleaning up some nsIChannel documentation, b=209101, r+sr=nobody 2003-07-08 22:04:32 +00:00
bzbarsky%mit.edu d1447d9cc1 Make setting contentType or contentCharset act as hints if done before channel
open; use this in the CSSLoader to hint that we want text/css data.  Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
darin%netscape.com 1f63800e30 fixes bug 167463 "fromCacheOnly should be an attribute on nsICachingChannel"
and fixes bug 166927 "add nsICachingChannel should provide an attribute to
'load only if modified'" r=dougt sr=bzbarsky
2002-10-06 03:20:40 +00:00
darin%netscape.com 380f93de79 fixes bug 170648 "eliminate referrer type from nsIHttpChannel in preparation
for freezing" r=dougt sr=rpotts
2002-09-25 21:28:53 +00:00
darin%netscape.com 040ddbbf28 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz
2002-05-03 07:49:43 +00:00
darin%netscape.com 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
darin%netscape.com 1443076688 code changes for bug 42898 "iDNS support"
patch=william.tan@i-dns.net r=gordon sr=darin,brendan a=asa
2001-10-05 07:50:21 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
rpotts%netscape.com f3e719c2c1 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
darin%netscape.com 45b4c27450 Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
cache validation preferences and browsing via history.  r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)
2001-04-14 02:02:19 +00:00
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
dougt%netscape.com 9c5d760307 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
dougt%netscape.com eab041f43f 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 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab 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
darin%netscape.com 6bfaf3912c 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
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
ruslan%netscape.com 84dfd2d63a WIP on 40449, a/r=gagan 2000-07-07 22:02:47 +00:00
valeski%netscape.com c9ce86137e 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
warren%netscape.com 870a7d208a 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
warren%netscape.com 84172ac318 Added ioFlags enum. Bugs 37711. 2000-05-03 22:43:21 +00:00
mscott%netscape.com 0d0df459ef Some folks were confused about why we had AsyncOpen I put a comment saying this method is being
made obsolete and no one really implements it.
2000-04-23 01:45:21 +00:00
warren%netscape.com 1832d7f664 Factoring stream i/o operations into nsIStreamIO interface. 2000-04-13 09:20:50 +00:00
warren%netscape.com d60b12b153 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
dougt%netscape.com 612badb3a9 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
mscott%netscape.com 8a42f58c0a Bug #21173 --> Add a document uri retargeted flag. This flag is set when the uri loader retargets the output
of the channel to another content window.
r=travis
2000-01-29 05:03:58 +00:00
dougt%netscape.com fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
rpotts%netscape.com b410e59d5f bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
rpotts%netscape.com 3e79b2aec1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
fur%netscape.com 643ff62dd5 Added cache control flags, in support of Bug #8305 (Implement cache) 1999-12-06 23:31:47 +00:00
warren%netscape.com bf4ef9672f 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
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren%netscape.com d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
warren%netscape.com b22885e6c4 Made nsIInputStreamChannel scriptable and constructable from component manager. bug#15294 1999-11-03 05:09:20 +00:00
warren%netscape.com 00dfd9d907 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
warren%netscape.com d4f45caf5a Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
warren%netscape.com fec02a32a9 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
rpotts%netscape.com b4e64e851f bug #11376. I added GetContentLength to nsIChannel so the content length can be gotten from a channel... 1999-09-09 05:07:30 +00:00
norris%netscape.com 59b4dc8374 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
rpotts%netscape.com 3ed5c99db2 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00