Eric Rahm
ddc8ac650b
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Birunthan Mohanathas
a5b2d5a35a
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj
2015-05-18 13:50:35 -07:00
Eric Rahm
78a96dc27f
Bug 1164556 - Part 1: Remove instances of #ifdef PR_LOGGING in toolkit. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Mike Hommey
338d086ead
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Gian-Carlo Pascutto
f658b688a1
Bug 1102687 - Remove legacy includes from nsUrlClassifierPrefixSet and friends. r=dmajor
2014-11-24 08:39:02 +01:00
Gian-Carlo Pascutto
fe253223fe
Bug 1102687 - Avoid copying and allocating 3 times in GetPrefixes. r=dmajor
2014-11-24 08:38:29 +01:00
Gian-Carlo Pascutto
6fbcffc8bb
Bug 1102687 - Presize the urlclassifier PrefixSet delta array on loading. r=dmajor
2014-11-24 08:38:14 +01:00
Gian-Carlo Pascutto
0f52b5e676
Bug 1050108 - Remove superfluous member variables in PrefixSet. r=mmc
2014-10-14 13:16:11 +02:00
Gian-Carlo Pascutto
1c2e1c79d2
Bug 1050108 - Avoid race condition during memory report collection. r=njn
2014-10-14 13:15:50 +02:00
Gian-Carlo Pascutto
d041dfb090
Bug 1074196 - Correctly initialize PrefixSets with no deltas. r=mmc
2014-10-01 09:24:14 +02:00
Gian-Carlo Pascutto
c465ee5c65
Bug 1046038 - Replace linear prefix array by array of arrays. r=mmc
2014-08-04 12:12:02 +02:00
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