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

181 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm d94083f05b Bug 1162309 - Part 1: Remove instances of #ifdef PR_LOGGING in uriloader. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 10:14:55 -07:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky a7d78c82c0 Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug 2015-02-25 10:26:51 -05:00
Jim Mathies 6d36277bbf Bug 903022 - Support passing dialog parents to DoContent. r=bz 2014-08-25 11:54:16 -05:00
Antonio M. Amaya 82c69415a1 Bug 1021156 - Ignore Content-Disposition attachment for OMA FL DRM files on B2G. r=bz 2014-06-18 02:47:00 -04:00
Ghislain 'Aus' Lacroix 0df8b287f0 Bug 948029 - [Download API] Downloading resources isn't driven by user consent. r=bz 2014-03-14 14:24:23 -07:00
Drew Willcoxon b7e11dbae6 Bug 906276 - Add attribute to nsIDocShell to disable content retargeting. r=jlebar, sr=biesinger 2013-08-24 01:10:50 -07:00
Joshua Cranmer 3e64a4bf63 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
Steve Workman 881c09835a Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz 2013-07-08 18:45:26 -07:00
Ryan VanderMeulen adb213ed89 Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Steve Workman 895826d5ed Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz 2013-06-13 10:42:48 -07:00
Georg Fritzsche c55933e53f Bug 813947 - Ensure pointer argument validity. r=bsmedberg 2012-11-26 19:45:34 +01:00
Ehsan Akhgari 8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Makoto Kato 1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04: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
Aryeh Gregor 4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari 8080c23cf9 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 (more uriloader parts); r=bzbarsky 2012-06-14 21:45:35 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehsan Akhgari 92064e6d3f 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 d2b70213ac 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
Nick Hurley 924d548d31 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Ms2ger 8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Dan Witte 3784e67919 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Dan Witte 0f002d9441 Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+ 2010-08-25 17:51:21 -07:00
Ehsan Akhgari db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Boris Zbarsky 016d3b7b09 Bug 537120 part 2: be more conservative as far as application of converters goes. r=jst 2010-04-10 09:10:21 -07:00
Jason Duell c1e1fbbaf5 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
L. David Baron 3aba362292 Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell aaf78a83e2 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
Boris Zbarsky c684aeb137 Moving closing paren to make it clearer what the logic really is and removing redundant comment. No behavior change. 2008-10-22 22:11:40 -04: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
bzbarsky@mit.edu 4c52c17775 Put our load into the newly-created loadgroup when we go and create one. Bug 383961, r+sr=biesi, a=bzbarsky 2007-08-23 10:37:40 -07:00
bzbarsky@mit.edu 57b1b90f4d Make <object> do the same text/plain sniffing that <iframe> does, and use the content type hint if the type comes back as application/octet-stream or sniffed-binary. Bug 389677, r+sr=biesi, a=sicking 2007-08-20 20:26:12 -07:00
cbiesinger@gmx.at 0fdb87f45b 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
bzbarsky%mit.edu 9468056c63 Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi 2006-10-17 00:55:14 +00:00
timeless%mozdev.org 27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
cbiesinger%web.de 24dd26fae9 bug 336108 add OOM check. r+sr+a=bz 2006-05-01 18:36:30 +00:00
bzbarsky%mit.edu c01799ad25 Don't go out to the helper app service if we're dealing with an error page.
Bug 312727, r=biesi, sr=darin
2006-04-27 18:00:36 +00:00
cbiesinger%web.de 463712374b bug 321932 r=bz sr=darin
Better handle the case where channels don't implement isPending correctly
2006-01-28 14:06:31 +00:00
cbiesinger%web.de 9cfbb029a4 309525 add a method to nsIURILoader that accepts a (possibly already opened)
channel and returns a streamlistener for getting the data. Add a flag
DONT_RETARGET for ensuring that content will load in a specific docshell or not
at all.

Also, fix nsChromeProtocolHandler to correctly implement IsPending.

r=bz sr=darin
2005-12-17 18:26:25 +00:00
bzbarsky%mit.edu 75124cd0f0 When doing text/plain sniffing, don't let the special MIME types we use for the
purpose leak out of the URILoader/exthandler combination.  Bug 300027, r=biesi,
sr=darin, a=bsmedberg
2005-07-13 16:48:01 +00:00
darin%meer.net 548e42a51f fixes bug 276720 "HTTP 204/205 responses should not cause STATE_TRANSFERRING events to be synthesized" r=biesi sr=bz 2005-02-12 00:40:46 +00:00
bzbarsky%mit.edu 55ab8dd119 Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu f119e6962c Only sniff text/plain types if the channel says it's still text/plain (this may
be changed after the header is parsed by other components, eg ones listening to
HTTP notifications).  Bug 273306, r=biesi, sr=darin
2004-12-07 00:27:50 +00:00
bzbarsky%mit.edu 741545d0bf Treat an empty disposition string the same as it not being set. Bug 272541,
r=biesi, sr=darin
2004-12-04 17:46:49 +00:00