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
5d664361ed
comprhensive networking service excersiser.
...
git-svn-id: svn://10.0.0.236/trunk@29744 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:07:33 +00:00
valeski%netscape.com
8e560e64bd
nsIUrl.h = now is a subclass of nsITypicalUrl explicitly
...
nsUrl.h = nsIUrl change reflected.
nsNetService.cpp = NS_NewUrl() helper routine added
git-svn-id: svn://10.0.0.236/trunk@29743 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:05:23 +00:00
valeski%netscape.com
68632c8fe6
fixed a casting bug (nsITypicalUrl was being cast as nsIUrl)
...
git-svn-id: svn://10.0.0.236/trunk@29741 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:02:38 +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
e063a2999a
added ftp error codes
...
git-svn-id: svn://10.0.0.236/trunk@29476 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 19:55:48 +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
gordon%netscape.com
620c627252
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@29012 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:08:50 +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
2ecf80a665
#included netCore.h so the socket transport can start using more descriptive error codes.
...
git-svn-id: svn://10.0.0.236/trunk@28957 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:57:10 +00:00
valeski%netscape.com
528b99f3a7
added netCore.h which currently contains netlib error codes (generated using nsError.h macros)
...
git-svn-id: svn://10.0.0.236/trunk@28955 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:56:01 +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
rpotts%netscape.com
c6dee69f6f
Added some error checking...
...
git-svn-id: svn://10.0.0.236/trunk@28236 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 08:01:31 +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
rpotts%netscape.com
f1c622f389
correctly set the status argument on the OnStopBinding(...) call.
...
git-svn-id: svn://10.0.0.236/trunk@28226 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:31:52 +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
rpotts%netscape.com
c04d83648b
Added an Event Queue argument to the NewConnection(...) call. This fixed up the build bustage...
...
git-svn-id: svn://10.0.0.236/trunk@28037 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 07:28:02 +00:00
rpotts%netscape.com
cff5be65b6
First pass at a socket transport implementation...
...
git-svn-id: svn://10.0.0.236/trunk@28036 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 07:17:37 +00:00
rpotts%netscape.com
74524f2159
Added support for the socket transport service...? nsNetFactory.cpp
...
git-svn-id: svn://10.0.0.236/trunk@28035 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 07:16:37 +00:00
rpotts%netscape.com
1a59c5cf15
split up the async stream listener into an async stream observer and async stream listener...
...
git-svn-id: svn://10.0.0.236/trunk@28034 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 07:15:03 +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
fea69bee38
Removed PAC file for now.
...
git-svn-id: svn://10.0.0.236/trunk@28004 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:54:57 +00:00
warren%netscape.com
646793047d
Started implement file transport writing code.
...
git-svn-id: svn://10.0.0.236/trunk@28003 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:50:57 +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
warren%netscape.com
2dc75f9664
Fixed up RemoveElement returning bool problem.
...
git-svn-id: svn://10.0.0.236/trunk@27623 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:11:21 +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
f170ef62fa
Fixed create/AsyncRead stuff.
...
git-svn-id: svn://10.0.0.236/trunk@27457 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:13:35 +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
0bee8e2ab9
Moved read/write methods from TransportService to Transport.
...
git-svn-id: svn://10.0.0.236/trunk@27455 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:10:50 +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