Commit Graph

378 Commits

Author SHA1 Message Date
andreas.otte%primus-online.de
daf6861e60 adding hack to change PUBLIC variable
This has no effect until some other changes to SeaMonkey


git-svn-id: svn://10.0.0.236/trunk@35809 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:07:58 +00:00
rpotts%netscape.com
fd02c25f8b Added an if check around the call out through the event sink...
git-svn-id: svn://10.0.0.236/trunk@35721 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 09:50:30 +00:00
rpotts%netscape.com
18957e4484 Separated the Event Sink from the nsIStreamListener...
git-svn-id: svn://10.0.0.236/trunk@35720 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 09:40:40 +00:00
rpotts%netscape.com
da58e766e1 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...
git-svn-id: svn://10.0.0.236/trunk@35459 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 20:59:39 +00:00
warren%netscape.com
0a96edf3cb Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup.
git-svn-id: svn://10.0.0.236/trunk@35370 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:18:40 +00:00
gagan%netscape.com
3008a4f872 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.
git-svn-id: svn://10.0.0.236/trunk@35351 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:30:34 +00:00
rpotts%netscape.com
611aedf097 Temporary implementation of AsyncRead(...). Fixed some ref-counting bugs with the NS_WITH_SERVICE macro...
git-svn-id: svn://10.0.0.236/trunk@35246 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:32:54 +00:00
warren%netscape.com
8ecacf5ff9 Added dns to the build. Factored Cancel/Suspend/Resume into nsIRequest.
git-svn-id: svn://10.0.0.236/trunk@34970 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:53:21 +00:00
warren%netscape.com
347f675454 Hack to make necko co-exist with seamonkey so headers don't collide.
git-svn-id: svn://10.0.0.236/trunk@34957 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:41:08 +00:00
andreas.otte%primus-online.de
891f537f8e conversion to wstring / PRUnichar
some cosmetics to various Makefiles


git-svn-id: svn://10.0.0.236/trunk@34798 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 15:50:14 +00:00
warren%netscape.com
f1300adcbe Added range offsets to open stream methods.
git-svn-id: svn://10.0.0.236/trunk@34733 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 01:37:43 +00:00
valeski%netscape.com
b1b4ed9c0c added external module http hooks
git-svn-id: svn://10.0.0.236/trunk@34658 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:58:26 +00:00
valeski%netscape.com
03943f1585 gave http it's own xpt module
git-svn-id: svn://10.0.0.236/trunk@34451 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:38:03 +00:00
valeski%netscape.com
32a2989a04 we weren't initializing the request
git-svn-id: svn://10.0.0.236/trunk@34423 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:01:50 +00:00
valeski%netscape.com
637c0c4cf7 added nsIHTTPNotify.idl to the idl list on unix
git-svn-id: svn://10.0.0.236/trunk@34337 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:02:37 +00:00
warren%netscape.com
d9b1c6a72f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams.
git-svn-id: svn://10.0.0.236/trunk@34249 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:57:32 +00:00
valeski%netscape.com
7afe7bd16b updated the external module stuff
git-svn-id: svn://10.0.0.236/trunk@34235 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:15:26 +00:00
valeski%netscape.com
1318c22b6b we were erroneously freeing static mem.
git-svn-id: svn://10.0.0.236/trunk@34227 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:59:43 +00:00
valeski%netscape.com
d50b9b4b58 removed this one. good one is in mozilla/netwerk/protocol/http/public
git-svn-id: svn://10.0.0.236/trunk@34206 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 17:10:25 +00:00
valeski%netscape.com
021800d963 added nsIHttpNotify.idl to the idl srcs list
git-svn-id: svn://10.0.0.236/trunk@34202 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 16:40:44 +00:00
valeski%netscape.com
bb715f5868 changed method names to match new symantics
git-svn-id: svn://10.0.0.236/trunk@34201 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 16:39:48 +00:00
andreas.otte%primus-online.de
e9c382512e fix to build with new AsyncRead interface from nsIChannel
git-svn-id: svn://10.0.0.236/trunk@34195 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 10:09:00 +00:00
andreas.otte%primus-online.de
c4bfc904c9 some cleanup after IDLisation
git-svn-id: svn://10.0.0.236/trunk@34194 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 10:07:50 +00:00
andreas.otte%primus-online.de
d5a49e563d changed nsIUrl.h to nsIURL.h
git-svn-id: svn://10.0.0.236/trunk@34190 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 09:46:10 +00:00
andreas.otte%primus-online.de
35d2bfdc03 some cleanup after IDLisation
git-svn-id: svn://10.0.0.236/trunk@34189 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 09:44:04 +00:00
warren%netscape.com
c3f666b33c obsoleting files
git-svn-id: svn://10.0.0.236/trunk@34105 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:19:20 +00:00
warren%netscape.com
faf27a433b Removed nsITransport.
git-svn-id: svn://10.0.0.236/trunk@34104 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:12:19 +00:00
warren%netscape.com
a42da99b5a New IDL interfaces.
git-svn-id: svn://10.0.0.236/trunk@34087 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:33:30 +00:00
rpotts%netscape.com
66b884a0c3 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 :-)
git-svn-id: svn://10.0.0.236/trunk@34034 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:51:01 +00:00
andreas.otte%primus-online.de
833571b3c6 write \0 not on but after the CRLF on Headers
git-svn-id: svn://10.0.0.236/trunk@33954 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 09:40:56 +00:00
valeski%netscape.com
90ac10cb57 http - fixed build probs
test - moved a local var into a #ifdef because it was throwing a warning on windows


git-svn-id: svn://10.0.0.236/trunk@33619 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:12:26 +00:00
valeski%netscape.com
165e836611 proxy api change
git-svn-id: svn://10.0.0.236/trunk@33563 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:05:22 +00:00
valeski%netscape.com
fa400cb631 added header removal functionality and various return value checks
git-svn-id: svn://10.0.0.236/trunk@33562 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:04:07 +00:00
rpotts%netscape.com
ca99e307b1 fixed a string that was not being null-terminated...
git-svn-id: svn://10.0.0.236/trunk@33514 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 06:44:10 +00:00
rpotts%netscape.com
224501d0a4 fixed up some reference counting problems...
git-svn-id: svn://10.0.0.236/trunk@33513 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 06:36:23 +00:00
valeski%netscape.com
21a47721b7 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


git-svn-id: svn://10.0.0.236/trunk@33428 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 17:23:45 +00:00
gagan%netscape.com
88847965be CVS is misbehaving with me again... didnt pick these up... Updates to HTTP. Need nsSyncStreamListener to complete the test.
git-svn-id: svn://10.0.0.236/trunk@33421 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 13:26:47 +00:00
gagan%netscape.com
af1e981abd Updates to HTTP. Need SyncStreamListener to complete the test.
git-svn-id: svn://10.0.0.236/trunk@33420 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 13:25:29 +00:00
valeski%netscape.com
76fa3c81f3 moved external module insertion to new http file
git-svn-id: svn://10.0.0.236/trunk@33412 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 05:33:34 +00:00
andreas.otte%primus-online.de
e041ebaa15 Adding missing headerfiles
git-svn-id: svn://10.0.0.236/trunk@33194 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:48:58 +00:00
andreas.otte%primus-online.de
e125343119 Change to "camel case" nsIHttpEventSink
git-svn-id: svn://10.0.0.236/trunk@33193 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:48:12 +00:00
gagan%netscape.com
f4adea711f General fixes and changed #include nsHTTPEventSink to match the camel-case
file name. Will be fixed when we migrate to network.


git-svn-id: svn://10.0.0.236/trunk@33178 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:34:41 +00:00
gagan%netscape.com
04a5280ac2 General fixes.
git-svn-id: svn://10.0.0.236/trunk@33175 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:31:47 +00:00
andreas.otte%primus-online.de
cd20f1b732 Making libhttp.so a component
git-svn-id: svn://10.0.0.236/trunk@33115 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 08:22:46 +00:00
valeski%netscape.com
2ca0726f11 added some extern module stuff #ifdef'd zero
git-svn-id: svn://10.0.0.236/trunk@33000 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:00:30 +00:00
valeski%netscape.com
e5f7a73eb9 added the idl dir and initial nsIHttpNotify.idl
git-svn-id: svn://10.0.0.236/trunk@32988 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:31:26 +00:00
rpotts%netscape.com
67cddc9e2a Initialized m_Request to nsnull to prevent a crash durng destruction - it was trying to free uninitialized memory :-(
git-svn-id: svn://10.0.0.236/trunk@32703 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:04:11 +00:00
gagan%netscape.com
355d2415e5 Removed nsITimer dependency.
git-svn-id: svn://10.0.0.236/trunk@32679 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 08:53:17 +00:00
rpotts%netscape.com
dbd00bdf86 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...
git-svn-id: svn://10.0.0.236/trunk@32661 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 06:34:44 +00:00
gagan%netscape.com
2988832256 Moved nsHTTPEnums.h to public.
git-svn-id: svn://10.0.0.236/trunk@32625 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 21:38:53 +00:00