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

63 Коммитов

Автор SHA1 Сообщение Дата
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
warren%netscape.com f7fa724505 Added source offset parameter to OnDataAvailable (for byte-range requests). 1999-04-22 08:47:06 +00:00
valeski%netscape.com 51fc12f979 adding syncronous ftp implementation 1999-04-22 05:22:24 +00:00
valeski%netscape.com 16ef32c299 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 d9008580da added more states to .h and implementations to .cpp 1999-04-21 00:04:38 +00:00
valeski%netscape.com 3a0ba2952d 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 411dd4b228 Added missing out param to GetHeader. Started making GET request async. 1999-04-20 04:48:51 +00:00
valeski%netscape.com ed293d6892 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