47 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
60c0bb5797 Fix leak bug 391978. r=biesi, sr=dmose, a=sayrer
git-svn-id: svn://10.0.0.236/trunk@239021 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:13:26 +00:00
dmose%mozilla.org
210b7f773c Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz
git-svn-id: svn://10.0.0.236/trunk@233779 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 04:44:26 +00:00
sdwilsh%shawnwilsher.com
4af9c4d35c Bug 389870 - When previous action was to use a local helper app, the protocol never works again. r=cbiesinger, sr=dmose, a=schrep
git-svn-id: svn://10.0.0.236/trunk@231112 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 20:20:54 +00:00
dmose%mozilla.org
e3ed12c932 nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols (bug 389632), patch by Karl Tomlinson <mozbugs@karlt.net>, r+sr=biesi,dmose; a=roc
git-svn-id: svn://10.0.0.236/trunk@231110 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 18:31:13 +00:00
sdwilsh%shawnwilsher.com
b08e2e1c03 Bug 385065 - protocol handling dialog. r=cbiesinger (forgot to fix two nits)
git-svn-id: svn://10.0.0.236/trunk@231036 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:44:43 +00:00
sdwilsh%shawnwilsher.com
9b36ce8382 Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@231019 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:24:31 +00:00
bzbarsky%mit.edu
82a282ff4b Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@230943 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 17:21:42 +00:00
dmose%mozilla.org
3c752eb47d Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@229371 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-05 19:31:46 +00:00
dmose%mozilla.org
f5b87e6c2e Fix web based protocol handlers to work from link clicks in addition to the URL bar (bug 383396), r=biesi, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@228141 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 21:43:51 +00:00
sdwilsh%shawnwilsher.com
bc9d9e9e1c Bug 383807 - Explain why we are not checking the result of new in nsExternalProtocolHander.cpp. Patch by Ryan Jones <sciguyryan@gmail.com>. r=cbiesinger, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@227885 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:31:54 +00:00
dmose%mozilla.org
3dc245e9c4 Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@227015 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 15:17:45 +00:00
gijskruitbosch%gmail.com
ef2d80af0e Bug 229168 - Save Page (with mms:// embedded media) invokes Windows Media Player
p=sciguyryan@gmail.com (Ryan Jones)
r=silver@warwickcompsoc.co.uk (James Ross)
r+sr=cbiesinger@gmx.at (Christian Biesinger)


git-svn-id: svn://10.0.0.236/trunk@224543 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 12:31:18 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +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
bzbarsky%mit.edu
c4f7acfe09 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +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
bryner%brianryner.com
e1daca3ce3 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +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
dveditz%cruzio.com
afe1e85825 bug 263546: move external protocol warning down a level, r=jsr,sr=darin
git-svn-id: svn://10.0.0.236/trunk@164343 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 07:46:01 +00:00
cbiesinger%web.de
8eb2130d2a add a way to get an application description for a given externally-handled
scheme, and use it in the confirmation dialog that asks whether to launch such
links.
bug 258802
windows and cross-platform part: r=ere sr=neil,bz
linux part: r=bz sr=bryner


git-svn-id: svn://10.0.0.236/trunk@163896 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 13:46:17 +00:00
cbiesinger%web.de
be9a0a3076 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@163161 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-03 17:19:08 +00:00
cbiesinger%web.de
f99eb2729d 259084 some cleanup after bug 173010 r=bz sr=darin
git-svn-id: svn://10.0.0.236/trunk@163160 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-03 17:06:57 +00:00
dveditz%cruzio.com
54f98d4b22 bug 173010 prompt before launching external protocol handler,r=mscott,sr=darin/jst
git-svn-id: svn://10.0.0.236/trunk@162121 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 23:24:49 +00:00
bzbarsky%mit.edu
11e778476e Setting location to a mailto: URI should not throw if there is a system mailto:
handler.  Bug 236589, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@160100 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 23:58:59 +00:00
bzbarsky%mit.edu
c5c0ecf934 Fix problem with the external protocol channel that makes it return a null
originalURI and cause crashes.  Bug 241300, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@159281 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:20:50 +00:00
bzbarsky%mit.edu
a477cb2b32 Blocked protocols should still allow URI creation; they should just fail
channel creation.  Bug 244220, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@156677 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 00:28:52 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
cavin%netscape.com
c2eceb6adf Fix for 183111. Added nsIExternalProtocolHandler interface and method handlerExists in netwerk/bae/public to be used by mozTXTToHTMLConv. Also treated 0xA0 as space in mozTXTToHTMLConv. r=darin, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@138636 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 22:46:42 +00:00
dbaron%dbaron.org
6ed727cbe8 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@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
timeless%mozdev.org
504b77136b Bug 186723 external protocol handler NewURI doesn't check to see if SetSpec failed..
patch by andersma@luther.edu r=timeless sr=darin


git-svn-id: svn://10.0.0.236/trunk@135999 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:14 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +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
4c9f13c694 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz


git-svn-id: svn://10.0.0.236/trunk@120681 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 07:49:43 +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
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
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
andreas.otte%primus-online.de
e9654a3ac3 bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@100515 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 20:42:57 +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
pavlov%netscape.com
185c0f4ec5 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@91856 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 07:10:30 +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
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
mscott%netscape.com
bc268e0986 Bug #63193 --> the external protocol handler should only return a url or a new channel if we really do
have an external app that can handle the url. otherwise return NS_ERROR_UNKNOWN_PROTOCOL so we'll throw up an alert
dialog later on.
sr=sspizter


git-svn-id: svn://10.0.0.236/trunk@86497 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:24:27 +00:00
mscott%netscape.com
a2ec5045b5 Bug #63193 --> add these two new files for a default protocol handler which will kick urls out to the OS
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@86419 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:21:58 +00:00