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

470 Коммитов

Автор SHA1 Сообщение Дата
gagan%netscape.com 4207799f58 Temporarily fixing the assert which I think is ok, but would let rpotts confirm it. 1999-08-11 04:28:32 +00:00
rpotts%netscape.com f2ce78ae81 Release the pointers that were passed into AsyncRead(...) when the operation is compelete. This breaks some circular references that prevented WebShells from being deleted... 1999-08-10 04:02:10 +00:00
rpotts%netscape.com 04a3d364ce Implement the nsIRequest interface for nsHTTPChannel. This allows channels that are cancelled from a LoadGroup to *actually* get removed... 1999-08-09 07:07:08 +00:00
rpotts%netscape.com 449ba12da6 bug #10790. The HTTPChannel is now given to the HTTPResponseListener during construction. Before, it was getting it via a dirty cast in the OnStartRequest notification. Unfortunately, OnStartRequest is only called if the connection is successful. This caused a crash in OnStopRequest if the HTTPChannel was not available :-( 1999-08-06 07:57:44 +00:00
valeski%netscape.com 9ef221c292 fixing mac build bustage. brade verified the changes in her mac build. I switched from com ptrs to regular pointers as the com pointer abuse wasn't appreciated on the mac 1999-08-05 16:17:22 +00:00
rhp%netscape.com 98bb37cae0 added files: mozilla/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp, mozilla/netwerk/protocol/http/src/nsHTTPAtoms.cpp 1999-08-05 13:23:45 +00:00
rhp%netscape.com f02cb85a5f added files: mozilla/netwerk/protocol/http/public/nsIHTTPHeader.idl 1999-08-05 13:16:39 +00:00
rpotts%netscape.com fd0ec4db70 Fix for build bustage on Linux... 1999-08-05 09:07:29 +00:00
rpotts%netscape.com 0d546eaffa bug #10739. Reworking header APIs... I've added 2 new CPP files - nsHTTPAtoms.cpp and nsHTTPHeaderArray.cpp. 1999-08-05 08:27:49 +00:00
rpotts%netscape.com 6e6cdb32c5 bug #10739. Reworking header APIs... I've added a new IDL file - nsIHTTPHeader.idl and remove 3 obsolete header files... 1999-08-05 08:26:57 +00:00
gagan%netscape.com f182cc62db Added a new MANIFEST file for nsHTTP stuff. 1999-08-04 16:12:30 +00:00
gagan%netscape.com 46143f3127 POSTing works now. 1999-08-04 15:07:26 +00:00
warren%netscape.com 8d70ef168e Returned error when file not found for OpenInputStream. 1999-08-03 22:00:17 +00:00
dougt%netscape.com 3c1d894f1c removing hard coded "http" string and using GetScheme() instead.
cleaning up a memory leak
1999-08-03 02:15:30 +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
rpotts%netscape.com 558cdd62be bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect. 1999-07-30 07:13:05 +00:00
rpotts%netscape.com 21e7d3da37 bug #10424 URL redirects. If the server did *not* send an entity along with the 302, necko would not correctly follow the redirect. 1999-07-30 06:39:24 +00:00
warren%netscape.com 57392932f9 Fixed to not put stuff in netwerk/dist anymore. 1999-07-30 06:10:53 +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 d563520210 fix build by including config.mak 1999-07-29 03:10:23 +00:00
mscott%netscape.com 17edea3140 fix build breakage...include config.mak 1999-07-29 02:49:02 +00:00
rpotts%netscape.com 8c60c16be7 Set the max number of open transports to 8. 1999-07-28 09:26:55 +00:00
rpotts%netscape.com 315de829f9 Obsolete file... 1999-07-28 09:25:51 +00:00
rpotts%netscape.com bf7d1235bc Support for a Max number of open transports. 1999-07-28 09:25:31 +00:00
warren%netscape.com c7b57f1e08 Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +00:00
warren%netscape.com cfc523f742 Added assertion for bug I was hitting (spinning). 1999-07-27 08:47:43 +00:00
warren%netscape.com 17c0cb8533 Added missing error check. 1999-07-27 08:47:13 +00:00
gordon%netscape.com 22715d631f Find proper resource directory for Mac, rather than /usr/local/netscape/bin. 1999-07-27 01:11:03 +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
valeski%netscape.com 748a1853fe necko - we now set the user agent by default 1999-07-25 13:54:47 +00:00
warren%netscape.com 26a8529775 Removed about:blank joke. 1999-07-23 20:11:02 +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
gordon%netscape.com d8313c8a56 Added nsHTTPEncodeStream.cpp. 1999-07-23 01:03:15 +00:00
gordon%netscape.com dd4ca602e8 Added nsIHTTPProtocolHandler.idl. 1999-07-23 00:56:23 +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
tbogard%aol.net fc1c23671b Fixing Necko build bustage. 1999-07-22 03:33:49 +00:00
tbogard%aol.net 8f76874619 Looks like I missed a header for the nsCStringKey -> nsStringKey change. 1999-07-22 02:47:39 +00:00
gagan%netscape.com 14c1cb2c49 Replaced resource:// with resource:/ to be more compliant with our parsing rules. 1999-07-21 11:48:56 +00:00
warren%netscape.com ab34582f5b Added encode flags. 1999-07-21 07:05:12 +00:00
warren%netscape.com 568cf0dedf Working on NS_NewPostDataStream -- doesn't work yet though. 1999-07-21 05:53:25 +00:00
mscott%netscape.com 824bad82e8 we were always returning text/html as the content type for any page using the http channel!!!! this was preventing us from
properly loading rdf files from the web (particularly the tinderbox page for the flash panel). Only use the default
dummy type if we weren't able to extract a legitimate content type from the header.
1999-07-20 22:44:24 +00:00
valeski%netscape.com 3373348387 using more appropriate notification progids 1999-07-20 20:44:02 +00:00
mscott%netscape.com ff5d0893fc Necko only!!! Fix build breakage for clobber builds by removing reference to nsIHTTPHandler.h
which is no longer being exported.
1999-07-20 18:46:34 +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
warren%netscape.com ffe7345c94 Started adding encode stream for necko posting. 1999-07-20 08:45:41 +00:00
warren%netscape.com 5cf0a4cadd Added BeOS fix. 1999-07-19 18:42:44 +00:00
rickg%netscape.com 23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
mcafee%netscape.com 552ee1b1fa Removing unnecessary includes of xp_core.h and xp_str.h to help BeOS compile. Patch provided by warren. 1999-07-17 06:50:57 +00:00
mcafee%netscape.com 2d83f3faab More error checking for nsFTPChannel::Init() 1999-07-17 03:02:22 +00:00
mscott%netscape.com e5bf603535 bulletproofing some code. it's possible for the loadgroup to be null. 1999-07-17 02:06:47 +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 888168a292 Very simple implementation of 301/302 HTTP redirects... 1999-07-16 09:54:20 +00:00
gagan%netscape.com b778e933c4 Changed status from nsresult to PRUint32. 1999-07-16 00:40:06 +00:00
gagan%netscape.com 7da5059cdb Changed const char* to char* for GetStatus calls. 1999-07-16 00:32:50 +00:00
gagan%netscape.com 3abf7c6edb Fixed some broken status headers. Added Host: header by default. This was otherwise breaking (as in unsuccessful HTTP) for some sites that use virtual hosts and depend upon the Host: header. 1999-07-15 22:57:04 +00:00
rpotts%netscape.com 500486a5d0 Added the query string (if any) to the GET request... NECKO only. 1999-07-13 20:42: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 699e29f427 Fixed http loading in viewer. Wrong channel was being passes to doc loader's stream listener by http. Also added ifdef to easily remove Fill change. 1999-07-11 02:43:37 +00:00
warren%netscape.com e9f97d9c22 Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +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
andreas.otte%primus-online.de 0954d17559 NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski 1999-07-10 07:58:11 +00:00
mscott%netscape.com 8ecb5aa054 Not part of the regular build yet! Necko change only. Fix my linux build. You can't compare a nsCOMPtr directly to a raw ptr. You need to call .Get() to retrieve the raw ptr and then you can compare for equality 1999-07-08 19:05:48 +00:00
mscott%netscape.com eac53e102e (Not part of the normal mozilla build yet) Necko change only. Make destructor virtual. 1999-07-08 19:04:53 +00:00
waterson%netscape.com 64d488e196 Fix VC5.0 build bustage (Necko build ONLY). 1999-07-07 20:55:57 +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
valeski%netscape.com 7ca7bb1676 default to text/html content type if we don't know what it is 1999-07-06 23:44:15 +00:00
gordon%netscape.com 81deb2d7d6 Removed nsHTTPRequestObserver.cpp from build, because it is obsolete. 1999-07-06 20:15:03 +00:00
gordon%netscape.com 4ca37f60b5 File Removed. 1999-07-06 19:26:57 +00:00
valeski%netscape.com 90bc8ef305 corrected string parsing argument order 1999-07-06 14:26:29 +00:00
andreas.otte%primus-online.de 69469e8d7b implemented MakeAbsolute 1999-07-04 15:50:56 +00:00
andreas.otte%primus-online.de 9004effea0 NECKO only: adding some ignorance 1999-07-03 08:32:38 +00:00
warren%netscape.com 6f5d4684a3 Fixed GetContentType method to work. 1999-07-03 05:56:24 +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
warren%netscape.com 7284413878 Implemented about:blank. 1999-07-03 04:05: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 9b19b8baa3 whoops! 1999-07-03 02:21:01 +00:00
valeski%netscape.com c59b3c8f0b added mime type mapping to file 1999-07-03 00:59:51 +00:00
valeski%netscape.com d7ff6d053e added mime type mapping service to http 1999-07-03 00:48:21 +00:00
gordon%netscape.com 149f718e80 First Checked In. 1999-07-02 21:12:57 +00:00
dveditz%netscape.com 0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
mcafee%netscape.com 4b0cfacbd6 Solaris needs newline at EOF. 1999-07-02 05:37:21 +00:00
mcafee%netscape.com b48b91fe1c Fixing Solaris/CC bustage. 1999-07-02 05:36:07 +00:00
warren%netscape.com b72f8da9e7 Added newline at eof. 1999-07-02 04:59:27 +00:00
warren%netscape.com f1cd3a43d3 Removed semicolon. 1999-07-02 04:58:27 +00:00
mscott%netscape.com 8e30eda729 Fix necko build brekage...onstart/stopbiding --> onStart/stop request. 1999-07-01 23:01:32 +00:00
gordon%netscape.com 1842e1c67e First Checked In. 1999-07-01 19:50:15 +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
gordon%netscape.com a31a6af6bd First Checked In. 1999-07-01 19:07:32 +00:00
warren%netscape.com cf763ddb3f Started about: protocol. 1999-07-01 07:52:08 +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
mscott%netscape.com 72580a4db8 Not part of tinderbox and release builds! Fix type of include file nsComPtr.h --> nsCOMPtr.h so necko can build
again on Linux builds. Thanks to Jim Nance for pointing this out.
1999-06-30 18:42:51 +00:00
rpotts%netscape.com 1e61b3ac94 tweaked the GetContentType(...) hack to first check the Content-type header before returning text/html... 1999-06-30 06:00:02 +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 d7461c4b7f Terminate the consumer request if an error occurs while writing the request to the server... 1999-06-29 20:10:47 +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
rpotts%netscape.com 190ef76896 Applied patches provided by Tim Rowley - tor@boojum.cs.brown.edu. To fix build problems with the SUNWspro compilers. Thanks Tim!! 1999-06-29 06:58:06 +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
mscott%netscape.com 5d01523ea0 nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:37:10 +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
mcafee%netscape.com 6f7e7ea213 Adding BeOS case. 1999-06-26 06:46:20 +00:00
gordon%netscape.com 68b0d3bb26 First Checked In. 1999-06-26 01:14:51 +00:00
rpotts%netscape.com f0ccdc91c0 Added code to propagate the nsISupports context passed into AsyncRead(...) by the consumer back out in the calls to OnStartBinding/OnDataAvailable/OnStopBinding... 1999-06-25 07:51:17 +00:00
mcafee%netscape.com 5e732d9a66 typo, fixing linux bustage. 1999-06-25 05:16:37 +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
valeski%netscape.com efa7a153ba not on main pull - pulled extraneous reference to an nsIHTTPNotify 1999-06-24 21:35:21 +00:00
rpotts%netscape.com 654bb4089c Fixed some reference counting problems with nsHTTPChannel::GetTransport(...) 1999-06-24 11:26:38 +00:00
rpotts%netscape.com 323c65c8b7 Fixed nsHTTPChannel::GetEventSink(...) to addref the event sink being returned. This is consistant with XPCom guidelines.. 1999-06-24 11:00:46 +00:00
rpotts%netscape.com 9dca85f93d Fixed nsHTTPChannel::GetURI(...) to addref the URI being returned. This is consistant with XPCom guidelines.. 1999-06-24 10:52:41 +00:00
rpotts%netscape.com ebf0309305 Added NSPR logging... Reworked the building of the request to *only* use nsStrings. 1999-06-24 10:05:01 +00:00
rpotts%netscape.com a39e1f12ff Added initial support for PR_LOG... 1999-06-24 08:56:57 +00:00
gordon%netscape.com 8a3f1735a0 First Checked In. 1999-06-24 01:14:30 +00:00
valeski%netscape.com 6cef7df918 not in SeaMonkey pull. added toLowerCase() on the header passed into the GetHeader() method so we're comparing like case strings. also made the ExamineREsponse call syncronous until the proxy object problems are worked out. 1999-06-24 01:12:16 +00:00
rpotts%netscape.com a4d83afdb2 Added the call to FireOnHeadersAvailable(...) which was lost when I reworked the header parsing... 1999-06-23 23:56:41 +00:00
rpotts%netscape.com 104a580e01 Reference counting fixes to plug some leaks... 1999-06-23 23:51:16 +00:00
rpotts%netscape.com 12c8c31d6e Temp removed the code which caches socket transport instances. This will be hooked up again once connection keep-alive is supported... 1999-06-23 07:50:30 +00:00
rpotts%netscape.com 7a70a758f7 Reworked Server-Status and Response-Header parsing... 1999-06-23 07:41:22 +00:00
warren%netscape.com 89f98a47db Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy 1999-06-22 00:19:58 +00:00
rpotts%netscape.com e774288f38 The new status line parsing code is now enabled... 1999-06-21 21:21:22 +00:00
rpotts%netscape.com 4de371d508 First pass at parsing the server Response in a more robust way... This is a WIP (not tested yet) 1999-06-21 08:21:28 +00:00
rpotts%netscape.com af6c7d7ee9 Cleaned up the destructor to correctly release the input stream... 1999-06-21 08:19:26 +00:00
andreas.otte%primus-online.de 9b156af152 include some header files to get rid of some warnings 1999-06-20 19:53:39 +00:00
warren%netscape.com b5c184f197 Fixed indentation. (Don't use tabs!) 1999-06-19 22:24:44 +00:00
gagan%netscape.com bad26efa50 Fixed header parsing in HTTP. This should work ok now. 1999-06-19 04:02:20 +00:00
valeski%netscape.com e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +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
andreas.otte%primus-online.de dfc5264ab8 some more ignorance 1999-06-17 19:00:56 +00:00
andreas.otte%primus-online.de 62803631b8 renaming library from fileprotocol to resourceprotocol
adding hack to change PUBLIC variable
1999-06-17 18:20:13 +00:00
warren%netscape.com dc528f8358 Fixed refcount problem. 1999-06-17 10:11:35 +00:00
warren%netscape.com c2dfabdd2f Added resource: protocol. 1999-06-17 09:24:31 +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
rpotts%netscape.com 53ea579cb6 Added an if check around the call out through the event sink... 1999-06-16 09:50:30 +00:00
rpotts%netscape.com ce2c24bc6a Separated the Event Sink from the nsIStreamListener... 1999-06-16 09:40:40 +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
rpotts%netscape.com d151d323f5 Fixed header parsing to prevent an endless loop. Moved the code to handle header completion into a new function - FireOnHeadersAvailable. This function notifies the event sink and external modules interested in headers. previously, external modules were being notified multiple times... 1999-06-15 20:59:39 +00:00
valeski%netscape.com e406123a20 added thread locking functionality back into ftp 1999-06-15 20:49:56 +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
rpotts%netscape.com 4158178158 Temporary implementation of AsyncRead(...). Fixed some ref-counting bugs with the NS_WITH_SERVICE macro... 1999-06-14 22:32:54 +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 53b800668b Made Create constructor and used GenericFactory. 1999-06-12 01:41:16 +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 7c8cb8eb81 Added range offsets to open stream methods. 1999-06-11 01:37:43 +00:00
warren%netscape.com c993890233 Added start of file: protocol. 1999-06-11 01:37:24 +00:00
valeski%netscape.com a56464c68e added external module http hooks 1999-06-10 21:58:26 +00:00
valeski%netscape.com 6a1012f1c4 gave http it's own xpt module 1999-06-09 19:38:03 +00:00
valeski%netscape.com a0ff95a722 gave ftp it's own xpt module 1999-06-09 19:37:17 +00:00
valeski%netscape.com 16b5b4a9de we weren't initializing the request 1999-06-09 14:01:50 +00:00
valeski%netscape.com e3a4da8230 added nsIHTTPNotify.idl to the idl list on unix 1999-06-09 01:02:37 +00:00
warren%netscape.com b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
valeski%netscape.com c4e98ed33c updated the external module stuff 1999-06-08 20:15:26 +00:00
valeski%netscape.com 9de5693010 we were erroneously freeing static mem. 1999-06-08 19:59:43 +00:00
valeski%netscape.com 1e42ea1bf1 removed this one. good one is in mozilla/netwerk/protocol/http/public 1999-06-08 17:10:25 +00:00
valeski%netscape.com c27c8b5ecd added nsIHttpNotify.idl to the idl srcs list 1999-06-08 16:40:44 +00:00
valeski%netscape.com 6e31ac7943 changed method names to match new symantics 1999-06-08 16:39:48 +00:00
andreas.otte%primus-online.de 4b6841d203 fix to build with new AsyncRead interface from nsIChannel 1999-06-08 10:09:00 +00:00
andreas.otte%primus-online.de f9e00b49a3 some cleanup after IDLisation 1999-06-08 10:07:50 +00:00
andreas.otte%primus-online.de a57dfa00be changed nsIUrl.h to nsIURL.h 1999-06-08 09:46:10 +00:00
andreas.otte%primus-online.de a2b5c4f6f4 some cleanup after IDLisation 1999-06-08 09:44:04 +00:00
warren%netscape.com 550ed382f3 obsoleting files 1999-06-07 22:19:20 +00:00
warren%netscape.com 3f748629d6 Removed nsITransport. 1999-06-07 22:12:19 +00:00
warren%netscape.com c0797ee094 New IDL interfaces. 1999-06-07 21:33:30 +00:00
rpotts%netscape.com 3015ef6aa1 Fixed up header parsing, so that if OnDataAvailable(...) is called more than once we remember that headers have been processed... Made a temp change to the stream being passed out of OnDataAvailable(...). It was inStr which was *never* initialized... Right now it is passing out the original stream (which is wrong I think) but it doesn't crash :-) 1999-06-07 19:51:01 +00:00
andreas.otte%primus-online.de 324027b316 write \0 not on but after the CRLF on Headers 1999-06-06 09:40:56 +00:00
valeski%netscape.com 2248ec3a5b http - fixed build probs
test - moved a local var into a #ifdef because it was throwing a warning on windows
1999-06-03 22:12:26 +00:00
valeski%netscape.com e54a53f007 proxy api change 1999-06-03 20:05:22 +00:00
valeski%netscape.com 4a6e379644 added header removal functionality and various return value checks 1999-06-03 20:04:07 +00:00
rpotts%netscape.com d6fda0f44c fixed a string that was not being null-terminated... 1999-06-03 06:44:10 +00:00
rpotts%netscape.com ed1279ef88 fixed up some reference counting problems... 1999-06-03 06:36:23 +00:00
valeski%netscape.com 9da8d67122 nsIHTTPConnection.h - extended the nsIHTTPConnection interface so the internal streamlistener is accessible.
nsHTTPConnection.cpp - GetInputStream now uses a syncStream listener.
nsHTTPConnection.h  - api update to support new nsIHTTPConnection interface and added nsIStreamListener member.
nsHTTPResponseListener.cpp - added code to push data through the pipe
1999-06-02 17:23:45 +00:00
gagan%netscape.com 99aab3d592 CVS is misbehaving with me again... didnt pick these up... Updates to HTTP. Need nsSyncStreamListener to complete the test. 1999-06-02 13:26:47 +00:00
gagan%netscape.com 230339cc2c Updates to HTTP. Need SyncStreamListener to complete the test. 1999-06-02 13:25:29 +00:00
valeski%netscape.com ae34b5e190 moved external module insertion to new http file 1999-06-02 05:33:34 +00:00
andreas.otte%primus-online.de 303a9997a4 Adding missing headerfiles 1999-05-28 23:48:58 +00:00
andreas.otte%primus-online.de 92ce036ef4 Change to "camel case" nsIHttpEventSink 1999-05-28 23:48:12 +00:00
gagan%netscape.com 5e2e56e50f General fixes and changed #include nsHTTPEventSink to match the camel-case
file name. Will be fixed when we migrate to network.
1999-05-28 22:34:41 +00:00
gagan%netscape.com ee8e427e1a General fixes. 1999-05-28 22:31:47 +00:00
andreas.otte%primus-online.de 870c20688f First Checked In 1999-05-28 09:16:47 +00:00
andreas.otte%primus-online.de f7497e5e99 First Checked In 1999-05-28 09:11:38 +00:00
andreas.otte%primus-online.de 4dfeed2745 Making libftp.so a component 1999-05-28 08:23:48 +00:00
andreas.otte%primus-online.de 1b4cef9a04 Making libhttp.so a component 1999-05-28 08:22:46 +00:00
valeski%netscape.com b297c03dc5 added some extern module stuff #ifdef'd zero 1999-05-27 22:00:30 +00:00
valeski%netscape.com eeabca79d9 added the idl dir and initial nsIHttpNotify.idl 1999-05-27 21:31:26 +00:00
rpotts%netscape.com 4feac47fe0 Initialized m_Request to nsnull to prevent a crash durng destruction - it was trying to free uninitialized memory :-( 1999-05-26 21:04:11 +00:00
valeski%netscape.com 297ce5b121 removed #include "nsXPComCIID.h" as it is no longer pertinent 1999-05-26 20:51:19 +00:00
gagan%netscape.com 556ae1f0bf Removed nsITimer dependency. 1999-05-26 08:53:17 +00:00
rpotts%netscape.com 8aad0db8b0 Some fixes to get the http test case running... Fixed the handler factory to correctly return the instance. Changed to CID of the URL being created to NS_STANDARDURL_CID. Fixed a signed/unsigned crash when creating connections... 1999-05-26 06:34:44 +00:00
gagan%netscape.com aa64f27c18 Moved nsHTTPEnums.h to public. 1999-05-25 21:38:53 +00:00
gagan%netscape.com 0d6e518a98 Moved nsHTTPEnums from src to here. 1999-05-25 21:38:27 +00:00
gagan%netscape.com 8f6ccdb2a8 Fixed nsIURL.h to nsIUrl.h... Thanks Andreas. 1999-05-25 21:33:23 +00:00
gagan%netscape.com d1b56d8639 Changes inherited from nsIProtocolHandler. Also changed default port to 21. 1999-05-25 21:31:46 +00:00
valeski%netscape.com 4d55943c23 adding http's events for the nsNetModuleMgr api so necko can interract with external modules 1999-05-25 17:34:59 +00:00
warren%netscape.com f6a80b4dec Moving changes from XPCOM20_BRANCH forward. 1999-05-24 09:01:47 +00:00
gagan%netscape.com 9847e119e7 Made the baseURL default to null. 1999-05-22 00:21:32 +00:00
gagan%netscape.com c16c43cc07 Made the baseURL a default to null. 1999-05-22 00:21:08 +00:00
gagan%netscape.com b00ba8f58d Changes for the HTTP Handler. 1999-05-21 07:12:31 +00:00
gagan%netscape.com 9f76f6ebd8 Changes for the handler. 1999-05-21 07:12:11 +00:00
gagan%netscape.com cd014cf449 HTTP changes. 1999-05-21 06:35:21 +00:00
gagan%netscape.com 945fb72b35 HTTP Handler work. 1999-05-21 06:33:17 +00:00
valeski%netscape.com b374da3bb8 nsFtpConnectionThread now implements (not yet properly) nsICancelable. 1999-05-18 21:01:49 +00:00
valeski%netscape.com 9056ed610b added the correct EventQueueCID 1999-05-18 20:56:25 +00:00
valeski%netscape.com c90cbc7243 shifted ftp error codes into their proper range 1999-05-09 19:25:59 +00:00
valeski%netscape.com 1b339a8876 changed over to nsIEventQueue interface, from straight PL_EventQueue. Also took a whack at getting socketTRansport::OpenOutputSTream to work (hasn't been tested) 1999-05-05 22:41:44 +00:00
valeski%netscape.com ea972dd17f removed prcmon from #include list 1999-05-04 18:52:38 +00:00
hshaw%netscape.com 37991de521 fix signature for nsGetFactory() 1999-05-04 00:21:42 +00:00
warren%netscape.com 234d6bcc23 Renamed nsTypicalUrl to nsStandardUrl. 1999-05-01 02:08:18 +00:00
valeski%netscape.com 19ca513966 nsIUrl.h - switched back to single inheritance of nsISupports (removed nsITypicalUrl)
nsUrl.h - switched back to multiple inheritance including nsITypicalUrl
nsFtpConnectionThread.cpp - various initializations.
nsFtpConnectionThread.h - various initialization api changes
nsFtpProtocolConnection.cpp - Switched back to ProtoConn implementing the nsISTreamListener interface + some initialization changes.
nsFtpProtocolConnection.h - inherits nsIStreamListener.
everyone else was just init changes.
1999-04-30 15:28:33 +00:00
valeski%netscape.com 2f30230a3a added a temp default http port (80) 1999-04-29 17:33:51 +00:00
valeski%netscape.com 5dbc86db6e added ftpCore.h to unix build 1999-04-28 23:15:14 +00:00
valeski%netscape.com a20faae96d initialized the ref cnt, again :( 1999-04-28 23:12:30 +00:00
valeski%netscape.com 82400c9c0e put ftp error codes into their own file (probably shouldn't export the file to the world..). 1999-04-28 22:45:57 +00:00
valeski%netscape.com 3d89ac411d hooked up the out nsIUrl param with the resulting url 1999-04-28 20:09:17 +00:00
valeski%netscape.com 7d83c0ee79 added ref count init macro to handler constructor. hooked up the newUrl method to set the out nsIUrl param. 1999-04-28 20:01:02 +00:00
valeski%netscape.com 5d149c884c Added error handling. 1999-04-27 19:55:09 +00:00
valeski%netscape.com b6fa4a666a added more states. file stat, dir listing and file download is now enabled (not tested). 1999-04-26 23:13:14 +00:00
warren%netscape.com 9426263323 Started hooking up socket transport synchronous streams. Added unix makefiles. 1999-04-25 19:25:24 +00:00
valeski%netscape.com bbba7a4529 changed TRUE -> PR_TRUE. and changed use of nsIUrl->GetPort() (linux caught a compile problem msvc wasn't catching) 1999-04-23 22:07:46 +00:00
valeski%netscape.com a02a3ebdf6 #included netCore.h so more descriptive error msgs can be used. also removed FTP_S_PORT use. 1999-04-23 21:58:42 +00:00
valeski%netscape.com f6136787f0 nsFtpStreamListenerEvent.h - explicit #include "nsString.h" (fix build prob on linux)
nsFtpConnectionThread.*    - added the passive data connection mode (PASV) state
1999-04-23 20:01:03 +00:00
valeski%netscape.com a8b060e36e nsFtpConnectionThread.* added more states. we now handle mkdir and delete (file/dir).
nsFtpFactory.cpp api change.
1999-04-23 17:34:33 +00:00
valeski%netscape.com a555e6f8f9 nsFtpConnectionThread.h - made the destructor virtual
nsFtpProtocolConnection.h|.cpp - switched some #includes around in a blind attempt to satisfy linux
1999-04-22 21:32:30 +00:00
warren%netscape.com c6ab8d165e Added sourceOffset parameter to OnDataAvailable. 1999-04-22 21:06:04 +00:00
valeski%netscape.com 6dc1c75626 removed UsePasv from the connection handler. added some more states. 1999-04-22 20:17:46 +00:00
valeski%netscape.com b9e26c63f9 yanked the ftp event sink references as they're not in use right now 1999-04-22 19:29:24 +00:00
valeski%netscape.com c9657c11d3 pushed the stream listener hand off into the constructor so it's know before the thread is run 1999-04-22 19:28:30 +00:00
valeski%netscape.com 55933269eb stripped out the stream listener support (and thus the async state machine) from nsFtpProtocolConnection. nsFtpConnectionThread class now takes on the listener notification.
added nsFtpStreamListenerEvent (cpp|h) which declares the events used to push data back across the thread boundry.
1999-04-22 17:58:42 +00:00