Commit Graph

378 Commits

Author SHA1 Message Date
warren%netscape.com
74ffc2347a Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write.
git-svn-id: svn://10.0.0.236/trunk@38962 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 11:26:59 +00:00
andreas.otte%primus-online.de
569439f306 NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski
git-svn-id: svn://10.0.0.236/trunk@38953 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 07:58:11 +00:00
mscott%netscape.com
86cd06f3a7 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
git-svn-id: svn://10.0.0.236/trunk@38804 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:05:48 +00:00
mscott%netscape.com
84ef6210e5 (Not part of the normal mozilla build yet) Necko change only. Make destructor virtual.
git-svn-id: svn://10.0.0.236/trunk@38803 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:04:53 +00:00
waterson%netscape.com
2d571965a8 Fix VC5.0 build bustage (Necko build ONLY).
git-svn-id: svn://10.0.0.236/trunk@38726 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 20:55:57 +00:00
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00
valeski%netscape.com
96ed466930 default to text/html content type if we don't know what it is
git-svn-id: svn://10.0.0.236/trunk@38480 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:44:15 +00:00
gordon%netscape.com
59258a8ec4 Removed nsHTTPRequestObserver.cpp from build, because it is obsolete.
git-svn-id: svn://10.0.0.236/trunk@38410 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 20:15:03 +00:00
gordon%netscape.com
3f058db891 File Removed.
git-svn-id: svn://10.0.0.236/trunk@38409 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 19:26:57 +00:00
andreas.otte%primus-online.de
fae9ed7c48 implemented MakeAbsolute
git-svn-id: svn://10.0.0.236/trunk@38317 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 15:50:56 +00:00
warren%netscape.com
a557d8d588 Fixed GetContentType method to work.
git-svn-id: svn://10.0.0.236/trunk@38253 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 05:56:24 +00:00
valeski%netscape.com
d10f7c5030 whoops!
git-svn-id: svn://10.0.0.236/trunk@38222 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 02:21:01 +00:00
valeski%netscape.com
7e457f3a5a added mime type mapping service to http
git-svn-id: svn://10.0.0.236/trunk@38208 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 00:48:21 +00:00
dveditz%netscape.com
4a69d1d866 nakefile cleanups
git-svn-id: svn://10.0.0.236/trunk@38066 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:42:17 +00:00
warren%netscape.com
e77eaaec98 Added newline at eof.
git-svn-id: svn://10.0.0.236/trunk@37989 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:59:27 +00:00
mscott%netscape.com
3b1a317404 Fix necko build brekage...onstart/stopbiding --> onStart/stop request.
git-svn-id: svn://10.0.0.236/trunk@37904 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 23:01:32 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
gordon%netscape.com
3ce10bd48a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@37747 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:07:32 +00:00
valeski%netscape.com
68d11ccc79 change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls
git-svn-id: svn://10.0.0.236/trunk@37543 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 20:20:17 +00:00
valeski%netscape.com
93b0dbd87b changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID().
git-svn-id: svn://10.0.0.236/trunk@37538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 20:00:19 +00:00
mscott%netscape.com
7195368191 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.


git-svn-id: svn://10.0.0.236/trunk@37527 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 18:42:51 +00:00
rpotts%netscape.com
1af64cfc8e tweaked the GetContentType(...) hack to first check the Content-type header before returning text/html...
git-svn-id: svn://10.0.0.236/trunk@37517 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 06:00:02 +00:00
valeski%netscape.com
9342bd261d very temporary gross necko hack to force an text/html content type in the file and http protocols
git-svn-id: svn://10.0.0.236/trunk@37494 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 23:28:15 +00:00
rpotts%netscape.com
49cc175467 Terminate the consumer request if an error occurs while writing the request to the server...
git-svn-id: svn://10.0.0.236/trunk@37418 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:10:47 +00:00
rpotts%netscape.com
76a695d3bc Applied patches provided by Tim Rowley - tor@boojum.cs.brown.edu. To fix build problems with the SUNWspro compilers. Thanks Tim!!
git-svn-id: svn://10.0.0.236/trunk@37378 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:58:06 +00:00
valeski%netscape.com
863f107e7f nsIChannel api change. you no longer have to supply an nsIEventQueue when calling an AsyncRead|Write() method.
git-svn-id: svn://10.0.0.236/trunk@37308 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 01:52:30 +00:00
mscott%netscape.com
0688db31b1 nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
git-svn-id: svn://10.0.0.236/trunk@37221 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:37:10 +00:00
bruce%cybersight.com
22e32fc718 Fixes for builds in an objdir. Use $(topsrcdir) and not $(DEPTH) for calculating path to rules.mk
git-svn-id: svn://10.0.0.236/trunk@37109 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 05:47:04 +00:00
rpotts%netscape.com
225b3fdc31 Added code to propagate the nsISupports context passed into AsyncRead(...) by the consumer back out in the calls to OnStartBinding/OnDataAvailable/OnStopBinding...
git-svn-id: svn://10.0.0.236/trunk@36844 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 07:51:17 +00:00
mcafee%netscape.com
ca431364ec typo, fixing linux bustage.
git-svn-id: svn://10.0.0.236/trunk@36834 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 05:16:37 +00:00
warren%netscape.com
83c4cabaf7 Fixed makefiles for necko module, but netwerk directory.
git-svn-id: svn://10.0.0.236/trunk@36826 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 03:00:32 +00:00
warren%netscape.com
7c6d53b215 Changed our library names from netwerk to necko.
git-svn-id: svn://10.0.0.236/trunk@36755 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 23:13:46 +00:00
warren%netscape.com
741b9ebc71 Added nsILoadGroup. Changed load attribute strategy to flags.
git-svn-id: svn://10.0.0.236/trunk@36753 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 22:58:42 +00:00
valeski%netscape.com
5ed0d75ddc not on main pull - pulled extraneous reference to an nsIHTTPNotify
git-svn-id: svn://10.0.0.236/trunk@36735 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 21:35:21 +00:00
rpotts%netscape.com
bc5c9d506e Fixed some reference counting problems with nsHTTPChannel::GetTransport(...)
git-svn-id: svn://10.0.0.236/trunk@36687 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 11:26:38 +00:00
rpotts%netscape.com
91a28d3986 Fixed nsHTTPChannel::GetEventSink(...) to addref the event sink being returned. This is consistant with XPCom guidelines..
git-svn-id: svn://10.0.0.236/trunk@36686 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 11:00:46 +00:00
rpotts%netscape.com
29855c8143 Fixed nsHTTPChannel::GetURI(...) to addref the URI being returned. This is consistant with XPCom guidelines..
git-svn-id: svn://10.0.0.236/trunk@36685 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 10:52:41 +00:00
rpotts%netscape.com
56be324fe8 Added NSPR logging... Reworked the building of the request to *only* use nsStrings.
git-svn-id: svn://10.0.0.236/trunk@36684 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 10:05:01 +00:00
rpotts%netscape.com
ad9e57e6a5 Added initial support for PR_LOG...
git-svn-id: svn://10.0.0.236/trunk@36680 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 08:56:57 +00:00
valeski%netscape.com
5dd32b9c34 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.
git-svn-id: svn://10.0.0.236/trunk@36650 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 01:12:16 +00:00
rpotts%netscape.com
c27bd7ddf7 Added the call to FireOnHeadersAvailable(...) which was lost when I reworked the header parsing...
git-svn-id: svn://10.0.0.236/trunk@36634 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 23:56:41 +00:00
rpotts%netscape.com
564c8537ce Reference counting fixes to plug some leaks...
git-svn-id: svn://10.0.0.236/trunk@36633 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 23:51:16 +00:00
rpotts%netscape.com
fd895755c1 Temp removed the code which caches socket transport instances. This will be hooked up again once connection keep-alive is supported...
git-svn-id: svn://10.0.0.236/trunk@36537 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 07:50:30 +00:00
rpotts%netscape.com
6daf39e5fc Reworked Server-Status and Response-Header parsing...
git-svn-id: svn://10.0.0.236/trunk@36535 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 07:41:22 +00:00
warren%netscape.com
dac1243979 Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy
git-svn-id: svn://10.0.0.236/trunk@36168 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 00:19:58 +00:00
rpotts%netscape.com
b23da3b181 The new status line parsing code is now enabled...
git-svn-id: svn://10.0.0.236/trunk@36090 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 21:21:22 +00:00
rpotts%netscape.com
c89ae9c790 First pass at parsing the server Response in a more robust way... This is a WIP (not tested yet)
git-svn-id: svn://10.0.0.236/trunk@36034 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 08:21:28 +00:00
rpotts%netscape.com
dbc76bf3ce Cleaned up the destructor to correctly release the input stream...
git-svn-id: svn://10.0.0.236/trunk@36033 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 08:19:26 +00:00
gagan%netscape.com
693f0077ef Fixed header parsing in HTTP. This should work ok now.
git-svn-id: svn://10.0.0.236/trunk@35895 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 04:02:20 +00:00
valeski%netscape.com
4fa4e2e84d 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.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00