Commit Graph

92 Commits

Author SHA1 Message Date
Dragana Damjanovic
7da0afd3c8 Bug 1043256 - If unKnownDecoder needs to be used, Content_Encodings will be loaded before OnStartRequest is called on the listener. This makes an error in e10s because Content_Encodings will be loaded before HttpChannelParent can disable them. r=bagder 2014-08-13 10:52:00 -04:00
Dragana Damjanovic
2cd40ad8a5 Bug 915024 - Add ForcePending for HttpChannel. r=jduell 2014-07-10 10:13:00 -04:00
Dragana Damjanovic
9c72743446 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Ehsan Akhgari
123240353c Bug 919292 - Minimize the #includes in netwerk/streamconv; r=mcmanus 2013-09-22 23:34:09 -04:00
Ehsan Akhgari
2befa7b37e Bug 813438 - Part 3: Rewrite the unknown decoder to use NS_SniffContent; r=bzbarsky 2012-11-20 19:37:40 -05:00
Ed Morley
5aec97aa38 Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage 2012-11-22 17:49:58 +00:00
Ehsan Akhgari
81c52f1b45 Bug 813438 - Part 3: Rewrite the unknown decoder to use NS_SniffContent; r=bzbarsky 2012-11-20 19:37:40 -05: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
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
05d997c6df Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07: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
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03: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
Benjamin Smedberg
a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Adam Barth
e56a5f719d Bug 465007. Harmonize content sniffing in HTML5 and Firefox. r=jdrew,sr=bzbarsky 2009-04-06 12:30:03 +12:00
Masatoshi Kimura
3a3a37f47d Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Daniel Holbert
61f320aa9d Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura
31c5df869e Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00
bzbarsky@mit.edu
2d30b73b8d Sniff "text/plain; charset=UTF8" for possibly being binary. Bug 394647, r+sr=biesi 2007-12-03 10:37:54 -08:00
bzbarsky@mit.edu
d149ea559f When sniffing text/plain and we decide it's really text/plain, just claim the sniffer didn't find a type, so that other sniffers get a crack at it. Bug 395533, r+sr=biesi, a=bsmedberg 2007-09-17 08:53:57 -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
jwalden@mit.edu
6d7584839a 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
darin%meer.net
08b95ea6ad fixes bug 342581 "Crash on installing extension [@nsXPInstallManager::OnDataAvailable]" r=biesi sr=bzbarsky 2006-08-01 17:17:32 +00:00
neil%parkwaycc.co.uk
61d1139c42 Fixing VC6 debug build bustage b=328038 r=biesi sr=darin 2006-02-22 12:57:23 +00:00
cbiesinger%web.de
a381b0935f bug 325177 r=darin sr=bz
- add a "request" parameter to nsIContentSniffer
- make the unknowndecoder implement nsIContentSniffer
- make nsBaseChannel do type detection via nsIContentSniffer rather than a
  stream converter
2006-02-17 16:54:27 +00:00
cbiesinger%web.de
953673d16d 290371
- check the return value of FireListenerNotifications so that ODA does not get
  called if OnStartRequest or a previous ODA returned failure
- make sure to always call OnStartRequest
r=darin sr=bz a=asa
2005-04-21 18:21:48 +00:00
dbaron%dbaron.org
3a87f7e225 Fix common misspelling of delimiter and delimited (de-limit-er, not deli-meter). b=106386 r=timeless 2005-02-05 00:49:25 +00:00
cbiesinger%web.de
0c7a7ecb91 Bug 247981 necko depends on libpr0n
r=pavlov sr=darin
2004-07-19 18:53:02 +00:00
cbiesinger%web.de
6263ab98d2 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin
2004-06-29 16:45:07 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +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
bzbarsky%mit.edu
cc9706493f Bug 238706 -- the guess-from-ext should never be exposed to the outside world.
r=biesi, sr=darin, a=chofmann
2004-03-30 23:52:00 +00:00
bzbarsky%mit.edu
6ccc20cdbe Work around misconfiguration in default Apache installs that makes it claim all
sorts of stuff as text/plain.  Bug 220807, r=biesi, sr=darin
2004-01-08 03:56:02 +00:00
bzbarsky%mit.edu
1e43dee4bb Fix silly operator precedence error. Bug 226230, r=biesi, sr=darin, a=brendan 2003-11-20 17:31:15 +00:00
bzbarsky%mit.edu
27d56f9d7e Decide it's application/octet-stream if it contains any ASCII control chars,
not just if it contains a null byte.  Bug 126782, r+sr=darin
2003-11-18 15:10:56 +00:00
bzbarsky%mit.edu
02105d9df4 Detect <iframe> as HTML. Bug 224932, r+sr=darin 2003-11-13 23:22:49 +00:00
bzbarsky%mit.edu
b6acc76843 Fix possible access to unitialized memory. Bug 221189, r=biesi, sr=darin 2003-10-04 20:27:32 +00:00
bryner%brianryner.com
63fa99c65e Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
bzbarsky%mit.edu
46d6fafdf5 Try to reduce codesize a tad. Bug 213825, r=biesi, sr=jag 2003-07-30 23:16:29 +00:00
bzbarsky%mit.edu
37551aff8b Make more tags trigger detection of the file as HTML. Bug 213825, r=biesi, sr=darin 2003-07-30 17:58:56 +00:00
bzbarsky%mit.edu
a81d14e92f Detect stuff that starts with "<head" as HTML. Bug 213416, r=biesi, sr=darin 2003-07-22 17:06:46 +00:00
darin%netscape.com
347f4e42e7 fixes bug 212598 "netwerk/ should not use nsIPref" r=dougt,caillon sr=bzbarsky 2003-07-14 21:36:24 +00:00
bzbarsky%mit.edu
327a0205c8 prettify HTML-detection a bit; make it a little less likely to detect HTML.
Bug 144672, r=bbaetz, sr=darin
2003-04-04 22:46:50 +00:00
darin%netscape.com
846a54d15e fixes bug 200365 "trunk topcrash [@ nsUnknownDecoder::SniffForImageMimeType]"
r=dougt sr=bz
2003-04-03 19:36:27 +00:00
bzbarsky%mit.edu
f3cea2b0e3 Fix solaris and BSD/OS build bustage 2003-01-11 21:25:57 +00:00
bzbarsky%mit.edu
3afe1118bb Add sniffing of XML files. Reorganize the sniffing code to make plugging in
new sniffers simpler.  Bug 186884, r=bbaetz, sr=darin
2003-01-11 19:34:13 +00:00
dbaron%dbaron.org
954ad5f9d9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:35:09 +00:00
bzbarsky%mit.edu
74a9b1ed3e Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
177026, r=rpotts, sr=darin
2002-11-06 22:29:17 +00:00