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

874 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com 89620d3de1 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 23398403cb using more appropriate notification progids 1999-07-20 20:44:02 +00:00
mscott%netscape.com 871ba705fe 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 7bcb94a320 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
warren%netscape.com a0781936c1 Started adding encode stream for necko posting. 1999-07-20 08:45:41 +00:00
warren%netscape.com 43c61c6a31 Added BeOS fix. 1999-07-19 18:42:44 +00:00
rickg%netscape.com 844a7e45ef switch to faster string search API 1999-07-19 03:29:56 +00:00
mcafee%netscape.com 7c22a8aaa2 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 057b904582 More error checking for nsFTPChannel::Init() 1999-07-17 03:02:22 +00:00
mscott%netscape.com ce79c62b51 bulletproofing some code. it's possible for the loadgroup to be null. 1999-07-17 02:06:47 +00:00
mscott%netscape.com f1935c2a87 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 996ae44af0 mime map api change 1999-07-16 22:00:11 +00:00
warren%netscape.com c5684bf4d7 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 9bf7d77b24 Very simple implementation of 301/302 HTTP redirects... 1999-07-16 09:54:20 +00:00
gagan%netscape.com e6e88da3d6 Changed status from nsresult to PRUint32. 1999-07-16 00:40:06 +00:00
gagan%netscape.com dd34216562 Changed const char* to char* for GetStatus calls. 1999-07-16 00:32:50 +00:00
gagan%netscape.com e2e849d721 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 162a4eeb6a Added the query string (if any) to the GET request... NECKO only. 1999-07-13 20:42:36 +00:00
rpotts%netscape.com e65411e118 Added nsIBufferObserver::OnWrite(...) nsFileChannel.h nsFileChannel.cpp 1999-07-12 06:21:41 +00:00
warren%netscape.com e400f4c284 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 5d32aee9fc Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
warren%netscape.com b07497cbf4 Changed file transport worker count to 1 for ease of debugging. Revert later. 1999-07-10 11:26:53 +00:00
warren%netscape.com 4cc4f7d94f 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 8c09626144 NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski 1999-07-10 07:58:11 +00:00
mscott%netscape.com 125fd2927a 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 e9a6c957b8 (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 73224fdf86 Fix VC5.0 build bustage (Necko build ONLY). 1999-07-07 20:55:57 +00:00
warren%netscape.com 9efa754f74 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
gordon%netscape.com 8a580e3ade Update for changes to Windows makefiles. 1999-07-07 00:59:20 +00:00
valeski%netscape.com 4c0be90d9d 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 27421d85e0 Removed nsHTTPRequestObserver.cpp from build, because it is obsolete. 1999-07-06 20:15:03 +00:00
gordon%netscape.com ea50f9706f File Removed. 1999-07-06 19:26:57 +00:00
valeski%netscape.com ae3afa14af corrected string parsing argument order 1999-07-06 14:26:29 +00:00
andreas.otte%primus-online.de a7cb885282 implemented MakeAbsolute 1999-07-04 15:50:56 +00:00
andreas.otte%primus-online.de d34fefc505 NECKO only: adding some ignorance 1999-07-03 08:32:38 +00:00
warren%netscape.com 7b7d415d65 Fixed GetContentType method to work. 1999-07-03 05:56:24 +00:00
warren%netscape.com 51b67ed5e2 Fixed GetContentType method to work. 1999-07-03 05:48:45 +00:00
warren%netscape.com 401b3775c3 Added missing uuid. 1999-07-03 04:53:14 +00:00
warren%netscape.com 604b91233e Implemented about:blank. 1999-07-03 04:05:14 +00:00
waterson%netscape.com f10f88706a Ensure all control paths return a value. 1999-07-03 03:54:28 +00:00
valeski%netscape.com f04f3d575c whoops! 1999-07-03 02:21:01 +00:00
valeski%netscape.com 186f7e1705 added mime type mapping to file 1999-07-03 00:59:51 +00:00
valeski%netscape.com f1c37b22bb added mime type mapping service to http 1999-07-03 00:48:21 +00:00
gordon%netscape.com f8ef48adb6 First Checked In. 1999-07-02 21:12:57 +00:00
dveditz%netscape.com 4c4f269dd4 nakefile cleanups 1999-07-02 13:42:17 +00:00
mcafee%netscape.com ac8e2e4ae5 Solaris needs newline at EOF. 1999-07-02 05:37:21 +00:00
mcafee%netscape.com d07ec61461 Fixing Solaris/CC bustage. 1999-07-02 05:36:07 +00:00
warren%netscape.com bd950fb2eb Added newline at eof. 1999-07-02 04:59:27 +00:00
warren%netscape.com c6916ca48c Removed semicolon. 1999-07-02 04:58:27 +00:00
mscott%netscape.com 66db1fd657 Fix necko build brekage...onstart/stopbiding --> onStart/stop request. 1999-07-01 23:01:32 +00:00
gordon%netscape.com 0d2661369b First Checked In. 1999-07-01 19:50:15 +00:00
warren%netscape.com 8462929dda 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 beeaffa0bf Changed access paths. 1999-07-01 19:09:51 +00:00
gordon%netscape.com 88643e7e3a First Checked In. 1999-07-01 19:07:32 +00:00
warren%netscape.com b50f94427d Started about: protocol. 1999-07-01 07:52:08 +00:00
valeski%netscape.com a754d778e7 change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
valeski%netscape.com a8b4609040 changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID(). 1999-06-30 20:00:19 +00:00
mscott%netscape.com 6e29b90b9a 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 10110b7f14 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 01525cf417 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 da22bd6396 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 85fff1b09e mapped NS_BASE_STREAM to NS_OK for the OnStopBinding(...) notification... 1999-06-29 08:48:41 +00:00
rpotts%netscape.com 56aeb8f181 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 65011fa313 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 aad910c48a nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:37:10 +00:00
bruce%cybersight.com f23b43cc61 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 dcd3528312 Adding BeOS case. 1999-06-26 06:46:20 +00:00
gordon%netscape.com cb77bebe14 First Checked In. 1999-06-26 01:14:51 +00:00
rpotts%netscape.com 3d86d3cad6 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 539b2bac6e typo, fixing linux bustage. 1999-06-25 05:16:37 +00:00
warren%netscape.com 9ac7aaff06 Fixed makefiles for necko module, but netwerk directory. 1999-06-25 03:00:32 +00:00
warren%netscape.com c9b3f8540a Changed our library names from netwerk to necko. 1999-06-24 23:13:46 +00:00
warren%netscape.com cbef31b2d1 Added nsILoadGroup. Changed load attribute strategy to flags. 1999-06-24 22:58:42 +00:00
valeski%netscape.com 901590987b not on main pull - pulled extraneous reference to an nsIHTTPNotify 1999-06-24 21:35:21 +00:00
rpotts%netscape.com 9eb8624bf0 Fixed some reference counting problems with nsHTTPChannel::GetTransport(...) 1999-06-24 11:26:38 +00:00
rpotts%netscape.com 18056ccc22 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 78542664cd 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 e978586cdb Added NSPR logging... Reworked the building of the request to *only* use nsStrings. 1999-06-24 10:05:01 +00:00
rpotts%netscape.com d9a0ad849f Added initial support for PR_LOG... 1999-06-24 08:56:57 +00:00
gordon%netscape.com a8bc7b8f59 First Checked In. 1999-06-24 01:14:30 +00:00
valeski%netscape.com 52d9da00b1 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 b6759adde7 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 c627268767 Reference counting fixes to plug some leaks... 1999-06-23 23:51:16 +00:00
rpotts%netscape.com c42b0d7fb6 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 00396576e8 Reworked Server-Status and Response-Header parsing... 1999-06-23 07:41:22 +00:00
warren%netscape.com 806192fcc1 Added stuff needed for landing -- LoadQuiet, BypassCache, BypassProxy 1999-06-22 00:19:58 +00:00
rpotts%netscape.com 803020b690 The new status line parsing code is now enabled... 1999-06-21 21:21:22 +00:00
rpotts%netscape.com 971870e5ef 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 b92472309b Cleaned up the destructor to correctly release the input stream... 1999-06-21 08:19:26 +00:00
andreas.otte%primus-online.de 3e7e7bb9ef include some header files to get rid of some warnings 1999-06-20 19:53:39 +00:00
warren%netscape.com 95efcebff3 Fixed indentation. (Don't use tabs!) 1999-06-19 22:24:44 +00:00
gagan%netscape.com bb6f458181 Fixed header parsing in HTTP. This should work ok now. 1999-06-19 04:02:20 +00:00
valeski%netscape.com 487d9ea921 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 f3d98ac1d5 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 b0f67439ac some more ignorance 1999-06-17 19:00:56 +00:00
andreas.otte%primus-online.de 303a1285a2 renaming library from fileprotocol to resourceprotocol
adding hack to change PUBLIC variable
1999-06-17 18:20:13 +00:00
warren%netscape.com 3ad6726dfb Fixed refcount problem. 1999-06-17 10:11:35 +00:00
warren%netscape.com adbd249049 Added resource: protocol. 1999-06-17 09:24:31 +00:00
warren%netscape.com b7824857a2 cleanup 1999-06-17 09:24:11 +00:00
warren%netscape.com 6a880e0207 fixed refcount problem 1999-06-17 09:23:34 +00:00
warren%netscape.com 6af7941437 Fixed GetPort 1999-06-17 03:38:23 +00:00
rpotts%netscape.com 4662660cbb Added an if check around the call out through the event sink... 1999-06-16 09:50:30 +00:00
rpotts%netscape.com 0681307151 Separated the Event Sink from the nsIStreamListener... 1999-06-16 09:40:40 +00:00
warren%netscape.com f437dcc583 Changed nsAutoMonitor to nsAutoCMonitor (cached). 1999-06-16 04:15:25 +00:00
gagan%netscape.com 9a6a3c5bf2 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 1efe4fcd92 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 6af7797870 added thread locking functionality back into ftp 1999-06-15 20:49:56 +00:00
warren%netscape.com 34ec459271 Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup. 1999-06-15 05:18:40 +00:00
gagan%netscape.com 625a8843c3 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 bf12be33fe 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 930ad0d17a fix to get Makefile.in working again 1999-06-12 08:46:44 +00:00
warren%netscape.com 8f6729f704 Removed link dependency on netwerk.dll. 1999-06-12 08:07:05 +00:00
warren%netscape.com dcf2db91cf Fixed build problem. 1999-06-12 07:17:02 +00:00
warren%netscape.com 1b29483300 Merged in file transport stuff (now file transport is obsolete). 1999-06-12 07:14:19 +00:00
warren%netscape.com a58bb71f17 Added dns to the build. Factored Cancel/Suspend/Resume into nsIRequest. 1999-06-12 02:53:21 +00:00
warren%netscape.com 766990ce2b Made Create constructor and used GenericFactory. 1999-06-12 01:41:16 +00:00
warren%netscape.com e3060393cf More work on file: protocol. 1999-06-12 01:41:12 +00:00
warren%netscape.com 3283484dd3 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 254f0311f3 conversion to wstring / PRUnichar
some cosmetics to various Makefiles
1999-06-11 15:50:14 +00:00
andreas.otte%primus-online.de 76a0d84f42 first checked in 1999-06-11 11:02:57 +00:00
warren%netscape.com a3d5c985ee Added range offsets to open stream methods. 1999-06-11 01:37:43 +00:00
warren%netscape.com 526d6da653 Added start of file: protocol. 1999-06-11 01:37:24 +00:00
valeski%netscape.com 0b72eda887 added external module http hooks 1999-06-10 21:58:26 +00:00
valeski%netscape.com a8aa3688e1 gave http it's own xpt module 1999-06-09 19:38:03 +00:00
valeski%netscape.com 31c9757658 gave ftp it's own xpt module 1999-06-09 19:37:17 +00:00
valeski%netscape.com d1859a2754 we weren't initializing the request 1999-06-09 14:01:50 +00:00
valeski%netscape.com 44c25ac2aa added nsIHTTPNotify.idl to the idl list on unix 1999-06-09 01:02:37 +00:00
warren%netscape.com aaf94a8b04 Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
valeski%netscape.com 31cd42eef8 updated the external module stuff 1999-06-08 20:15:26 +00:00
valeski%netscape.com d8555bfb2b we were erroneously freeing static mem. 1999-06-08 19:59:43 +00:00
valeski%netscape.com efc54bedfa removed this one. good one is in mozilla/netwerk/protocol/http/public 1999-06-08 17:10:25 +00:00
valeski%netscape.com ad80d0fbca added nsIHttpNotify.idl to the idl srcs list 1999-06-08 16:40:44 +00:00
valeski%netscape.com f9aba8d0c5 changed method names to match new symantics 1999-06-08 16:39:48 +00:00
andreas.otte%primus-online.de a644401592 fix to build with new AsyncRead interface from nsIChannel 1999-06-08 10:09:00 +00:00
andreas.otte%primus-online.de 9fddf18e26 some cleanup after IDLisation 1999-06-08 10:07:50 +00:00
andreas.otte%primus-online.de 3b8589b984 changed nsIUrl.h to nsIURL.h 1999-06-08 09:46:10 +00:00
andreas.otte%primus-online.de 0d99370e0c some cleanup after IDLisation 1999-06-08 09:44:04 +00:00
warren%netscape.com 29acb92d6c obsoleting files 1999-06-07 22:19:20 +00:00
warren%netscape.com 5fbea51f35 Removed nsITransport. 1999-06-07 22:12:19 +00:00
warren%netscape.com c0a3d1a7a3 New IDL interfaces. 1999-06-07 21:33:30 +00:00
rpotts%netscape.com 098bb0e8cc 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 a13711461f write \0 not on but after the CRLF on Headers 1999-06-06 09:40:56 +00:00
valeski%netscape.com 0dcaa3a2a0 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 f6a2937fb1 proxy api change 1999-06-03 20:05:22 +00:00
valeski%netscape.com de8ef131ae added header removal functionality and various return value checks 1999-06-03 20:04:07 +00:00
rpotts%netscape.com 80c46a43a7 fixed a string that was not being null-terminated... 1999-06-03 06:44:10 +00:00
rpotts%netscape.com 5e620902ed fixed up some reference counting problems... 1999-06-03 06:36:23 +00:00
valeski%netscape.com 7a37a63b8f 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 f561ab3b41 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 7d8db7ce59 Updates to HTTP. Need SyncStreamListener to complete the test. 1999-06-02 13:25:29 +00:00
valeski%netscape.com c9935ed859 moved external module insertion to new http file 1999-06-02 05:33:34 +00:00
andreas.otte%primus-online.de 26da9b2475 Adding missing headerfiles 1999-05-28 23:48:58 +00:00
andreas.otte%primus-online.de 4def615a43 Change to "camel case" nsIHttpEventSink 1999-05-28 23:48:12 +00:00
gagan%netscape.com 1167739df0 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 50b9784af9 General fixes. 1999-05-28 22:31:47 +00:00
andreas.otte%primus-online.de bd3e6b0428 First Checked In 1999-05-28 09:16:47 +00:00
andreas.otte%primus-online.de dfb9c17c3f First Checked In 1999-05-28 09:11:38 +00:00
andreas.otte%primus-online.de 32146a2ef7 Making libftp.so a component 1999-05-28 08:23:48 +00:00
andreas.otte%primus-online.de 0fb5a4fe27 Making libhttp.so a component 1999-05-28 08:22:46 +00:00
valeski%netscape.com a250f2cba4 added some extern module stuff #ifdef'd zero 1999-05-27 22:00:30 +00:00
valeski%netscape.com 043d4e8984 added the idl dir and initial nsIHttpNotify.idl 1999-05-27 21:31:26 +00:00
rpotts%netscape.com 0e844f07ca 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 7ee4dbe328 removed #include "nsXPComCIID.h" as it is no longer pertinent 1999-05-26 20:51:19 +00:00
gagan%netscape.com e4fe46d13d Removed nsITimer dependency. 1999-05-26 08:53:17 +00:00
rpotts%netscape.com 34f735e0b8 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 380cd9cea0 Moved nsHTTPEnums.h to public. 1999-05-25 21:38:53 +00:00
gagan%netscape.com 730706264e Moved nsHTTPEnums from src to here. 1999-05-25 21:38:27 +00:00
gagan%netscape.com 68a8fd4989 Fixed nsIURL.h to nsIUrl.h... Thanks Andreas. 1999-05-25 21:33:23 +00:00
gagan%netscape.com 8412b90662 Changes inherited from nsIProtocolHandler. Also changed default port to 21. 1999-05-25 21:31:46 +00:00
valeski%netscape.com 4fff3a7467 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 b3c3a30965 Moving changes from XPCOM20_BRANCH forward. 1999-05-24 09:01:47 +00:00
gagan%netscape.com 14548c81ae Made the baseURL default to null. 1999-05-22 00:21:32 +00:00
gagan%netscape.com 6dcf68157c Made the baseURL a default to null. 1999-05-22 00:21:08 +00:00
gagan%netscape.com 4f6fffbf22 Changes for the HTTP Handler. 1999-05-21 07:12:31 +00:00
gagan%netscape.com 82449943da Changes for the handler. 1999-05-21 07:12:11 +00:00
gagan%netscape.com 20ff86c7ce HTTP changes. 1999-05-21 06:35:21 +00:00
gagan%netscape.com e4b49f1a7b HTTP Handler work. 1999-05-21 06:33:17 +00:00
valeski%netscape.com d705ca1ac9 nsFtpConnectionThread now implements (not yet properly) nsICancelable. 1999-05-18 21:01:49 +00:00
valeski%netscape.com 1e4cda8972 added the correct EventQueueCID 1999-05-18 20:56:25 +00:00
valeski%netscape.com 0a950992ad shifted ftp error codes into their proper range 1999-05-09 19:25:59 +00:00
valeski%netscape.com 943c469643 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 f95b9661d2 removed prcmon from #include list 1999-05-04 18:52:38 +00:00
hshaw%netscape.com 559af684ee fix signature for nsGetFactory() 1999-05-04 00:21:42 +00:00
warren%netscape.com ee3f32d177 Renamed nsTypicalUrl to nsStandardUrl. 1999-05-01 02:08:18 +00:00
valeski%netscape.com 1dbe4d3aa1 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 6cffde5f7a added a temp default http port (80) 1999-04-29 17:33:51 +00:00
valeski%netscape.com 1283780ba8 added ftpCore.h to unix build 1999-04-28 23:15:14 +00:00
valeski%netscape.com e8229da105 initialized the ref cnt, again :( 1999-04-28 23:12:30 +00:00
valeski%netscape.com 3786327331 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 ec200fff1b hooked up the out nsIUrl param with the resulting url 1999-04-28 20:09:17 +00:00
valeski%netscape.com 5aacd0d813 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 db5326ca1c Added error handling. 1999-04-27 19:55:09 +00:00
valeski%netscape.com 07dab5e914 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 e9e1dc1c23 Started hooking up socket transport synchronous streams. Added unix makefiles. 1999-04-25 19:25:24 +00:00
valeski%netscape.com 4a11bb301e 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 9164450da6 #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 a88d9c8a77 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 5f68503eaf 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 054e2c8616 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 09ee7c3d28 Added sourceOffset parameter to OnDataAvailable. 1999-04-22 21:06:04 +00:00
valeski%netscape.com 1f7276a6fa removed UsePasv from the connection handler. added some more states. 1999-04-22 20:17:46 +00:00
valeski%netscape.com 9143e253b8 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 d1e0134c1c 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 2ebae55f56 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
warren%netscape.com 0bef817947 Added source offset parameter to OnDataAvailable (for byte-range requests). 1999-04-22 08:47:06 +00:00
valeski%netscape.com a1e8beeb78 adding syncronous ftp implementation 1999-04-22 05:22:24 +00:00
valeski%netscape.com 765f2a9662 changed some nsString usage to nsString2. added the PWD/default directory parsing and discovery code. 1999-04-21 17:48:32 +00:00
valeski%netscape.com 5116fa59d5 added more states to .h and implementations to .cpp 1999-04-21 00:04:38 +00:00
valeski%netscape.com 2bcfca4243 added more states in .h . added their logic in .cpp. Initial command channel (logging in) negotiation is almost complete, next comes the data channel. 1999-04-20 19:30:21 +00:00
warren%netscape.com f441dd587a Added missing out param to GetHeader. Started making GET request async. 1999-04-20 04:48:51 +00:00
valeski%netscape.com b92a62a1f5 Starting fleshing out the state flow. Added a few new states to .h, and their functional counter parts in .c. 1999-04-19 22:18:19 +00:00
warren%netscape.com e483f26f07 Working on GET. 1999-04-17 20:57:48 +00:00
warren%netscape.com 1aa4adfb54 Fixed up ftp implementation for event queue arguemnt to NewConnection. 1999-04-16 18:18:38 +00:00
warren%netscape.com fa42476fae Added event queue argument for connection creation. Started http state machine. 1999-04-16 18:00:17 +00:00
valeski%netscape.com 9a8b9a7326 started socket transport code 1999-04-14 23:11:56 +00:00
valeski%netscape.com 9d8296fc3b netwerk/makefile.win - adding the ftp dir to the build
netwerk/ftp/* - adding the ftp module
1999-04-14 19:55:41 +00:00
warren%netscape.com 0bdb7edb94 More on http protocol. 1999-04-14 08:11:10 +00:00
warren%netscape.com 0f718eedde Fixed NSGetFactory sig. 1999-04-14 00:07:42 +00:00
warren%netscape.com ddc3278d38 More for http. 1999-04-14 00:06:07 +00:00
warren%netscape.com 8f99982227 Added synchronous file input. Worked on cancel/suspend/resume work for file transfer. 1999-04-13 18:10:15 +00:00
warren%netscape.com 4554437db1 Fixed unitialized var. 1999-04-12 22:42:55 +00:00
warren%netscape.com e9faed107d Began fleshing out http protocol. 1999-04-12 22:34:20 +00:00
warren%netscape.com a38405da05 Fixed up all the IIDs to be new/unique. Made nsFileTransport work (needs tuned). 1999-04-05 21:05:22 +00:00
warren%netscape.com d783951913 Initial stab at new networking implementation. 1999-03-31 19:53:46 +00:00