Commit Graph

64 Commits

Author SHA1 Message Date
Benoit Jacob
7c9bc170a1 Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
Robert O'Callahan
9170085906 Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Monica Chew
b5a63e7b91 Bug 1011799: Integrate nsIRedirectChannel redirects into application reputation check 2014-05-28 16:06:21 -07:00
Ethan Tseng
dabae6b7a7 Bug 1000340 - Remove obsolete codes to launch video app for RTSP. r=sworkman 2014-05-21 11:08:18 +08:00
Ghislain 'Aus' Lacroix
b3e02ed902 Bug 982006 - Make GetDownloadDirectory return error for both SD card missing and SD card busy. r=bz 2014-03-31 12:10:44 -07:00
Reuben Morais
160aedb8c1 Bug 946239 - Divert download channels to the parent process. r=bz 2014-03-11 19:41:48 -03:00
Monica Chew
85de3a65ab Bug 928536: Integrate signature verification info into application reputation call in download manager (r=paolo) 2014-01-27 13:39:00 -08:00
Phil Ringnalda
68432f3df0 Backed out 3 changesets (bug 928536) for build bustage
CLOSED TREE

Backed out changeset 750054102e68 (bug 928536)
Backed out changeset baa309383864 (bug 928536)
Backed out changeset 1ff2aed7f76f (bug 928536)
2014-02-05 08:29:17 -08:00
Monica Chew
ab239b2b34 Bug 928536: Integrate signature verification info into application reputation call in download manager (r=paolo) 2014-01-27 13:39:00 -08:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ethan Tseng
1734f172a9 Bug 884702 - Support Rtsp protocol in url bar. r=bz 2013-11-20 17:58:22 +08:00
Paolo Amadini
31af587fbf Bug 899102 - nsExternalHelperAppService should notify when cancellation is complete. r=enn 2013-09-17 18:02:21 +02:00
Andrew Quartey
e4f9aac912 Bug 878144 - Remove nsExternalHelperAppService::FixFilePermissions. r=paolo 2013-08-14 16:26:07 -04:00
Joshua Cranmer
97cdff02d6 Bug 884061 - Part 3w: Use NS_DECL_THREADSAFE_ISUPPORTS in uriloader/, r=bz
--HG--
extra : rebase_source : cad6dd305dc36ca1b4fab141625b1c466980d5f4
2013-07-18 21:24:15 -05:00
Monica Chew
81ddc80be7 Bug 880947 - Make CreateTransfer re-entrant, remove InitializeDownload. r=paolo 2013-06-11 09:07:44 -07:00
Monica Chew
4f87c915c3 Move execution from nsExternalAppHandler to nsDownload (b=858234, r=paolo) 2013-05-27 18:33:39 -07:00
Ryan VanderMeulen
da93681728 Backed out changeset 019382e24635 (bug 858234) for Linux mochitest-5 leaks. 2013-05-31 16:06:10 -04:00
Monica Chew
33f5532014 Move execution from nsExternalAppHandler to nsDownload (b=858234, r=paolo) 2013-05-27 18:33:39 -07:00
Felipe Gomes
ed5d5b9067 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
79841c52f3 Backout changesets a255a998af6e:9c72d5cfe1fb for bc orange. 2013-04-01 12:00:49 +02:00
Felipe Gomes
f47a690616 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
Boris Zbarsky
4ce8a92f54 Bug 835267. Make sure to save our suggested filename before we append a .part to it so that we don't suggest filenames with .part in them. r=gavin.
Another option would be to save it before we createUnique too, and just assume that this name is only used if the user really wants it so it's OK to overwrite files with it.
2013-02-15 22:38:39 -05:00
Paolo Amadini
6151fc6201 Bug 789932 - Add a component to save files asynchronously on a background thread, handling temporary download locations. r=biesi 2012-12-10 21:06:37 +01:00
Ehsan Akhgari
0fd9123eac 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
102655bb93 Bug 722868 - Part 7: Remove the usage of the global private browsing in the external app helper service since it is no longer needed; r=bzbarsky 2012-04-24 23:37:31 -04:00
Ehsan Akhgari
06a24c4831 Bug 722868 - Part 5: Use the channel's private browsing flag to determine how to handle the temporary file in nsExternalAppHandler::OpenWithApplication; r=bzbarsky 2012-04-24 23:31:35 -04:00
Ehsan Akhgari
953e8ce58b Bug 722868 - Part 1: Add the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 22:56:55 -04:00
Ed Morley
a82421537c Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures 2012-06-28 19:00:30 +01:00
Ehsan Akhgari
fb509773b1 Bug 722868 - Part 7: Remove the usage of the global private browsing in the external app helper service since it is no longer needed; r=bzbarsky 2012-04-24 23:37:31 -04:00
Ehsan Akhgari
70c16c83cb Bug 722868 - Part 5: Use the channel's private browsing flag to determine how to handle the temporary file in nsExternalAppHandler::OpenWithApplication; r=bzbarsky 2012-04-24 23:31:35 -04:00
Ehsan Akhgari
90f3cab0d6 Bug 722868 - Part 1: Add the deleteTemporaryPrivateFileWhenPossible API; r=bzbarsky 2012-04-24 22:56:55 -04:00
Ehsan Akhgari
5f1dca309f Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (uriloader parts); r=bzbarsky 2012-06-12 23:53:09 -04:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makoto Kato
999d30513b Bug 703882 - crash nsExternalAppHandler::nsExternalAppHandler. r=bz 2012-01-16 12:55:13 +09:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Boris Zbarsky
66232aadb3 Bug 644637. Make sure mRequest lives long enough that we don't hand dead objects around. r=sdwilsh 2011-03-24 14:14:00 -04:00
Grigory Mozhaev
79bfebf67e Bug 595785. Make sure the right channel is always passed to download progress listeners' onStateChange methods. r=sdwilsh,bzbarsky 2011-03-23 10:45:21 -04:00
Brad Lassey
854d433e01 bug 582616 - Sharing back-end for Android r=mwu,mfinkle sr=stuart a=blocking-fennec 2010-09-30 11:37:36 -04:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Doug Turner
e35d8e72d5 Bug 545869 - Remove small buffer #defines and use preferences. r=honza 2010-04-20 09:32:28 -07:00
Ehsan Akhgari
5ad3d484cd 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
64bd999940 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
1b346b4adc 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