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
7a0cda61b9
bug 264599 make unfrozen necko interfaces use 64-bit integers.
...
r=darin sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@167443 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-09 20:43:35 +00:00
darin%meer.net
e3117874fa
fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@165373 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 20:16:52 +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
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +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
cbiesinger%web.de
39f2b721ec
Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
...
r=bzbarsky sr=darin
git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +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%meer.net
bc1bb52b19
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
bzbarsky%mit.edu
fe3f1277a3
Make setting contentType or contentCharset act as hints if done before channel
...
open; use this in the CSSLoader to hint that we want text/css data. Bug
120789, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144065 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 21:00:46 +00:00
darin%netscape.com
cb72ae6a49
fixes bug 197079 "Status bar doesn't display 'Stopped' when stop button is clicked" r=dougt sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142048 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 06:31:55 +00:00
bzbarsky%mit.edu
5105e52542
That last checkin was bug 192522, r=alecf, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@138211 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:09:58 +00:00
bzbarsky%mit.edu
4307d0d522
Just set the MIME type on the stringbundle channel after calling Open(). We
...
don't need necko to sniff the type.
git-svn-id: svn://10.0.0.236/trunk@138210 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:09:04 +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
dbaron%dbaron.org
855a1b80fa
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136019 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:35:09 +00:00
timeless%mozdev.org
a66cb608c5
Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
...
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@133907 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 15:24:56 +00:00
darin%netscape.com
abd2669870
fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts
...
git-svn-id: svn://10.0.0.236/trunk@133847 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 20:36:20 +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
brendan%mozilla.org
48b0666835
Dougt didn't fix that tab nit... just for that, I'm stripping trailing spaces too\!
...
git-svn-id: svn://10.0.0.236/trunk@130729 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 17:46:18 +00:00
dougt%netscape.com
f2cda97b48
Fixes topcrash 171333 crash at startup in nsFileChannel if chrome modified [@ nsFileChannel::GetFile] r=danm@netscape.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@130727 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 16:50:08 +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
4cd3ac5a72
Moves uploadStream to nsIUploadChannel. r=neeti@netscape.com, sr=darin@netscape.com, b=100601
...
git-svn-id: svn://10.0.0.236/trunk@130433 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 20:15:17 +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
ecb9f5bc85
adds return result
...
git-svn-id: svn://10.0.0.236/trunk@130165 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 19:06:10 +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
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
timeless%mac.com
800cde8566
Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
...
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@128704 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 14:51:05 +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
ac7b15ca02
fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
...
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa
git-svn-id: svn://10.0.0.236/trunk@117526 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:33:19 +00:00
darin%netscape.com
67cf8f6205
backing out changes (for bug 116365) to fix btek page-loader crash.
...
git-svn-id: svn://10.0.0.236/trunk@117473 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 08:47:10 +00:00
darin%netscape.com
9df715a8b7
fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
...
range requests" r=gagan sr=mscott,rpotts,brendan a=asa
git-svn-id: svn://10.0.0.236/trunk@117469 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:54:07 +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
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
rpotts%netscape.com
53031d8f57
reverting to rev 1.115 to fix blocker bug #123572
...
git-svn-id: svn://10.0.0.236/trunk@113730 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 00:28:51 +00:00
rpotts%netscape.com
acd07aa585
bug #122150 (r=jst@netscape.com, sr=darin@netscape.com) File transport was using the wrong nsIProgressEventSink when firing notifications...
...
git-svn-id: svn://10.0.0.236/trunk@113678 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 04:42:25 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +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
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