Граф коммитов

44 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow fea5e94ae8 Bug 1589270 - Part 3: Convert nsExternalHelperApp to use BrowsingContext instead of nsIInterfaceRequestor. r=bzbarsky
This also converts MaybeCloseWindowHelper, and results in the window close operations being always run in the parent (even without DocumentChannel).

Differential Revision: https://phabricator.services.mozilla.com/D49528

--HG--
extra : moz-landing-system : lando
2019-11-08 04:35:05 +00:00
Sylvestre Ledru 993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Jim Mathies 6d36277bbf Bug 903022 - Support passing dialog parents to DoContent. r=bz 2014-08-25 11:54:16 -05:00
Monica Chew ee8bc15fcd Move execution from nsExternalAppHandler to nsDownload (b=858234, r=paolo) 2013-05-27 18:33:39 -07:00
Ryan VanderMeulen b5aaf55a6a Backed out changeset 019382e24635 (bug 858234) for Linux mochitest-5 leaks. 2013-05-31 16:06:10 -04:00
Monica Chew 022ff28277 Move execution from nsExternalAppHandler to nsDownload (b=858234, r=paolo) 2013-05-27 18:33:39 -07:00
Felipe Gomes 91d91d3c58 Bug 854299 - Part 1. Split nsExternalAppHandler::SaveToDisk in two parts to make second part async. r=bz sr=roc 2013-04-01 03:07:13 -03:00
Ms2ger bfb2ade97b Backout changesets a255a998af6e:9c72d5cfe1fb for bc orange. 2013-04-01 12:00:49 +02:00
Felipe Gomes 76ae01af2c Bug 854299 - Part 1. Split nsExternalAppHandler::SaveToDisk in two parts to make second part async. r=bz sr=roc 2013-04-01 03:07:13 -03:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ehsan Akhgari 2ba15a514f Bug 722868 - Part 1: Add the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 22:56:55 -04:00
Ed Morley 9f814b505f Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures 2012-06-28 19:00:30 +01:00
Ehsan Akhgari e74fa60a30 Bug 722868 - Part 1: Add the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 22:56:55 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin df29d18d6e Bug 455913 - Missing uuid change. nsIHelperAppLauncher should provide info about content length. r+sr=biesi. 2008-10-02 08:31:14 -05:00
Oleg Romashin eb1a613d0e Bug 455913 - nsIHelperAppLauncher should provide info about content length. r+sr=cbiesinger. 2008-09-29 23:37:49 -05:00
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
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
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 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
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 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 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
bzbarsky%mit.edu cf0e81ce47 Gunzip things with content-encoding:gzip whose file extension is .zip when
saving or running helpers.  The idea here is to decompress unless the encoding
and extension match up.  If they do, then don't decompress.  Bug 152275,
r=biesi, sr=darin
2003-10-09 02:10:25 +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 1f6b877479 Bug 218820
remove useless nsIExternalHelperAppService::canHandleContent
mozilla never calls this function; and it always returns PR_FALSE
r=bz sr=darin
2003-09-17 12:31:39 +00:00
cbiesinger%web.de c4641b8725 188058 r=bzbarsky sr=darin When saving a .zip file "as...," Moz appends a .x after the .zip extension. 2003-07-01 14:16:06 +00:00
bzbarsky%mit.edu abe192dbf6 Do not apply content decoding if the url ends in .gz or .zip. The
content-encoding battle never ends...  Bug 128199, r=law, sr=darin,
a=asa
2002-03-14 00:51:28 +00:00
bzbarsky%mit.edu 95c6440fc5 Decode by default when saving, except for types on a "ban list". Bugs
69306, 120033, 121001, r=law, sr=darin, a=roc+moz
2002-02-27 00:43:46 +00:00
mscott%netscape.com 27978a05e9 Bug #43689 --> expose the suggested file name
r=law
sr=sspitzer
2002-01-25 22:05:16 +00:00
mscott%netscape.com b8b4cb6a6d Bug #63105 --> clean up temp files created by helper apps on exit.
r/sr=bienvenu,sspitzer
2001-07-11 03:23:24 +00:00
law%netscape.com d56b479417 Bug 52454; fix lots of external app service bugs and enable new helper app dlg; r=pchen@netscape.com, sr=mscott@netscape.com 2001-05-03 21:24:36 +00:00
mscott%netscape.com d6bd863761 Bug #63346 --> add open and open folder APIs for the OS.
Bug #61947 --> pass in the initial time
when we started the download via getDownloadInfo so
the progress dialog can use this information.
2001-01-25 06:47:12 +00:00
mscott%netscape.com c054dd3653 Bug #51018, 44176, 47203 implement load group retargeting and stand alone progress window
after we show the helper app dialog. So progress and load information is
now retargeted to a stand alone window instead of re-using the underlying
 browser / mail window...In order to do this, the external app handler needed to implement nsIURIContentListener.
sr=r=rpotts
2000-10-04 06:54:47 +00:00
mscott%netscape.com 6ad688ca00 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
Add nsIExternalAppLauncher interface which is used by the helper app dialog.
r=alecf
2000-07-07 01:48:05 +00:00
mscott%netscape.com e6fb2a4c9f Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add a private interface to be shared between the os specific helper app service and the external app handler
for launching an app.
2000-06-17 23:03:24 +00:00
mscott%netscape.com e3bef1365b Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.
2000-06-17 00:06:26 +00:00
mscott%netscape.com 1229310eb4 Bug #38374 --> foundation for helper app architecture.
Not part of the build yet. review will come when this is ready to go.
2000-06-16 21:35:13 +00:00