Commit Graph

947 Commits

Author SHA1 Message Date
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
dcamp@mozilla.com
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -07:00
dcamp@mozilla.com
49279363d0 fix bustage from bug 388839 2007-07-24 22:50:08 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -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
asqueella@gmail.com
e76686d085 try to fix bustage from bug 383417 2007-07-23 19:16:23 -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
cbiesinger@gmx.at
58c915e6bf Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -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
dcamp@mozilla.com
d746712d75 implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -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
sdwilsh@shawnwilsher.com
8c70974897 Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger 2007-06-04 17:03:35 -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
roc+@cs.cmu.edu
314e02012b Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -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
sdwilsh@shawnwilsher.com
e75178083f Bug 380250 - Convert Download Manager's RDF backend to mozStorage. r=cbiesinger,r=mconnor 2007-05-21 17:03:33 -07:00
cbiesinger@web.de
9b8503bb13 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -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
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -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