cbiesinger%web.de
ed21251c29
bug 326693 filechannel ignores content-type hints
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@189976 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 18:46:12 +00:00
darin%meer.net
39a4a58990
Initial patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@184504 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-12 18:17:19 +00:00
cbiesinger%web.de
5d85d7ccaa
bug 283489 r=darin sr=bz
...
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
to read/write the referrer property
git-svn-id: svn://10.0.0.236/trunk@171661 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 17:40:32 +00:00
cbiesinger%web.de
7a23dab984
bug 247607 http-index-format -> html conversion should be done by the necko caller, not by the channels
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@158494 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 18:30:22 +00:00
gerv%gerv.net
586f796c2a
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
neil%parkwaycc.co.uk
a9c034558c
Bug 238257 File URLs aren't respecting user network.dir.format pref r/sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@154719 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:31:38 +00:00
darin%netscape.com
2b1d90b6ed
modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
...
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
darin%netscape.com
b0d1215484
fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@131256 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 02:20:35 +00:00
dougt%netscape.com
6b1ae3c760
Fixes File: URL's w/ an illegal drive name do not display fnf errors. r=neeti, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@130566 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 03:13:10 +00:00
dougt%netscape.com
215283d7be
Backing out last checkins
...
git-svn-id: svn://10.0.0.236/trunk@130169 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 20:06:33 +00:00
dougt%netscape.com
22b4466866
Fixes File: URL's w/ an illegal drive name (4th field) do not show fnf error. b=128909, r=neeti@netscape.com, sr=darin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@130164 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 19:04:46 +00:00
darin%netscape.com
a60133bb26
fixes bug 151867 - file channel should implement nsIUploadChannel
...
r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@127106 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 22:44:04 +00:00
chak%netscape.com
9ff000752e
Fix for #141247 - Enable HTML dir listings
...
r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@120319 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:48:15 +00:00
darin%netscape.com
8defbf5d26
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
valeski%netscape.com
8db35965a8
r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
...
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +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
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
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
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
warren%netscape.com
7cefc01f95
Factoring stream i/o operations into nsIStreamIO interface.
...
git-svn-id: svn://10.0.0.236/trunk@65799 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:50 +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
mcafee%netscape.com
71ae94a086
Fixing solaris bustage, include ordering problem? r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@58501 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 01:27:28 +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
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
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
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +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
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
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
warren%netscape.com
556cf8505e
Factored file transport service out of file: protocol.
...
git-svn-id: svn://10.0.0.236/trunk@47704 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:16:22 +00:00
warren%netscape.com
1b07f99ee9
Making nsIThread nsIRunnable and nsIThreadPool idl interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@47659 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 21:41:20 +00:00
warren%netscape.com
d54498ba38
Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel.
...
git-svn-id: svn://10.0.0.236/trunk@46961 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 18:45:36 +00:00
brendan%mozilla.org
40bece4baa
Use deadlock detecting nsAutoMonitors, etc., correctly.
...
git-svn-id: svn://10.0.0.236/trunk@46127 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 19:57:40 +00:00
mscott%netscape.com
ae6cca052d
Bug #10845 --> mailnews mime stream converter now works with the stream converter service and uses nsIstreamConverter
...
instead of nsIStreamConverter2.
git-svn-id: svn://10.0.0.236/trunk@45919 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:03:12 +00:00
norris%netscape.com
3a6d863c13
* clean up nsScriptSecurityManager
...
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
warren%netscape.com
f42f069d47
Ported to the new nsPipe2 implementation.
...
git-svn-id: svn://10.0.0.236/trunk@44808 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 10:33:37 +00:00
rpotts%netscape.com
c1eed107d9
M9 BRANCH landing...
...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
dougt%netscape.com
d9427f7af6
Fix for bug 10435. Everything except CopyFrom() and MoveFrom()
...
git-svn-id: svn://10.0.0.236/trunk@44391 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 22:30:59 +00:00
mccabe%netscape.com
0ee0c94bc4
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.
git-svn-id: svn://10.0.0.236/trunk@44059 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-22 13:26:18 +00:00
warren%netscape.com
894be4eb22
Fix for bug 7682: StringBundle can't load URLs from imap thread.
...
git-svn-id: svn://10.0.0.236/trunk@43270 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 00:43:48 +00:00
warren%netscape.com
b1b034de2c
Fixed problem for large files (or small buffers). Added logging.
...
git-svn-id: svn://10.0.0.236/trunk@43181 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 08:17:35 +00:00
warren%netscape.com
ea0efc8e73
Took out more f*** nsCOMPtrs
...
git-svn-id: svn://10.0.0.236/trunk@41703 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 07:51:35 +00:00
warren%netscape.com
7517ffc87e
Added GetLoadGroup/SetLoadGroup to nsIChannel so that redirects can discover the group.
...
git-svn-id: svn://10.0.0.236/trunk@41690 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 06:53:12 +00:00
mscott%netscape.com
6f0592ea4d
necko only:
...
Added the "hack" which can be turned off by undefining STREAM_CONVERTER_HACK. Basically, if we are reading in an rfc822
file we insert a stream converter between the file channel and the consumer of the file channel. the file channel
then talks to the converter which talks to the end consumer.
Made the file channel honor the number of bytes read parameter which gets passed in on AsyncRead. We now cancel the read
after we've read in the desired # of bytes.
fixed two file parsing bugs: one in Init and one in GetContenttype
git-svn-id: svn://10.0.0.236/trunk@40842 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 06:16:37 +00:00