Commit Graph

1742 Commits

Author SHA1 Message Date
Mike Habicher
3692f83bae backing out bug 827841 patch to fix comment 2013-01-10 01:44:18 +01:00
Mike Habicher
4d67018cf9 Bug 828502 - let nsMainThreadPtrHandle::get() handle nullptrs; r=bholley 2013-01-09 18:58:29 -05:00
Mike Habicher
f1f068a595 Bug 872841 - don't proxy-release null pointers in nsMainThreadPtrHolder; r=jlebar
--HG--
extra : rebase_source : 508d22c611725379192a90d8381f61aaa3d3ba97
2013-01-08 13:40:18 -05:00
Mike Habicher
d8fab14395 Bug 827857 - make NS_ProxyRelease() handle null pointers properly; r=jlebar 2013-01-08 13:34:49 -05:00
Boris Zbarsky
c6fbb501b4 Bug 827654. Actually QI to interfaces we implement in nsCancelableRunnable. r=smaug 2013-01-08 09:01:30 -05:00
Mike Habicher
0dc7293229 Bug 827679 - add return value to nsMainThreadPtrHandle::operator=; r=bholley 2013-01-07 23:09:19 -05:00
Mohit Gahlot
f1333eedc8 Bug 818106 Fix: ScopedClose now considers errno EINTR.r=dhylands 2013-01-04 08:16:47 +05:30
Trevor Saunders
801c9b79ba bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Mark Banner
0527db678b Bug 823940 Remove unused nsAutoVoidArray, and cleanup nsVoidArray's support for it. r=bsmedberg. 2012-12-22 09:00:15 +00:00
Neil Rashbrook
4b6c2be10c Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking 2012-12-21 10:09:50 +00:00
Neil Rashbrook
6ced98692d Bug 493711 Part 1: switch nsCOMArray from nsVoidArray to nsTArray r=sicking 2012-12-19 21:33:54 +00:00
Justin Lebar
be3b9d9bca Bug 819791 - Part 11: Make nsTArray and friends' copy constructors explicit. r=bz 2012-12-18 20:16:07 -05:00
Justin Lebar
e73a12f35f Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz
Also make typeof nsAutoTArray == typeof AutoInfallibleTArray and switch
files to using nsTArrayForwardDeclare.h.
2012-12-18 20:16:06 -05:00
Justin Lebar
3ff706b49a Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz 2012-12-18 20:16:06 -05:00
Boris Zbarsky
6efc316628 Bug 819523 part 1. Make it possible to use the various-allocator nsTArrays interchangeably as long as you're working with const objects. r=jlebar 2012-12-18 20:16:05 -05:00
Trevor Saunders
0179193261 bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8 2012-12-08 00:08:37 -05:00
Gabriele Svelto
ba62bce29e Bug 814771 - Add a cancelable runnable and use it to cancel a pending memory minimization procedure when an application is brought to the foreground r=jlebar 2012-12-11 19:13:29 +01:00
Boris Zbarsky
3adcd6d60f Bug 815671 part 10. Make nsTArray constructors explicit. r=jlebar 2012-11-29 11:14:14 -05:00
Boris Zbarsky
7d463ea49d Bug 815671 part 9. Fix hashtables to take a UserDataType reference on put, so that putting an array works. r=bsmedberg 2012-11-29 11:14:14 -05:00
Andrew McCreight
9a4a704d26 Bug 815397 - Clean up Accessibility cycle collector definitions. r=smaug 2012-11-28 16:05:04 -08:00
Mats Palmgren
d2cf571387 Bug 816162 - Add newline at end of file to fix compile warning. r=mccr8 2012-11-28 19:55:36 +01:00
Andrew McCreight
ead425b3e0 Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug 2012-11-23 11:27:06 -08:00
Andrew McCreight
ed24acb94f Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug 2012-11-23 11:13:39 -08:00
Andrew McCreight
d4c5256e4c Bug 807713 - add warning comment for nsTObserverArray::ElementAt. r=sicking 2012-11-23 10:50:05 -08:00
Ehsan Akhgari
ff815b3cdc Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Ed Morley
5aec97aa38 Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage 2012-11-22 17:49:58 +00:00
Benoit Jacob
3d8cbb81ad Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8 2012-11-22 12:15:38 -05:00
Ehsan Akhgari
e5022e988f Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Benoit Jacob
f5eae0f15f Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 2: handmade fixups - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
10ffb47d44 Bug 811212 - Make most cycle collector assertions fatal - r=mccr8 2012-11-15 02:32:39 -05:00
Benoit Jacob
46600b2a31 Bug 806279 - CC macros refactoring: part 4: update CC helper macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
7cc7c472e5 Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
06bfb63973 Bug 806279 - CC macros refactoring: part 2: generic BEGIN_ macros folding in the NATIVE case - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
6d7beedec6 Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Daniel Holbert
29cceb7819 Bug 808146: Declare nsMainThreadPtrHolder as MOZ_FINAL, to fix -Wdelete-non-virtual-dtor build-warning-spam. r=bholley 2012-11-02 21:07:19 -07:00
Andrew McCreight
2b4ddeae6f Bug 807713 - add operator[] for nsTObserverArray. r=bsmedberg 2012-11-02 17:57:05 -07:00
Andrew Quartey
d21a5d8004 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Jacek Szpot
761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Magnus Melin
b6a685870c Bug 804664 - remove typedef nsAutoCString nsCAutoString. r=benjamin 2012-10-23 20:53:15 +03:00
Abhishek Potnis
ad50b9e765 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Brian Smith
9a21ea4912 Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan 2012-10-18 15:55:48 -04:00
Bill McCloskey
151b2aba2f Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8) 2012-10-17 18:22:46 -07:00
Andrew Quartey
00edc52f9c Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
8191e9c8c1 Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
ea5e17dc9c Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan 2012-10-12 13:29:10 -04:00
William Chen
1e6c1fa4b2 Bug 798065 - Fix integer underflow in nsTArray::LastIndexOf. r=cjones 2012-10-04 15:23:41 -07:00
Andrew Quartey
b95bb9276c Bug 792581 - part 8: Replace LL_NEG macro with negation. r=ehsan 2012-10-05 01:05:27 -04:00
Jeff Muizelaar
ac8fdf1333 Bug 792954. Add a WeakPtr implementation to use instead of nsISupportsWeakReference. r=joe,ehsan,Waldo
This patch also replaces the usage of nsISupportsWeakReference in RasterImage as an example.

--HG--
extra : rebase_source : ac6a039dcc3227a04ac4c2221f38856bb308c695
2012-10-04 15:45:07 -04:00
Andrew Quartey
dbfbcb197b Bug 792581 - part 4: Replace LL_GE_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
816b3752e7 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Nathan Froyd
2a14d9b274 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Nathan Froyd
413535eb4a Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers.  But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
Nathan Froyd
d84d3e02dd Bug 796119 - part 1: don't use PR_BIT in pldhash.h; r=ehsan 2012-10-01 17:04:37 -04:00
Mounir Lamouri
30cf3fce2c Bug 795703 - Do not assert when calling do_GetWeakReference() on a nsISupport not capable of that. r=smaug,dougt 2012-10-03 10:38:46 +01:00
Ehsan Akhgari
a7ce3ce7ca Bug 792649 - Make the simplest of Web Audio tests work without audio playback for now; r=bzbarsky 2012-09-24 23:31:58 -04:00
Ehsan Akhgari
bd2885b68c Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms 2012-10-02 23:16:36 -04:00
Nathan Froyd
c2fddb8f07 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Nathan Froyd
d229c75d1c Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers.  But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
Nathan Froyd
8559ddb87a Bug 796119 - part 1: don't use PR_BIT in pldhash.h; r=ehsan 2012-10-01 17:04:37 -04:00
Ms2ger
b138fe0e97 Bug 792379 - Don't include prtypes.h in base/basictypes.h; r=cjones 2012-10-02 10:24:12 +02:00
Isaac Aggrey
00ccc3bc2e Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan 2012-09-30 21:10:22 -05:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
35bc9a72e8 Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Makoto Kato
3acf1dcf48 Bug 786579 - Remove old MSVC (<=2003) support. r=khuey 2012-09-28 16:02:40 +09:00
Boris Zbarsky
96e28c8dd5 Bug 793253. Infallible TArrays should really be infallible. r=jlebar 2012-09-22 22:04:54 -04:00
Kyle Huey
0482dbb617 Bug 753659: Make refcounting threadsafety assertions fatal. r=bsmedberg 2012-09-22 12:45:44 -07:00
Daniel Holbert
43cce6d052 Bug 792634: Give nsDequeFunctor a virtual destructor. r=bsmedberg 2012-09-21 11:27:27 -07:00
Ehsan Akhgari
8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Steve Workman
08b092b0f9 Bug 790807: Add 64 bit nsAString::ToInteger; r=bsmedberg 2012-09-17 21:10:50 -04:00
Koosha Khajeh Moogahi
dcf81f4fb0 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Gian-Carlo Pascutto
4af694ef21 Bug 791301 - Generic fallocate code is broken for files smaller than system block size. r=taras 2012-09-17 13:27:24 +02:00
SADINENI RAVI CHANDRA
af4b8a1a7b Bug 720804: Remove unused variables dolPt and fmt from nsTextFormatter.cpp. r=bsmedberg 2012-09-10 23:52:52 -07:00
Ryan VanderMeulen
4be26076be Merge inbound to m-c. 2012-09-08 21:10:36 -04:00
Ehsan Akhgari
9240dcfa61 Bug 789711 - #include mozilla/StandardInteger.h instead of stdint.h to fix building with MSVC9 and lower; r=me 2012-09-08 14:44:33 -04:00
Olli Pettay
db1899be76 Bug 784563 - Investigate being lazier about removing things from the purple buffer, r=mccr8 2012-09-08 13:46:48 +03:00
Ehsan Akhgari
f4a93b7422 Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00
Ehsan Akhgari
188c0c5257 Backout changeset f18c63c99be6 (bug 789257) for breaking the builds 2012-09-06 18:47:19 -04:00
Ehsan Akhgari
116033e8c5 Bug 789257 - Remove some unneeded includes on Windows; r=bbondy 2012-09-06 18:12:45 -04:00
Edwin Flores
ec00b3674e Bug 719286 - Add float hash key type r=roc 2012-09-06 16:58:46 +12:00
Randell Jesup
3a12bbdccb Bug 773151: provide back-compatibility for external API code using nsCAutoString CLOSED TREE r=bsmedberg 2012-07-14 00:01:09 -04:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Luqman Aden
35d92e4b27 Bug 786008 - Add a debug check to make sure that QueryInterface implementations always handle nsISupports; r=ehsan 2012-08-28 12:33:47 -04:00
Andrew McCreight
fbe861f103 Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug 2012-08-27 10:41:04 -07:00
Andrew McCreight
c063a3e54c Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.

This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.

nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over.  See bug 774874.
2012-08-24 09:50:06 -07:00
Andrew McCreight
d0e1cf9ab3 Bug 750570, part 3 - Remove unused stabilizeForDeletion argument. r=smaug
This argument isn't used, and would have to have its type changed
to support native purple buffer participants, so we just remove it.
2012-08-24 09:50:06 -07:00
Andrew McCreight
d5b4c64064 Bug 750570, part 2 - Add purple buffer support for non-nsISupports classes. r=smaug
We add a new field to purple buffer entries, to store the participant for
non-nsISupports classes. For nsISupports, we store NULL instead. The participant
has to be passed into Suspect2.

In the cycle collector itself, we generalize canonicalization to handle the
possibility that we can just grab the participant directly from a field,
rather than needing to QI something.

Most of the patch is just routing around this extra pointer.
2012-08-24 09:50:06 -07:00
Andrew McCreight
56b160f693 Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug
All CC classes are potentially cycle collectable, so we need
to implement this function on the participant for all CC classes.
2012-08-24 09:50:06 -07:00
Ehsan Akhgari
e368dc9c85 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
1099676e48 Bug 779687 - Add detection for ARMv7 CPUs. r=dougt 2012-08-21 13:20:46 +02:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ms2ger
5f4593aa2e Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Ms2ger
75ab7efb95 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Ms2ger
1d18535516 Bug 780387 - Part a: Stop using PRPtrdiff; r=bsmedberg 2012-08-09 09:09:31 +02:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Nathan Froyd
4328d1be09 Bug 778220 - remove $(wildcard *.$(OBJ_SUFFIX)) calls from xpcom Makefiles; r=glandium 2012-07-27 14:15:01 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian R. Bondy
81a37e2002 Bug 773518 - Platform code for lowering IO prioritization. r=bsmedberg 2012-07-25 10:25:08 -04:00
Joshua Cranmer
a1186c1020 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Aryeh Gregor
65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mike Hommey
bb8a2b201b Bug 775424 - Make cycle collection vtables rodata. r=smaug 2012-07-23 07:42:23 +02:00
Bobby Holley
9ecd9b7270 Bug 771074 - Introduce pointer wrapping mechanism for hold references to pointers off-main-thread. r=bsmedberg 2012-07-13 16:47:14 +02:00
Bobby Holley
448c48c20e Backed out changeset 784d3448dfe3 (Bug 771074) for windows bustage. a=me 2012-07-13 15:10:40 +02:00
Bobby Holley
17d78cfdd5 Bug 771074 - Introduce pointer wrapping mechanism for hold references to pointers off-main-thread. r=bsmedberg 2012-07-13 14:54:45 +02:00
Bobby Holley
95fef51c28 Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv 2012-07-13 14:33:25 +02:00
Aryeh Gregor
c78113906d Bug 771873 part 2 - Assert on addition overflow in nsTArray::RemoveElementsAt; r=bsmedberg 2012-07-09 11:13:23 +03:00
Ehsan Akhgari
529270a8ba Bug 772738 - Avoid "unused variable 'tmp'" warnings for empty CC traverse method implementations; r=smaug 2012-07-11 00:26:56 -04:00
Ehsan Akhgari
1bdfc194e2 Backout changeset 34c8a2369cbc (bug 771266) because the fastcall annotation actually matters 2012-07-05 18:19:07 -04:00
Ehsan Akhgari
5906a56d51 Bug 771266 - Part 2: Remove the fastcall annotation from ~nsCOMPtr_base, because it doesn't mean anything now that it's inline; irc-r=Neil 2012-07-05 16:26:59 -04:00
Ehsan Akhgari
6236bad8d7 Bug 771266 - Inline nsCOMPtr_base's destructor; r=jlebar 2012-07-05 15:12:13 -04:00
Benoit Jacob
e3783dda32 Bug 754572 - add option to use fatal assertions in NS_CheckThreadSafe, use it in nsBaseScreen and nsScreenManagerAndroid - r=bsmedberg 2012-07-05 10:32:10 -04:00
Benoit Jacob
72a25f630d Bug 754572 - let NS_CheckThreadSafe(x,y) be empty in XPCOM_GLUE case, as opposed to letting it evaluate to (x,y) - r=bz 2012-07-05 10:14:09 -04:00
Ms2ger
afc7a3b381 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
L. David Baron
9e2b8313b4 Back out half of the previous patch for bug 709747, since the nsCOMPtr<nsISupports>::forget(nsISupports**) specialization is substantially different from nsCOMPtr<T>::forget(I**), and uses swap which already does the needed logging. 2012-06-29 22:50:45 -07:00
Kyle Huey
a13be59eca Bug 709747: Fix COMPtr logging for .forget(). r=dbaron 2012-06-29 10:10:31 -07:00
Bonnie Surender
2b42bacc22 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
7a6a991007 Bug 765326 - atom-table numbers should include the static atom table; r=njn 2012-06-15 15:51:42 -04:00
Oleg Romashin
1100114507 Bug 767034 - xpcom/glue/arm.cpp:165: error: expected declaration before '}' token. r=derf 2012-06-21 13:01:22 -07:00
Mike Hommey
894a244c4f Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Benjamin Smedberg
7b269a47ba Bug 755724 Part C - Move ScopedAppData into the XPCOM glue, r=glandium
--HG--
rename : toolkit/xre/nsAppData.cpp => toolkit/xre/CreateAppData.cpp
rename : toolkit/xre/nsAppData.cpp => xpcom/glue/AppData.cpp
extra : rebase_source : 6223397345e77b00f14d93a1f188c042fc5f89ea
2012-06-08 08:41:30 -04:00
Mike Hommey
b95d1d1421 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Makoto Kato
0ab8670a51 Bug 763378 - arm detection should have correct define when -mfpu=neon on gcc or on MSVC. r=tterribe 2012-06-19 12:17:43 +09:00
Mike Hommey
cc362780fd Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
e76a671d8e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Mike Hommey
41e8007adc Fixup for bug 616262 to avoid Windows PGO bustage. r=me 2012-06-15 10:49:53 +02:00
Mike Hommey
bda3a28b5d Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Jim Mathies
2bc95dca5d Bug 761279 - Temporary work around for a VS 2012 RC compiler crash in nsTArray's Init. r=bsmedberg 2012-06-13 08:37:24 -05:00
Ehsan Akhgari
0c37360e52 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (remaining XPCOM parts); r=bsmedberg
--HG--
extra : rebase_source : 578d3ab1fefa2f2268069790a6a75db4580991b2
2012-06-12 23:08:53 -04:00
Ehsan Akhgari
df3797a6e7 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Andrew McCreight
aa90a88409 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Ehsan Akhgari
ec99d74c58 Bug 737056 - Add some documentation on the mozilla::Version API; r=sparky
DONTBUILD
2012-06-07 17:55:46 -04:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Jacek Caban
3177e8e330 Bug 759061 - nsINIParser.cpp fails to compile on mingw r=tabraldes 2012-05-31 16:09:36 +02:00
Cameron McCormack
75dbe30fac Fix a couple of typos in comments. No bug, no review. 2012-05-31 10:32:17 +10:00
Josh Matthews
4a1921cd15 Bug 722845 - Part 2: Generalize channel private browsing information to a PB consumer interface. r=jduell 2012-05-24 16:31:54 +01:00
Tim Abraldes
e58929288d bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg 2012-05-23 10:09:10 -07:00
Jim Mathies
025f49633e Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Benjamin Smedberg
520acef26d Bug 734847 - Make nsTHashtable and its derivatives be infallible to OOM by default; code which is prepared to handle OOM conditions must use the explicit fallible_t() methods, r=jlebar
--HG--
extra : rebase_source : 4acfaa41aa572c570e4627250f2d3ec2e1817e93
2012-05-18 12:42:01 -04:00
Ms2ger
f64d1ecb9a Bug 754643 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce f=roc 2012-05-18 10:29:38 +02:00
Doug Turner
9ec5a09e8c Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Andrew McCreight
07f9a7c5cb Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
8f774dbad9 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Andrew McCreight
033fbde830 Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv 2012-04-25 08:10:09 -07:00
Peng Kang
3998834626 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 23:22:29 -04:00
Ehsan Akhgari
443e8334a9 Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage 2012-04-18 17:05:06 -04:00
Peng Kang
07a23d4ade Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 16:31:59 -04:00
Myk Melez
2eea1475c4 bug 725408 - implement WebappRT launcher/shell; r=bsmedberg 2012-04-17 07:11:53 -07:00
Mark Capella
bb0cb90d39 Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
David Rajchenbach-Teller
6f228de18f Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
f8c8184e2b Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
b219309fc2 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
Mark Capella
bfa59371ce Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Cameron McCormack
2ea93b529b Bug 739129 - Add LastElement and SafeLastElement functions to nsTArray. r=dbaron 2012-03-27 09:48:25 +11:00
Andrew McCreight
d1db0b69b9 Bug 738769 - only unmark purple if purple. r=smaug 2012-03-26 09:57:29 -07:00
Jonathan Kew
34b9df2a69 bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
bcd2963e13 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
554919925b 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
aa2bb6dae0 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
1324886d80 bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
65d37d97ce 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
702f8921b8 Bug 617947 - Merge 'class nsQuickSortComparator' into 'nsTArray'. r=bsmedberg 2012-03-21 19:52:24 -04:00
Mounir Lamouri
979c1d9364 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
5d52d341f9 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
9b15a69d3e Merge from mozilla-central 2012-03-17 12:32:28 -04:00
Mounir Lamouri
e8b1ffee78 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
261786f710 No Bug: Shut pldhash up for the 'probably' case. rs=bz 2012-03-16 10:09:14 -07:00
Mike Hommey
55cf56f3bf 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
28f6f080e9 Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
f764b87240 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
1fc1dc1879 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
83fd0cc50a No bug - Remove unused variables origStr from HashString; r=themaid 2012-03-11 09:48:18 +01:00
Nicholas Nethercote
f5e01f1737 Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Ed Morley
3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar
7e343a6c1d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
e2b30b7a56 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
9cf4ac042d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Jesse Ruderman
f4c11108ff Bug 732607 - make nsTArray assertions fatal. r=bz 2012-03-03 13:16:13 -08:00
Justin Lebar
88875b0e3a 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
da738c5677 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
cc9d118a70 Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones 2012-02-16 04:11:34 +01:00
Nathan Froyd
f795f3de9b Bug 700659 - add a Contains method to nsTHashtable; r=bsmedberg 2012-02-22 06:32:13 -08:00
Brian R. Bondy
dbab800567 Bug 708690 - Updater enhancements for product information blocks. r=rstrong 2012-02-24 16:29:41 -05:00
Justin Lebar
fc32ec463a Bug 729453 - Decrease stack allocation in nsTArray::SwapArrayElements from 8KB to 64B. r=roc 2012-02-22 12:26:21 +01:00
Mike Hommey
4221a257f2 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
c4adf5736e Bug 727313 - avoid warnings, add case for skippable CC macros. r=smaug 2012-02-15 15:28:42 -08:00
Olli Pettay
a19334a3f9 Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8 2012-02-13 22:59:14 +02:00
Raúl Porcel
27ea55eda1 Bug 724615 - Fix TARGET_CPU usage on ARM. r=benjamin 2012-02-06 22:44:52 +01:00
Nicholas Nethercote
b5b0bf9fbe 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
c27428d068 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
7559a70a04 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Makoto Kato
36c9cf4197 Bug 717526 - fix warning of nsStringAPI.h on Win64. r=dbaron 2012-01-25 15:43:27 +09:00
Marco Bonardo
73a9ed5c84 Bug 718999 - make "You can't dereference a NULL nsCOMPtr" assertions fatal.
r=bsmedberg
2012-01-24 20:37:48 +01:00
Olli Pettay
ccc5ef850d 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
0587da37fd 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
add2f3c00b Bug 713381 - Add nsDeque::RemoveObjectAt(index). r=bsmedberg 2012-01-20 07:29:38 +13:00
Ted Mielczarek
3a5926f308 bug 706554 - Add nsRefPtrHashKey. r=bsmedberg 2011-11-30 16:30:55 -05:00
Chris Pearce
7894822b60 Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout 2012-01-19 11:56:54 +13:00
Chris Pearce
b46f2ec659 Bug 713381 - Add nsDeque::RemoveObjectAt(index). r=bsmedberg 2012-01-19 09:15:56 +13:00
Olli Pettay
708edb326d Bug 718634 - Move CanSkip* to nsCycleCollectionParticipant, r=mccr8
--HG--
extra : rebase_source : 7eb8cadf14e2d38d689e74a354d6edee6f7f9d20
2012-01-17 18:32:19 +02:00
Olli Pettay
a10e38916c Bug 716518 - Add skip* phases to cycle collector, r=mccr8
--HG--
extra : rebase_source : c53a42bbbc430384df37d0aeb0d882c09665f672
2012-01-14 18:58:05 +02:00
Vladan Djeric
df0f5abcb3 Bug 714450 - Mark the DB whitelist in Telemetry immutable after it is initialized. r=benjmain 2012-01-10 15:31:34 -05:00
Michael Kohler
8e7d457186 Bug 711818 - MOZILLA_GUARD_OBJECT_NOTIFIER* should use a MOZ_ prefix to follow MFBT style 2012-01-10 00:29:30 -05:00
Mounir Lamouri
bb7d3a80d5 Bug 716338 - Use FAIL_ON_WARNINGS in content/html/content/src. r=bz 2012-01-09 18:58:30 +01:00
Ed Morley
14d7ce0332 Backout b02402b95e5c (bug 708277) for build failures on all platforms 2011-12-22 11:07:12 +00:00
Thomas Prip Vestergaard
62e57cac37 Bug 708277 - Replace PR_MAX with NS_MAX. r=roc 2011-12-22 11:47:59 +01:00
Jeff Walden
a158abd5b6 Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke 2011-12-19 16:58:30 -05:00
Jeff Walden
62f48d8793 Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Jeff Walden
55d623be48 Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
--HG--
extra : rebase_source : e87978380d0821746e7df78dfacc7e381aefccb3
2011-12-17 22:47:45 -05:00
Matt Brubeck
347ae519fe Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures 2011-12-19 10:43:08 -08:00
Jeff Walden
d6fa425c6b Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
--HG--
extra : rebase_source : 8ca811fe7427626e39f677a672986a27829b0feb
2011-12-17 22:47:45 -05:00
Nicholas Nethercote
9dc2c72bd7 Bug 697335 - Another memory reporter for the startup cache. r=taras. 2011-12-18 16:20:36 -08:00
Nicholas Nethercote
5f03e241e2 Bug 697335 - Add nsBaseHashtable::SizeOfExcludingThis(). r=bz. 2011-12-18 14:39:47 -08:00
Nicholas Nethercote
0089711fa7 Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Ms2ger
b2b42ad049 Bug 709747 - Support nsCOMPtr<T>::forget(I**); r=bsmedberg 2011-12-18 10:39:22 +01:00
Nathan Froyd
0071f7a006 Bug 709205 - use GetObserverService in xpcom; r=dougt 2011-12-09 14:36:17 -05:00
Kyle Huey
2dc09d69dd Backout Bug 709657 because it doesn't help our problem. 2011-12-14 08:01:49 -05:00
Ehsan Akhgari
8165dcad8a Bug 710473 - Backout the nsDerivedSafe part from bug 666414 to make PGO builds on Windows work again; r=roc (cause he volunteered) a=xul-diet 2011-12-13 20:03:24 -05:00
Kyle Huey
4ef77dbef6 Bug 709657: Split uconv out of libxul. r=me a=me CLOSED TREE
--HG--
rename : intl/uconv/src/Makefile.in => intl/uconv/datamodule/Makefile.in
rename : intl/uconv/src/nsUConvModule.cpp => intl/uconv/datamodule/nsUConvDataModule.cpp
2011-12-13 10:48:16 -05:00
Andrew Quartey
6fe0fd072a Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Nicholas Nethercote
8ea852b335 Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky 2011-12-08 21:01:52 -08:00
Jeff Walden
84471e527a Bug 707352 - Remove NS_FINAL_CLASS completely. r=cjones 2011-12-05 17:10:05 -05:00
Nicholas Nethercote
c14cf2fc1c Bug 704723 - Add memory reporter for XPConnect. r=mrbkap. 2011-12-05 14:24:28 -08:00
Rafael Ávila de Espíndola
3c3fda4257 Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Nicholas Nethercote
6c6258e659 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Atul Aggarwal
6f23bb883b Bug 686775 - Matching external API version of StripWhitespace with internal version by adding stripping of \b. r=bsmedberg 2011-11-06 20:22:02 +05:30
Andrew McCreight
5b34144669 Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv 2011-11-24 07:35:56 -05:00
Jeff Walden
df2b7cbc5c Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Kyle Huey
814cd8be1f Fix Bug 700512. r=sicking,bsmedberg 2011-11-18 10:19:44 -05:00
Ms2ger
5ba4677d3d Bug 672796 - Move MOZILLA_GUARD_OBJECT_NOTIFIER_* out of AutoRestore.h; r=khuey 2011-11-16 08:50:19 +01:00
Gregory Szorc
d0e48e7c69 Merge b-s to m-c 2011-11-10 15:15:29 -08:00
Justin Lebar
ddd947bba0 Bug 701210 - nsTArray::SizeOf() should use malloc_usable_size. r=roc 2011-11-09 20:40:09 -05:00
Ed Morley
4163fb7744 Merge m-c to b-s. 2011-11-08 23:18:09 +00:00
Gregory Szorc
1a1f7b30ae Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Boris Zbarsky
7b835d497d Bug 697917. Avoid atomizing the token for nsDOMTokenList containment tests. r=smaug 2011-10-28 13:06:39 -04:00
Mark Banner
18642c515f Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Justin Lebar
fbe6419352 Bug 164580 - Back out fix. It's not much (if at all) faster and may cause problems on some architectures. r=glandium 2011-10-16 15:28:36 -04:00
Boris Zbarsky
03b0b4eeb8 Bug 696195. Add single-argument SafeElementAt specializations for nsTArrays of smart pointers. r=jlebar 2011-10-25 12:58:01 -04:00
Mounir Lamouri
f354a15e76 Bug 678694 - (5/7) Add a non-XPCOM observer system. sr=cjones
This adding an Observer<T> class and an ObserverList<T> class. The former can
get notifications. The later have an array if Observer<T>s and can Broadcast
notifications to them.
2011-11-02 14:47:32 +01:00
Ehsan Akhgari
92064e6d3f 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
Jonathan Kew
b679a433d9 bug 671297 - add memory reporting for textRuns. r=roc,jlebar 2011-10-14 08:06:35 +01:00
Justin Lebar
975f0d3e57 Bug 682437 - Add memory reporter for History::mObservers. r=bz
--HG--
extra : rebase_source : f280a6beefd32319816ff8720f7bf65c04343b1e
2011-09-14 17:37:45 -07:00
Ehsan Akhgari
d306463c79 Bug 689397 - Work around the broken-ness of gcc4.2 on Mac which causes the protection implemented in bug 666414 not take effect; r=bsmedberg 2011-09-26 20:45:25 -04:00
Ehsan Akhgari
ce7741a910 Bug 692782 - Bug 690670 broke clang builds; r=cjones 2011-10-07 15:31:12 -04:00
Justin Lebar
f89c7adf4f Bug 689433 - Align nsAutoTArray<E> to E's natural alignment. r=roc
--HG--
extra : rebase_source : f7062f251f6905a58145ed6d94680f076dabbef7
2011-10-05 09:11:17 -04:00
Chris Jones
31b4fa2a5b Bug 690670, part 0: Add helpers for copy-constructing auto arrays from regular arrays. r=roc
--HG--
extra : rebase_source : e586553e4a2cf344f72347e195f42762f0183c99
2011-10-05 15:15:45 -07:00
Michael Wu
d2b70213ac 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