Commit Graph

514 Commits

Author SHA1 Message Date
Daniel Holbert
959af08a05 backout 118c07dc56f9 (bug 742179) for windows build bustage 2012-04-05 10:56:10 -07:00
Doug Turner
7a33df3fb0 Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Mark Capella
4666038a24 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Cameron McCormack
503444be6a Bug 739129 - Add LastElement and SafeLastElement functions to nsTArray. r=dbaron 2012-03-27 09:48:25 +11:00
Andrew McCreight
7e1f1d540f Bug 738769 - only unmark purple if purple. r=smaug 2012-03-26 09:57:29 -07:00
Jonathan Kew
5ae7bbbe8c bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
7b572d1603 bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame 2012-03-23 12:13:44 +00:00
Ryan VanderMeulen
ed2b9640bf Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output) 2012-03-23 17:04:28 -04:00
Chris Lord
16ce512a67 Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Jonathan Kew
a16c68d182 bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
238a736cb7 bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame 2012-03-23 12:13:44 +00:00
Matias Juntunen
2cefe6b3a9 Bug 617947 - Merge 'class nsQuickSortComparator' into 'nsTArray'. r=bsmedberg 2012-03-21 19:52:24 -04:00
Mounir Lamouri
ac6517508b Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar 2012-03-19 16:49:39 +01:00
Mark Finkle
2f256bcc57 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Ehsan Akhgari
9fb965340a Merge from mozilla-central 2012-03-17 12:32:28 -04:00
Mounir Lamouri
6ea2bd057f Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar 2012-03-16 19:32:11 +01:00
Kyle Huey
7b8018864e No Bug: Shut pldhash up for the 'probably' case. rs=bz 2012-03-16 10:09:14 -07:00
Mike Hommey
a062e24d2d Bug 716544 - Fix comparison between signed and unsigned integer expressions in nsStringAPI.h. r=dbaron 2012-03-13 09:47:02 +01:00
Mike Hommey
c17402ac1f Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
f23ba363ff Bug 716544 - Fix comparison between signed and unsigned integer expressions in nsStringAPI.h. r=dbaron 2012-03-13 09:47:02 +01:00
Justin Lebar
064e2cf3f9 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Ms2ger
4733cca974 No bug - Remove unused variables origStr from HashString; r=themaid 2012-03-11 09:48:18 +01:00
Nicholas Nethercote
8b96d26135 Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Ed Morley
e63b667897 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar
c07407a766 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
65b70fabf4 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Jesse Ruderman
5b165a3ca2 Bug 732607 - make nsTArray assertions fatal. r=bz 2012-03-03 13:16:13 -08:00
Justin Lebar
b3d892cff8 Bug 729952 - Part 2: Use a better hash function in nsCRT, nsTHashtable, and pldhash. r=bz 2012-03-02 17:20:44 -05:00
Nicholas Nethercote
29ca78c292 Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Bas Schouten
be63948579 Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones 2012-02-16 04:11:34 +01:00
Nathan Froyd
8c9068a69a Bug 700659 - add a Contains method to nsTHashtable; r=bsmedberg 2012-02-22 06:32:13 -08:00
Brian R. Bondy
c12098b4fa Bug 708690 - Updater enhancements for product information blocks. r=rstrong 2012-02-24 16:29:41 -05:00
Justin Lebar
4edf8b6f57 Bug 729453 - Decrease stack allocation in nsTArray::SwapArrayElements from 8KB to 64B. r=roc 2012-02-22 12:26:21 +01:00
Mike Hommey
99e3690cd6 Bug 686805 part 7 - Display linker stats on each Startup Timeline event. r=tglek,r=khuey 2012-02-22 08:12:15 +01:00
Andrew McCreight
5abe09f033 Bug 727313 - avoid warnings, add case for skippable CC macros. r=smaug 2012-02-15 15:28:42 -08:00
Olli Pettay
8435d939fc Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8 2012-02-13 22:59:14 +02:00
Raúl Porcel
223b301a25 Bug 724615 - Fix TARGET_CPU usage on ARM. r=benjamin 2012-02-06 22:44:52 +01:00
Nicholas Nethercote
42c76c1d40 Bug 671299 (part 1) - Add ns{Void,COM}Array::SizeOfExcludingThis(). r=bz.
--HG--
extra : rebase_source : 170c6943e985a8bafc4c441918a0e23fd52e15f2
2012-01-02 18:18:26 -08:00
Justin Lebar
b5dc2a4e3b Bug 719531 - Part 2: Make FallibleTArray use moz_malloc rather than NS_Alloc, because only the former is fallible. r=bsmedberg
--HG--
extra : rebase_source : 9259871f86b6fcaa805b0e042c52e10b751acdf5
2012-01-26 12:51:45 -05: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
Makoto Kato
8a1baaa906 Bug 717526 - fix warning of nsStringAPI.h on Win64. r=dbaron 2012-01-25 15:43:27 +09:00
Marco Bonardo
874c068f3a Bug 718999 - make "You can't dereference a NULL nsCOMPtr" assertions fatal.
r=bsmedberg
2012-01-24 20:37:48 +01:00
Olli Pettay
96842c7949 Bug 720423 - Add NS_DECL_CYCLE_COLLECTION_SKIPPABLE_SCRIPT_HOLDER_CLASS_INHERITED, r=mccr8
--HG--
extra : rebase_source : 91df46f35d3cc2c24462e0373c69e207f65a8bc3
2012-01-23 23:06:58 +01:00
Mike Hommey
67dd57d194 Bug 683127 part 6 - Use wrapped dl* functions in the XPCOM standalone glue when building with MOZ_LINKER on Linux. r=bsmedberg 2012-01-20 09:48:44 +01:00
Chris Pearce
39ca7c35b3 Bug 713381 - Add nsDeque::RemoveObjectAt(index). r=bsmedberg 2012-01-20 07:29:38 +13:00
Ted Mielczarek
43093371fa bug 706554 - Add nsRefPtrHashKey. r=bsmedberg 2011-11-30 16:30:55 -05:00
Chris Pearce
feca30f47a Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout 2012-01-19 11:56:54 +13:00
Chris Pearce
9a306f0a1f Bug 713381 - Add nsDeque::RemoveObjectAt(index). r=bsmedberg 2012-01-19 09:15:56 +13:00
Olli Pettay
3d279af6c1 Bug 718634 - Move CanSkip* to nsCycleCollectionParticipant, r=mccr8
--HG--
extra : rebase_source : 7eb8cadf14e2d38d689e74a354d6edee6f7f9d20
2012-01-17 18:32:19 +02:00