Commit Graph

230 Commits

Author SHA1 Message Date
dtownsend@oxymoronical.com
1b0518d3eb Backing out part of bug 369428 that seems to be causing unit test failures 2007-10-12 07:30:34 -07:00
sdwilsh@shawnwilsher.com
2bf5706a7b Bug 369428 - nsExternalAppHandler::SetUpTempFile uses a poor source of randomness, resulting in predictable filenames. r=biesi, sr=biesi, a=blocking1.9 2007-10-12 06:01:10 -07:00
joshmoz@gmail.com
12132945cf on Mac OS X, don't ever set creator code and only set type code if the file doesn't have an extension. b=236389 r=smorgan sr=bsmedberg a=mconnor 2007-10-10 08:40:06 -07:00
dmose@mozilla.org
3b2112f841 Fixing orangeness from bug 394483 checkin 2007-10-04 00:01:08 -07:00
dmose@mozilla.org
9474dbc670 First part of fix for web-based protocol handlers failing in certain situations (bug 394483); r=biesi, sr=sicking 2007-10-03 23:10:47 -07:00
roc+@cs.cmu.edu
559a8984a7 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky 2007-09-18 16:12:06 -07:00
sdwilsh@shawnwilsher.com
f767a5c4f6 Bug 395308 - Temporary filenames used during download should gain an extra extension. r=biesi, sr=biesi, a=dsicore 2007-09-16 07:40:16 -07:00
mkmelin+mozilla@iki.fi
473cbd6673 [Bug 280419] When a temporary file is created from the download manager it should be readonly. Also applies to attachments in mail. r=cbiesinger, sr=dmose, a=bsmedberg 2007-09-15 06:11:37 -07:00
dmose@mozilla.org
d6e86fe8c8 Make protocol handling dialog appear with protocols that are unknown to the OS if we have handlers (bug 392964), r=myk,biesi; sr=biesi; a=mconnor 2007-09-09 16:58:31 -07:00
dmose@mozilla.org
2ddf3e3249 Inject default web-based protocol handlers into mimeTypes.rdf (bug 392978), r=myk, sr=biesi, a=mconnor 2007-09-06 15:20:52 -07:00
mkmelin+mozilla@iki.fi
24f23cd3b0 Backing out previous change, didn't notice the orange, sorry:( 2007-09-05 09:28:13 -07:00
mkmelin+mozilla@iki.fi
9cce180f30 [Bug 280419] When a temporary file is created from the download manager it should be readonly. Also applies to attachments in mail. r=cbiesinger, sr=dmose, a=bsmedberg 2007-09-05 09:10:09 -07:00
jag@tty.nl
9198e9c4b8 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg 2007-09-05 06:04:54 -07:00
myk@mozilla.org
173de02b64 bug 393492: move mimeTypes.rdf datasource access code from nsExternalHelperAppService.cpp to nsHandlerService.js, fixing bug 393500 (auto-add preferred handler to possible handlers when retrieving them, since they won't be in there already on legacy datasources) in the process; r=biesi; sr=dmose; a=bsmedberg for 1.9 2007-09-04 13:45:57 -07:00
dmose@mozilla.org
b3b2ff44a4 Fix for protocol handling dialog throwing exception when a web handler is selected (bug 392957), r=biesi, sr=mconnor, a=bz 2007-09-02 21:44:25 -07:00
dmose@mozilla.org
91643370ed Split nsIHandlerInfo.launchWithURI into nsIHandlerInfo.launchWithURI and nsIMIMEInfo.launchWithFile (bug 391194) r=cbiesinger@gmx.at, sr=bzbarsky@mit.edu 2007-08-20 17:47:47 -07:00
myk@mozilla.org
8f0cc05a78 bug 385740: make the handler service store possible applications when storing a handler info object; r=biesi, sr=dmose 2007-08-14 13:55:06 -07:00
myk@mozilla.org
d8dd52eebb bug 391152: support enumeration and removal of known handlers; r=biesi, sr=dmose 2007-08-14 13:21:29 -07:00
sdwilsh@shawnwilsher.com
d98abd5a78 Bug 391279 - Allow createInstance to work for web handlers. r=cbiesinger, sr=dmose 2007-08-14 09:47:41 -07:00
myk@mozilla.org
b91c618d6f bug 385740: support multiple apps per nsIHandlerInfo via a new nsIHandlerInfo::possibleApplicationHandlers attribute; r=biesi, sr=dmose 2007-08-13 13:41:34 -07:00
myk@mozilla.org
c02e2669a6 bug 391150: expose an API for getting an nsIHandlerInfo object for a protocol; r=biesi, sr=dmose 2007-08-13 12:00:34 -07:00
sdwilsh@shawnwilsher.com
3324028b60 Bug 391640 - Unable to use the "Open" link in download manager. r=cbiesinger, sr=dmose, a=bzbarsky 2007-08-12 11:31:34 -07:00
sdwilsh@shawnwilsher.com
9899ca9dd6 Bug 391380 - moz-icon: launches handler dialog. r=bzbarsky, sr=dmose, a=bzbarsky 2007-08-09 15:21:54 -07:00
mozilla@weilbacher.org
246011a67e [OS/2] Bug 390075: preliminary OS/2 build break fix for exthandler code, real solution will follow 2007-08-03 12:06:33 -07:00
mozilla@weilbacher.org
787adb62da [OS/2] Bug 388701: supplemental build fix for OS/2, r=cbiesinger, sr=dmose 2007-08-02 14:27:28 -07:00
myk@mozilla.org
02bb1ac2c6 bug 389969: followup patch that makes the protocol handling dialog work on Mac as well;
r=biesi
sr=dmose
a=schrep for M7
2007-07-30 21:57:37 -07:00
sdwilsh@shawnwilsher.com
e50a443cd2 Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep 2007-07-30 16:33:16 -07:00
dmose@mozilla.org
37bc219194 local protocol handling apps can be chosen but don't work (bug 389758); patch by dolske and me, r=biesi, sr=bz, a=mconnor 2007-07-28 20:38:52 -07:00
sdwilsh@shawnwilsher.com
ed2cdd1257 Bug 389870 - When previous action was to use a local helper app, the protocol never works again. r=cbiesinger, sr=dmose, a=schrep 2007-07-27 13:20:54 -07:00
dmose@mozilla.org
e91f12a7a9 nsExternalHelperAppService::ExternalProtocolHandlerExists (almost) always sets aHandlerExists to PR_TRUE, enabling gnomevfs protocols, patch by Karl Tomlinson <mozbugs@karlt.net, r+sr=biesi,dmose; a=roc 2007-07-27 11:31:13 -07:00
cbiesinger@gmx.at
aea4dca58e 389611 only treat protocol handlers as protocol handlers
r+sr=bz a=schrep
2007-07-26 17:53:09 -07:00
sdwilsh@shawnwilsher.com
b85f181282 Bustage fix 2007-07-26 14:36:46 -07:00
sdwilsh@shawnwilsher.com
f1aa478320 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 2007-07-26 14:26:31 -07:00
sdwilsh@shawnwilsher.com
a1ca43e357 Bug 385065 - protocol handling dialog. I accidentally reverted this change when I landed Bug 385065. r=cviesinger, sr=dmose 2007-07-26 14:23:56 -07:00
sdwilsh@shawnwilsher.com
aaba27b091 Bug 388909 - disabled MOZ_RDF build broken after landing 384374. I accidentally reverted this change when I landed Bug 385065. Previous r+sr=cbiesinger 2007-07-26 14:23:49 -07:00
sdwilsh@shawnwilsher.com
63707c0c31 Bug 385065 - protocol handling dialog. r=cbiesinger (forgot to fix two nits) 2007-07-25 23:44:43 -07:00
dmose@mozilla.org
134de185cc Fixes for Linux build bustage 2007-07-25 22:52:27 -07:00
sdwilsh@shawnwilsher.com
c314f7f3d9 Linux bustage fix 2007-07-25 22:27:43 -07:00
dmose@mozilla.org
9c6320c724 Add a missing include to fix windows build bustage 2007-07-25 22:03:00 -07:00
sdwilsh@shawnwilsher.com
04be1f37d0 Bustage fix 2007-07-25 21:38:56 -07:00
sdwilsh@shawnwilsher.com
95d5347743 Bug 385065 - protocol handling dialog. toolkit: r=mano; uriloader: r=cbiesinger, sr=dmose general: ui-r=beltzner 2007-07-25 21:24:25 -07:00
cbiesinger@gmx.at
c114bef91e 389580 don't allow escaped null bytes in URLs for external protocol handlers
r=bzbarsky sr=dveditz
2007-07-25 21:04:21 -07:00
dmose@mozilla.org
fe2806ae47 Fix case where FillContentHandlerProperties incorrectly returns NS_ERROR_FAILURE (bug 389446), r+sr=bzbarsky 2007-07-25 19:56:46 -07:00
cbiesinger@gmx.at
0c50606300 backing out last checkin, tree's red 2007-07-25 15:53:46 -07:00
cbiesinger@gmx.at
16eb1776f7 389580 don't allow escaped null bytes in URLs for external protocol handlers
r=bzbarsky sr=dveditz
2007-07-25 15:48:00 -07:00
myk@mozilla.org
58273b5215 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 2007-07-25 13:40:41 -07:00
bzbarsky@mit.edu
1e0b05ffcf 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
2007-07-25 10:21:41 -07:00
dmose@mozilla.org
ee90fd6056 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. 2007-07-24 16:38:29 -07:00
dmose@mozilla.org
09a1f7de1e Backing out a file that was not part of the build fix. 2007-07-24 14:31:24 -07:00
dmose@mozilla.org
f25f3798e1 Fix windows bustage from bug 388388 landing by correcting base class name. 2007-07-24 14:30:01 -07:00
myk@mozilla.org
388545f1a3 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 2007-07-24 13:29:50 -07:00
myk@mozilla.org
bd7dfe1562 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 2007-07-24 02:22:44 -07:00
sdwilsh@shawnwilsher.com
a9ea0aa1b3 Check the proper pointer. r+sr=biesi. No bug 2007-07-23 18:14:56 -07:00
cbiesinger@gmx.at
6202fb6741 bug 389106 didn't mean to check in this line 2007-07-23 17:12:58 -07:00
asqueella@gmail.com
44635ae515 Bug 388909 - fix build breakage from 384374 for MOZ_RDF-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=biesi
2007-07-23 16:36:16 -07:00
cbiesinger@gmx.at
48ba9ecd8d bug 389106 escape quotes
r=bz sr=dveditz
2007-07-22 22:10:46 -07:00
sdwilsh@shawnwilsher.com
6c3678b0e5 Bustage fix 2007-07-22 11:57:08 -07:00
sdwilsh@shawnwilsher.com
0b400b90ca Bug 388701 - nsExternalHelperAppService::GetProtocolHandlerInfo should get OS Specific implementation. r=cbiesinger, sr=dmose 2007-07-22 11:40:24 -07:00
myk@mozilla.org
db4890fe32 bug 387930: add an API (nsIHandlerService, implemented by nsHandlerService.js) for modifying the content handling datastore (mimeTypes.rdf)
r=dmose
sr=biesi
2007-07-21 00:18:21 -07:00
dmose@mozilla.org
d34ea1ba7a Backing out my inadvertant checkin of nsIHandlerService related changes; that checkin was intended for the branch. Sorry, folks! 2007-07-20 15:55:31 -07:00
dmose@mozilla.org
32ec18717d Replace myk's changes that I accidentally horked during the merge. 2007-07-20 13:23:44 -07:00
dmose@mozilla.org
c7cd79055e Fix OS/2 bustage introduced by my launchWithURI landing (bug 386078); thanks to Walter Meini <wuno@lsvw.de> for the patch; r+sr=dmose 2007-07-18 19:30:12 -07:00
dmose@mozilla.org
f17228f4ff Change nsIHandlerInfo::LaunchWithFile to be launchWithURI (bug 386078), r+sr=biesi 2007-07-17 15:59:58 -07:00
bzbarsky@mit.edu
42ddea20ed Fix build bustage with some g++ versions by not having a curly after NS_HIDDEN
for a constructor.  Bug 387218, r=dmose, sr=biesi
2007-07-08 19:22:01 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
mozilla@weilbacher.org
6b80f81c23 [OS/2] Fix build break after bug 384374. 2007-07-06 00:01:42 -07:00
dmose@mozilla.org
d40b6265e3 Remove trailing semicolons after method decls to avoid breaking forthcoming versions of gcc; r+sr=dbaron; no bug. 2007-07-05 17:20:09 -07:00
dmose@mozilla.org
babbaa8a18 Adding a semicolon in the hopes of fixing the XULRunner Linux tinderbox bustage from my checkin for bug 384374 2007-07-05 16:18:10 -07:00
dmose@mozilla.org
d28396462d Refactor nsIMIMEInfo and nsExternalHelperAppService to support local and web-based protocol handlers (bug 384374), r=biesi, sr=sicking 2007-07-05 12:31:44 -07:00
flamingice@sourmilk.net
811d9fe03e Bug 384856, Replace illegal characters for downloads more consistently, Patch by Edward Lee (Mardak), r+sr=biesi 2007-06-27 15:46:54 -07:00
dmose@mozilla.org
2ba1c89edb These files were not intended to land yet; backing out. 2007-06-15 14:45:17 -07:00
dmose@mozilla.org
ad1c85f663 Fix web based protocol handlers to work from link clicks in addition to the URL bar (bug 383396), r=biesi, sr=sicking 2007-06-15 14:43:51 -07:00
sdwilsh@shawnwilsher.com
ea757b77b8 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 2007-06-12 11:31:54 -07:00
sdwilsh@shawnwilsher.com
bc0dd3f119 Bug 383813 - #include nsHelperAppRDF.h should be inside the ifdef for MOZ_RDF. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=cbiesinger 2007-06-10 16:50:53 -07:00
bienvenu@nventure.com
9ea32605f3 fix 317589 mail body containing ++ produces error message with gnome, patch by brian.lu@sun.com, r=chpe@gnome.org, sr=cbiesinger 2007-06-04 16:07:28 -07:00
dmose@mozilla.org
84faf23079 Implement backend changes for web-based protocol handlers a la WhatWG HTML5 draft (bug 380415). r=cbiesinger@gmx.at, sr=jonas@sicking.cc 2007-05-25 08:17:44 -07:00
dbaron@dbaron.org
10314006af Add missing calls to PR_UnloadLibrary (excluding XPCOM component loader and nsPluginsDir*). b=374332 r=bsmedberg 2007-04-15 15:22:58 -07:00
bzbarsky@mit.edu
ee08710031 If we have an /etc/mime.types extension for a type, that should NOT make/etc/mailcap override the gnome-vfs handler for that type. Patch partially byMike Hommey <mh+mozilla@glandium.org> and partially by me, r+sr=biesi 2007-04-15 13:43:49 -07:00
gijskruitbosch@gmail.com
3ae532001a Bug 229168 - Save Page (with mms:// embedded media) invokes Windows Media Playerp=sciguyryan@gmail.com (Ryan Jones)r=silver@warwickcompsoc.co.uk (James Ross)r+sr=cbiesinger@gmx.at (Christian Biesinger) 2007-04-15 05:31:18 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00