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

80 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com 5dbc86db6e added ftpCore.h to unix build 1999-04-28 23:15:14 +00:00
valeski%netscape.com 8fc8552fe0 added nettest.cpp test app to the unix builds 1999-04-28 23:14:21 +00:00
valeski%netscape.com d1fae90702 now we go so far as to create the actual nsIProtocolConnection instance. 1999-04-28 23:13:07 +00:00
valeski%netscape.com a20faae96d initialized the ref cnt, again :( 1999-04-28 23:12:30 +00:00
valeski%netscape.com d2c28ea06c added NS_NewConnection() implementation 1999-04-28 23:11:41 +00:00
valeski%netscape.com 9610d2bd0b added NS_NewConnection(). The NS_New*() stuff probably should go elsewhere, but for now, here it lands. 1999-04-28 23:11:04 +00:00
valeski%netscape.com dfebfa2144 remove #define error macro and #included the netCore.h file which has the error macros in it. 1999-04-28 22:53:17 +00:00
valeski%netscape.com b034ef8883 added inclusive #define 1999-04-28 22:51:28 +00:00
valeski%netscape.com 19217aa5d7 pulled the ftp specific code out 1999-04-28 22:46:28 +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 113a4fe9c5 comprhensive networking service excersiser. 1999-04-28 20:07:33 +00:00
valeski%netscape.com 23d9668b0b nsIUrl.h = now is a subclass of nsITypicalUrl explicitly
nsUrl.h = nsIUrl change reflected.
nsNetService.cpp = NS_NewUrl() helper routine added
1999-04-28 20:05:23 +00:00
valeski%netscape.com eff9bdb89d fixed a casting bug (nsITypicalUrl was being cast as nsIUrl) 1999-04-28 20:02:38 +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 e2a5d81e26 added ftp error codes 1999-04-27 19:55:48 +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
gordon%netscape.com 69e09bb14b First Checked In. 1999-04-24 02:08:50 +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 1e9b1a0045 #included netCore.h so the socket transport can start using more descriptive error codes. 1999-04-23 21:57:10 +00:00
valeski%netscape.com 937c215b30 added netCore.h which currently contains netlib error codes (generated using nsError.h macros) 1999-04-23 21:56:01 +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
rpotts%netscape.com df49c31735 Added some error checking... 1999-04-20 08:01:31 +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
rpotts%netscape.com bc9c5230bf correctly set the status argument on the OnStopBinding(...) call. 1999-04-20 04:31:52 +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
rpotts%netscape.com f74ebbc7c8 Added an Event Queue argument to the NewConnection(...) call. This fixed up the build bustage... 1999-04-19 07:28:02 +00:00
rpotts%netscape.com cf24c3e0e3 First pass at a socket transport implementation... 1999-04-19 07:17:37 +00:00
rpotts%netscape.com 9f9580e062 Added support for the socket transport service...? nsNetFactory.cpp 1999-04-19 07:16:37 +00:00
rpotts%netscape.com fa3b8c696d split up the async stream listener into an async stream observer and async stream listener... 1999-04-19 07:15:03 +00:00
warren%netscape.com 489da35219 Working on GET. 1999-04-17 20:57:48 +00:00
warren%netscape.com 83e8f8a24e Removed PAC file for now. 1999-04-17 20:54:57 +00:00
warren%netscape.com ddbf461eda Started implement file transport writing code. 1999-04-17 20:50:57 +00:00
warren%netscape.com 0c8a62f098 Fixed up ftp implementation for event queue arguemnt to NewConnection. 1999-04-16 18:18:38 +00:00
warren%netscape.com fcd1094a52 Added event queue argument for connection creation. Started http state machine. 1999-04-16 18:00:17 +00:00