Commit Graph

681 Commits

Author SHA1 Message Date
Peter Van der Beken
490e9a4afd Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Trevor Saunders
30a06ffbf3 bug 834894 - remove NS_IMPL_CYCLE_COLLECTION_NATIVE_x macros r=mccr8 2013-01-16 23:36:02 -05:00
Boris Zbarsky
880e764352 Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik 2013-02-13 10:11:53 -05:00
Chris Peterson
481aeddb5f Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg 2013-02-07 20:50:05 -08:00
Jeff Walden
15f60ef632 Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo 2013-02-08 22:59:54 -08:00
Razvan Cojocaru
15c13f8d76 Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
2013-02-08 13:18:49 -08:00
Trevor Saunders
b88a8e6cb9 bug 838565 - cc taf and nsFind r=smaug 2013-01-31 18:46:24 -05:00
Neil Rashbrook
20c220f8b4 Bug 493711 Provide an nsTArray-like API for nsCOMArray r=sicking 2013-02-04 22:05:40 +00:00
Benoit Jacob
86dd08b226 Bug 832831 - Make NS_ASSERT_OWNINGTHREAD_AND_NOT_CCTHREAD fatal - r=khuey 2013-01-25 13:40:38 -05:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
93d3d7b2b4 Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan 2013-01-15 13:22:03 +01:00
Trevor Saunders
e1d9c076e4 bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan 2013-01-10 03:39:40 -05:00
Benoit Girard
0b1123da53 Bug 761135 - Remove XPCOMGlueShutdown. r=benjamin 2013-01-07 16:19:39 -05:00
Mike Habicher
9804a8333a Bug 827841 - don't proxy-release null pointers in nsMainThreadPtrHolder; r=jlebar 2013-01-08 13:40:18 -05:00
Mike Habicher
f53866e76a backing out bug 827841 patch to fix comment 2013-01-10 01:44:18 +01:00
Mike Habicher
163b968cde Bug 828502 - let nsMainThreadPtrHandle::get() handle nullptrs; r=bholley 2013-01-09 18:58:29 -05:00
Mike Habicher
fd1300b8ce 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
6d66ed4072 Bug 827857 - make NS_ProxyRelease() handle null pointers properly; r=jlebar 2013-01-08 13:34:49 -05:00
Boris Zbarsky
3bc70b8c79 Bug 827654. Actually QI to interfaces we implement in nsCancelableRunnable. r=smaug 2013-01-08 09:01:30 -05:00
Mike Habicher
a52c7b00ee Bug 827679 - add return value to nsMainThreadPtrHandle::operator=; r=bholley 2013-01-07 23:09:19 -05:00
Mohit Gahlot
3f72333525 Bug 818106 Fix: ScopedClose now considers errno EINTR.r=dhylands 2013-01-04 08:16:47 +05:30
Trevor Saunders
e3b2aa92a5 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Mark Banner
c4505906c6 Bug 823940 Remove unused nsAutoVoidArray, and cleanup nsVoidArray's support for it. r=bsmedberg. 2012-12-22 09:00:15 +00:00
Neil Rashbrook
7ede8e093a Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking 2012-12-21 10:09:50 +00:00
Neil Rashbrook
9708d4f1a2 Bug 493711 Part 1: switch nsCOMArray from nsVoidArray to nsTArray r=sicking 2012-12-19 21:33:54 +00:00
Justin Lebar
72d9ee54dc Bug 819791 - Part 11: Make nsTArray and friends' copy constructors explicit. r=bz 2012-12-18 20:16:07 -05:00
Justin Lebar
7bef45ba1a 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
900c0a0310 Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz 2012-12-18 20:16:06 -05:00
Boris Zbarsky
b510abf604 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
f8c71d8f54 bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8 2012-12-08 00:08:37 -05:00
Gabriele Svelto
c95ca6c01f 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
231fb39036 Bug 815671 part 10. Make nsTArray constructors explicit. r=jlebar 2012-11-29 11:14:14 -05:00
Boris Zbarsky
e555fcedb4 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
7a9bec59cd Bug 815397 - Clean up Accessibility cycle collector definitions. r=smaug 2012-11-28 16:05:04 -08:00
Mats Palmgren
7dc73374a2 Bug 816162 - Add newline at end of file to fix compile warning. r=mccr8 2012-11-28 19:55:36 +01:00
Andrew McCreight
28e0b1694e 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
033e25a0c1 Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug 2012-11-23 11:13:39 -08:00
Andrew McCreight
0beff55dae Bug 807713 - add warning comment for nsTObserverArray::ElementAt. r=sicking 2012-11-23 10:50:05 -08:00
Ehsan Akhgari
8cca5e4ac6 Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Ed Morley
66e54e6f57 Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage 2012-11-22 17:49:58 +00:00
Benoit Jacob
ec39e2a150 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
b68fb31c87 Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Benoit Jacob
bc758b2b7a Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 2: handmade fixups - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
a1d7e0f511 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
cdce3ce25a Bug 811212 - Make most cycle collector assertions fatal - r=mccr8 2012-11-15 02:32:39 -05:00
Benoit Jacob
cc8ee2b8fb Bug 806279 - CC macros refactoring: part 4: update CC helper macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
ee1217da86 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
d2969fa2d5 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
4a50000d0e 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
034e0ecac8 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