Catalin Iacob
4f03e5bb1a
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Nicholas Nethercote
b7f77bbe0f
Bug 884649 (part 2) - Remove jsdhash.{h,cpp}. r=luke.
2013-06-19 16:57:11 -07:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Chris Peterson
e3568af6d2
Bug 883729 - Fix -Wnull-conversion warnings in xpcom. r=bsmedberg
2013-06-13 20:57:47 -07:00
Kyle Huey
55af825948
Bug 882162: Part 9 - Kill nsCycleCollectionJSRuntime. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
c094a9abfa
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-18 12:01:26 -07:00
Jon Coppeard
586c7b4514
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Jon Coppeard
a2eed15990
Bug 877762 - GC: Post-barrier cycle collector participants - 6 Convert jsid and JS::String to use Heap<T> r=smaug
2013-06-18 11:00:38 +01:00
Jon Coppeard
59d5490ab4
Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Jon Coppeard
82483ce6e9
Bug 877762 - GC: Post-barrier cycle collector participants - 4 Convert JSScript* to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Jon Coppeard
6fc4abbb9b
Bug 877762 - GC: Post-barrier cycle collector participants - 3 Add hashtable type that stores Heap<T> values r=jlebar
2013-06-18 11:00:37 +01:00
Jon Coppeard
c8901a6513
Bug 877762 - GC: Post-barrier cycle collector participants - 2 Stop nsTArray memmoving Heap<T>s r=jlebar r=bz
2013-06-18 11:00:37 +01:00
Ryan VanderMeulen
ca0cc81efe
Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
...
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Mike Shal
7bc33f0c21
Bug 882738 - Remove SRCS_IN_OBJDIR from Makefile.in; r=joey
...
From a071ba8cffdd4584b3cd31eae207e5b76b9e9c95 Mon Sep 17 00:00:00 2001
2013-06-13 13:49:01 -04:00
Steve Workman
9cd6785582
Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz
2013-06-13 10:42:48 -07:00
Benoit Girard
7853228760
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Ed Morley
dbe9ed7b72
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Kyle Huey
fa511cb934
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-09 16:02:02 -07:00
Kyle Huey
b8b637e901
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
8ffe7e2c57
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-06 10:23:45 -07:00
Trevor Saunders
0230640bc6
bug 877850 - fix static constructors in xpcom/ r=jlebar
2013-05-30 17:20:02 -04:00
Andrew McCreight
1972c22d09
Bug 875557 - Make nsDeque infallible by default. r=bsmedberg
...
Also remove some unused return values.
2013-05-28 16:57:54 -07:00
Phil Ringnalda
29fb49d007
Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
...
CLOSED TREE
2013-05-31 07:39:56 -07:00
Benoit Girard
6adb6cba1f
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Phil Ringnalda
68025a3c2f
Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
...
CLOSED TREE
2013-05-29 23:42:20 -07:00
Benoit Girard
9bd97dc15d
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
Andrew McCreight
eb059d91b2
Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug
2013-05-21 16:23:53 -07:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jon Coppeard
8a68ce4b84
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Phil Ringnalda
25df1c663c
Merge m-c to a CLOSED TREE m-i
2013-05-25 20:44:02 -07:00
Phil Ringnalda
968459e440
Bug 876159 - Remove warnings that overflow maximum log size in CC-during-OOM cases, r=mccr8 CLOSED TREE
2013-05-25 14:40:09 -07:00
Justin Lebar
9f17f68669
Bug 832609 - Add mozilla::OffTheBooksMutex, which is just like mozilla::Mutex, except it's not leak-checked. r=khuey
...
--HG--
extra : rebase_source : 2c06334a5db4c8b57c9a3480a83e543dd98a9b20
2013-05-24 13:10:47 -04:00
Aryeh Gregor
99703ffbe7
Bug 859817 - Eliminate implicit conversion from raw pointer to already_AddRefed; r=bz sr=bsmedberg
2013-04-10 17:22:53 +03:00
Andrew McCreight
45b08b78f1
Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug
2013-05-20 13:08:11 -07:00
Derrick Moser
e6bc675453
Bug 872497 - Remove problematic "optimization" in NS_QuickSort. r=jlebar
...
This change allows us to avoid O(n^2) performance when partially sorted data
is given to NS_QuickSort. We no longer attempt an insertion sort if the input
appears pre-sorted. This brings the expected performance back to O(n*log(n))
but also eliminates the possibility of O(n) best case performance. Attempts
to achieve O(n) performance should be the responsibility of callers as they
are in a better position to evaluate the costs/benefit trade-off of looking
for special cases that can be sorted quicker.
2013-05-18 15:16:02 -04:00
Andrew McCreight
b13ef63428
Bug 865320 - Move the logic for deciding when to doing a merging CC into the cycle collector. r=smaug
2013-04-29 16:41:41 -07:00
Vasil Dimov
0074878a79
Bug 860827 - Move TEMP_FAILURE_RETRY to FileUtils.h and rename it. r=tbsaunde
2013-05-09 13:42:12 -04:00
Aaron Klotz
12f63ed080
Bug 857830: Part 1 - Ensure that ReadAheadFile's aOutFd is always set when provided. r=glandium
...
--HG--
extra : rebase_source : 8961f16a817a65325b356bd700b29665969f391c
2013-05-07 00:06:14 -06:00
Dave Hylands
49beeaa79d
Bug 867769 - NS_MakeRandomString generates the same string when called twice within the same second. r=bsmedberg
2013-05-02 14:50:11 -07:00
Andrew McCreight
fb7e9aeb76
Bug 798165 - Make nsTimeout more of a real cycle collected class. r=smaug
2013-04-30 10:41:23 -07:00
Andrew McCreight
fd769e05e8
Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
...
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Aryeh Gregor
659b807986
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Aryeh Gregor
eecc44edc5
Bug 859817 - Introduce already_AddRefed.downcast(); r=ehsan
2013-04-21 14:56:06 +03:00
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