Commit Graph

34 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
f9233b3428 Bug 727370 - Make SafeBrowsing updates atomic transactions. r=dcamp 2012-09-28 18:31:18 +02:00
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
b3ffcf582f Bug 750625 - crash in nsUrlClassifierPrefixSet::GetPrefixes. r=dcamp 2012-08-15 09:09:53 +02:00
Gian-Carlo Pascutto
32e2eaa965 Bug 673470 - Make the PrefixSet/LookupCache construction infallible again. r=dcamp f=jlebar 2012-08-15 09:09:25 +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
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12: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
David Rajchenbach-Teller
fa9913646b Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
76d7d982d4 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
cb1d34d766 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +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
Nicholas Nethercote
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08: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
2fa63e0548 Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08: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
c07592e6bc Bug 706049 - Sanity check PrefixSet on probing, detect errors on load. r=dcamp 2011-12-02 10:46:58 +01: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
Josh Aas
b987675695 Bug 695965: Fix use of uninitialized memory in nsUrlClassifierDBService::CheckClean. r=bent 2011-10-20 10:48:11 -04:00
Ehsan Akhgari
2a602a5685 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
Gian-Carlo Pascutto
d2872dfc1f Bug 686691 - PrefixSet loading should use readahead. r=taras 2011-10-02 21:26:10 +02: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
f1b8592f7b Bug 669410 - Reduce the SQLite caches' default size in url-classifier. r=dcamp 2011-09-08 22:15:37 +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