Commit Graph

777 Commits

Author SHA1 Message Date
Ehsan Akhgari
537ebfa2f3 Bug 865550 - Unlink AudioBufferSourceNode members before AudioNode; r=mccr8 2013-04-25 16:52:52 -04:00
Vasil Dimov
d9d0b75034 Bug 860827 - Add unit tests for ReadSysFile(). r=dhylands, r=BenWa 2013-04-23 13:55:46 -04:00
Ryan VanderMeulen
7975ea6c19 Backed out changeset a945d76d4e4e (bug 860827) for Windows bustage on a CLOSED TREE. 2013-04-18 09:09:00 -04:00
Vasil Dimov
b2011b7017 Bug 860827 - Add unit tests for ReadSysFile(). r=dhylands, r=BenWa 2013-04-18 08:20:01 -04:00
Sudheera Palihakkara
e0263217d5 Bug 327598 - Set the return value of RemoveElementAt to void instead of bool. r=Neil 2013-04-18 07:40:09 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Joshua Cranmer
a74766f285 Bug 856108 - Port static analyses to clang, part 2f: use MOZ_STACK_CLASS in xpcom. r=bsmedberg 2013-04-11 22:21:40 -05:00
Trevor Saunders
2163169c68 bug 856790 - make nsTArray::EnsureLengthAtleast() return void r=jlebar 2013-04-01 16:42:54 -04:00
Boris Zbarsky
07a59e8ded Bug 857645. Make it possible to copy-initialize an nsCOMPtr<T> from an already_AddRefed<U> as long as U inherits from T. r=ehsan 2013-04-03 22:33:34 -04:00
ISHIKAWA, Chiaki
d9aad7dce1 Bug 857640 - Fix to IntentionalCrash.h when getenv(XPCOM_MEM_BLOAT_LOG) returns NULL. r=bsmedberg 2013-04-08 14:35:31 -04:00
Ehsan Akhgari
bfb42c373e Bug 856455 - Make nsCOMArray::SetCapacity return void; r=bsmedberg
--HG--
extra : rebase_source : 38cdef904f9b7fc33bd3f41bd19b1778dfbd7990
2013-03-31 16:06:18 -04:00
Andrew McCreight
bcd9623a38 Bug 856313 - Clean up some Traverse/Unlink declarations. r=smaug 2013-04-02 09:48:59 -07:00
Phil Ringnalda
177cee569f Back out 8396d7543197 (bug 857645) for build bustage
CLOSED TREE
2013-04-04 22:27:19 -07:00
Boris Zbarsky
05d3fe3059 Bug 857645. Make it possible to copy-initialize an nsCOMPtr<T> from an already_AddRefed<U> as long as U inherits from T. r=ehsan 2013-04-05 00:57:39 -04:00
Kyle Huey
ca143c5fff Bug 849654: Kill nsRefPtrHashtableMT. r=bsmedberg 2013-04-03 09:54:35 -07:00
Kyle Huey
7709d7e26d Bug 855804: Add hashtable helpers for cycle collection. r=bz 2013-04-03 09:49:17 -07:00
Trevor Saunders
85fe5af0bc bug 856696 - make nsTArray::SwapElements() return void r=jlebar 2013-04-01 13:43:34 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ehsan Akhgari
26e9dbb207 Bug 853548 - Make nsTArray::SetCapacity and InfallibleTArray::SetCapacity return void; r=jlebar 2013-03-21 15:02:20 -04:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Vasil Dimov
ecad0ec815 Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg 2013-03-27 11:19:09 -04:00
Mike Hommey
ffa61edd96 Bug 852950 - Kill libxpcom. r=bsmedberg
Also refactored the xpcom standalone glue to reside in a single file and
removed its use of realpath().

--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Hommey
5354067c63 Backout changeset f12e5c87adf6 (bug 852950) because it breaks running from dist/bin 2013-03-20 23:59:45 +01:00
Mike Hommey
cadfe73f5b Bug 852950 - Kill libxpcom. r=bsmedberg
--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders
7b5cc7e54d bug 852379 - remove unneeded prlock.h includes r=Ms2ger 2013-03-16 22:46:40 -04:00
Ms2ger
c4380f4933 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
f598c02361 Bug 845374 - Part a: Sort includes and forward declarations in nsContentUtils.{h,cpp}; r=khuey 2013-03-17 08:55:08 +01:00
Daniel Holbert
b76c363e13 Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
Bobby Holley
26516325fa Bug 850054 - Add opt-out for strict checking in nsMainThreadPtrHolder. r=bsmedberg 2013-03-15 10:41:48 -07:00
Bobby Holley
5093adb764 Bug 850054 - Do some more work on nsMainThreadPtrHandle. r=bsmedberg 2013-03-15 10:41:48 -07:00
Kyle Huey
2fb58dfb85 Bug 714453: Make pldhash assertions fatal. r=dbaron 2013-03-14 09:24:52 -07:00
Kyle Huey
c0cec0dc5b Bug 849654: Kill nsDataHashtableMT. r=bsmedberg 2013-03-12 14:26:57 -07:00
Kyle Huey
7f0da9e89b Bug 849654: Kill nsClassHashtableMT. r=bsmedberg 2013-03-12 13:33:40 -07:00
Trevor Saunders
2de09e4e6b bug 846619 - add some static checking for use of _INHERITED cc class macros r=smaug 2013-02-28 18:11:18 -05:00
Aaron Klotz
a66b11d089 Bug 845907: Adds generic ReadAhead functions r=glandium 2013-03-03 18:56:03 -07:00
Aaron Klotz
4cdabac656 Backed out a40244b87c7a (bug 845907) 2013-03-02 17:08:05 -07:00
Aaron Klotz
fcb29882fd Bug 845907: Adds generic ReadAhead functions r=glandium 2013-03-02 16:13:38 -07:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
a8e6b873d4 Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted 2013-02-25 13:20:02 -08:00
Trevor Saunders
e49a019dfb bug 842078 - fix iteration of mChildrenList r=smaug 2013-02-20 16:33:44 -05:00
Cykesiopka
8c5e6b3f99 Bug 267598 - Fix some comments and arg names in nsISupportsUtils.h. r=bsmedberg 2013-02-27 09:23:54 -05:00
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
Kyle Huey
409e1cc43d Bug 845441: Remove DEBUG_CC. r=mccr8 2013-02-26 13:34:32 -08:00
Justin Lebar
a9c8386f3a Bug 844820 - Fix two benign races in nsTArray around sEmptyHdr. a=bz 2013-02-26 11:24:41 -05: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
Andrew McCreight
5ec424dfd3 Bug 807713 - add operator[] for nsTObserverArray. r=bsmedberg 2012-11-02 17:57:05 -07:00
Andrew Quartey
96949afbbf Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Magnus Melin
620b7276fd Bug 804664 - remove typedef nsAutoCString nsCAutoString. r=benjamin 2012-10-23 20:53:15 +03:00