Commit Graph

5740 Commits

Author SHA1 Message Date
valeski%netscape.com
48b89f3502 moved to base/src 1999-06-09 13:56:12 +00:00
valeski%netscape.com
e3a4da8230 added nsIHTTPNotify.idl to the idl list on unix 1999-06-09 01:02:37 +00:00
valeski%netscape.com
8b2bbb5cc3 added external module files to unix builds 1999-06-09 01:01:59 +00:00
valeski%netscape.com
162e8500e9 added idl srcs to unix mkfile 1999-06-09 01:01:17 +00:00
valeski%netscape.com
4824632915 removing this as it's been depricated to public dir 1999-06-08 23:14:08 +00:00
warren%netscape.com
b113f2332f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
valeski%netscape.com
c4e98ed33c updated the external module stuff 1999-06-08 20:15:26 +00:00
valeski%netscape.com
b5e5c99114 added nsNetModuleMgr.cpp to the necko library. also made various changes to modEntry and modMgr implementations. 1999-06-08 20:12:53 +00:00
valeski%netscape.com
919d511ca1 added moduelMgr and ModRegEntry idls to the idl list. also updated the nsINetModuleMgr.idl interface 1999-06-08 20:11:53 +00:00
valeski%netscape.com
89e02bd8b8 we were freeing a static buf 1999-06-08 20:09:43 +00:00
valeski%netscape.com
5806d05a78 adding the module registery entry idl file 1999-06-08 20:03:48 +00:00
valeski%netscape.com
919fe8c0c7 adding the module mgr header and the entry header 1999-06-08 20:02:53 +00:00
valeski%netscape.com
9de5693010 we were erroneously freeing static mem. 1999-06-08 19:59:43 +00:00
warren%netscape.com
a3874dc189 Added back in user agent stuff. 1999-06-08 19:04:13 +00:00
warren%netscape.com
b8cb6d85e5 Added NewChannel method. 1999-06-08 18:28:10 +00:00
valeski%netscape.com
1e42ea1bf1 removed this one. good one is in mozilla/netwerk/protocol/http/public 1999-06-08 17:10:25 +00:00
valeski%netscape.com
1d8bf6ff3c added root notification idl 1999-06-08 17:07:39 +00:00
valeski%netscape.com
d5e9119fa7 added nsINetNotify.idl to idl list 1999-06-08 17:07:09 +00:00
valeski%netscape.com
c27c8b5ecd added nsIHttpNotify.idl to the idl srcs list 1999-06-08 16:40:44 +00:00
valeski%netscape.com
6e31ac7943 changed method names to match new symantics 1999-06-08 16:39:48 +00:00
andreas.otte%primus-online.de
7924e08238 removed obsolete (I think) endless while loop from run method
added check for file size zero in SerialTest
1999-06-08 12:28:27 +00:00
andreas.otte%primus-online.de
629596441c use new HandleEvent method of EventQueue
removed obselete stuff from manual registration
added two printf failure messages
1999-06-08 12:26:12 +00:00
andreas.otte%primus-online.de
57320fedd0 use new HandleEvent method of EventQueue 1999-06-08 12:24:10 +00:00
andreas.otte%primus-online.de
4b6841d203 fix to build with new AsyncRead interface from nsIChannel 1999-06-08 10:09:00 +00:00
andreas.otte%primus-online.de
f9e00b49a3 some cleanup after IDLisation 1999-06-08 10:07:50 +00:00
andreas.otte%primus-online.de
070a9cfe91 building the right library 1999-06-08 09:50:19 +00:00
andreas.otte%primus-online.de
c819d27dd4 included dns makefiles 1999-06-08 09:48:28 +00:00
andreas.otte%primus-online.de
ae4ff75af8 first checked in 1999-06-08 09:47:53 +00:00
andreas.otte%primus-online.de
a57dfa00be changed nsIUrl.h to nsIURL.h 1999-06-08 09:46:10 +00:00
andreas.otte%primus-online.de
a2b5c4f6f4 some cleanup after IDLisation 1999-06-08 09:44:04 +00:00
warren%netscape.com
550ed382f3 obsoleting files 1999-06-07 22:19:20 +00:00
warren%netscape.com
3f748629d6 Removed nsITransport. 1999-06-07 22:12:19 +00:00
gagan%netscape.com
a2a3cdbd03 Adding Makefile.in for Linux. Testing for Andreas. 1999-06-07 22:07:49 +00:00
gagan%netscape.com
66981e29b5 Adding Makefile.in. Testing for Andreas. 1999-06-07 22:05:44 +00:00
gagan%netscape.com
96abb80a2b First checkin for Makefile.in. Testing for Andreas. 1999-06-07 22:05:17 +00:00
warren%netscape.com
b5b8476315 Updated for file name changes. 1999-06-07 22:04:19 +00:00
warren%netscape.com
c0797ee094 New IDL interfaces. 1999-06-07 21:33:30 +00:00
rpotts%netscape.com
141fc00e61 Added unix support for processing PLEvents... 1999-06-07 20:06:41 +00:00
rpotts%netscape.com
3015ef6aa1 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
332b7d7c0e correct two typos 1999-06-07 16:56:36 +00:00
rpotts%netscape.com
b13ab4754e Fixed up uninitialized variable... Oops 1999-06-07 07:12:56 +00:00
rpotts%netscape.com
fee781a983 Fixed up compiler warning on Linux... 1999-06-07 06:30:59 +00:00
rpotts%netscape.com
a7c51818e8 Added a new file - nsSocketTransportStreams.cpp to the build... 1999-06-07 06:28:07 +00:00
rpotts%netscape.com
699ccbf0a8 Work on blocking streams... 1999-06-07 06:27:34 +00:00
andreas.otte%primus-online.de
324027b316 write \0 not on but after the CRLF on Headers 1999-06-06 09:40:56 +00:00
andreas.otte%primus-online.de
45b8467782 variable rv of type nsresult was not initialized in CreateInstance and in case of creating a StandardUrl with no Init in CreateInstance (and using rv) making it random to the calling function if creating the Url succeeded. This is what I thought was a namespace problem between necko and old netlib. 1999-06-06 09:16:49 +00:00
gagan%netscape.com
f20c8bca8b Fixed the stream length to be zero. Thanks Andreas. 1999-06-04 11:10:31 +00:00
rpotts%netscape.com
3886d6e062 Added PLEvent pump for unix... 1999-06-04 09:03:45 +00:00
rpotts%netscape.com
632129fa67 Added NSPR logging messages... 1999-06-04 08:52:02 +00:00
gagan%netscape.com
16afdaa83e Getting it building again... changed the Write call to match its signature in nsIByteBufferInputStream. It will probably change again to FillFrom once we move that to idl. 1999-06-04 07:36:04 +00:00
gagan%netscape.com
5052bb91df Getting base building again. Fixed the changes from nsIOutputStream's Write function. 1999-06-04 07:25:16 +00:00
valeski%netscape.com
2248ec3a5b 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
gordon%netscape.com
dcdf62225f Make Lookup() a pure virtual method. 1999-06-03 21:57:14 +00:00
rpotts%netscape.com
e967a22d9f Fixes to build on Linux... 1999-06-03 21:56:56 +00:00
rpotts%netscape.com
91bf976e6c Fixes to build on Linux... Removed nettest since it is not building on windows either. 1999-06-03 21:56:29 +00:00
gordon%netscape.com
880e18aa1e First Checked In. 1999-06-03 21:53:30 +00:00
valeski%netscape.com
e54a53f007 proxy api change 1999-06-03 20:05:22 +00:00
valeski%netscape.com
4a6e379644 added header removal functionality and various return value checks 1999-06-03 20:04:07 +00:00
valeski%netscape.com
95b3c9ed6a added the class id to identify the actual class that implements teh nsINetNotify interface 1999-06-03 20:00:38 +00:00
andreas.otte%primus-online.de
c7ced45a92 fixes to get the test working under linux, mac stuff still missing 1999-06-03 18:34:51 +00:00
andreas.otte%primus-online.de
d2a54b2441 fixes to get the test running under linux, mac stuff still missing 1999-06-03 18:12:13 +00:00
rpotts%netscape.com
d6fda0f44c fixed a string that was not being null-terminated... 1999-06-03 06:44:10 +00:00
rpotts%netscape.com
ed1279ef88 fixed up some reference counting problems... 1999-06-03 06:36:23 +00:00
rpotts%netscape.com
6d59406b88 Added raptorgfxwin.lib for nsITimer support :-( 1999-06-03 05:45:56 +00:00
rpotts%netscape.com
5ebe43461d Added support for testing Sync transport access and Suspending and resuming transports... 1999-06-03 05:45:23 +00:00
rpotts%netscape.com
941c492269 Added support for Suspend/Resume... 1999-06-03 05:43:56 +00:00
gagan%netscape.com
fb4ee522c2 Test case changes 1999-06-02 23:02:53 +00:00
valeski%netscape.com
9da8d67122 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
99aab3d592 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
230339cc2c Updates to HTTP. Need SyncStreamListener to complete the test. 1999-06-02 13:25:29 +00:00
andreas.otte%primus-online.de
a31e65c713 integrating Alec Fletts nsISupportsArray changes
remove manual registration
adding creation of eventqueue
giving EventQueueService the right CIID
1999-06-02 11:42:43 +00:00
andreas.otte%primus-online.de
3b25012b20 removed manual registration, added autoregistration 1999-06-02 11:30:05 +00:00
andreas.otte%primus-online.de
239dfd63c5 removed manual registration 1999-06-02 11:29:26 +00:00
andreas.otte%primus-online.de
fcf74e15a9 removed manual registration 1999-06-02 11:27:07 +00:00
andreas.otte%primus-online.de
39406b6852 integrating Alec Fletts nsISupportsArray changes 1999-06-02 11:12:21 +00:00
valeski%netscape.com
ae34b5e190 moved external module insertion to new http file 1999-06-02 05:33:34 +00:00
rpotts%netscape.com
0ba5814dee PRCList cleanup. More syncronization code... some work toward blocking streams. 1999-06-02 04:26:55 +00:00
andreas.otte%primus-online.de
0ee202af9f make libnetwerk.so a component 1999-06-01 22:49:26 +00:00
andreas.otte%primus-online.de
236c4d6dc1 Ignore TestSocketTransport 1999-06-01 22:04:46 +00:00
andreas.otte%primus-online.de
36157ecdd2 Build TestProtocols 1999-06-01 22:03:48 +00:00
valeski%netscape.com
ae0a59dca1 variable name change 1999-06-01 22:03:47 +00:00
andreas.otte%primus-online.de
0b3baf7402 Some fixes to build TestProtocols under linux 1999-06-01 22:02:40 +00:00
rpotts%netscape.com
3b7139d78f Added synchronization to socket transport APIs... Added access methods for getting the PRCList from a transport... 1999-06-01 21:37:52 +00:00
valeski%netscape.com
2f1ae6fbea Added the user agent string getter methods to nsINetService, as well as the implementation of them. Note: that they current aren't being initialized. 1999-06-01 21:27:25 +00:00
rpotts%netscape.com
f7477c729e Added a new test for the socket transport... 1999-05-31 05:18:19 +00:00
rpotts%netscape.com
930f205760 First pass at supporting simultaneous read and write on sockets... 1999-05-31 05:15:40 +00:00
andreas.otte%primus-online.de
80ca7d8000 Some more ignorance 1999-05-29 00:06:00 +00:00
andreas.otte%primus-online.de
303a9997a4 Adding missing headerfiles 1999-05-28 23:48:58 +00:00
andreas.otte%primus-online.de
92ce036ef4 Change to "camel case" nsIHttpEventSink 1999-05-28 23:48:12 +00:00
gagan%netscape.com
5e2e56e50f 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
ee8e427e1a General fixes. 1999-05-28 22:31:47 +00:00
andreas.otte%primus-online.de
0696ef3fcc make no shared lib and do not install it in $(DIST)/bin 1999-05-28 11:20:30 +00:00
andreas.otte%primus-online.de
870c20688f First Checked In 1999-05-28 09:16:47 +00:00
andreas.otte%primus-online.de
f7497e5e99 First Checked In 1999-05-28 09:11:38 +00:00
andreas.otte%primus-online.de
4dfeed2745 Making libftp.so a component 1999-05-28 08:23:48 +00:00
andreas.otte%primus-online.de
1b4cef9a04 Making libhttp.so a component 1999-05-28 08:22:46 +00:00
valeski%netscape.com
b297c03dc5 added some extern module stuff #ifdef'd zero 1999-05-27 22:00:30 +00:00
valeski%netscape.com
eeabca79d9 added the idl dir and initial nsIHttpNotify.idl 1999-05-27 21:31:26 +00:00
valeski%netscape.com
b1887c4937 module mananger implementation files 1999-05-27 21:30:31 +00:00
valeski%netscape.com
11d24da81a idl: added the idl dir and some initial files.
added module manager headers and idl files
1999-05-27 21:29:52 +00:00
valeski%netscape.com
228178818b removed these two because they've been added to the proper idl directory 1999-05-27 21:13:34 +00:00
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
valeski%netscape.com
a3891561b2 the base class for necko events to be used with the nsINetModuleMgr api 1999-05-25 17:29:04 +00:00
valeski%netscape.com
37ecf43967 added revised comment 1999-05-25 17:27:01 +00:00
valeski%netscape.com
7b296c4f99 added context arguments and a set headers method. 1999-05-24 22:06:12 +00:00
valeski%netscape.com
e09312f5b2 the notify api and the external module interface now use the nsIObserver stuff 1999-05-24 20:40:21 +00:00
valeski%netscape.com
287e938586 First whack at various external module apis. 1999-05-24 19:50:39 +00:00
valeski%netscape.com
3c86c65f7f wrong parameters were being passed into the handler's NewUrl() call 1999-05-24 19:33:52 +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
a19d7e86f2 Added files for the HTTP Handler. 1999-05-21 07:14:19 +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
gagan%netscape.com
f99ba44b2a Miscellaneous fixes. 1999-05-21 06:30:21 +00:00
gagan%netscape.com
3887cf6de0 Added TestProtocols.cpp and renamed nettest to testnet since that was conflicting with nettest in dist. 1999-05-21 06:29:13 +00:00
gagan%netscape.com
1876937d1e Updates on HTTP handler. This will now move to mozilla/netwerk/protocol/http. 1999-05-21 06:12:56 +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
7d5b074b29 changed us over to teh correct EventQueueServiceCID 1999-05-18 20:53:38 +00:00
valeski%netscape.com
c3262868e7 added eventQueue CID registration and am now passing in an EventQueue in to NewConnection 1999-05-18 20:52:07 +00:00
valeski%netscape.com
9750b0449d updated the nsSupportsArray::Count() api usage 1999-05-14 17:25:27 +00:00
hshaw%netscape.com
f33eebaf27 Add new methods for nsICollection 1999-05-13 22:14:43 +00:00
hshaw%netscape.com
dc109f925c Propagate IDL changes from nsICollection.h, we'll need to do the same to nsIConnectionGroup->Count() once we IDLize 1999-05-13 21:57:07 +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
507254f4bd defined implicit ranges for error codes. 1999-05-09 19:25:20 +00:00
valeski%netscape.com
75be3509c9 Added correct error codes and misc touch up. 1999-05-09 19:24:37 +00:00
valeski%netscape.com
f1ec11c09c Added Andreas' test program diffs for linux building. Also added an OpenOutputStream test to TestSocketIO.cpp. 1999-05-09 19:18:25 +00:00
valeski%netscape.com
e09ab98051 removed nsSycnOutStreamListener references. No longer using it. 1999-05-06 19:49:23 +00:00
valeski%netscape.com
a62bb65a11 changed nsIEventQueue->ProcessPendingEvents() to nsIEventQueue->EVentLoop() 1999-05-06 19:47:55 +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
b8e0667887 changed us over to regular monitors (prmon.h) in lieu of cached monitors (prcmon.h) for performance increase. cached monitors can be 5 times slower than regular monitors. 1999-05-04 19:33:37 +00:00
valeski%netscape.com
d84921402a changed non-existant xp_win to win32 1999-05-04 18:53:44 +00:00
valeski%netscape.com
ea972dd17f removed prcmon from #include list 1999-05-04 18:52:38 +00:00
valeski%netscape.com
074b42d878 Fixed windows builds. changed #ifdef'd #included <windows.h> from XP_PC/XP_WIN to WIN32. There is not a XP_WIN macro. 1999-05-04 18:50:59 +00:00
hshaw%netscape.com
2202874089 wrap #include <windows.h> with #ifdef XP_WIN (for unix builds) 1999-05-04 00:31:40 +00:00
hshaw%netscape.com
37991de521 fix signature for nsGetFactory() 1999-05-04 00:21:42 +00:00
hshaw%netscape.com
1e0820285f remove duplicate nsISocketTransportService.h reference 1999-05-03 23:53:18 +00:00
hshaw%netscape.com
d4a48d70d3 Add some comments 1999-05-03 18:11:50 +00:00
hshaw%netscape.com
8c77cfb96d List of makefiles for the netwerk directory 1999-05-03 16:37:03 +00:00
hshaw%netscape.com
651741d25b Temporary script to generate netwerk unix Makefiles. Once we land, we'll integrate into allmakefiles.sh 1999-05-03 16:36:29 +00:00
warren%netscape.com
975fc99516 Changed include for nsStandardUrl.h 1999-05-02 08:46:08 +00:00
warren%netscape.com
a0f2a8cd7d Fixed to use new nsIBuffer and related buffer streams. 1999-05-01 02:15:59 +00:00
warren%netscape.com
3f0fdca6da Fixed accidental change to NSGetFactory. Changed include for nsStandardUrl. 1999-05-01 02:15:22 +00:00
warren%netscape.com
21c0733d26 Renamed nsMarshalingStreamListener to nsAsyncStreamListener. 1999-05-01 02:11:10 +00:00
warren%netscape.com
234d6bcc23 Renamed nsTypicalUrl to nsStandardUrl. 1999-05-01 02:08:18 +00:00
warren%netscape.com
980e6b92d3 Removed some noise. 1999-04-30 22:55:26 +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
4dc6f1de9e conditionally include windows.h on pc only - patch from Andreas Otte <andreas.otte@primus-online.de> 1999-04-29 18:52:14 +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
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
warren%netscape.com
44eec8e7ae Fixed up RemoveElement returning bool problem. 1999-04-15 20:11:21 +00:00
valeski%netscape.com
1fb9f3a060 started socket transport code 1999-04-14 23:11:56 +00:00
valeski%netscape.com
c9e74567d7 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
ec91edbe39 Fixed create/AsyncRead stuff. 1999-04-14 08:13:35 +00:00
warren%netscape.com
f52def1ff3 More on http protocol. 1999-04-14 08:11:10 +00:00
warren%netscape.com
65c8d98792 Moved read/write methods from TransportService to Transport. 1999-04-14 08:10:50 +00:00
warren%netscape.com
d8edbfcc09 Fixed NSGetFactory sig. 1999-04-14 00:07:42 +00:00
warren%netscape.com
3a5c528a63 More for http. 1999-04-14 00:06:07 +00:00
warren%netscape.com
cf6fa07c94 Added synchronous file input. Worked on cancel/suspend/resume work for file transfer. 1999-04-13 18:10:15 +00:00
warren%netscape.com
86d2879635 Fixed unitialized var. 1999-04-12 22:42:55 +00:00
warren%netscape.com
ef32c0920b Fixed cast problem. 1999-04-12 22:42:39 +00:00
warren%netscape.com
a7c8e361b8 Began fleshing out http protocol. 1999-04-12 22:34:20 +00:00
warren%netscape.com
853900c2db Fixed up nsIUrl and added an implementation that allows for setting the parts. Added MakeAbsoluteUrl to nsINetService and nsIProtocolHandler. 1999-04-12 20:35:24 +00:00
rpotts%netscape.com
03e4d470d8 fixed typo... This class should implement the nsIFileTransportService interface. 1999-04-09 05:43:30 +00:00
gagan%netscape.com
5e02b395f0 first checkin. 1999-04-09 02:37:50 +00:00
gagan%netscape.com
1384b0e2b2 nsFileCID.h first checkin 1999-04-09 02:37:28 +00:00
gagan%netscape.com
31c335db36 Temporary checkin. Brought in the original implementations. Will need some cleaning now... 1999-04-09 02:31:48 +00:00
gagan%netscape.com
40b727ed83 HTTP exported headers. 1999-04-09 02:27:29 +00:00
gagan%netscape.com
1dc46c4054 Brought in the original work. 1999-04-09 02:26:05 +00:00
gagan%netscape.com
d3fd9d4555 First checkins of tests. Currently only urltest. 1999-04-09 02:23:05 +00:00
gagan%netscape.com
9a7240e61a Moved the files from nunet to netwerk. For history on these files- see mozilla/nunet.
Not in the build (of netwerk) yet.
1999-04-08 06:13:27 +00:00
warren%netscape.com
fc6081b382 Replaced nsIProtocolConnection argument with nsISupports generic context. 1999-04-06 06:11:51 +00:00
warren%netscape.com
dd6e16e1f3 Fixed to work, but don't try it for a directory with too many files! 1999-04-06 06:11:23 +00:00
warren%netscape.com
5e125b10fc Used nsIByteBufferInputStream. Fixed file transport test. 1999-04-06 01:45:24 +00:00
warren%netscape.com
5b1608eea2 Added TestFileInput 1999-04-05 21:06:07 +00:00
warren%netscape.com
f3f777441d 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
b6bb25db4b Obsoleted nsITransportService 1999-04-02 09:26:42 +00:00
warren%netscape.com
aaef99cff0 Added file transport stuff. 1999-04-02 09:25:17 +00:00
warren%netscape.com
ddbd4dd53a Fixed nsUrl link error. 1999-03-31 19:59:43 +00:00
warren%netscape.com
e7997a1925 Initial stab at new networking implementation. 1999-03-31 19:53:46 +00:00