Commit Graph

35 Commits

Author SHA1 Message Date
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Trevor Saunders
53e4e1f193 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Makoto Kato
8696ddea08 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 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
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
f4dbe363dd Bug 739040 followup: properly enforce the sniffing limit on uncompressed feeds, r=mano, a=desktop-only 2012-04-21 02:22:52 -04:00
Ehsan Akhgari
2cc104051c Bug 739040 - Use the length of the decoded string, if no more than 512 bytes, to sniff for feeds; r=Mano a=blocking 2012-04-20 13:03:53 -04:00
Ehsan Akhgari
478ad1a412 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
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Nick Hurley
5ed296a9f4 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Benjamin Smedberg
68eb98db57 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
Boris Zbarsky
2da11790c2 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
Boris Zbarsky
3c296dec61 Bug 394416. Feed sniffing should apply to fewer MIME types. r=sayrer 2008-09-05 13:39:19 -04:00
945f8bd434 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
46f0a1f41c reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
56b16d9b10 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
280c91005a Bug 368464 - RSS preview sniffs RSS 0.90 on trunk, r=sayrer, a=beltzner 2007-12-28 22:01:02 -08:00
98de634631 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
sayrer@gmail.com
ca5f8f1874 bug 361230. Add a way to tell the parser the feed has been sniffed. r=mano 2006-11-23 01:22:43 +00:00
benjamin@smedbergs.us
6a399a8238 Re-land bug 345517 now that the logging issues are hopefully fixed, r=darin/mento/mano 2006-11-13 17:53:01 +00:00
pavlov@pavlov.net
f7bb7881cf backing out 345517 due to leak test bustage 2006-11-10 04:42:03 +00:00
benjamin@smedbergs.us
84c6af09b6 Bug 345517, try #2, make the browser component use frozen linkage, so that ff+xr builds. This does *not* --enable-libxul by default for Firefox (yet). That will wait until after 1.9a1. Older patch r=darin+mento, revisions r=mano 2006-11-09 15:02:29 +00:00
gavin@gavinsharp.com
5f16eefd8f Bug 337184: feed sniffer sniffs too many things as feeds... need to make sure that feed indicator strings are only used as indicators if they are present at the top level of the document, patch by Ben Goodger <ben@mozilla.org>, r=darin, mconnor 2006-10-10 02:44:02 +00:00
sayrer@gmail.com
47cf7cff52 bug 355332. Feed sniffing ignores content-disposition, displays 'attachment' in the browser. r=vlad 2006-10-10 00:15:31 +00:00
sayrer@gmail.com
5571b7d374 Bug 348010. Don't do Feed Preview on POST requests. r=vlad 2006-08-12 18:35:07 +00:00
benjamin@smedbergs.us
34f2348d90 Backout bug 345517 due to various issues. 2006-08-10 14:06:47 +00:00
benjamin@smedbergs.us
93d9775bb1 Bug 345517 - Build Firefox --enable-libxul by default, r=darin/mento 2006-08-09 13:39:19 +00:00
beng@bengoodger.com
2351705e01 did not mean to check this in yet 2006-05-08 22:59:52 +00:00
beng@bengoodger.com
8c77df1f00 337184 - feed sniffer considers too many documents feeds... needs to not consider an element a feed unless it is the root element. reviewed by darin, r=mconnor 2006-05-08 22:18:58 +00:00
beng@bengoodger.com
423ab5efae 336755 - revert earlier change I made on darin's suggestion because end_iter is moved after all. allows proper detection of rdf-rss feeds. also ensure that the rdf-rss switch is triggered after all three conditions are met, not any one 2006-05-06 03:05:28 +00:00
beng@bengoodger.com
6989e417c5 333751 - land feed preview page. actually turn it on by default + address some review comments from darin to nsFeedSniffer.* r=darin@meer.net for the configure changes and nsFeedSniffer.* 2006-05-04 21:57:18 +00:00
beng@bengoodger.com
667e6048b6 333751 - more feed handling changes... NOT PART OF BUILD!! 2006-04-28 06:08:22 +00:00
beng@bengoodger.com
eb6ad409c4 333751 - land initial content converter patch for feed parsing, turned off. r=bsmedberg for configure bits, r=brettw for everything else... use --enable-feeds in .mozconfig to turn this on. 2006-04-27 00:24:12 +00:00