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

384 Коммитов

Автор SHA1 Сообщение Дата
kandrot%netscape.com afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
valeski%netscape.com f3c5380747 sr=darin. no bug. just dead wood static cid cleanup 2001-04-13 11:23:11 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
cls%seawood.org 979c006ff6 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
disttsc%bart.nl 385f89696c Bug 60952: nsMimeTypes.h has wrong type for APPLICATION_HTTP_INDEX, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=blake, sr=darin
Bug 68651, nsFtpConnectionThread should use NS_LITERAL_STRING, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=jag, sr=dougt
2001-03-24 22:57:35 +00:00
dougt%netscape.com 3975dd1e74 fix for 69143. This patch prevents non existant files from entering into
the file transport process loop for reading.
2001-03-21 19:44:23 +00:00
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
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +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
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
dougt%netscape.com 803ef26399 50558. check for nulls. written by warren harris r=dougt@netscape.com a=mscott@netscape.com 2000-11-30 21:14:41 +00:00
cls%seawood.org 66a18fcbbf 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
rayw%netscape.com 0257791053 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
mscott%netscape.com 259e029521 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
make the http event sync proxy async instead of sync. r=gagan
2000-09-08 00:21:44 +00:00
dp%netscape.com cd61ae1fd7 bug# 49786 Setting up file protocol handler to support weak ref. 2000-08-22 06:06:42 +00:00
warren%netscape.com e12f238589 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
warren%netscape.com 2b01440bc0 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
dougt%netscape.com d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
warren%netscape.com 7982bac600 Fixed warning. 2000-07-11 09:46:51 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +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
rpotts%netscape.com 6fb0aa314b The file channel needs to implement nsIProgressEventSink, so the channel parameter is *not* the file transport. Doing this means that the FileChannel also needs to implement nsIInterfaceRequestor... 2000-06-02 05:19:16 +00:00
brade%netscape.com 7c6a2b6db7 File Removed. 2000-05-25 17:43:06 +00:00
warren%netscape.com 3658e33085 Removing URIParser attribute from nsIURI interface. Fixed Equals for case when port is the default. Cached URL parsers (all 3) to reduce object allocation. r=andreas,dp 2000-05-25 08:27:40 +00:00
dveditz%netscape.com f71a600908 use threadsafe ISupports 2000-05-08 07:46:16 +00:00
warren%netscape.com 185c96de20 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
andreas.otte%primus-online.de e365632082 first round of checkins to fix bug 37616, Retire SetRelativePath, r=warren@netscape.com 2000-05-05 23:39:25 +00:00
gagan%netscape.com e760a6c370 Fix for bug 37238. We were guessing the mime type incorrectly. 2000-05-04 00:57:58 +00:00
slamm%netscape.com ab6e3eb4e6 Fix declaration order to quiet build warning 2000-04-26 14:31:01 +00:00
warren%netscape.com 4d06e7376a Fixed RemoveChannel problem. 2000-04-13 10:02:32 +00:00
warren%netscape.com 503913645b Added some cleanup. 2000-04-13 09:30:09 +00:00
warren%netscape.com c544ed30ef Factoring stream i/o operations into nsIStreamIO interface. 2000-04-13 09:20:50 +00:00
warren%netscape.com 2979b9b4c6 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
warren%netscape.com e3f8423ef9 Added assertions to prove that cancel was being used in a thread-safe way. Bug 31091. 2000-04-04 08:49:49 +00:00
cls%seawood.org cd487cbabb 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
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
dougt%netscape.com 8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
ruslan%netscape.com 2f6f7277b0 Fix multithreadness assert in the file channel, r=warren 2000-03-14 03:18:26 +00:00
valeski%netscape.com f5768f57da r=andreas. a=jevering. fixing leaky sieve. Another example of where a comptr saves the day. 2000-02-23 20:19:46 +00:00
valeski%netscape.com 8dc8022117 getting the rest of necko to use the mimetypes file. also added protection for UA string setup 2000-02-09 05:04:52 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
valeski%netscape.com 41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
sdagley%netscape.com 813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
mcafee%netscape.com 1d87346332 Fixing solaris bustage, include ordering problem? r=dougt 2000-01-25 01:27:28 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
rpotts%netscape.com be79b9fb76 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
sspitzer%netscape.com d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com ae47d277d3 Moved CIDs to nsIURLParser.idl to avoid mac bustage. 2000-01-14 11:09:17 +00:00
warren%netscape.com d0f68edd62 Added access path for netwerk/base/src. 2000-01-14 10:15:46 +00:00
warren%netscape.com ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
rpotts%netscape.com 023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
dougt%netscape.com b1db728381 Converting to use nsIModule macro. r=dp,jud 2000-01-03 23:27:20 +00:00
valeski%netscape.com 06d6ba655f 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do 1999-12-07 07:00:47 +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 df05f7c5cb implement retargeting for SetLoadGroup
r=valeski,rpotts
1999-11-30 22:19:53 +00:00
warren%netscape.com 2db26922a6 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
rpotts%netscape.com 193521bc26 bug #18651. Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe... 1999-11-24 23:51:09 +00:00
warren%netscape.com e91b1c3cbe First Checked In. 1999-11-23 23:03:43 +00:00
warren%netscape.com 9493f81938 Added code to aggressively clean up file transport on failure. 1999-11-23 07:01:56 +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
jdunn%netscape.com e871be6de2 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
warren%netscape.com 4a274d01f1 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
dmose%mozilla.org 5312eacf8c 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 d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +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
warren%netscape.com 641f3b5442 Lowercased idl method names for scriptability. Cleaned up nsIURL interface. 1999-10-12 01:39:37 +00:00
dveditz%netscape.com ff01d5e8f4 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 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 adddfe7cec Bug #0000 (no bug number necessary). remove old STREAM_CONVERTER_HACK #ifdef code because we no longer need this.
This was the hack we used before we had a stream converter service to load rfc822 data into a webshell and get it
converted to html.
r=warren
1999-10-05 20:54:03 +00:00
beard%netscape.com 9eae33066d 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 8fedfe4c3c nuked 1999-09-30 21:38:19 +00:00
kipp%netscape.com c76720c9ee added files: mozilla/netwerk/protocol/file/src/nsFileProtocolModule.cpp, removed files: mozilla/netwerk/protocol/file/src/nsFileProtocolFactory.cpp 1999-09-30 21:29:03 +00:00
kipp%netscape.com a8d7d25d5d Converted from components to modules 1999-09-30 21:22:48 +00:00
kipp%netscape.com 8945b95dcc new 1999-09-30 01:53:31 +00:00
warren%netscape.com 2d231c38d9 cleaned up unused stuff in nsFileProtocolHandler 1999-09-20 20:53:17 +00:00
warren%netscape.com 9a5468a916 freed mCommand in nsFileChannel 1999-09-20 20:53:13 +00:00
gordon%netscape.com 9ecddd21c9 Remove include of nsDirectoryStreamMumbleSomething.h. 1999-09-16 01:28:16 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
gordon%netscape.com d99240d307 Added nsIFileTransportService.idl and nsISocketTransportService.idl to netwerkIDL.mcp. Removed nsDirectoryIndexStream.cpp from file.mcp and added nsFileTransport.cpp, nsFileTransportService.cpp, and nsDirectoryIndexStream.cpp to netwerk.mcp. All part of warren's checkin. 1999-09-16 01:16:17 +00:00
warren%netscape.com 994f05a34e Making nsIThread nsIRunnable and nsIThreadPool idl interfaces. 1999-09-15 21:41:20 +00:00
slamm%netscape.com 93bea7dbd6 Fix build warnings: reorder initializers. 1999-09-15 19:24:20 +00:00
warren%netscape.com 279545985d Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
sfraser%netscape.com bdcf7c443e Fix the file type of the shared lib 1999-09-14 00:49:58 +00:00
warren%netscape.com 506438ded2 More fixes for nsCOMPtr inconsistencies. 1999-09-11 19:43:06 +00:00
warren%netscape.com d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
briano%netscape.com 32510b6ff3 General cleanup. 1999-09-10 01:57:11 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
rpotts%netscape.com d78c217f46 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
briano%netscape.com 696e28cdec Removed the obsolete non-NECKO leftovers. 1999-09-09 00:59:41 +00:00
norris%netscape.com 2d8e12375f * Add checks on urls formed from web scripts
* Make nsScriptSecurityManager implement nsXPCSecurityManager
* Fix unix warnings
1999-09-07 02:54:19 +00:00
brendan%mozilla.org 7de384224d Use deadlock detecting nsAutoMonitors, etc., correctly. 1999-09-06 19:57:40 +00:00
shaver%netscape.com 6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
bruce%cybersight.com d16eeb2d46 Change delete[] of nsEscape() result to nsCRT::free(). 1999-09-04 16:37:24 +00:00
valeski%netscape.com f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
mscott%netscape.com eb22c256d5 Bug #10845 --> mailnews mime stream converter now works with the stream converter service and uses nsIstreamConverter
instead of nsIStreamConverter2.
1999-09-03 22:03:12 +00:00
warren%netscape.com bc9c0f4451 Fix case where suspended file transport terminates early. Fixes missing Help menu and toolbar problem. 1999-09-01 01:31:39 +00:00
warren%netscape.com efb0c1cd5d Made NS_BASE_STREAM_WOULD_BLOCK a failure code (for JS). Reduced socket transport buffer size. Fixed ABBA deadlock when calling OnEmpty in pipe code (bug#12870). 1999-08-31 21:47:30 +00:00
norris%netscape.com d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
warren%netscape.com b1c540e4a4 Ported to the new nsPipe2 implementation. 1999-08-27 10:33:37 +00:00
rjc%netscape.com 9ab582d122 When enumerating a folder's contents, don't resolve aliases, and don't return hidden files/folders. 1999-08-27 03:42:23 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
waterson%netscape.com a079c6ff90 Fix compiler warning. 1999-08-26 04:28:14 +00:00
jdunn%netscape.com 7e20f0761f HP requires a newline at the end 1999-08-25 21:21:22 +00:00
dougt%netscape.com 4fa0148c0f fixing build bustage. 1999-08-25 00:19:00 +00:00
dougt%netscape.com 9d805dcf7b Fix for bug 10435. Everything except CopyFrom() and MoveFrom() 1999-08-24 22:30:59 +00:00
waterson%netscape.com 4b3a77da70 Okay, checking back in my fix for the filespec and iterator. 1999-08-24 22:08:55 +00:00
waterson%netscape.com 0def552738 Backed out per don's request. 1999-08-24 20:07:12 +00:00
waterson%netscape.com eca4eb2378 Can't keep a ref to iterator's filespec, and then advance the iterator; need to make a copy. 1999-08-24 19:58:07 +00:00
waterson%netscape.com 6282b19257 Add some commentary. 1999-08-24 06:45:06 +00:00
waterson%netscape.com 03ef9a0dd7 Oops. Left off the 'file-type' specifier in the '200' line. 1999-08-24 06:41:35 +00:00
waterson%netscape.com f35714a8a6 Add nsDirectoryIndexStream to the build. 1999-08-24 04:24:35 +00:00
waterson%netscape.com 087fbea164 Add nsDirectoryIndexStream.cpp to the build. 1999-08-24 04:23:55 +00:00
waterson%netscape.com 64ab1c9f4e Initial revision. Not yet in the build. 1999-08-24 01:32:19 +00:00
mccabe%netscape.com a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mccabe%netscape.com 17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
warren%netscape.com d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
warren%netscape.com 9ac2ca82f2 Fixed problem for large files (or small buffers). Added logging. 1999-08-11 08:17:35 +00:00
warren%netscape.com 8d70ef168e Returned error when file not found for OpenInputStream. 1999-08-03 22:00:17 +00:00
warren%netscape.com 529c0b2b71 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +00:00
valeski%netscape.com 1cdf612052 pulled file extension search code and started using new mime mapping method which does it for us 1999-08-01 16:44:29 +00:00
warren%netscape.com 7451a9a44d Took out more f*** nsCOMPtrs 1999-07-31 07:51:35 +00:00
warren%netscape.com 07b963204e Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group. 1999-07-31 06:53:12 +00:00
beard%netscape.com 8a020feafa removed special handling of /usr/local/bin/netscape in favor of better solution in resource: URL handler. 1999-07-31 01:04:23 +00:00
gagan%netscape.com 7404fbfb83 Fixes the spaces problem also on the Mac! 1999-07-30 01:17:29 +00:00
gagan%netscape.com c6472453b8 Fixed the spaces problem. File path is now unescaped before being handed over to file spec. 1999-07-30 00:55:35 +00:00
sdagley%netscape.com 55649b036c Temp hack for the Mac to address error opening files that aren't properly un-escaped (%20 still in the path instead of spaces for example). We still fail to open the file but now there's an error message to go along with the failure. Note that this will require Macsbug to be installed or a Mac hitting this error will crash. Since we were already telling people that they needed Macsbug installed to run the developmental builds I don't see a problem with this. 1999-07-30 00:37:58 +00:00
mscott%netscape.com 17edea3140 fix build breakage...include config.mak 1999-07-29 02:49:02 +00:00
warren%netscape.com c7b57f1e08 Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +00:00
beard%netscape.com a0521b8805 Makes resource URLs work, by special-casing "/usr/local/netscape/bin" on the Mac. This should probably be moved elsewhere, but works for now. 1999-07-25 18:39:41 +00:00
mscott%netscape.com 26a3b9cd3b necko only:
Added the "hack" which can be turned off by undefining STREAM_CONVERTER_HACK. Basically, if we are reading in an rfc822
file we insert a stream converter between the file channel and the consumer of the file channel. the file channel
then talks to the converter which talks to the end consumer.

Made the file channel honor the number of bytes read parameter which gets passed in on AsyncRead. We now cancel the read
after we've read in the desired # of bytes.

fixed two file parsing bugs: one in Init and one in GetContenttype
1999-07-23 06:16:37 +00:00
gagan%netscape.com b44058b222 Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well. 1999-07-22 21:14:51 +00:00
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
rickg%netscape.com 23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
mscott%netscape.com 8d979a472e Add support for honoring the offset parameter on AsynchRead by seeking to the offset position in the file before
reading.
1999-07-16 23:29:12 +00:00
valeski%netscape.com 4ee45defd5 mime map api change 1999-07-16 22:00:11 +00:00
warren%netscape.com 84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
rpotts%netscape.com 649255cf93 Added nsIBufferObserver::OnWrite(...) nsFileChannel.h nsFileChannel.cpp 1999-07-12 06:21:41 +00:00
warren%netscape.com ea58a47f3c Changed file transport worker count to 1 for ease of debugging. Revert later. 1999-07-10 11:26:53 +00:00
warren%netscape.com b632ed0c4f Fixed some file channel problems. Works better now. Upped buffer size to avoid buffer full problems. 1999-07-10 11:26:51 +00:00
warren%netscape.com 9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
gordon%netscape.com 147e0974f0 Update for changes to Windows makefiles. 1999-07-07 00:59:20 +00:00
warren%netscape.com 049749ca7d Fixed GetContentType method to work. 1999-07-03 05:48:45 +00:00
warren%netscape.com 5f19b87347 Added missing uuid. 1999-07-03 04:53:14 +00:00
waterson%netscape.com 246d9f8ee8 Ensure all control paths return a value. 1999-07-03 03:54:28 +00:00
valeski%netscape.com c59b3c8f0b added mime type mapping to file 1999-07-03 00:59:51 +00:00
dveditz%netscape.com 0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
warren%netscape.com bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
gordon%netscape.com 26a9374e9c Changed access paths. 1999-07-01 19:09:51 +00:00
valeski%netscape.com fe56395bae change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
valeski%netscape.com 578e858da5 changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID(). 1999-06-30 20:00:19 +00:00
valeski%netscape.com 94f842b81e very temporary gross necko hack to force an text/html content type in the file and http protocols 1999-06-29 23:28:15 +00:00
rpotts%netscape.com 903423a651 mapped NS_BASE_STREAM to NS_OK for the OnStopBinding(...) notification... 1999-06-29 08:48:41 +00:00
valeski%netscape.com bec54efcc1 nsIChannel api change. you no longer have to supply an nsIEventQueue when calling an AsyncRead|Write() method. 1999-06-29 01:52:30 +00:00
bruce%cybersight.com cbeef0eae2 Fixes for builds in an objdir. Use $(topsrcdir) and not $(DEPTH) for calculating path to rules.mk 1999-06-27 05:47:04 +00:00
gordon%netscape.com 68b0d3bb26 First Checked In. 1999-06-26 01:14:51 +00:00
warren%netscape.com a1f7bf6f4e Fixed makefiles for necko module, but netwerk directory. 1999-06-25 03:00:32 +00:00
warren%netscape.com 054ac73b6c Changed our library names from netwerk to necko. 1999-06-24 23:13:46 +00:00
warren%netscape.com 3fc52f0e95 Added nsILoadGroup. Changed load attribute strategy to flags. 1999-06-24 22:58:42 +00:00
gordon%netscape.com 8a3f1735a0 First Checked In. 1999-06-24 01:14:30 +00:00
warren%netscape.com 89f98a47db Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy 1999-06-22 00:19:58 +00:00
andreas.otte%primus-online.de a6a5bc0774 adding hack to change PUBLIC variable
This has no effect until some other changes to SeaMonkey
1999-06-17 19:07:58 +00:00
warren%netscape.com dc528f8358 Fixed refcount problem. 1999-06-17 10:11:35 +00:00
warren%netscape.com 0116ceb4a0 cleanup 1999-06-17 09:24:11 +00:00
warren%netscape.com 47f641c14a fixed refcount problem 1999-06-17 09:23:34 +00:00
warren%netscape.com 165315ccac Fixed GetPort 1999-06-17 03:38:23 +00:00
warren%netscape.com 634f48802b Changed nsAutoMonitor to nsAutoCMonitor (cached). 1999-06-16 04:15:25 +00:00
gagan%netscape.com f21af13f8c Removed the temporary Open call on nsIChannel. Inspite of the misnomer, the AsyncRead is the one to use. 1999-06-16 00:49:01 +00:00
warren%netscape.com f44c21a640 Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup. 1999-06-15 05:18:40 +00:00
gagan%netscape.com 15a7f1be6d Added nsIChannel::Open temporarily to get the test working. There is a problem with the nsIBuffer search routine (see news://npm.netlib) which causes an assertion since refcnt gets reset after a Read following a Search on nsIBuffer. 1999-06-15 04:30:34 +00:00
andreas.otte%primus-online.de 3a8f3c3f0c fix to get Makefile.in working again 1999-06-12 08:46:44 +00:00
warren%netscape.com 6ea7c972dd Removed link dependency on netwerk.dll. 1999-06-12 08:07:05 +00:00
warren%netscape.com 02d6700343 Fixed build problem. 1999-06-12 07:17:02 +00:00
warren%netscape.com d35036b4b4 Merged in file transport stuff (now file transport is obsolete). 1999-06-12 07:14:19 +00:00
warren%netscape.com f33dad4b97 Added dns to the build. Factored Cancel/Suspend/Resume into nsIRequest. 1999-06-12 02:53:21 +00:00
warren%netscape.com 084415f780 More work on file: protocol. 1999-06-12 01:41:12 +00:00
warren%netscape.com 2c894653f9 Hack to make necko co-exist with seamonkey so headers don't collide. 1999-06-12 01:41:08 +00:00
andreas.otte%primus-online.de 19b6475c9e conversion to wstring / PRUnichar
some cosmetics to various Makefiles
1999-06-11 15:50:14 +00:00
andreas.otte%primus-online.de 0da38d1100 first checked in 1999-06-11 11:02:57 +00:00
warren%netscape.com c993890233 Added start of file: protocol. 1999-06-11 01:37:24 +00:00