Commit Graph

12 Commits

Author SHA1 Message Date
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
Brian R. Bondy
7433eddebf Bug 777328 - Gather telemetry data for how much cache corruption reduction plan would help. r=michal 2012-08-20 08:08:46 -04:00
Brian R. Bondy
e72a7f0d24 Bug 774146 - Get more detail on reason for DISK_CACHE_CORRUPT failures. r=michal 2012-07-20 19:47:52 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michal Novotny
23e84528e9 Bug 604897 - Unable to cache small entries when _CACHE_00[1-3]_ is full; r=mayhemer a=blocking-betaN+ 2011-01-18 16:12:10 +02:00
Jason Duell
993e1e0959 bug 617123: workaround: bump cache version to clear corrupted imgs from cache. a=bustage 2010-12-10 14:03:39 -08:00
Michal Novotny
980868c4f5 Bug 597224 - HTTP Cache: use directory tree to store cache files. sr=bzbarsky@mit.edu, a=blocker 2010-12-06 17:49:05 +02:00
Bjarne Herland
1169189f34 Followup for bug 588804, bump the cache version to ensure that previously invalid caches get cleared. r=jst@mozilla.com, a=blocker 2010-10-26 17:34:58 -07:00
Jason Duell
6018615b80 Bug 598007: Bump HTTP cache version number to see if it affects crash rate. r=me a=beta7 2010-09-28 18:26:57 -07:00
Bjarne Herland
51c0314514 Bug 596808 - nsDiskCacheDevice::Init() called twice resulting in no disk cache available r=jduell, a=betaN 2010-09-16 20:21:16 -07:00
Honza Bambas
9b0f75adcb Bug 570616: increment cache version to avoid compat issues with nsNSSSocketInfo changes. r=biesi 2010-08-13 10:15:25 -07:00
Mitchell Field
bc63774d7e Bug 542222 - Reduce recursion in netwerk makefiles. 2010-06-05 21:18:12 -04:00