Commit Graph

161 Commits

Author SHA1 Message Date
valeski%netscape.com
b7d25b0205 fixing win32 vc5 bustage 1999-11-13 01:48:17 +00:00
valeski%netscape.com
d16733f10b 18725, r=sdagley. FTP is now cancellable.
* added new state to FTP. data channel reading state.

* the FTP channel's SetConnectionQueue now handles a null arg and resets it's eventq if null is passed in.
1999-11-13 00:31:36 +00:00
valeski%netscape.com
741d2f7369 FTP no longer sets the port on a URI. If no port is set on a URI, FTP will use the default (21) at connection time. 1999-11-12 01:26:20 +00:00
valeski%netscape.com
9fed6b2933 18419. *removed nsIFTPContext and associated impl of it. we no longer pass this context between the FTP thread and the channel thread, we use nsISupports proxies to move back and forth.*added SetcontentLength() method to nsIFTPChannel so we can move the content length from the FTP thread to the channel thread. nsFTPChannel impls this meth now.*made a couple FTP channel logging changes for better description*nsCOMPtrized a bit*added nsFTPChannel to load group when avail (this starts/stops the throbber for url bar loaded ftp urls.*the FTP protocl handler (a service) is now an observer of XPCOM shutdown. this allows the handler to join w/ all the threads it has created (that are still running) if we try and shutdown the main thread whill ftp is still running. 1999-11-11 02:14:23 +00:00
valeski%netscape.com
4e3281f9e6 *** empty log message *** 1999-11-11 02:13:44 +00:00
valeski%netscape.com
da1276fb98 removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPContext.idl 1999-11-11 02:11:50 +00:00
valeski%netscape.com
7cc35fcae3 18419. 1999-11-11 02:09:07 +00:00
morse%netscape.com
8b606c4d99 fix bug 65552, integrating ftp authentication with single signon, r=valeski 1999-11-10 03:39:33 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
gagan%netscape.com
deb5334e6c Removed an extra free that cvs merge put in! 1999-11-03 08:21:37 +00:00
gagan%netscape.com
70a39da830 Argh... speed kills. Removed this conflict that I accidently checked in. 1999-11-03 08:19:54 +00:00
gagan%netscape.com
ed922a4f57 Fixes 11708,15477 and partial 14610. r=warren. We now pass a print host for displaying in status messages that is different than the hostname connecting to. Also added Keep-Alive support (turned on by user_pref("network.http.keep-alive",1))We also honor the "network.proxy.type" preference to turn the proxy use on and off. 1999-11-03 08:17:59 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
valeski%netscape.com
9f26a5bfba r=cyeh, forcing PR_LOGGING for ftp in release builds 1999-11-02 23:24:06 +00:00
valeski%netscape.com
b7021722f9 16910, r=mcafee. FTP now uses thread pools. it also provides some status to the webshell. and it no longer uses the server's defualt path. 1999-11-02 04:04:23 +00:00
danm%netscape.com
4078ce0970 insert cast necessary on one of the "other" platforms 1999-10-30 03:13:55 +00:00
valeski%netscape.com
1c925b169b 17521, r = mscott. FTP authentication dialogs we're looping if canceled. I also changed a bunch of string getter routines to take XPIDLCStrings. there was speculation during the reveiw that there might be some casting problems on other platforms. if this is the case either case the XPIDLCString to (const char *) or call me and I'll do it. 1999-10-29 23:00:52 +00:00
sspitzer%netscape.com
f0ee5969fe fix warnings. r=valeski 1999-10-28 20:25:43 +00:00
valeski%netscape.com
c747ced3c1 fixing bustage 1999-10-26 22:07:50 +00:00
valeski%netscape.com
e6e2c9e39f 17270, r=dougt@netscape.com. These changes move FTP from interface pointers to COMptrs. There is also a variable name change, mUrl -> mURL. Also some extraneous pipe code has been removed. 1999-10-26 20:55:50 +00:00
warren%netscape.com
f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
valeski%netscape.com
f5adfb90de fixing build warning 1999-10-22 04:56:24 +00:00
valeski%netscape.com
fda2741ac6 removing last reference to nsFtpStreamListenerEvent.h. Actually it was a commented out line. 1999-10-22 04:33:19 +00:00
valeski%netscape.com
2f1f0a6e95 *** empty log message *** 1999-10-22 04:32:18 +00:00
sfraser%netscape.com
d4f5e018cc Fixing Mac FTP projects for valeski 1999-10-22 04:24:08 +00:00
valeski%netscape.com
ecf2cd252d *** empty log message *** 1999-10-22 04:22:54 +00:00
valeski%netscape.com
e40999dd81 adding connection cache interface 1999-10-22 04:11:12 +00:00
valeski%netscape.com
3a4a5695b4 14659, r=dougt. FTP now uses xpcom proxies to send stream listener notifications back to the channel thread. it also uses them to access connections from the protocol handler cache. 1999-10-22 04:10:46 +00:00
valeski%netscape.com
42fee2aeb2 14659, r=gagan&warren&dougt
Misc. FTP changes:
*increased FTP buffer read/write size from 4k to 8k.
*removed un-needed (for now) SetPASV() for FTP connection thread
*string optimizations
*FTP Connection thread now uses the NS_IMPL_ISUPPORTS4 macro for addref, rel, and QI methods.
*connection cache key api consolidation (Get()/Remove() combo turned into Remove(key)).

Authentication dialog changes:
*Authentication dialog now includes host name the user is trying to connect to.

nsIRequest support:
*FTP Connection thread now maintains a member variable pointing to it's event queue. It also pumps the event queue in the main loop.
*FTP Connection thread now implemented the nsIRequest interface (never called directly; only via the nsFTPChannel api)
*FTP Channel now uses an xpcom proxy object to make the nsIRequest api calls on the FTP Connection thread.

FTP protocol interpretation changes:
*FTP now handles servers that send multi-line greetings in the first Read() (we blocked indefinately before)
*FTP now parses the parent working directory properly (used to always treat it as '/')
1999-10-19 22:37:47 +00:00
gagan%netscape.com
f1203c259d Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
warren%netscape.com
8603974025 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
valeski%netscape.com
0d56bd309b r=sdagley, 15654 was deleting a void * which is a no-no on hp. 1999-10-06 02:54:49 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
valeski%netscape.com
57515c5355 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 15298 r=gagan, FTP threads are now synched w/ ftp handler shutdown, removed extraneous buffer work, added ftp authentication, and ftp channel content length 1999-10-01 23:32:12 +00:00
kipp%netscape.com
8fedfe4c3c nuked 1999-09-30 21:38:19 +00:00
kipp%netscape.com
51e8918bbf added files: mozilla/netwerk/protocol/ftp/src/nsFtpModule.cpp, removed files: mozilla/netwerk/protocol/ftp/src/nsFtpFactory.cpp 1999-09-30 21:30:13 +00:00
kipp%netscape.com
a8d7d25d5d Converted from components to modules 1999-09-30 21:22:48 +00:00
kipp%netscape.com
8945b95dcc new 1999-09-30 01:53:31 +00:00
mccabe%netscape.com
4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
valeski%netscape.com
42c78be306 added more logging. fix attempt at 14209. 1999-09-18 00:37:21 +00:00
warren%netscape.com
7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
valeski%netscape.com
cf50888d59 minor logging adjustment 1999-09-15 21:56:34 +00:00
warren%netscape.com
279545985d Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
valeski%netscape.com
8a900bcfe5 FTP now uses the unknown content-type when it can't find one for the file it's transferring 1999-09-15 00:04:32 +00:00
valeski%netscape.com
b29015ef0d we now attempt a read even if the buffer's available count is zero. we were calling available before any data was getting in 1999-09-14 21:21:00 +00:00
valeski%netscape.com
fea615e364 content types are now forced to lower case: 13609 1999-09-14 19:42:09 +00:00
sfraser%netscape.com
bdcf7c443e Fix the file type of the shared lib 1999-09-14 00:49:58 +00:00
valeski%netscape.com
9e63a60731 fixed buffer mem allocation inconsistencies. we now loop for more data on long dir listings. we also consider any server string with 'windows' in it, to be an NT server. also added deletion of dir listing underlying buffer fir stringstream to the OnDataAvailEvent destructor; kinda ugly, but works 1999-09-13 23:29:12 +00:00
warren%netscape.com
506438ded2 More fixes for nsCOMPtr inconsistencies. 1999-09-11 19:43:06 +00:00