Andrew McCreight
b91bc39826
Bug 1024801, part 1 - Free prefixArray if nsUrlClassifierPrefixSet::GetPrefixes returns an error. r=gcp
2014-06-26 09:29:06 -07:00
Nicholas Nethercote
7b107d5931
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
2014-05-20 23:06:54 -07:00
Gian-Carlo Pascutto
94caff940c
Bug 1015978 - Check some PrefixSet invariants to detect & recover from disk corruption. r=mmc
2014-05-28 13:16:52 +02:00
Gian-Carlo Pascutto
f3acb26a0a
Bug 1014362 - Reduce the memory usage of SafeBrowsing updates. r=mmc
2014-05-23 23:40:40 +02:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Nicholas Nethercote
0e122b9e83
Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
2013-12-07 21:38:32 -08:00
Nicholas Nethercote
0d8c64efcc
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
65aaebab72
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
c363b9d028
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
c7fbf6a742
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
e3cc8be643
Bug 831193 (part 20) - Make nsPrefixSetReporter a subclass of MemoryReporterBase. r=gcp.
2013-01-17 21:43:21 -08:00
Joshua Cranmer
4c1f2d0784
Bug 884061 - Part 3v: Use NS_DECL_THREADSAFE_ISUPPORTS in toolkit/, r=Mossop
2013-07-18 21:24:15 -05:00
Catalin Iacob
f88cdc0744
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
2013-06-23 14:03:39 +02:00
Nicholas Nethercote
8a28a2740d
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
2012-12-23 16:59:51 -08:00
Saurabh Anand
15f0c5068c
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Gian-Carlo Pascutto
a04ed76212
Bug 727370 - Make SafeBrowsing updates atomic transactions. r=dcamp
2012-09-28 18:31:18 +02: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
Gian-Carlo Pascutto
36e135e1d7
Bug 673470 - Simplify PrefixSet by removing (unneeded) thread safety. r=dcamp
2012-08-15 09:10:24 +02:00
Gian-Carlo Pascutto
ad6180560b
Bug 750625 - crash in nsUrlClassifierPrefixSet::GetPrefixes. r=dcamp
2012-08-15 09:09:53 +02:00
Gian-Carlo Pascutto
7c3b38587d
Bug 673470 - Make the PrefixSet/LookupCache construction infallible again. r=dcamp f=jlebar
2012-08-15 09:09:25 +02:00
Gian-Carlo Pascutto
1c0ff29874
Bug 673470 - Replace the sqlite safeb store with a flat file. r=dcamp
2012-08-15 09:04:19 +02:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Geoff Lankow
7a64448b03
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Gian-Carlo Pascutto
10acc9e06e
Backout 173f90d397a8 (Bug 673470). rs=dcamp a=mfinkle
2012-04-20 07:46:47 +02:00
David Rajchenbach-Teller
bad6935e93
Bug 728171 - Use Scoped.h throughout the code. r=cjones
2012-04-12 12:21:24 +02:00
Richard Newman
da41f93e22
Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage
2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
09132755cc
Bug 728171 - Use Scoped.h throughout the code. r=cjones
2012-04-11 18:59:10 +02:00
Gian-Carlo Pascutto
724fb285e2
Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp
2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
056c10da3c
Backout 44a0dc4fb9ff (Bug 673470) for Talos regression.
2012-02-01 20:10:02 +01:00
Gian-Carlo Pascutto
3b9f32d92d
Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp
2011-12-06 19:03:05 +01:00
Nicholas Nethercote
c1dd090b4c
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
2012-01-25 00:52:51 -08:00
Gian-Carlo Pascutto
2bb82902d1
Bug 702217 - Avoid double allocation in UrlClassifier. Handle OOM conditions. r=dcamp
2012-01-10 17:09:32 +01:00
Nicholas Nethercote
1240eea7f7
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
2011-12-15 14:59:53 -08:00
Nicholas Nethercote
cb524624bc
Bug 705602 - Use mallocSizeOf in prefixset memory reporter. r=gpc.
2011-12-13 20:54:18 -08:00
Gian-Carlo Pascutto
6b8eb368b7
Bug 706049 - Sanity check PrefixSet on probing, detect errors on load. r=dcamp
2011-12-02 10:46:58 +01:00
Gian-Carlo Pascutto
18c11b2972
Bug 698326 - Remove countMe argument to SizeOf in UrlClassifier. r=
2011-11-15 18:51:06 +01:00
Gian-Carlo Pascutto
8f61f0e297
Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar
2011-11-13 11:25:48 +01:00
Marco Bonardo
8583f20728
Backout 38abb03271de (bug 698326) due to xpcshell tests failure
2011-11-11 20:12:12 +01:00
Gian-Carlo Pascutto
1ed2345e54
Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar
2011-11-11 18:57:22 +01:00
Josh Aas
699c7b244a
Bug 695965: Fix use of uninitialized memory in nsUrlClassifierDBService::CheckClean. r=bent
2011-10-20 10:48:11 -04: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
Gian-Carlo Pascutto
67d2edc09d
Bug 686691 - PrefixSet loading should use readahead. r=taras
2011-10-02 21:26:10 +02:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Gian-Carlo Pascutto
397818839e
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
bf8f39caba
Bug 669410 - Make the url-classifier PrefixSet persistent on startup/shutdown. r=tony
2011-09-08 22:16:59 +02:00
Gian-Carlo Pascutto
d4d482d799
Bug 669410 - Reduce the SQLite caches' default size in url-classifier. r=dcamp
2011-09-08 22:15:37 +02:00
Gian-Carlo Pascutto
30d9f4fbfd
Bug 669410 - Probe PrefixSet directly from the main thread. r=tony
2011-09-08 22:15:27 +02:00
Gian-Carlo Pascutto
5638eb8aa2
Bug 669410 - Add PrefixSet datastructure for SafeBrowsing. r=dcamp
2011-09-08 22:15:08 +02:00