Commit Graph

513 Commits

Author SHA1 Message Date
dougt%netscape.com
6a3a4a8997 Fixes many ftp problems. Details in 72280. r=valeski@netscape.com 2001-03-21 19:04:32 +00:00
gordon%netscape.com
3361e48529 Landing MOZ_NEW_CACHE_20010314_BRANCH, incorporating feedback from recent test builds. New cache is still disabled by default. 2001-03-20 22:42:03 +00:00
dbaron%fas.harvard.edu
79b1bcdc60 Allow new cache to be built with MOZ_TRACK_MODULE_DEPS. r=cls@seawood.org 2001-03-11 02:02:25 +00:00
valeski%netscape.com
85015a6d5a sr=alecf. 71086. removing manual stream converter chaining in favor of the automatic chaining that the stream converter service supports. 2001-03-10 18:19:57 +00:00
darin%netscape.com
01253d7390 Fixes bug 66516. Topperf regression from 1/23. r=dougt, sr=mscott 2001-03-08 07:53:40 +00:00
dougt%netscape.com
ad4d6cb65a NOT PART OF BUILD. this makes ftp work with the cache a bit better. 2001-03-08 00:59:19 +00:00
mkaply%us.ibm.com
fca2f78b64 IRIX breakage - CR/LF problem on dougt checkin 2001-03-07 03:04:02 +00:00
dougt%netscape.com
d789fc13dd NOT PART OF BUILD. moving the getMetdata up a bit 2001-03-06 20:22:01 +00:00
bryner%uiuc.edu
8b80c7c363 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. 2001-03-06 05:10:33 +00:00
dbaron%fas.harvard.edu
7b468bb07f Fix server name not showing up in status bar for FTP connections. b=66682 r=dougt@netscape.com sr=mscott@netscape.com 2001-03-06 03:32:07 +00:00
dbaron%fas.harvard.edu
83bbffbccd Add pref to REQUIRES to fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage. 2001-03-06 03:24:57 +00:00
dougt%netscape.com
877f3dd664 Fixing windows bustage. 2001-03-06 02:21:37 +00:00
dougt%netscape.com
80614d95ae Fixes 64795 - Allows viewing FTP without the treewidget. r=valeski@netscape.com, sr=waterson@netscape.com 2001-03-06 02:14:42 +00:00
beard%netscape.com
853f3c4945 Release mCacheEntry in nsFtpState::StopProcessing() rather than when reallocated in nsFtpState::Connect(). This causes the cache entry to closed sooner only when MOZ_NEW_CACHE is defined. r=dougt, sr=gagan 2001-03-05 03:50:14 +00:00
dougt%netscape.com
61a6206885 This is not part of the build (it is currently IFDEF'ed off. Conditionally allows ftp to use the new cache. r=gagan@netscape.com 2001-03-03 01:40:36 +00:00
disttsc%bart.nl
277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
dougt%netscape.com
1e0d9b7877 fixes 66873. fixes WFTPD incompatibility. r=gagan, sr=mscott 2001-03-01 00:23:36 +00:00
dougt%netscape.com
0ff09eae40 Fixing 69836. Increasing data buffer sizes which improves perf on Mac. r=sfraser, sr=mscott 2001-02-28 23:37:03 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com
128f95aa9b Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
valeski%netscape.com
e240f6ab6e removing unused static method 2001-02-03 23:43:59 +00:00
mscott%netscape.com
0b910f67b1 initialize the refcount to fix some annoying assertions
r=darin,dougt
2001-02-01 00:06:14 +00:00
darin%netscape.com
d4b4bf4bce Fixes bug 66493. nsSocketTransport changes broke in-process PSM.
r=bryner,gagan,brendan,dougt sr=mscott
2001-01-27 01:28:00 +00:00
darin%netscape.com
6a7567992b Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
dougt%netscape.com
31b6aa3971 Removing unused files which were removed on the FTP branch, but were never removed from the trunk. r=valeski, a=rpotts. 2001-01-12 22:12:12 +00:00
dougt%netscape.com
cbcc1af909 adding a little test suite in html for ftp. It is not part of the build. 2001-01-12 22:10:55 +00:00
dougt%netscape.com
9906e380fd duh! wrong var being used. r=darin a=me 2001-01-11 20:55:09 +00:00
dougt%netscape.com
c16bef45b4 Landing of FTP branch. Highlights include (a) ftp is now async, (b) removal of threadpool, (c) better caching of control socket. See posting on netlib newsgroup for details. reviewers include valeski@netscape.com, gordon@netscape.com. Superreveiwer is rpotts@netscape.com. Bugs fixed by this bug include 61678. 2001-01-10 23:45:04 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
dbaron%fas.harvard.edu
d1939ea6d3 Fix leak of nsConnectionCacheObj for FTP connections to nonexistant sites. r=valeski@netscape.com sr=brendan@mozilla.org b=58948 2000-11-08 03:08:23 +00:00
rjc%netscape.com
e75494be4b Secon attempt to fix RTM++ bug # 54626: ftp dir resolution. r=waterson sr=gagan 2000-10-04 22:58:54 +00:00
rjc%netscape.com
618e09bc65 Backing out previous checkin while I investigate orange. 2000-10-04 04:27:01 +00:00
rjc%netscape.com
9450f5b29f Fix RTM++ bug # 54626: ftp dir resolution. r=waterson sr=gagan 2000-10-04 02:06:03 +00:00
mscott%netscape.com
3e8306773b Bug #44176 --> pass in the length as the max progress for the download. This allows implementors of
nsIWebProgressLIstener to get notifications for ftp downloads.
r=valeski r=gagan
2000-09-22 03:46:11 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
brendan%mozilla.org
62b6238e92 Temporarily back out shaver's needed cleanup to remove wallet dependencies. 2000-09-13 21:49:39 +00:00
shaver%mozilla.org
13f37d3aa4 #18352: remove extensions/ dependencies. This breaks single-signon for now, r=valeski, a=brendan 2000-09-12 20:45:58 +00:00
mscott%netscape.com
81b816da2e Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
2000-09-08 00:24:13 +00:00
rjc%netscape.com
9e6106beea Fix bug # 33122: FTP proxy problems. r=gagan 2000-09-06 23:44:21 +00:00
rjc%netscape.com
a588547fa4 Comment out assert() for bug # 46723. 2000-09-06 00:58:41 +00:00
rjc%netscape.com
cb06aeba5e Fix bug # 51016: FTP being too eager with assuming directory vs file. r=me 2000-09-04 23:36:56 +00:00
scc%mozilla.org
6e3c3421c6 compiler is confused; giving it a more digestible meal 2000-09-02 22:18:57 +00:00
scc%mozilla.org
44952a090c fixing code that relied on implicit string construction 2000-09-02 21:47:30 +00:00
warren%netscape.com
e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
warren%netscape.com
e12f238589 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
rjc%netscape.com
cbea626ecf Fix buf # 44324 (error msg if overloaded FTP server) and bug # 31586 (resolution when logging into user home directory via FTP). r=gagan 2000-08-12 05:13:29 +00:00
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
kzhou%netscape.com
16d821c74c bug #46136. r:valeski, a:leaf. Reset mIP6vChecked as PR_FASLE to prevent browser
from hunging for ftp protocol
2000-08-03 20:05:22 +00:00
warren%netscape.com
2b01440bc0 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
jab%atdot.org
3ff5cd0f65 a=brendan@mozilla.org
Bug #16103
Support for SOCKS proxies in HTTP, HTTPS, and FTP protocols.
Also includes the prefs configuration and UI bits.
2000-07-01 10:25:25 +00:00
morse%netscape.com
5524653464 fix bug 43886, single signon no longer works, r=jefft 2000-06-27 21:13:50 +00:00
dougt%netscape.com
8b638a4c67 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.
2000-06-24 00:03:10 +00:00
waterson%netscape.com
346b05b162 Added MOZ_COUNT_CTOR/DTOR macros for ftp events. r=warren 2000-06-23 06:32:48 +00:00
waterson%netscape.com
1976839d76 Fix DEBUG mac build bustage. 2000-06-17 01:38:36 +00:00
valeski%netscape.com
64bb31dfdd fixing a leak 2000-06-16 22:21:50 +00:00
ruslan%netscape.com
5a43febfe4 Continuing preparations for SOCKS landing. Not part of the build 2000-06-16 18:44:04 +00:00
valeski%netscape.com
f0fec56b70 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
warren%netscape.com
88151adad6 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:39:45 +00:00
brade%netscape.com
3131e1a65f File Removed. 2000-06-02 13:02:35 +00:00
valeski%netscape.com
9b5b552f51 39610. r=morse. ftp wasn't ditching bad auths from the wallet 2000-05-26 20:25:28 +00:00
warren%netscape.com
3658e33085 Removing URIParser attribute from nsIURI interface. Fixed Equals for case when port is the default. Cached URL parsers (all 3) to reduce object allocation. r=andreas,dp 2000-05-25 08:27:40 +00:00
dougt%netscape.com
4b4d8250bf correcting invalid port number. They should be -1, not zero. 2000-05-20 00:19:24 +00:00
dougt%netscape.com
d83290854c Fix for 31164, possibly 35658, and prep work for 31174.
1) Passing the proxy hostname and port to the underlying socket
   and changing all users that appeared in lxr.

2) (psm-glue) registering with the cache manager to allow local loopback so that
   psm will work with a proxy.

3) (psm-glue) Storing proxy information in psmSocketInfo.

most reviewed by gagan@netscape.com.
2000-05-19 22:56:12 +00:00
warren%netscape.com
5f6b57ef08 Bug 39416. Made ftp work with single sign-on for more than one user/host. 2000-05-17 07:12:40 +00:00
warren%netscape.com
618d468469 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
gagan%netscape.com
22de654778 Fixes from wtc for bug 38300. 2000-05-16 05:33:18 +00:00
valeski%netscape.com
7a509f2b73 fixing debugging text typo 2000-05-15 22:49:12 +00:00
valeski%netscape.com
1b04faf9f9 applying patch to ipv6'ify FTP from jgmyers@netscape.com 2000-05-15 22:23:08 +00:00
warren%netscape.com
185c96de20 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
warren%netscape.com
eb6959f7b7 Fixed mac build warnings. 2000-05-06 09:07:31 +00:00
andreas.otte%primus-online.de
e365632082 first round of checkins to fix bug 37616, Retire SetRelativePath, r=warren@netscape.com 2000-05-05 23:39:25 +00:00
valeski%netscape.com
b8ac1228c4 getting rid of extraneous FTP members. 2000-05-04 22:06:21 +00:00
valeski%netscape.com
b1f5ae2519 removing extraneous channel member, and ensuring that final releases used by the FTP thread are made on the owning thread. 2000-05-03 21:20:32 +00:00
valeski%netscape.com
e24dddf19a 31587. FTP was caching the auth dialog data. 2000-05-03 21:17:48 +00:00
valeski%netscape.com
0abe2ef983 26191. FTP can now recover when browsing and a connection times out 2000-04-18 23:05:12 +00:00
valeski%netscape.com
6291d0a329 we now use the cached, correct, event queue when firing our Async*() channel api calls from the FTP thread. this allows other applications to spin up FTP threads. 2000-04-18 20:56:04 +00:00
valeski%netscape.com
ef7b2bb46e 27982. if we were trying to login and the server told us it was full (via a 421 code :-/), then just stop processing 2000-04-18 13:48:34 +00:00
scc%netscape.com
90f6c2cb90 making string conversions explicit 2000-04-15 06:42:27 +00:00
warren%netscape.com
2979b9b4c6 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code. 2000-04-12 07:58:24 +00:00
cls%seawood.org
932870c3c6 Set SHORT_LIBNAME for 8.3 platforms. 2000-04-08 00:39:39 +00:00
mkaply%us.ibm.com
16e912ab31 # 34082
r= warren@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:32:07 +00:00
scc%netscape.com
e6cdf16c0b making string conversions explicit 2000-04-01 22:52:50 +00:00
valeski%netscape.com
6be78f079f 29754. fixed a couple warnings, removed FTP dependence on xul window for prompting, and started using the nsIPrompt interface. 2000-03-30 01:00:29 +00:00
warren%netscape.com
fa4844d2c2 Fixed 0 => LL_ZERO problem. 2000-03-29 04:30:01 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
scc%netscape.com
5d653fd52b small changes to clients of string converting APIs 2000-03-26 02:06:10 +00:00
valeski%netscape.com
2771a13dba 18007 partial. removing extraneous assertion and removing OnStartRequest callback firing. We don't want to fire OnStartRequests() if there was an error. 2000-03-21 22:01:52 +00:00
dougt%netscape.com
8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
rickg%netscape.com
b8bc8e2084 removed calls to deprecated string methods 2000-03-12 10:59:00 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
valeski%netscape.com
ec891ecf55 r=warren. a=jar. 30634, 30635. something caused event timing changes which aggrivated some FTP bugs. FTP no longer pumps it's own event loop, no longer implements AsyncOpen, and has changed the synchronization between the channel object and the FTP thread. The current changes aggrivate a bug in the socket transport which manifests itself as the throbber not always stopping when a download completes. 2000-03-09 09:46:56 +00:00
valeski%netscape.com
c6e8443b96 r=rpotts. a=jar (checkin on red approval = leaf). built, run and pre-checkin tested on all three platforms. 28042. The FTP thread is now threadsafe, and I've reduced the amount of proxy object usage. 2000-02-29 03:29:08 +00:00
tbogard%aol.net
cf5a3f3925 Changed nsIAppShellService and nsIWindowMediator to talk in terms of nsIXULWindow instead of nsIWebShellWindow. Also removed the function nsIAppShellService::RunModalDialog since windows should be created using the nsIDOMWindow::OpenDialog. r=danm a=jevering 2000-02-29 00:20:55 +00:00
valeski%netscape.com
de9519f19a r-rpotts, 29293. FTP was choking on servers that didn't support the SIZE command 2000-02-26 15:45:50 +00:00
gagan%netscape.com
02db4b6aa0 FTP's change for checking the proxy setting. r=valeski 2000-02-24 02:10:32 +00:00
valeski%netscape.com
e2429cef3e fixing a linux warning, re-ordering initialization to match declaration order in .h 2000-02-16 00:05:06 +00:00
valeski%netscape.com
19107265e4 no longer used as part of FTP proxy changes 2000-02-15 22:25:33 +00:00
brade%netscape.com
aa90de6972 remove nsFTPListener.cpp (r=valeski) 2000-02-15 22:25:14 +00:00
valeski%netscape.com
c4dda545f3 r=gagan. 15594. FTP proxies implemented. 2000-02-15 22:02:11 +00:00
valeski%netscape.com
30c25dc728 r=mcafee. FTP now retrieves username and password info directly from the respective URL accessors. This removes any unescaping burden from FTP. These accessors are guaranteed to return unescaped strings 2000-02-14 05:49:55 +00:00
valeski%netscape.com
8dc8022117 getting the rest of necko to use the mimetypes file. also added protection for UA string setup 2000-02-09 05:04:52 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
sspitzer%netscape.com
96a0249281 change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott
2000-02-03 05:01:42 +00:00
valeski%netscape.com
41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +00:00
valeski%netscape.com
fb0ec52f63 r=none, I spoke w/ dagley about this, the diffs are cleanup, no code path changes. 2000-02-02 01:19:06 +00:00
sdagley%netscape.com
813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
valeski%netscape.com
3cb4368cf8 r=dougt. part of 18007. FTP now notifies the consumer of failures even if the data channel is never used. 2000-01-31 21:07:44 +00:00
pepper%netscape.com
1df37326cd All source files must contain a newline at the end or the lesser nixes won't compile. 2000-01-26 21:57:30 +00:00
valeski%netscape.com
ca2cad6ac6 r=gordon. 24985. 24837. we now error out if we confront an ftp server that has reached it's connection limit. we also start the throbber (add our selves to the load group) when an FTP transaction begins 2000-01-26 00:36:01 +00:00
blizzard%redhat.com
a6c2777c15 change .obj extension to .cpp for unix bustage. r=bienvenu 2000-01-24 16:40:19 +00:00
valeski%netscape.com
0efe3a1595 r=gagan. 18977, Implemented FTP upload (AsyncWrite) and 22300 fixed broken FTP responses (many servers don't follow spec and fire back newlines without preceeding numeric codes) 2000-01-24 15:55:40 +00:00
brade%netscape.com
217765d904 add nsAsyncEvent.cpp (r=valeski) 2000-01-24 15:54:33 +00:00
rpotts%netscape.com
be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
sspitzer%netscape.com
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com
ae47d277d3 Moved CIDs to nsIURLParser.idl to avoid mac bustage. 2000-01-14 11:09:17 +00:00
warren%netscape.com
d0f68edd62 Added access path for netwerk/base/src. 2000-01-14 10:15:46 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
valeski%netscape.com
64a59be346 Allowing the FTP channel to Cancel() even if the underlying connection thread has gone away. 2000-01-12 00:51:17 +00:00
rpotts%netscape.com
023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
valeski%netscape.com
ec7d6b07da 23039. r=rpotts. FTP wasn't closing the data connection after data transfer. This was causing it to hang, waiting for the command channel to unblock. 2000-01-06 00:29:48 +00:00
sspitzer%netscape.com
fbd97e9856 fix warnings. 1999-12-28 19:37:29 +00:00
dougt%netscape.com
7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
valeski%netscape.com
7516a3f630 a=sdagley, r=dougt. set the min ftp thread count to 1 (from 4). now we only fire up 1 thread initially. Also set the stack size to default machine stack size. 22033 1999-12-21 22:25:37 +00:00
valeski%netscape.com
77298f5df4 a=dagley, r=dougt. 22033. FTP was having problems with multiline, multi read server greetings. 1999-12-21 21:15:03 +00:00
briano%netscape.com
d226077369 Added a newline to the end of the file to make it compile on HP-UX. 1999-12-15 22:43:06 +00:00
briano%netscape.com
911b963ce5 Added a newline to the end of the file so HP-UX would be happy again. 1999-12-15 05:00:09 +00:00
valeski%netscape.com
2c8ae74076 21723, a=chofmann, r=rpotts. landing new FTP implementation. It's now much leaner on event processing, and no longer buffers data between the socket transport and consumer. This change went in in order to unblock the xpinstall guys on a UI thread starvation problem 1999-12-15 03:35:15 +00:00
valeski%netscape.com
e51a9fb7c2 added files: mozilla/netwerk/protocol/ftp/src/nsFTPListener.cpp 1999-12-15 03:32:56 +00:00
valeski%netscape.com
6bd54014c8 adding files for new FTP impl, not in build yet 1999-12-15 03:30:33 +00:00
valeski%netscape.com
b42d295bb2 r=rhp. 21242 adjusted pipe buffer params for FTP Async file transfers. URI dispatching had aggrivated this bug. Now file viewing via FTP works. 1999-12-09 06:41:05 +00:00
valeski%netscape.com
e2f28b9ebe r=rhp. 21195. a=jevering. adjusted pipe buffer params for FTP OpenInputSTream. URI dispatching had aggrivated this bug. Now file downloads via FTP work. 1999-12-09 06:20:50 +00:00
scc%netscape.com
db5cd594e2 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
valeski%netscape.com
06d6ba655f 20956. r=rpotts. necko no longer assumes any MIME type. we send out application/x-unknown-content-type internal MIME type if we don't *know* what the type is. It's now truly up to the app to figure out what to do 1999-12-07 07:00:47 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
mscott%netscape.com
1ef3b0359f implement retargeting for SetLoadGroup
r=valeski
1999-11-30 22:19:35 +00:00
valeski%netscape.com
643953578f r=rpotts, 17052. FTP now implements nsIProgressEventSink and sits inbetween the transport's notifications and the consumers. 1999-11-30 15:07:32 +00:00
valeski%netscape.com
4909924e98 r=waterson. 16914. FTP was authentication anonymously even though username and pwd info were suppplied in the url. now it isn't 1999-11-30 04:39:29 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
valeski%netscape.com
481695b32a r=mscott, premature stream closure cleanup and minor state change to FTP state machine. 1999-11-24 21:08:04 +00:00
warren%netscape.com
1b5bf54c3e *** empty log message *** 1999-11-24 05:51:32 +00:00
valeski%netscape.com
4e939113b6 added files: mozilla/netwerk/protocol/ftp/public/nsPIFTPChannel.idl, removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPChannel.idl 1999-11-23 22:00:54 +00:00
valeski%netscape.com
3fac4106ad 18435,18413. r=warren. Implemented AsyncOpen for FTP, as well as OpenInputStream. FTP no longer implements the stream listener interface 1999-11-23 22:00:18 +00:00
valeski%netscape.com
aaa223115e fixing crasher introduced when new Setter*() were dropped in last night. we now set the channel's url member *before* calling the set routines. 1999-11-18 20:51:05 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
jdunn%netscape.com
e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
valeski%netscape.com
d4e3f86975 another shot at vc5 bustage 1999-11-13 03:17:54 +00:00
valeski%netscape.com
cda947cd7a another shot at 5.0 bustage 1999-11-13 03:07:01 +00:00
valeski%netscape.com
947c2a030a fixing bustage for win32 vc5 1999-11-13 01:56:02 +00:00
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
warren%netscape.com
d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
jdunn%netscape.com
d6e55f9dc4 hp requires a newline at the end 1999-09-10 23:56:20 +00:00
valeski%netscape.com
4840abba0f we now handle a complete single line greeting from an ftp server 1999-09-10 22:09:39 +00:00
valeski%netscape.com
6661597694 updated FTP to use the directory listing stream converter when it encounters a dir listing. also removed it's dependency on time.h 1999-09-10 14:32:06 +00:00
briano%netscape.com
32510b6ff3 General cleanup. 1999-09-10 01:57:11 +00:00
rpotts%netscape.com
d78c217f46 bug #11376. I added GetContentLength to nsIChannel so the content length can be gotten from a channel... 1999-09-09 05:07:30 +00:00
briano%netscape.com
696e28cdec Removed the obsolete non-NECKO leftovers. 1999-09-09 00:59:41 +00:00
valeski%netscape.com
f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
valeski%netscape.com
8d8b9baa71 fixing an ftp crasher 1999-09-02 03:30:04 +00:00
valeski%netscape.com
b314594876 warning fixes + removal of nsString constructor usage w/ internal string byte size specifier 1999-09-01 14:13:51 +00:00
rickg%netscape.com
2783bc0081 removed a warning 1999-09-01 00:58:45 +00:00
norris%netscape.com
d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
rickg%netscape.com
4dea02ede3 replaced call to deprecated method in nsString 1999-08-29 17:44:48 +00:00
valeski%netscape.com
0b30c81c11 change nsString2 to nsCString 1999-08-29 16:42:27 +00:00
warren%netscape.com
b1c540e4a4 Ported to the new nsPipe2 implementation. 1999-08-27 10:33:37 +00:00
gagan%netscape.com
013eeb5f2a More mem leak fixes which were showing up originating in nsStdURL. 1999-08-27 09:59:59 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
valeski%netscape.com
8e17ea1cfb Added start request event firing, and we now maintain the initial response code from a multi-line response 1999-08-24 21:53:27 +00:00
valeski%netscape.com
2c118bb38b added pr logging to ftp 1999-08-24 21:46:09 +00:00
warren%netscape.com
895a69acc1 Replaced nsPipe2.h with nsIPipe.idl 1999-08-24 08:46:32 +00:00
mccabe%netscape.com
a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mccabe%netscape.com
17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
sspitzer%netscape.com
d59e01480f fix warning 1999-08-19 06:27:24 +00:00
warren%netscape.com
d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
briano%netscape.com
955529a7f3 Unix native compilers don't like it when files don't end with a newline. 1999-08-12 01:58:19 +00:00
valeski%netscape.com
0091d03cb8 added pipe2 stuff back in after patrick got the pipe2 stuff linking in w/ mac 1999-08-12 01:01:55 +00:00
valeski%netscape.com
a652772b48 removed nsPipe2 api usage 1999-08-11 23:58:35 +00:00
valeski%netscape.com
4c6ccdee2b added files: mozilla/netwerk/protocol/ftp/public/nsIFTPContext.idl 1999-08-11 22:27:12 +00:00
valeski%netscape.com
87e42a03b1 adding next rev of ftp protocol 1999-08-11 22:26:32 +00:00
warren%netscape.com
529c0b2b71 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +00:00
warren%netscape.com
7451a9a44d Took out more f*** nsCOMPtrs 1999-07-31 07:51:35 +00:00
warren%netscape.com
07b963204e Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group. 1999-07-31 06:53:12 +00:00
warren%netscape.com
57392932f9 Fixed to not put stuff in netwerk/dist anymore. 1999-07-30 06:10:53 +00:00
warren%netscape.com
c7b57f1e08 Fixed mismatched delete problem (purify). 1999-07-28 04:05:10 +00:00
gagan%netscape.com
b44058b222 Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well. 1999-07-22 21:14:51 +00:00
warren%netscape.com
bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
mcafee%netscape.com
2d83f3faab More error checking for nsFTPChannel::Init() 1999-07-17 03:02:22 +00:00
warren%netscape.com
84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
warren%netscape.com
699e29f427 Fixed http loading in viewer. Wrong channel was being passes to doc loader's stream listener by http. Also added ifdef to easily remove Fill change. 1999-07-11 02:43:37 +00:00
warren%netscape.com
e9f97d9c22 Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
warren%netscape.com
9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
valeski%netscape.com
90bc8ef305 corrected string parsing argument order 1999-07-06 14:26:29 +00:00
dveditz%netscape.com
0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
mcafee%netscape.com
4b0cfacbd6 Solaris needs newline at EOF. 1999-07-02 05:37:21 +00:00
mcafee%netscape.com
b48b91fe1c Fixing Solaris/CC bustage. 1999-07-02 05:36:07 +00:00
gordon%netscape.com
1842e1c67e First Checked In. 1999-07-01 19:50:15 +00:00
warren%netscape.com
bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
valeski%netscape.com
fe56395bae change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00