Commit Graph

700 Commits

Author SHA1 Message Date
gagan%netscape.com
b9261fb86d Changes for the handler.
git-svn-id: svn://10.0.0.236/trunk@32459 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 07:12:11 +00:00
gagan%netscape.com
e13f57ca36 HTTP changes.
git-svn-id: svn://10.0.0.236/trunk@32458 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 06:35:21 +00:00
gagan%netscape.com
c58c477d7d HTTP Handler work.
git-svn-id: svn://10.0.0.236/trunk@32457 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 06:33:17 +00:00
valeski%netscape.com
55f42c3285 nsFtpConnectionThread now implements (not yet properly) nsICancelable.
git-svn-id: svn://10.0.0.236/trunk@32081 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:01:49 +00:00
valeski%netscape.com
bc1b396aa4 added the correct EventQueueCID
git-svn-id: svn://10.0.0.236/trunk@32080 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 20:56:25 +00:00
valeski%netscape.com
f8a7755e7e shifted ftp error codes into their proper range
git-svn-id: svn://10.0.0.236/trunk@30898 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 19:25:59 +00:00
valeski%netscape.com
a019a864f3 changed over to nsIEventQueue interface, from straight PL_EventQueue. Also took a whack at getting socketTRansport::OpenOutputSTream to work (hasn't been tested)
git-svn-id: svn://10.0.0.236/trunk@30425 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:41:44 +00:00
valeski%netscape.com
02f79aa87d removed prcmon from #include list
git-svn-id: svn://10.0.0.236/trunk@30138 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:52:38 +00:00
hshaw%netscape.com
cb4086f7a8 fix signature for nsGetFactory()
git-svn-id: svn://10.0.0.236/trunk@30022 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 00:21:42 +00:00
warren%netscape.com
b09ffe999c Renamed nsTypicalUrl to nsStandardUrl.
git-svn-id: svn://10.0.0.236/trunk@29922 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:08:18 +00:00
valeski%netscape.com
330b63434d 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.


git-svn-id: svn://10.0.0.236/trunk@29840 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 15:28:33 +00:00
valeski%netscape.com
75b87cbbc4 added a temp default http port (80)
git-svn-id: svn://10.0.0.236/trunk@29790 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 17:33:51 +00:00
valeski%netscape.com
7cacbefe3e added ftpCore.h to unix build
git-svn-id: svn://10.0.0.236/trunk@29769 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:15:14 +00:00
valeski%netscape.com
8e55c1df30 initialized the ref cnt, again :(
git-svn-id: svn://10.0.0.236/trunk@29766 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:12:30 +00:00
valeski%netscape.com
eb4aebc3ba put ftp error codes into their own file (probably shouldn't export the file to the world..).
git-svn-id: svn://10.0.0.236/trunk@29755 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 22:45:57 +00:00
valeski%netscape.com
616e9e826a hooked up the out nsIUrl param with the resulting url
git-svn-id: svn://10.0.0.236/trunk@29745 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:09:17 +00:00
valeski%netscape.com
fa84bcca0e added ref count init macro to handler constructor. hooked up the newUrl method to set the out nsIUrl param.
git-svn-id: svn://10.0.0.236/trunk@29740 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:01:02 +00:00
valeski%netscape.com
d849c6186e Added error handling.
git-svn-id: svn://10.0.0.236/trunk@29474 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 19:55:09 +00:00
valeski%netscape.com
4f05f193b4 added more states. file stat, dir listing and file download is now enabled (not tested).
git-svn-id: svn://10.0.0.236/trunk@29283 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 23:13:14 +00:00
warren%netscape.com
70f38c9b80 Started hooking up socket transport synchronous streams. Added unix makefiles.
git-svn-id: svn://10.0.0.236/trunk@29125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:25:24 +00:00
valeski%netscape.com
445473ffc3 changed TRUE -> PR_TRUE. and changed use of nsIUrl->GetPort() (linux caught a compile problem msvc wasn't catching)
git-svn-id: svn://10.0.0.236/trunk@28960 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:07:46 +00:00
valeski%netscape.com
f7837663e6 #included netCore.h so more descriptive error msgs can be used. also removed FTP_S_PORT use.
git-svn-id: svn://10.0.0.236/trunk@28959 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:58:42 +00:00
valeski%netscape.com
3d1dfd1f41 nsFtpStreamListenerEvent.h - explicit #include "nsString.h" (fix build prob on linux)
nsFtpConnectionThread.*    - added the passive data connection mode (PASV) state


git-svn-id: svn://10.0.0.236/trunk@28929 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:01:03 +00:00
valeski%netscape.com
9051b27464 nsFtpConnectionThread.* added more states. we now handle mkdir and delete (file/dir).
nsFtpFactory.cpp api change.


git-svn-id: svn://10.0.0.236/trunk@28886 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:34:33 +00:00
valeski%netscape.com
731c965976 nsFtpConnectionThread.h - made the destructor virtual
nsFtpProtocolConnection.h|.cpp - switched some #includes around in a blind attempt to satisfy linux


git-svn-id: svn://10.0.0.236/trunk@28732 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 21:32:30 +00:00
warren%netscape.com
205c630cc5 Added sourceOffset parameter to OnDataAvailable.
git-svn-id: svn://10.0.0.236/trunk@28729 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 21:06:04 +00:00
valeski%netscape.com
7279f87c46 removed UsePasv from the connection handler. added some more states.
git-svn-id: svn://10.0.0.236/trunk@28723 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:17:46 +00:00
valeski%netscape.com
6156bbc3e8 yanked the ftp event sink references as they're not in use right now
git-svn-id: svn://10.0.0.236/trunk@28720 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 19:29:24 +00:00
valeski%netscape.com
8ee1b4dcb6 pushed the stream listener hand off into the constructor so it's know before the thread is run
git-svn-id: svn://10.0.0.236/trunk@28719 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 19:28:30 +00:00
valeski%netscape.com
b22a5956ea 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.


git-svn-id: svn://10.0.0.236/trunk@28710 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 17:58:42 +00:00
warren%netscape.com
9f3f1ef921 Added source offset parameter to OnDataAvailable (for byte-range requests).
git-svn-id: svn://10.0.0.236/trunk@28694 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 08:47:06 +00:00
valeski%netscape.com
fd13db6d05 adding syncronous ftp implementation
git-svn-id: svn://10.0.0.236/trunk@28664 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:22:24 +00:00
valeski%netscape.com
871d79269c changed some nsString usage to nsString2. added the PWD/default directory parsing and discovery code.
git-svn-id: svn://10.0.0.236/trunk@28464 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 17:48:32 +00:00
valeski%netscape.com
b7669e476a added more states to .h and implementations to .cpp
git-svn-id: svn://10.0.0.236/trunk@28381 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:04:38 +00:00
valeski%netscape.com
0ba5a6f451 added more states in .h . added their logic in .cpp. Initial command channel (logging in) negotiation is almost complete, next comes the data channel.
git-svn-id: svn://10.0.0.236/trunk@28288 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:30:21 +00:00
warren%netscape.com
fc5071b5c7 Added missing out param to GetHeader. Started making GET request async.
git-svn-id: svn://10.0.0.236/trunk@28228 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:48:51 +00:00
valeski%netscape.com
34e2151cf6 Starting fleshing out the state flow. Added a few new states to .h, and their functional counter parts in .c.
git-svn-id: svn://10.0.0.236/trunk@28119 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:18:19 +00:00
warren%netscape.com
afc80baf4a Working on GET.
git-svn-id: svn://10.0.0.236/trunk@28005 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:57:48 +00:00
warren%netscape.com
bccc618969 Fixed up ftp implementation for event queue arguemnt to NewConnection.
git-svn-id: svn://10.0.0.236/trunk@27861 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:18:38 +00:00
warren%netscape.com
fa7bb2acba Added event queue argument for connection creation. Started http state machine.
git-svn-id: svn://10.0.0.236/trunk@27855 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:00:17 +00:00
valeski%netscape.com
7126c14f07 started socket transport code
git-svn-id: svn://10.0.0.236/trunk@27475 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:11:56 +00:00
valeski%netscape.com
901a6a8f28 netwerk/makefile.win - adding the ftp dir to the build
netwerk/ftp/* - adding the ftp module


git-svn-id: svn://10.0.0.236/trunk@27467 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 19:55:41 +00:00
warren%netscape.com
c720caf464 More on http protocol.
git-svn-id: svn://10.0.0.236/trunk@27456 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:11:10 +00:00
warren%netscape.com
7822bee548 Fixed NSGetFactory sig.
git-svn-id: svn://10.0.0.236/trunk@27418 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:07:42 +00:00
warren%netscape.com
bb639c894e More for http.
git-svn-id: svn://10.0.0.236/trunk@27417 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:06:07 +00:00
warren%netscape.com
96ef3f3cd7 Added synchronous file input. Worked on cancel/suspend/resume work for file transfer.
git-svn-id: svn://10.0.0.236/trunk@27332 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:10:15 +00:00
warren%netscape.com
f94501f509 Fixed unitialized var.
git-svn-id: svn://10.0.0.236/trunk@27229 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:42:55 +00:00
warren%netscape.com
a363746e49 Began fleshing out http protocol.
git-svn-id: svn://10.0.0.236/trunk@27225 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:34:20 +00:00
warren%netscape.com
0b41376a70 Fixed up all the IIDs to be new/unique. Made nsFileTransport work (needs tuned).
git-svn-id: svn://10.0.0.236/trunk@26325 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:05:22 +00:00
warren%netscape.com
69ab1aa4ce Initial stab at new networking implementation.
git-svn-id: svn://10.0.0.236/trunk@25735 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:53:46 +00:00