Commit Graph

97 Commits

Author SHA1 Message Date
Dan Witte
9d758b2bce Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Doug Turner
2ced4ed3a9 Bug 545869 - Remove small buffer #defines and use preferences. r=honza 2010-04-20 09:32:28 -07:00
Ehsan Akhgari
66d73b21ec Bug 465756 - Ignore browser.helperApps.deleteTempFileOnExit not being set in private browsing; r=bz,sdwilsh sr=bz a=blocking1.9.1+ 2008-11-28 09:08:56 -08:00
Ehsan Akhgari
3b591f58ce Bug 460609 - Temporary files for helper applications are not deleted when leaving Private Browsing mode; r,sr=bzbarsky a=blocking1.9.1 2008-11-14 02:08:28 +03:30
dolske@mozilla.com
59fafa0671 Bug 299372 - Content-Disposition headers no longer looked at for Save Link As filename. original-patch=dmose, r=mconnor, r=biesi, a=blocking-ff3+ 2008-04-02 20:02:08 -07:00
vladimir@pobox.com
ddb55e3265 backing out patch for bug 299372 for b4, as per bug 420481 2008-03-02 23:31:37 -08:00
dmose@mozilla.org
a0abc6c77c Use Content-Disposition headers for "Save Link As", when available (bug 299372); r=mconnor (browser bits), r/sr=biesi (uriloader bits), ui-r=beltzner, a1.9b4=beltzner 2008-02-29 15:59:20 -08:00
dmose@mozilla.org
aba72c6e99 Add an l10n strategy for web-based protocol handler updating (bug 395277); r=myk, sr=biesi, r=gavin (for browser/ pieces), a=blocking-1.9+; late-l10n checkin 2008-02-19 20:46:35 -08:00
edward.lee@engineering.uiuc.edu
0a77a16933 Bug 396701 - clicking on .exe file shows wrong download dialog. r=gavin, sr=biesi, b-ff3=beltzner, a=blockingM9 2007-11-01 14:18:55 -07:00
myk@mozilla.org
332c59f2aa 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
myk@mozilla.org
6f7b4ae700 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
4e590ce58d 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
09e384652c Bug 389969 - There is no protocol handling dialog. r=cbiesinger, sr=dmose, a=schrep 2007-07-30 16:33:16 -07:00
sdwilsh@shawnwilsher.com
ca6da5a72e 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
asqueella@gmail.com
04af5b0e06 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
sdwilsh@shawnwilsher.com
d813830a5f Bug 388701 - nsExternalHelperAppService::GetProtocolHandlerInfo should get OS Specific implementation. r=cbiesinger, sr=dmose 2007-07-22 11:40:24 -07:00
dmose@mozilla.org
ec036ba262 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
dmose@mozilla.org
12f5a83e26 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
timeless%mozdev.org
ba2c063b89 Bug 330331 Building with option --disable-xul failed
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)

Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF

Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.
2006-08-14 22:36:15 +00:00
bryner%brianryner.com
53b814db53 Close the blank browser window from a download earlier, before showing the helper app dialog (bug 343921). Patch by marria@gmail.com, r=biesi, sr=darin. 2006-08-08 18:02:46 +00:00
marria%gmail.com
685cf0434c Minor tweak to patch for bug 241972. Change mShouldCloseWindow to a PRPackedBool, to be consistent with the other bools around it. r=cbiesinger 2006-07-06 18:41:16 +00:00
marria%gmail.com
4776db2c47 Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin 2006-07-04 20:48:33 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
pete.zha%sun.com
3337b18a47 bug 309241 a tmp file should be created if open an attachment of an local eml file
r=cbiesinger@gmx.at sr=bzbarsky@it.edu
patch=neo.liu@sun.com
2005-09-26 03:14:50 +00:00
cbiesinger%web.de
aa12c468cf Bug 290648 make nsITransfer::init take an nsICancelable, and remove the observer attribute
r=bz sr=darin a=asa
2005-04-24 21:16:28 +00:00
cbiesinger%web.de
33e7cc8025 Bug 289842 Make nsIHelperAppLauncher inherit from nsICancelable
r=bz sr=darin a=asa
2005-04-15 19:41:07 +00:00
cbiesinger%web.de
f0b358248f 228968 r=bz sr=darin
- add a new nsIWebProgressListener2 interface, inheriting from
  nsIWebProgressListener, providing a 64-bit onProgressChange method
- make nsITransfer inherit from that interface, and remove an unused
  progressListener attribute
- make webbrowserpersist support listeners that implement
  nsIWebProgressListener2, and give them 64-bit progress values
- make nsIHelperAppLauncher's listener setWebProgressListener function take an
  nsIWebProgressListener2 interface

And fix up all implementations according to that.
2005-04-05 23:24:23 +00:00
cbiesinger%web.de
850f3954ab Bug 285517 show better message in helper app dialog when the type was sniffed from text/plain
r=bz sr=darin
2005-03-13 17:03:44 +00:00
cbiesinger%web.de
ebc4f1fd04 Bug 284180 improve comments and error handling in exthandler a bit r+sr=bzbarsky 2005-03-01 21:34:57 +00:00
cbiesinger%web.de
2556456572 Bug 241082 exthandler should require just nsITransfer, not nsIDownload
patch by Zbigniew Braniecki <gandalf@firefox.pl> r=biesi sr=darin
2005-01-04 13:40:51 +00:00
dveditz%cruzio.com
430d42c69d bug 263546: move external protocol warning down a level, r=jsr,sr=darin 2004-10-25 07:46:01 +00:00
cbiesinger%web.de
8e63886ee0 Bug 80787 support non-ascii extensions in mime service, mime info, and
exthandler
r=bzbarsky sr=darin
2004-08-09 21:27:24 +00:00
cbiesinger%web.de
23938c8252 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin
2004-06-11 15:47:57 +00:00
gerv%gerv.net
f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
cbiesinger%web.de
f028ea412d bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin
2004-04-16 21:06:07 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
4ca8093ad9 229636 search for helper apps in mozilla directory before $PATH
r=bzbarsky sr=darin
2004-03-08 20:15:09 +00:00
cbiesinger%web.de
d0fdabc0c9 Bug 124307, respect umask for downloaded files.
r=bzbarsky sr=darin
2004-03-06 19:37:22 +00:00
cbiesinger%web.de
7ea034fb6b bug 78919, last part. r=bzbarsky sr=darin.
This adds a new method launchWithFile on nsIMIMEInfo which takes care of opening
the selected (preferred or default) application on the mime info with a
specified document. defaultDescription is now readonly, and defaultApplication
no longer available.
This also removes the clone method which was unused in the entire tree.
2004-02-23 22:49:28 +00:00
cbiesinger%web.de
d74e41dd81 Bug 233145 stop implementing nsIURIContentListener in nsExternalAppHandler
r=bzbarsky sr=darin
2004-02-07 19:52:16 +00:00
cbiesinger%web.de
be132f3456 Bug 152224
Leak in nsExternalAppHandler, due to reference cycle between the nsIDownload implementation,
the helper app service, and the helper app dialog.
now, the reference cycle with the helper app dialog is broken in Cancel/CreateProgressListener,
and the cycle with the nsIDownload will be broken in Cancel/CloseProgressWindow/OnStopRequest

r=bzbarsky sr=darin
2004-01-28 22:05:25 +00:00
cbiesinger%web.de
242ffb7490 bug 78919, part 3: Move nsMIMEInfoImpl to exthandler, and don't allow to CreateInstance it
r=bzbarsky sr=darin
2004-01-28 14:48:22 +00:00
cbiesinger%web.de
330498be5a 230970
nsExternalAppHandler needs no virtual functions
also, w/o bug: nsExternalHelperAppService doesn't require threadsafe addref/release
r=bzbarsky sr=darin
2004-01-16 18:22:55 +00:00
cbiesinger%web.de
2148700a5c Bug 227029 nsExternalAppHandler dynamically allocates buffer for no reason
r+sr=bzbarsky
2003-12-19 15:18:59 +00:00
cbiesinger%web.de
e92cc5ddfd 78919 part 2. always return a nsIMIMEInfo from the OS HelperAppServices, and don't
create MIMEInfos outside of them directly.
r=bzbarsky sr=darin
2003-11-15 15:01:39 +00:00
bzbarsky%mit.edu
7adc775b7a Fix bug 164816. Patch by biesi, r=bzbarsky, sr=darin 2003-10-22 06:46:52 +00:00
cbiesinger%web.de
6912c9da3a fix typo in comment. r+sr=bz 2003-10-04 18:14:51 +00:00
cbiesinger%web.de
915b893dac Bug 220363 use doxygen-style comments in nsExternalHelperAppService.h
this is mostly converting //-style comments to /**-style ones and using @param

r=bzbarsky sr=darin
2003-09-26 19:49:23 +00:00
cbiesinger%web.de
b5206035a9 bug 218817. replace GetDownloadInfo with attributes on nsIExternalHelperAppService -
this means 2 new attributes:
readonly attribute nsIFile targetFile;
readonly attribute PRTime timeDownloadStarted;
(no caller of GetDownloadInfo needed all three pieces of information that it provided)

r=bzbarsky sr=darin
2003-09-25 13:07:24 +00:00
cbiesinger%web.de
98f3008774 219681 r=bzbarsky sr=darin
log save/launch errors to nspr log
This converts a printf inside #ifdef DEBUG_law to use nspr logging (module HelperAppService)
2003-09-23 19:27:07 +00:00