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

112 Коммитов

Автор SHA1 Сообщение Дата
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
sspitzer%netscape.com 88c9d622fe fix for #53792. sr=mscott. compute the length of the data correctly. 2000-11-29 21:20:29 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
alecf%netscape.com ec958920a7 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self
2000-11-17 03:45:13 +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
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
warren%netscape.com 64a99efec0 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
valeski%netscape.com c9ce86137e 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +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
brade%netscape.com 10d4eb0f46 File Removed. 2000-05-25 17:43:06 +00:00
warren%netscape.com a451c5f762 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
valeski%netscape.com 5535ccfc0c 37200. text type data urls were having whitespace stripped out of them. 2000-04-27 03:55:20 +00:00
valeski%netscape.com 07dc210cc6 35439. data urls having trouble with data including spaces. 2000-04-18 13:39:59 +00:00
warren%netscape.com 942ccefd74 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code. 2000-04-12 07:58:24 +00:00
cls%seawood.org 8a00e920f0 Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf 2000-04-01 10:18:48 +00:00
rickg%netscape.com a78b0f5d7c removed reference to nsString2 2000-03-31 10:13:22 +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
valeski%netscape.com 518661ae56 fixing base64 encoding usage bug 2000-03-15 23:20:38 +00:00
scc%netscape.com 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
sdagley%netscape.com 703c6caa28 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
rpotts%netscape.com 3e79b2aec1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
dougt%netscape.com b53fb6c5f1 Converting to use nsIModule macro. r=dp,jud 2000-01-03 23:27:20 +00:00
ducarroz%netscape.com 0d11045a4a Fix for bug 21314. Let PL_Base64Decode do the right job. R=warren 1999-12-13 22:49:12 +00:00
norris%netscape.com e4ce3835ca The data protocol doesn't seem to be working. The problem appears to be that a nsStdURL is used to hold the data URI.
Unfortunately, using nsStdURL parses the data URI so that a URI like "data:text/html,<html>hi</html>" gets parsed with a
host of "text". When the rest of the data URI processing calls GetSpec, it then gets "//text/html,<html>hi</html>", which
confuses the content type parsing so no data is displayed.

This checkin changes to use a nsSimpleURI instead.
r=valeski
1999-12-07 23:42:58 +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
valeski%netscape.com 9426838f70 r=mcafee. 20464. we were crashing when data: urls were accessed. Now we're safe; for the time being that is :) 1999-12-02 22:02:30 +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 f1a7ed71c1 First Checked In. 1999-11-23 23:03:43 +00:00
valeski%netscape.com ee4b9f450d typo. we need to be allocating the size of the struct, not the pointer to the struct. 1999-11-18 20:05:15 +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
jdunn%netscape.com d70d78c6bf Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +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 813f9f7c13 Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +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
dveditz%netscape.com 2b60c91417 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +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
beard%netscape.com b547c2ffb0 changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
kipp%netscape.com 40f3f9c999 nuked 1999-09-30 21:38:19 +00:00
kipp%netscape.com e8912d55df added files: mozilla/netwerk/protocol/data/src/nsDataModule.cpp, removed files: mozilla/netwerk/protocol/data/src/nsDataFactory.cpp 1999-09-30 21:27:46 +00:00
kipp%netscape.com 0c7d463e0c Converted from components to modules 1999-09-30 21:22:48 +00:00
kipp%netscape.com 8d0add992e new 1999-09-30 01:53:31 +00:00
gordon%netscape.com 688346020d Change target directory for xpt file. For bug#13697. Reviewed by Warren, approved by chofmann. 1999-09-24 00:46:00 +00:00
gordon%netscape.com b352dfaa73 First Checked In. 1999-09-23 23:25:14 +00:00
warren%netscape.com 48cf4685a9 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
valeski%netscape.com 5170b2d8d0 content types are now forced to lower case: 13609 1999-09-14 19:42:09 +00:00
briano%netscape.com 0059c0009e General cleanup. 1999-09-14 01:35:43 +00:00
warren%netscape.com 41295ce854 More fixes for nsCOMPtr inconsistencies. 1999-09-11 19:43:06 +00:00
warren%netscape.com fec02a32a9 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
briano%netscape.com 93ef1fd41e General cleanup. 1999-09-10 01:57:11 +00:00
warren%netscape.com 87b66e4bc8 EOF changes. 1999-09-09 22:18:44 +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
andreas.otte%primus-online.de f1ecdd48f5 forgot this one 1999-09-08 07:18:45 +00:00
andreas.otte%primus-online.de d6946dbb85 add a missing return 1999-09-08 07:16:10 +00:00
andreas.otte%primus-online.de 8d1b614ec4 add some ignorance 1999-09-08 07:14:49 +00:00
valeski%netscape.com 03b9d2d6cb changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
valeski%netscape.com 073995e0bc adding data protocol handler to necko 1999-09-03 00:39:55 +00:00