1235 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c747f19f60 Make <object> do the same text/plain sniffing that <iframe> does, and use the
content type hint if the type comes back as application/octet-stream or
sniffed-binary.  Bug 389677, r+sr=biesi, a=sicking


git-svn-id: svn://10.0.0.236/trunk@232437 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 03:26:13 +00:00
dmose%mozilla.org
dfc0ea9e3d Split nsIHandlerInfo.launchWithURI into nsIHandlerInfo.launchWithURI and nsIMIMEInfo.launchWithFile (bug 391194) r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@232427 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 00:47:48 +00:00
sdwilsh%shawnwilsher.com
cdb30286b8 Bug 391870 - Have the download manager store the referring uri when appropriate (and use it in the front end). r=mano, r=cbiesinger, sr=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@232302 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 23:05:28 +00:00
myk%mozilla.org
9b22f2f296 bug 385740: make the handler service store possible applications when storing a handler info object; r=biesi, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@232070 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 20:55:06 +00:00
myk%mozilla.org
783fc5099b bug 391152: support enumeration and removal of known handlers; r=biesi, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@232066 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 20:21:30 +00:00
sdwilsh%shawnwilsher.com
d430bcaaf6 Bug 391279 - Allow createInstance to work for web handlers. r=cbiesinger, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@232048 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 16:47:44 +00:00
myk%mozilla.org
43d692712b bug 385740: support multiple apps per nsIHandlerInfo via a new nsIHandlerInfo::possibleApplicationHandlers attribute; r=biesi, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@231976 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 20:41:34 +00:00
myk%mozilla.org
11b6625bd7 bug 391150: expose an API for getting an nsIHandlerInfo object for a protocol; r=biesi, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@231966 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-13 19:00:35 +00:00
sdwilsh%shawnwilsher.com
a8670d9bfe Bug 391640 - Unable to use the "Open" link in download manager. r=cbiesinger, sr=dmose, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231934 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-12 18:31:34 +00:00
sdwilsh%shawnwilsher.com
e4a853cb31 Bug 391380 - moz-icon: launches handler dialog. r=bzbarsky, sr=dmose, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231755 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:21:54 +00:00
mozilla%weilbacher.org
f7ec1597c2 [OS/2] Bug 390075: preliminary OS/2 build break fix for exthandler code, real solution will follow
git-svn-id: svn://10.0.0.236/trunk@231439 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 19:06:33 +00:00
mozilla%weilbacher.org
ada0d55e5d [OS/2] Bug 388701: supplemental build fix for OS/2, r=cbiesinger, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@231358 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:27:28 +00:00
myk%mozilla.org
e006f726ee bug 389969: followup patch that makes the protocol handling dialog work on Mac as well;
r=biesi
sr=dmose
a=schrep for M7


git-svn-id: svn://10.0.0.236/trunk@231211 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 04:57:37 +00:00
sdwilsh%shawnwilsher.com
5f1e8511af Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep
git-svn-id: svn://10.0.0.236/trunk@231202 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 23:33:17 +00:00
dmose%mozilla.org
decca54dc5 local protocol handling apps can be chosen but don't work (bug 389758); patch by dolske and me, r=biesi, sr=bz, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@231142 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-29 03:38:52 +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
cbiesinger%gmx.at
ae52d72a4b 389611 only treat protocol handlers as protocol handlers
r+sr=bz a=schrep


git-svn-id: svn://10.0.0.236/trunk@231089 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:53:09 +00:00
sdwilsh%shawnwilsher.com
eda3b5194f Bustage fix
git-svn-id: svn://10.0.0.236/trunk@231070 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 21:36:46 +00:00
sdwilsh%shawnwilsher.com
6e1b87b991 Bug 385065 - protocol handling dialog. I accidentally reverted this change when I landed Bug 385065. This was fixed with Bug 389580 and Bug 389580 r+sr=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@231069 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 21:26:31 +00:00
sdwilsh%shawnwilsher.com
c639e23551 Bug 385065 - protocol handling dialog. I accidentally reverted this change when I landed Bug 385065. r=cviesinger, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@231068 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 21:23:57 +00:00
sdwilsh%shawnwilsher.com
b9cd8425b5 Bug 388909 - disabled MOZ_RDF build broken after landing 384374. I accidentally reverted this change when I landed Bug 385065. Previous r+sr=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@231067 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 21:23:49 +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
dmose%mozilla.org
190fa4d84d Fixes for Linux build bustage
git-svn-id: svn://10.0.0.236/trunk@231028 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 05:52:27 +00:00
sdwilsh%shawnwilsher.com
8f8d0a59f0 Linux bustage fix
git-svn-id: svn://10.0.0.236/trunk@231027 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 05:27:43 +00:00
dmose%mozilla.org
e0817b554f Add a missing include to fix windows build bustage
git-svn-id: svn://10.0.0.236/trunk@231026 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 05:03:00 +00:00
sdwilsh%shawnwilsher.com
8ff9bb1ca9 Bustage fix
git-svn-id: svn://10.0.0.236/trunk@231021 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:38:56 +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
cbiesinger%gmx.at
f5e75d4b9d 389580 don't allow escaped null bytes in URLs for external protocol handlers
r=bzbarsky sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@231013 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:04:21 +00:00
dmose%mozilla.org
f2a19d093c Fix case where FillContentHandlerProperties incorrectly returns NS_ERROR_FAILURE (bug 389446), r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231006 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 02:56:46 +00:00
cbiesinger%gmx.at
2776509339 backing out last checkin, tree's red
git-svn-id: svn://10.0.0.236/trunk@230982 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 22:53:46 +00:00
cbiesinger%gmx.at
2916c09187 389580 don't allow escaped null bytes in URLs for external protocol handlers
r=bzbarsky sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@230976 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 22:48:00 +00:00
myk%mozilla.org
c604d64c24 bug 388388: (relanding updated patch) differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230963 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 20:40:42 +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
dcamp%mozilla.com
95ba970f9d update the offline cache atomically. b=389223, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230915 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 06:31:28 +00:00
dcamp%mozilla.com
ca5affad85 fix bustage from bug 388839
git-svn-id: svn://10.0.0.236/trunk@230911 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:50:08 +00:00
dcamp%mozilla.com
9f40ca2397 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230909 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 05:35:40 +00:00
dmose%mozilla.org
98eb2d9168 Back out MIME/protocol handler work from bug 388388 because of difficult to diagnose unit test lossage on windows. Note that Windows tinderboxen will go and stay red until they are clobbered because of dependency system lossage.
git-svn-id: svn://10.0.0.236/trunk@230815 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 23:38:31 +00:00
dmose%mozilla.org
2f9b488691 Backing out a file that was not part of the build fix.
git-svn-id: svn://10.0.0.236/trunk@230811 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 21:31:24 +00:00
dmose%mozilla.org
0e0428502e Fix windows bustage from bug 388388 landing by correcting base class name.
git-svn-id: svn://10.0.0.236/trunk@230810 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 21:30:01 +00:00
myk%mozilla.org
d2059ea375 bug 388388: differentiate between MIME and protocol nsIHandlerInfo objects by not allowing protocol objects to be QIed to nsIMIMEInfo, and expose the scheme for a protocol object via the new nsIHandlerInfo::type attribute (which also holds the MIME type for a MIME object and deprecates nsIMIMEInfo::MIMEType); r=dmose, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@230806 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 20:29:52 +00:00
myk%mozilla.org
a6302209d0 bug 389323: make the handler service not assume that nsIHandlerInfo::preferredApplicationHandler exists, since it sometimes doesn't, and make the service delete the handler record from the datasource when asked to store a handler info object that doesn't have a preferred handler
git-svn-id: svn://10.0.0.236/trunk@230741 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 09:22:46 +00:00
asqueella%gmail.com
0ec973490f try to fix bustage from bug 383417
git-svn-id: svn://10.0.0.236/trunk@230724 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 02:16:23 +00:00
sdwilsh%shawnwilsher.com
397f03cd65 Check the proper pointer. r+sr=biesi. No bug
git-svn-id: svn://10.0.0.236/trunk@230706 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 01:14:56 +00:00
cbiesinger%gmx.at
e9cfb13876 bug 389106 didn't mean to check in this line
git-svn-id: svn://10.0.0.236/trunk@230696 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:12:58 +00:00
asqueella%gmail.com
7c10896aad Bug 388909 - fix build breakage from 384374 for MOZ_RDF-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@230688 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 23:36:16 +00:00
cbiesinger%gmx.at
ce4516b1ee bug 389106 escape quotes
r=bz sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@230620 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 05:10:46 +00:00
sdwilsh%shawnwilsher.com
8c0e449a5b Bustage fix
git-svn-id: svn://10.0.0.236/trunk@230597 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 18:57:08 +00:00
sdwilsh%shawnwilsher.com
a47c8fe37e Bug 388701 - nsExternalHelperAppService::GetProtocolHandlerInfo should get OS Specific implementation. r=cbiesinger, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@230596 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 18:40:25 +00:00
myk%mozilla.org
fe613ed587 bug 387930: add an API (nsIHandlerService, implemented by nsHandlerService.js) for modifying the content handling datastore (mimeTypes.rdf)
r=dmose
sr=biesi


git-svn-id: svn://10.0.0.236/trunk@230545 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:18:22 +00:00