47 Commits

Author SHA1 Message Date
cbiesinger%gmx.at
7509b39f4e 389440 move LOAD_NO_NETWORK_IO to nsICachingChannel to avoid modifying semantics of a frozen interface. Also replace NS_ERROR_NEED_NETWORK with NS_ERROR_DOCUMENT_NOT_CACHED
r+sr=bz a=roc


git-svn-id: svn://10.0.0.236/trunk@231094 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:40:46 +00:00
dcamp%mozilla.com
ce486d5c5a implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@229513 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 22:15:52 +00:00
cbiesinger%web.de
97c9ed1165 bug 346151 Add nsIProxiedChannel to allow querying the proxy info a channel
was created with
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@206336 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 21:28:31 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
darin%meer.net
37430f6e64 fixes bug 293350 "Allow dynamic changes to notification callbacks" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179934 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 00:20:02 +00:00
dbaron%dbaron.org
f5fb8ddaff Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin
git-svn-id: svn://10.0.0.236/trunk@177663 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 22:53:22 +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
peterv%propagandism.org
80c73da3eb Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162496 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 13:03:33 +00:00
cbiesinger%web.de
5999fe7ca6 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@158580 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-29 16:45:07 +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
d6544e324a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155092 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:14:17 +00:00
darin%meer.net
634c89e186 fixes bug 192284 "support nsIChannel::open for all protocols" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147736 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 04:27:13 +00:00
bryner%brianryner.com
8af6bcdb92 updating my email address
git-svn-id: svn://10.0.0.236/trunk@147417 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 05:35:34 +00:00
cbiesinger%web.de
52de442eea Bug 217432
finger/datetime channel always return failure on suspend/resume

r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@146750 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 12:15:05 +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
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
f5b5bace95 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@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +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
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
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
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +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
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
4b7b8b12ca Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko
git-svn-id: svn://10.0.0.236/trunk@96470 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:10:09 +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
blakeross%telocity.com
5e9b6a35a7 Fix 49334: gopher support, minor restructuring of directory viewer. necko: r=darin,dougt sr=rpotts other: r=waterson,mstoltz,jag sr=alecf
Fix 70404: assertions for datetime and finger. r=dougt, sr=rpotts

Both patches by Bradley Baetz (bbaetz@cs.mcgill.ca)


git-svn-id: svn://10.0.0.236/trunk@89583 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:51:01 +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
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
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
dougt%netscape.com
1ed14ca24a correcting invalid port number. They should be -1, not zero.
git-svn-id: svn://10.0.0.236/trunk@70534 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 00:19:24 +00:00
dougt%netscape.com
afe2f43f12 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.


git-svn-id: svn://10.0.0.236/trunk@70532 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:56:12 +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
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
valeski%netscape.com
bc1b812270 r=rhp. datetime protocol wasn't initializing properly which would cause a datetime url without a host to spin
git-svn-id: svn://10.0.0.236/trunk@57444 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:16:19 +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
b00eb50e2e NOT IN BUILD. updating datetime protocol to add/remove itself from the load group
git-svn-id: svn://10.0.0.236/trunk@56292 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:40:05 +00:00
valeski%netscape.com
e374477ce9 NOT IN BUILD. Adding date time protocol handler files
git-svn-id: svn://10.0.0.236/trunk@56238 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 21:48:15 +00:00