Commit Graph

408 Commits

Author SHA1 Message Date
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
andreas.otte%primus-online.de
da475687fe removing libnetwerkutil_s.a from Makefile and move util down again. Took some time for me to get what netwerkutil_s.a is really for 1999-06-23 21:57:01 +00:00
rpotts%netscape.com
fb38d9854a Oops... Forgot to check this in... Allow multiple URLs to be processed before exiting the app. 1999-06-23 19:27:44 +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
92fd066a85 nsString/nsString2 -- what's the difference. Now using const too. 1999-06-23 06:08:13 +00:00
warren%netscape.com
606e60bd1d Added nsString interfaces. Removed NS_NET because this stuff isn't for DLL export. 1999-06-23 05:28:48 +00:00
gordon%netscape.com
c4f9de0ada Updated to match changes to Windows/Unix makefiles. 1999-06-23 01:12:57 +00:00
gordon%netscape.com
4754ae2027 Added registration of DNS Service. 1999-06-23 01:12:01 +00:00
gordon%netscape.com
0b267a1e8d Added include of OpenTransport header files for XP_MAC. 1999-06-23 01:11:19 +00:00
andreas.otte%primus-online.de
18c2fd395a fixing for new AutoRegistration 1999-06-22 18:24:02 +00:00
andreas.otte%primus-online.de
d5aec3bd76 adding libnetwerkutil_s to libnetwerk 1999-06-22 18:06:47 +00:00
andreas.otte%primus-online.de
26f99fef72 moving util in front of build since it looks like util will be part of the netwerk lib. 1999-06-22 18:05:32 +00:00
andreas.otte%primus-online.de
e715f4f3c7 added util makefiles 1999-06-22 18:04:37 +00:00
andreas.otte%primus-online.de
06e8b9694f first checked in 1999-06-22 18:04:02 +00:00
warren%netscape.com
89f98a47db Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy 1999-06-22 00:19:58 +00:00
warren%netscape.com
bd51df11d6 Added util 1999-06-22 00:19:16 +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
dbe7cd0107 Fixed for recent buffer changes. 1999-06-19 22:26:08 +00:00
warren%netscape.com
b5c184f197 Fixed indentation. (Don't use tabs!) 1999-06-19 22:24:44 +00:00
rpotts%netscape.com
f36b444774 The write count passed to AsyncWrite(...) is now honored... Fixed things up so the InputStream passed to AsyncWrite does not *have* to really be a nsIBufferedInputStream... 1999-06-19 10:00:42 +00:00
rpotts%netscape.com
cd5b805356 Fixed a bug due to nsIBufferInputStreams... GetLength(...) does *not* necessarily return the total amount of data in the stream (only the contiguous amount). 1999-06-19 09:42:59 +00:00
rpotts%netscape.com
dd13833983 Removing nsSocketTransportStreams.h.cpp 1999-06-19 06:17:33 +00:00
rpotts%netscape.com
13078ccde6 got rid of nsSocketTransportStreams... Using the nsIBuffer notification interfaces instead... 1999-06-19 05:49:04 +00:00
gagan%netscape.com
bae126c753 Added special cases to allow for something like http://gagan/?Length=5000 to get a response back with Content-Length (actual and header both) set to 5000. Its cool for testing bigger responses. 1999-06-19 04:05:10 +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
warren%netscape.com
d7807651c4 replaced by nsIOService 1999-06-17 21:42:42 +00:00
warren%netscape.com
98b59e6b35 Made MakeAbsolute just return the input URI if it's already absolute. 1999-06-17 21:41:26 +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
faa13d7f16 adding resource makefiles 1999-06-17 18:21:05 +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
e29ca073a9 Fixed refcount problem in Clone. 1999-06-17 10:11:58 +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
f877b5736e Added QI for nsIURL 1999-06-17 09:23:05 +00:00
rpotts%netscape.com
d36d171220 I'm beginning to rework this test to handle multiple URL loads... This is WIP :-) 1999-06-17 07:46:00 +00:00
warren%netscape.com
ecd211644b Added missing addref 1999-06-17 03:38:49 +00:00
warren%netscape.com
165315ccac Fixed GetPort 1999-06-17 03:38:23 +00:00
andreas.otte%primus-online.de
19db4eb6e6 adding urltest and TestFileInput2 to the unix build 1999-06-16 19:51:14 +00:00
andreas.otte%primus-online.de
97abd63429 resurrected 1999-06-16 17:43:28 +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
cd8ca675cb New and improved. 1999-06-16 04:15:29 +00:00
warren%netscape.com
634f48802b Changed nsAutoMonitor to nsAutoCMonitor (cached). 1999-06-16 04:15:25 +00:00
warren%netscape.com
98606d8e53 Added NewChannelFromNativePath for convenience. 1999-06-16 04:15:22 +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
e9aa4d8cae New file transport test using nsFileChannels instead. 1999-06-15 05:22:25 +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
gagan%netscape.com
c163f729cf Fixes to urltest.cpp. 1999-06-15 00:34:37 +00:00
rpotts%netscape.com
e5c9cbeb18 Changed printf(...) to puts(...) in OnDataAvailable(...) calls. This allows % characters to be present in the output stream without crashing the test app... Added call to AsyncRead(... )in Testprotocols.cpp to get http working again... 1999-06-14 23:42:12 +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
gagan%netscape.com
c7b25b5f1a Added urltest.cpp. Hasn't been compiled as yet. 1999-06-14 08:45:27 +00:00
gagan%netscape.com
6ecb25b173 Added the urltest program as well. 1999-06-14 08:44:22 +00:00
rpotts%netscape.com
2d59a49818 Added FillStream(...) which exposes nsIBuffer::WriteSegments() 1999-06-12 08:56:05 +00:00
rpotts%netscape.com
3b9b3f2321 Changed doRead() to fill the stream using the IBuffer::WriteSegments api rather than Fill()... This removes an intermediate buffer copy and cleans up the code... 1999-06-12 08:54:56 +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
fe13a7ac85 removed 1999-06-12 07:15:18 +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
b1d48ac370 Added NS_NET to export global functions. 1999-06-12 07:14:12 +00:00
andreas.otte%primus-online.de
aada98494f fix to get Makefile.in working again 1999-06-12 06:53:45 +00:00
warren%netscape.com
f8073afaf4 Added nsDNSService factory. 1999-06-12 02:59:02 +00:00
warren%netscape.com
8b254fcb2c Replaced with idl files. 1999-06-12 02:53:57 +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
4defd84b03 Rule to create netwerk/dist/include. 1999-06-12 01:47:13 +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
valeski%netscape.com
de59b3a2cb some const build problems are now fixed 1999-06-11 18:48:10 +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
rpotts%netscape.com
127f6c0732 Fixed up the event-sink-getter to correctly addref and QI the InputTestConsumer... 1999-06-11 09:18:25 +00:00
rpotts%netscape.com
7ed8823445 Fixed a memory corruption where a buffer was allocated with new[] but freed with PL_strfree()... 1999-06-11 09:17:11 +00:00
rpotts%netscape.com
6d784f23e7 changed some printf around... 1999-06-11 08:36:40 +00:00
rpotts%netscape.com
2b42ced83f Changes to get transport streams working with the new BufferInputStream implementations... 1999-06-11 08:35:26 +00:00
rpotts%netscape.com
610723bbaf Fixed deadlock if another thread holds the transport lock when Process is called... 1999-06-11 08:34:21 +00:00
rpotts%netscape.com
d14aa0339b moved the test for being suspended inside of the main Process() loop since doRead() can suspend the transport... Also call nsSocketTransportStream::GetWriteAmount() to determine how much data can be written to the stream... 1999-06-11 08:28:22 +00:00
andreas.otte%primus-online.de
0360f9ffac adding protocol/file makefiles 1999-06-11 07:43:54 +00:00
gagan%netscape.com
9baf9b5cf2 Expiring old protocols stuff. Everything is now moved to protocol directory. 1999-06-11 06:51:56 +00:00
gagan%netscape.com
eb5ccc12b0 Ignore .class files for CVS. 1999-06-11 06:25:11 +00:00
gagan%netscape.com
a941eb6b56 Added the test server for testing anamalous responses from HTTP servers. For more details read http://lxr.mozilla.org/mozilla/source/netwerk/testserver/docs/help.html 1999-06-11 06:21:16 +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
c16f2f9fe9 making the nsNetModuleMgr a singleton 1999-06-10 22:26:37 +00:00
valeski%netscape.com
a56464c68e added external module http hooks 1999-06-10 21:58:26 +00:00
valeski%netscape.com
c5ceb90b90 added some comments and thread safety fixes 1999-06-10 21:57:47 +00:00
valeski%netscape.com
ea499bc8be I was continuing through a loop when I wasn't supposed to be 1999-06-10 15:13:37 +00:00