valeski%netscape.com
c325d0f196
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
1fb4ea16b1
removed nsSycnOutStreamListener references. No longer using it.
1999-05-06 19:49:23 +00:00
valeski%netscape.com
e7260ede87
changed nsIEventQueue->ProcessPendingEvents() to nsIEventQueue->EVentLoop()
1999-05-06 19:47:55 +00:00
valeski%netscape.com
943c469643
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
142c08df8e
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
d8031d05e3
changed non-existant xp_win to win32
1999-05-04 18:53:44 +00:00
valeski%netscape.com
f95b9661d2
removed prcmon from #include list
1999-05-04 18:52:38 +00:00
valeski%netscape.com
7da95187dd
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
f05420e8cb
wrap #include <windows.h> with #ifdef XP_WIN (for unix builds)
1999-05-04 00:31:40 +00:00
hshaw%netscape.com
559af684ee
fix signature for nsGetFactory()
1999-05-04 00:21:42 +00:00
hshaw%netscape.com
7a23c3e932
remove duplicate nsISocketTransportService.h reference
1999-05-03 23:53:18 +00:00
hshaw%netscape.com
cb3afcd3bd
Add some comments
1999-05-03 18:11:50 +00:00
hshaw%netscape.com
fc5e6c9c92
List of makefiles for the netwerk directory
1999-05-03 16:37:03 +00:00
hshaw%netscape.com
9c1cf81c66
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
9004942e9d
Changed include for nsStandardUrl.h
1999-05-02 08:46:08 +00:00
warren%netscape.com
e526773af9
Fixed to use new nsIBuffer and related buffer streams.
1999-05-01 02:15:59 +00:00
warren%netscape.com
ee464f04ed
Fixed accidental change to NSGetFactory. Changed include for nsStandardUrl.
1999-05-01 02:15:22 +00:00
warren%netscape.com
b71bb5f33c
Renamed nsMarshalingStreamListener to nsAsyncStreamListener.
1999-05-01 02:11:10 +00:00
warren%netscape.com
ee3f32d177
Renamed nsTypicalUrl to nsStandardUrl.
1999-05-01 02:08:18 +00:00
warren%netscape.com
8a15c4d3b7
Removed some noise.
1999-04-30 22:55:26 +00:00
valeski%netscape.com
1dbe4d3aa1
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
d4011270e6
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
6cffde5f7a
added a temp default http port (80)
1999-04-29 17:33:51 +00:00
valeski%netscape.com
1283780ba8
added ftpCore.h to unix build
1999-04-28 23:15:14 +00:00
valeski%netscape.com
18720793f4
added nettest.cpp test app to the unix builds
1999-04-28 23:14:21 +00:00
valeski%netscape.com
bc40ed9342
now we go so far as to create the actual nsIProtocolConnection instance.
1999-04-28 23:13:07 +00:00
valeski%netscape.com
e8229da105
initialized the ref cnt, again :(
1999-04-28 23:12:30 +00:00
valeski%netscape.com
23572be0c9
added NS_NewConnection() implementation
1999-04-28 23:11:41 +00:00
valeski%netscape.com
a1e165ccd2
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
4003e42409
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
c53ed5cc30
added inclusive #define
1999-04-28 22:51:28 +00:00
valeski%netscape.com
3bbbeadf75
pulled the ftp specific code out
1999-04-28 22:46:28 +00:00
valeski%netscape.com
3786327331
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
ec200fff1b
hooked up the out nsIUrl param with the resulting url
1999-04-28 20:09:17 +00:00
valeski%netscape.com
ba1c7ba96e
comprhensive networking service excersiser.
1999-04-28 20:07:33 +00:00
valeski%netscape.com
65d6ba65dd
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
2f6267e53c
fixed a casting bug (nsITypicalUrl was being cast as nsIUrl)
1999-04-28 20:02:38 +00:00
valeski%netscape.com
5aacd0d813
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
6ef2ede27b
added ftp error codes
1999-04-27 19:55:48 +00:00
valeski%netscape.com
db5326ca1c
Added error handling.
1999-04-27 19:55:09 +00:00
valeski%netscape.com
07dab5e914
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
e9e1dc1c23
Started hooking up socket transport synchronous streams. Added unix makefiles.
1999-04-25 19:25:24 +00:00
gordon%netscape.com
00a4a5efeb
First Checked In.
1999-04-24 02:08:50 +00:00
valeski%netscape.com
4a11bb301e
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
9164450da6
#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
c86ff04f8a
#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
cade3b9429
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
a88d9c8a77
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
5f68503eaf
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
054e2c8616
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
09ee7c3d28
Added sourceOffset parameter to OnDataAvailable.
1999-04-22 21:06:04 +00:00
valeski%netscape.com
1f7276a6fa
removed UsePasv from the connection handler. added some more states.
1999-04-22 20:17:46 +00:00
valeski%netscape.com
9143e253b8
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
d1e0134c1c
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
2ebae55f56
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
0bef817947
Added source offset parameter to OnDataAvailable (for byte-range requests).
1999-04-22 08:47:06 +00:00
valeski%netscape.com
a1e8beeb78
adding syncronous ftp implementation
1999-04-22 05:22:24 +00:00
valeski%netscape.com
765f2a9662
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
5116fa59d5
added more states to .h and implementations to .cpp
1999-04-21 00:04:38 +00:00
valeski%netscape.com
2bcfca4243
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
a18186876e
Added some error checking...
1999-04-20 08:01:31 +00:00
warren%netscape.com
f441dd587a
Added missing out param to GetHeader. Started making GET request async.
1999-04-20 04:48:51 +00:00
rpotts%netscape.com
b52e94573d
correctly set the status argument on the OnStopBinding(...) call.
1999-04-20 04:31:52 +00:00
valeski%netscape.com
b92a62a1f5
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
b4e704cf60
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
722b00f7fa
First pass at a socket transport implementation...
1999-04-19 07:17:37 +00:00
rpotts%netscape.com
6064f90d77
Added support for the socket transport service...? nsNetFactory.cpp
1999-04-19 07:16:37 +00:00
rpotts%netscape.com
c76cd1b2dc
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
e483f26f07
Working on GET.
1999-04-17 20:57:48 +00:00
warren%netscape.com
bd6811e701
Removed PAC file for now.
1999-04-17 20:54:57 +00:00
warren%netscape.com
9892971727
Started implement file transport writing code.
1999-04-17 20:50:57 +00:00
warren%netscape.com
1aa4adfb54
Fixed up ftp implementation for event queue arguemnt to NewConnection.
1999-04-16 18:18:38 +00:00
warren%netscape.com
fa42476fae
Added event queue argument for connection creation. Started http state machine.
1999-04-16 18:00:17 +00:00
warren%netscape.com
79cd627c41
Fixed up RemoveElement returning bool problem.
1999-04-15 20:11:21 +00:00
valeski%netscape.com
9a8b9a7326
started socket transport code
1999-04-14 23:11:56 +00:00
valeski%netscape.com
9d8296fc3b
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
9de1540b6e
Fixed create/AsyncRead stuff.
1999-04-14 08:13:35 +00:00
warren%netscape.com
0bdb7edb94
More on http protocol.
1999-04-14 08:11:10 +00:00
warren%netscape.com
58025e26cd
Moved read/write methods from TransportService to Transport.
1999-04-14 08:10:50 +00:00
warren%netscape.com
0f718eedde
Fixed NSGetFactory sig.
1999-04-14 00:07:42 +00:00
warren%netscape.com
ddc3278d38
More for http.
1999-04-14 00:06:07 +00:00
warren%netscape.com
8f99982227
Added synchronous file input. Worked on cancel/suspend/resume work for file transfer.
1999-04-13 18:10:15 +00:00
warren%netscape.com
4554437db1
Fixed unitialized var.
1999-04-12 22:42:55 +00:00
warren%netscape.com
505e45b132
Fixed cast problem.
1999-04-12 22:42:39 +00:00
warren%netscape.com
e9faed107d
Began fleshing out http protocol.
1999-04-12 22:34:20 +00:00
warren%netscape.com
8930d4895d
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
ce870726bd
fixed typo... This class should implement the nsIFileTransportService interface.
1999-04-09 05:43:30 +00:00
gagan%netscape.com
917b9c8420
first checkin.
1999-04-09 02:37:50 +00:00
gagan%netscape.com
710870003d
nsFileCID.h first checkin
1999-04-09 02:37:28 +00:00
gagan%netscape.com
4a343822aa
Temporary checkin. Brought in the original implementations. Will need some cleaning now...
1999-04-09 02:31:48 +00:00
gagan%netscape.com
734fdd6ac9
HTTP exported headers.
1999-04-09 02:27:29 +00:00
gagan%netscape.com
55953b47c5
Brought in the original work.
1999-04-09 02:26:05 +00:00
gagan%netscape.com
ea8df7d855
First checkins of tests. Currently only urltest.
1999-04-09 02:23:05 +00:00
gagan%netscape.com
7b8a0771f0
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
b105285634
Replaced nsIProtocolConnection argument with nsISupports generic context.
1999-04-06 06:11:51 +00:00
warren%netscape.com
eb79562943
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
78b9a7c8b5
Used nsIByteBufferInputStream. Fixed file transport test.
1999-04-06 01:45:24 +00:00
warren%netscape.com
fd62531512
Added TestFileInput
1999-04-05 21:06:07 +00:00
warren%netscape.com
a38405da05
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
6bd564519f
Obsoleted nsITransportService
1999-04-02 09:26:42 +00:00
warren%netscape.com
6bb291af66
Added file transport stuff.
1999-04-02 09:25:17 +00:00
warren%netscape.com
03a4d65ce2
Fixed nsUrl link error.
1999-03-31 19:59:43 +00:00
warren%netscape.com
d783951913
Initial stab at new networking implementation.
1999-03-31 19:53:46 +00:00