chak%netscape.com
c8953bc32e
Fix #115625 - Fix file:// protocol handler to enable html dir listing...
...
r=dougt, sr=rpotts
git-svn-id: svn://10.0.0.236/branches/MOZILLA_0_9_4_BRANCH@110653 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 23:26:00 +00:00
darin%netscape.com
cb84cd313d
fixes bug 93582 "nsFileChannel::AsyncOpen synchronously stat's the file before returning"
...
r=gordon, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@101194 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 06:47:32 +00:00
dougt%netscape.com
09b87cd278
Fixes crash 92604 submitted by tingley@sundell.net, sr=me, a=blizzard@redhat.com
...
git-svn-id: svn://10.0.0.236/trunk@100009 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-30 17:40:56 +00:00
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
dougt%netscape.com
c0eda73966
Fix for 80101. minor optimization in GetName(). submitted by sfraser@netscape.com, sr=dougt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@95376 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 06:17:00 +00:00
darin%netscape.com
9d03c579d0
Necko API changes, bug 74221. r=valeski, sr=rpotts.
...
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
disttsc%bart.nl
d9ef6a1ec6
Bug 60952: nsMimeTypes.h has wrong type for APPLICATION_HTTP_INDEX, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=blake, sr=darin
...
Bug 68651, nsFtpConnectionThread should use NS_LITERAL_STRING, author=Bradley Baetz <bbaetz@cs.mcgill.ca >, r=jag, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@90347 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 22:57:35 +00:00
dougt%netscape.com
65840ed246
fix for 69143. This patch prevents non existant files from entering into
...
the file transport process loop for reading.
git-svn-id: svn://10.0.0.236/trunk@90015 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:44:23 +00:00
dougt%netscape.com
21f01836f0
Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@89380 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:41:28 +00:00
bryner%uiuc.edu
ab5139c48f
Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott.
...
git-svn-id: svn://10.0.0.236/trunk@88637 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:10:33 +00:00
dougt%netscape.com
175245e2de
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
git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003
Back out dougt's channel changes
...
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df
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
git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
darin%netscape.com
73495dffa0
Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
...
r=dougt@netcape.com , sr=mscott@netscape.com .
git-svn-id: svn://10.0.0.236/trunk@85390 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:10:34 +00:00
dougt%netscape.com
110f4f1016
50558. check for nulls. written by warren harris r=dougt@netscape.com a=mscott@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83140 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:14:41 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
mscott%netscape.com
a44231c99a
Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
...
r=valeski
make the http event sync proxy async instead of sync. r=gagan
git-svn-id: svn://10.0.0.236/trunk@78451 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:21:44 +00:00
warren%netscape.com
4d62e29749
Bug 46864 - Embedding needs a name attribute on nsIRequest.
...
git-svn-id: svn://10.0.0.236/trunk@76772 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 08:23:54 +00:00
warren%netscape.com
997161d193
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
...
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
dougt%netscape.com
db2c70c95b
bug 40750.
...
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org .
a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
warren%netscape.com
daeb105206
Fixed warning.
...
git-svn-id: svn://10.0.0.236/trunk@74002 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 09:46:51 +00:00
valeski%netscape.com
23654db003
42767. AsyncOpen (dead code) removal.
...
git-svn-id: svn://10.0.0.236/trunk@72387 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:39:19 +00:00
warren%netscape.com
d9314a9d34
Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:39:45 +00:00
rpotts%netscape.com
d563d41bb5
The file channel needs to implement nsIProgressEventSink, so the channel parameter is *not* the file transport. Doing this means that the FileChannel also needs to implement nsIInterfaceRequestor...
...
git-svn-id: svn://10.0.0.236/trunk@71341 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:19:16 +00:00
gagan%netscape.com
4a1eb5fb3a
Fix for bug 37238. We were guessing the mime type incorrectly.
...
git-svn-id: svn://10.0.0.236/trunk@68188 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:57:58 +00:00
slamm%netscape.com
7b47342c42
Fix declaration order to quiet build warning
...
git-svn-id: svn://10.0.0.236/trunk@67245 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:31:01 +00:00
warren%netscape.com
cf8e62d78e
Fixed RemoveChannel problem.
...
git-svn-id: svn://10.0.0.236/trunk@65805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 10:02:32 +00:00
warren%netscape.com
cdc4a80955
Added some cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@65803 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:30:09 +00:00
warren%netscape.com
22161b7197
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.
...
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +00:00
warren%netscape.com
0adc119fff
Added assertions to prove that cancel was being used in a thread-safe way. Bug 31091.
...
git-svn-id: svn://10.0.0.236/trunk@65175 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:49:49 +00:00
warren%netscape.com
9fa657f1cd
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.
...
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
dougt%netscape.com
9c2acfa2d6
Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren.
...
git-svn-id: svn://10.0.0.236/trunk@63319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:06:32 +00:00
ruslan%netscape.com
6688eb3fca
Fix multithreadness assert in the file channel, r=warren
...
git-svn-id: svn://10.0.0.236/trunk@62824 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:18:26 +00:00
valeski%netscape.com
8e0a440cc5
getting the rest of necko to use the mimetypes file. also added protection for UA string setup
...
git-svn-id: svn://10.0.0.236/trunk@60201 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 05:04:52 +00:00
dougt%netscape.com
714da09a59
Landing nsIFile.
...
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
rpotts%netscape.com
8457af366d
bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs
...
git-svn-id: svn://10.0.0.236/trunk@57915 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 06:12:54 +00:00
rpotts%netscape.com
50c3fad132
Made contentType a read/write attribute of nsIChannel
...
git-svn-id: svn://10.0.0.236/trunk@57178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 06:26:04 +00:00
valeski%netscape.com
152b822223
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
...
git-svn-id: svn://10.0.0.236/trunk@55551 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:00:47 +00:00
warren%netscape.com
c7d8a4a439
Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
...
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
mscott%netscape.com
86572486f8
implement retargeting for SetLoadGroup
...
r=valeski,rpotts
git-svn-id: svn://10.0.0.236/trunk@54781 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:19:53 +00:00
rpotts%netscape.com
258f8c739b
bug #18651 . Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe...
...
git-svn-id: svn://10.0.0.236/trunk@54450 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 23:51:09 +00:00
warren%netscape.com
0257ba25ee
Added code to aggressively clean up file transport on failure.
...
git-svn-id: svn://10.0.0.236/trunk@54262 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 07:01:56 +00:00
warren%netscape.com
cbcd671c5d
Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
...
git-svn-id: svn://10.0.0.236/trunk@53856 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:36:41 +00:00
warren%netscape.com
d8627fe912
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
warren%netscape.com
4695e1619c
Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz
...
git-svn-id: svn://10.0.0.236/trunk@53330 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 06:13:13 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
warren%netscape.com
fe1c294273
Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott
...
git-svn-id: svn://10.0.0.236/trunk@51839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 09:16:24 +00:00
warren%netscape.com
6a952509ef
Lowercased idl method names for scriptability. Cleaned up nsIURL interface.
...
git-svn-id: svn://10.0.0.236/trunk@50406 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:39:37 +00:00
warren%netscape.com
30cf63de80
Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski)
...
git-svn-id: svn://10.0.0.236/trunk@49968 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 08:26:01 +00:00
mscott%netscape.com
dfe61b8c0c
Bug #0000 (no bug number necessary). remove old STREAM_CONVERTER_HACK #ifdef code because we no longer need this.
...
This was the hack we used before we had a stream converter service to load rfc822 data into a webshell and get it
converted to html.
r=warren
git-svn-id: svn://10.0.0.236/trunk@49856 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 20:54:03 +00:00