Commit Graph

19 Commits

Author SHA1 Message Date
Ehsan Akhgari
8c296bbcd4 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
Gian-Carlo Pascutto
e66cc5f615 Bug 673470 - Simplify PrefixSet by removing (unneeded) thread safety. r=dcamp 2012-08-15 09:10:24 +02:00
Gian-Carlo Pascutto
fda672ce93 Bug 673470 - Replace the sqlite safeb store with a flat file. r=dcamp 2012-08-15 09:04:19 +02:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gian-Carlo Pascutto
e4215cce87 Backout 173f90d397a8 (Bug 673470). rs=dcamp a=mfinkle 2012-04-20 07:46:47 +02:00
Gian-Carlo Pascutto
f6fbcf288f Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
f18313c7e1 Backout 44a0dc4fb9ff (Bug 673470) for Talos regression. 2012-02-01 20:10:02 +01:00
Gian-Carlo Pascutto
49058a9dcc Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
1b15f1f905 Bug 702217 - Avoid double allocation in UrlClassifier. Handle OOM conditions. r=dcamp 2012-01-10 17:09:32 +01:00
Nicholas Nethercote
5d2aefc5b3 Bug 705602 - Use mallocSizeOf in prefixset memory reporter. r=gpc.
--HG--
extra : rebase_source : f228466f7e082a152ceaafc8f8f1c4b71f5f550f
2011-12-13 20:54:18 -08:00
Gian-Carlo Pascutto
f5931dd00e Bug 698326 - Remove countMe argument to SizeOf in UrlClassifier. r= 2011-11-15 18:51:06 +01:00
Gian-Carlo Pascutto
4f47ecb803 Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar 2011-11-13 11:25:48 +01:00
Marco Bonardo
710987a799 Backout 38abb03271de (bug 698326) due to xpcshell tests failure 2011-11-11 20:12:12 +01:00
Gian-Carlo Pascutto
3ca204c2dd Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar 2011-11-11 18:57:22 +01:00
Michael Wu
d8e503c38b 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
Gian-Carlo Pascutto
dd7d328f35 Bug 669410 - Prevent hash collisions from occuring in the same place in every client. r=tony
See also bug 669407.
2011-09-08 22:17:25 +02:00
Gian-Carlo Pascutto
3609767baa Bug 669410 - Make the url-classifier PrefixSet persistent on startup/shutdown. r=tony 2011-09-08 22:16:59 +02:00
Gian-Carlo Pascutto
3846c30f61 Bug 669410 - Probe PrefixSet directly from the main thread. r=tony 2011-09-08 22:15:27 +02:00
Gian-Carlo Pascutto
3099d386d0 Bug 669410 - Add PrefixSet datastructure for SafeBrowsing. r=dcamp 2011-09-08 22:15:08 +02:00