Commit Graph

32 Commits

Author SHA1 Message Date
Monica Chew
8796e58da3 Bug 904607: Add protocol parser for -digest256 lists (r=gcp). 2013-09-06 17:12:33 -07:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Nicholas Nethercote
e1d350fb80 Bug 864236 - Make multi-MiB allocations in the url-classifier fallible. r=dcamp 2013-04-22 00:04:46 -07:00
Gian-Carlo Pascutto
351d6de093 Bug 825891 - Remove the code for per-client randomization in the url-classifier. r=dcamp 2013-01-08 16:43:33 +01:00
Daniel Holbert
5944e0d61d Bug 825627, part 2: Convert known-to-be-nonnegative variables 'i' and 'idx' to be unsigned, in Classifier::ReadNoiseEntries(), to fix signed/unsigned comparison build warnings. r=gcp 2013-01-02 09:05:31 -08:00
Daniel Holbert
d056e13800 Bug 825627, part 1: Make nsUrlClassifierDBService.cpp's "gethashNoise" & "aCount" variables as unsigned, since counts are unsigned by definition. r=gcp 2013-01-02 09:05:19 -08:00
Gian-Carlo Pascutto
24c7a7d71c Bug 806422 - Do not cache Complete's across a SafeBrowsing update. r=dcamp 2012-11-06 15:38:16 +01:00
Gian-Carlo Pascutto
daa4d4e6ad Bug 807847 - Noise entries are erroneously entered into the misscache. r=dcamp 2012-11-03 01:53:10 +01:00
Isaac Aggrey
cbb17fe7b2 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Gian-Carlo Pascutto
0a70ff27a3 Bug 727370 - Recover correctly from a Reset during an update. r=dcamp 2012-09-28 18:31:19 +02:00
Gian-Carlo Pascutto
9513551d00 Bug 727370 - Make SafeBrowsing updates atomic transactions. r=dcamp 2012-09-28 18:31:18 +02:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac 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
dec706d5ae Bug 673470 - Remove some unneeded PromiseFlatCString. r=dcamp 2012-08-15 09:09:40 +02:00
Gian-Carlo Pascutto
8e324b990e Bug 768871 - Provide an option to disable per-client randomization. r=dcamp 2012-08-15 09:07:10 +02:00
Gian-Carlo Pascutto
6f527b11cb Bug 726002 - Clear some big nsTArrays as early as possible in updates. r=dcamp 2012-08-15 09:05:18 +02:00
Gian-Carlo Pascutto
6cd4e0ecf4 Bug 725597 - SafeBrowsing fails to update persistent PrefixSet on Windows. r=dcamp 2012-08-15 09:04:51 +02:00
Gian-Carlo Pascutto
5a5335d7a3 Bug 673470 - Optimize input buffer size. Cache active tables. r=dcamp 2012-08-15 09:04:31 +02:00
Gian-Carlo Pascutto
1c38a63dbe Bug 673470 - Replace the sqlite safeb store with a flat file. r=dcamp 2012-08-15 09:04:19 +02:00
Gian-Carlo Pascutto
ed82784c43 Backout 173f90d397a8 (Bug 673470). rs=dcamp a=mfinkle 2012-04-20 07:46:47 +02:00
Gian-Carlo Pascutto
043f59c89e Backout db52b4916cde (Bug 673470). rs=dcamp a=mfinkle 2012-04-20 07:46:46 +02:00
Gian-Carlo Pascutto
1d386ef3f3 Backout e9291f227d63 (Bug 725597). rs=dcamp a=mfinkle 2012-04-20 07:46:46 +02:00
Gian-Carlo Pascutto
f533ef04bc Backout 35bf0d62cc30 (Bug 726002). rs=dcamp a=mfinkle 2012-04-20 07:46:46 +02:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Gian-Carlo Pascutto
b0748830e9 Bug 726002 - Clear some big nsTArrays as early as possible in updates. r=dcamp 2012-02-13 17:10:22 +01:00
Gian-Carlo Pascutto
4c46c7171c Backout e0e2cc5570ac (Bug 726002) due to broken error handling. 2012-02-13 17:04:46 +01:00
Gian-Carlo Pascutto
72c15e4885 Bug 726002 - Clear some big nsTArrays as early as possible in updates. r=dcamp 2012-02-13 13:17:48 +01:00
Gian-Carlo Pascutto
e6b3803939 Bug 725597 - SafeBrowsing fails to update persistent PrefixSet on Windows. r=dcamp 2012-02-09 20:41:32 +01:00
Gian-Carlo Pascutto
9efa6dd185 Bug 673470 - Optimize input buffer size. Cache active tables. r=dcamp 2012-02-03 08:32:32 +01:00
Gian-Carlo Pascutto
c6b4c2801b Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
1aac28d69e Backout 44a0dc4fb9ff (Bug 673470) for Talos regression. 2012-02-01 20:10:02 +01:00
Gian-Carlo Pascutto
340ce0675c Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00