Commit Graph

13 Commits

Author SHA1 Message Date
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
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Shawn Wilsher
84597dbe21 Bug 489455 - Update URLClassifier to follow Safebrowsing spec
This makes us not change %00 to %01.
r=tony
2009-04-21 19:34:06 -04:00
Dave Camp
628056cb39 Bug 475632: properly update the classifier's clean fragment cache. r=tony 2009-02-09 22:40:39 -08:00
44a6eb2bd4 try landing new safebrowsing protocol again. b=387196, r=tony, r=vlad (for new fixes) 2007-07-25 23:38:43 -07:00
6cd8a99bd1 backout patch for 387196 2007-07-25 20:11:43 -07:00
0854abd543 implement the new google safebrowsing protocol. b=387196, r=tony 2007-07-25 18:49:20 -07: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
tony@ponderer.org
856470c495 cause unittest to stop build on failure (makes tinderboxen burn on failure) 2007-03-01 02:12:13 +00:00
tony@ponderer.org
d422cec412 fix compile warning in test on release builds 2007-02-28 00:01:32 +00:00
tony@ponderer.org
98ecb3cbeb Bug 370860: A very long URI hangs under phishing protection code
patch:  v4: move canonicalizeURL to c++
r=bryner,sr=darin
2007-02-27 23:49:44 +00:00