Joey Armstrong
7ebe282a64
bug 870407: move CMMSRCS to moz.build (file batch #1 ). r=mshal
2013-06-07 11:43:39 -04: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
Jacek Caban
db3f6c871b
Bug 879703 - Make TimeStampValue(_SomethingVeryRandomHere*) inline. r=tbsaunde
2013-06-06 12:59:18 +02:00
Peter Van der Beken
ff1bc53bf5
Bug 877654 - Remove thisptr offset tables - Remove thisptr table support from XPConnect. r=Ms2ger.
...
--HG--
extra : rebase_source : 9f333a76ba13b518e3a33a230adcdd154606fa1a
2013-05-21 21:59:30 +02:00
Trevor Saunders
0230640bc6
bug 877850 - fix static constructors in xpcom/ r=jlebar
2013-05-30 17:20:02 -04:00
Reuben Morais
48736c4fb4
Bug 877003 - Convert TestSettingsAPI.cpp to a mochitest-chrome. r=fabrice
...
--HG--
extra : rebase_source : d338fc0222346f4ddd043b32d43462c6365f16f5
2013-05-31 15:28:46 -07: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
Trevor Saunders
cbbd41bc09
bug 876515 - make the default constructor for TimeStamp{,Value} constexpr r=froydnj
...
I had to remove the assert in the windows TimeStampValue::TimeStampValue() so
it could be constexpr. another option would be to make the constructors being
constexpr conditional on DEBUG, but that requires a couple ifdefs, and it just
seems simpler to make that constructor private and assume TimeStamp code itself
won't be so dumb as to pass that constructor a meaningful value expecting
something to be done with it.
2013-05-27 17:27:06 -04:00
Landry Breuil
51b43ffb7f
Bug 878171: Fix xptcall build on OpenBSD/amd64 after bug 864774. r=ted
2013-06-01 15:15:46 +02:00
Martin Husemann
672cb82486
Bug 867914: Declare SharedStub as returning nsresult in xptcstubs_sparc64_openbsd.cpp. r=landry
...
Fixes a build issue on NetBSD/sparc64, no apparent fallout on OpenBSD/sparc64
2013-06-01 00:23:09 +02:00
Ryan VanderMeulen
3b2441ab50
Merge birch to m-c.
2013-05-31 11:22:14 -04: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
Ryan VanderMeulen
16c564b736
Merge m-c to birch.
...
--HG--
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
2013-05-30 20:52:56 -04:00
Justin Lebar
20745d46d0
Bug 874065 - On B2G, dmp memory reports to /data/local/tmp/memory-reports, and make that directory have 0777 permissions. r=dhylands
2013-05-30 20:50:36 -04:00
Aaron Klotz
5cf638ca73
Bug 744836: Modify nsTimerEvent to hold its timer reference until the nsTimerEvent itself is destroyed. r=bsmedberg,ehsan
2013-05-30 10:19:18 -06:00
Jacek Caban
e07313c4b9
Bug 864774 - Added missing ASFILES to moz.build. r=glandium
2013-05-30 11:52:02 +02: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
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
Gabor Krizsanits
94a2af0a2c
Bug 875405 - fixing unpushed cx usages. r=bholley
2013-05-30 16:54:46 +02: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
Jon Coppeard
6fec5f0632
Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug
2013-05-29 09:29:39 +01:00
Ryan VanderMeulen
39c4db0fb4
Merge m-c to fx-team.
2013-05-28 21:25:32 -04:00
Julian Seward
004a71f006
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
2013-05-28 14:03:38 +02:00
Joshua Cranmer
3c65985c73
Bug 868285 - Fix static checking builds, part 4: kill dehydra stack checking tests. r=bsmdberg
2013-05-27 16:05:22 -05: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
Andrew McCreight
c87e5231b9
Bug 874258 - Warn if we run shutdown CC more than twice. r=smaug
2013-05-24 11:26:09 -07:00
Andrew McCreight
6ca2dfc7bd
Bug 873764 - Assert when CC runner isn't properly shut down. r=khuey
2013-05-20 10:38:36 -07:00
Mihai Sucan
1611b7310d
Bug 859756 - [browserconsole] Add timestamp to nsIConsoleMessages; r=bz
2013-05-24 21:36:56 +03: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
Shane Tully
e35e83a6aa
Bug 874641 - Fix warning: xpcom/base/nsUUIDGenerator.cpp [-Wsign-compare]. r=bsmedberg
2013-05-24 10:56:45 -07:00
Justin Lebar
d959fc3053
Bug 873801 - Add StaticMutex, which is like StaticAutoPtr<OffTheBooksMutex>, except it's lazily initialized in a threadsafe manner. r=khuey
...
--HG--
extra : rebase_source : aaa9be27be5dfd448f8877073a44d4b29b02d70f
2013-05-24 13:10:47 -04: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
Bobby Holley
91448a9dac
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06: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
Aryeh Gregor
18866d81dc
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Chris Peterson
81b2f45d57
Bug 873960 - Avoid unnecessary idle thread notifications when changing thread limits. r=bsmedberg
2013-05-16 09:02:46 -07:00
David Zbarsky
36c8cfe5b7
Bug 872678: Mark nsStaticNameTable immutable after initialization to fix assertions r=dbaron
2013-05-21 18:22:45 +08: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
1ef2e7271f
Bug 873664 - remove two unused fields from nsCycleCollector.cpp r=smaug
2013-05-17 16:59:34 -07:00
Gregory Szorc
14c4938355
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ryan VanderMeulen
9a0ba8199c
Merge m-c to inbound on a CLOSED TREE.
2013-05-17 17:34:54 -04:00
Ryan VanderMeulen
0b28853762
Backed out changesets 073791f33ab7 and 7ac5779a426c (bug 859756) for causing intermittent Windows build failures.
...
CLOSED TREE
2013-05-17 17:30:20 -04:00
Mihai Sucan
e9c7f9a4ce
Bug 859756 - [browserconsole] Add timestamp, category and window IDs to nsIConsoleMessages; r=bz
2013-05-16 20:23:46 +03:00
Ryan VanderMeulen
94b76c580d
Merge m-c to inbound.
2013-05-17 15:40:53 -04:00
Andrew McCreight
fc3b6fc07a
Bug 866429 - Simplify shutdown cycle collections. r=smaug
2013-04-27 11:45:46 -07: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
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Maria Grazia Alastra
d645d2e812
Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg
2013-05-16 08:26:55 -04:00
Trevor Saunders
6fe37fab39
bug 860027 - rename xptiInterfaceInfoEntry::GetInterfaceInfo() to InterfaceInfo() since it can't return null and make it return an already_AddRefed r=bsmedberg
2013-05-03 21:54:31 -04:00
Trevor Saunders
43181cfc4d
bug 860027 - use entry->GetScriptableFlag() directly instead of sillyness through the nsIInterfaceInfo r=bsmedberg
2013-05-03 18:33:30 -04:00
Trevor Saunders
b53dcf2bff
bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley r=bsmedberg
2013-04-09 16:00:21 -04:00
Joey Armstrong
2dbf79e9a4
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Lukas Blakk
83d112ae3d
Merging in version bump NO BUG
2013-05-13 09:09:39 -07:00
Andrew McCreight
2722beb5e2
Bug 867974 - fail more gently when purple buffer count isn't zero. r=smaug
2013-05-09 13:19:00 -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
Makoto Kato
8dd6291821
Bug 800220 - Part 2. Fix warning error. r=ehsan
2013-05-08 12:47:22 +09:00
Makoto Kato
80436162a3
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Mats Palmgren
40741f4bf9
Bug 867530 - Initialize the poison value in XPCOM startup and annotate the values in crash reporter. r=bsmedberg
2013-05-07 20:48:59 +02:00
Sumedh Shekhar
427e7549ee
Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan
2013-05-08 00:52:52 +09:00
Iivari Äikäs
18ecd9248b
Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt
2013-05-07 10:25:21 -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
Gabriele Svelto
c5cb74f8ec
Bug 793735 - Make XRE_StartupTimelineRecord() generate TimeStamps and modify its callers to use the appropriate timers, r=nfroyd
2013-03-26 11:31:20 +01:00
Gabriele Svelto
8d6ecdb6a0
Bug 793735 - Add functionality to create TimeStamp instances representing the process creation time, r=nfroyd
2013-03-28 11:28:09 +01:00
Andrew McCreight
f1139f8185
Bug 868761 - Remove trailing whitespace from nsCycleCollector.cpp. r=smaug
2013-05-04 08:39:44 -07:00
Matt Brubeck
6a478c802f
Back out changeset e7e44c2d6d72 (bug 860027) because of Ts and MaxHeap regressions
2013-05-03 11:00:24 -07:00
Gregor Wagner
3230f13de0
Bug 852429 - Disable TestSettingsAPI test until bug 862355 is fixed. r=bent
2013-05-03 09:40:10 -07:00
Trevor Saunders
e4d4cce51d
bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley, bsmedberg
2013-04-09 16:00:21 -04: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
Aryeh Gregor
d183f6f9bc
Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz
2013-04-22 14:13:22 +03:00
Andrew McCreight
7353c18515
Bug 863085, part 2 - remove NS_CycleCollectorForget2 from some XPCOM glue. r=bsmedberg
2013-05-01 15:36:03 -07:00
Andrew McCreight
5519d031ac
Bug 863085, part 1 - Gut NS_CycleCollectorForget2 and rename CC::Suspect2. r=smaug
2013-05-01 15:35:13 -07:00
Jeff Walden
d349e7c9e0
Bug 866988 - Remove the HAVE_CPP_PARTIAL_SPECIALIZATION autoconf define, and the test for template specialization working at all. Any compiler not supporting either of these is so incredibly doomed it's not worth the pain of testing them. Plus we use both features liberally without testing these defines first, so they're basically pointless. r=ted
2013-04-13 19:04:38 -07:00
Stephen Kraemer
7b93b707c5
Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander
2013-05-01 15:45:05 -04:00
Honza Bambas
d6c90a7f32
Bug 836869 - Make QueryPerformanceCounter bad leap detection heuristic smarter, r=tellrob, sr=benjamin
2013-05-01 18:57:58 +02:00
Honza Bambas
4577ebe29d
Bug 865459 - Fix localization issue in how visual event tracer stores its timestamps, r=ehsan
2013-05-01 18:57:57 +02:00
Vladan Djeric
09e2368b6a
Bug 867313: 'crash on hang' doesn't always trigger. r=ehsan
2013-04-30 18:39:16 -04:00
Geoff Brown
5931069e78
Bug 865006 - Enable more xpcshell tests on Android; r=jmaher DONTBUILD
2013-04-30 12:38:18 -06: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
a3b48ea542
Bug 864344 - Remove unused code for NS_Alloc failures in the cycle collector. r=smaug
2013-04-30 10:41:23 -07:00
Andrew McCreight
3a1c8cd8d3
Bug 716716 - Add templated way to iterate over purple buffer entries. 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
Joey Armstrong
8e99512c32
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Bobby Holley
67dfb66e7a
Bug 865729 - Use XPConnect directly in C++ unit tests. r=gabor
2013-04-29 11:16:22 -07:00
Andreas Gal
943c3039a9
Bug 862970 - Don't lock images on the active page on B2G. r=jlebar,joe
2013-04-25 18:36:53 -07:00
Ryan VanderMeulen
7c02acfe11
Merge m-c to inbound.
2013-04-26 08:00:50 -04:00
Ryan VanderMeulen
79db1c6ba4
Merge birch to m-c.
2013-04-26 08:00:07 -04:00
Justin Lebar
2815b2958d
Bug 844323 - Prelude part 2: Switch xpcom/base/StaticPtr from NULL to nullptr, and add a necessary include. r=khuey
...
This is necessary to make this header compile in one of the places I use it. Anyway it's the right change.
2013-04-25 20:53:26 -04:00
Andrew McCreight
cbcfef43dc
Bug 865317 - Allow a useful NodePool::Enumerator to be constructed for an empty CC graph. r=smaug
2013-04-25 08:42:44 -07:00
Andrew McCreight
6654ca9f77
Bug 865306 - Add assertions for the initialization of the cycle collector's EdgePool::Iterators. r=smaug
2013-04-25 08:42:44 -07:00
Andrew McCreight
bf5fad0a2d
Bug 837197 - Don't write poison shutdown CC logging. r=smaug
2013-04-25 08:42:44 -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
e0a4cd5848
Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz
2013-04-22 14:13:22 +03:00
Aryeh Gregor
eecc44edc5
Bug 859817 - Introduce already_AddRefed.downcast(); r=ehsan
2013-04-21 14:56:06 +03:00
Makoto Kato
d75d999182
Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg
2013-04-24 16:40:33 +09:00
Ben Turner
0514a30d13
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
2013-03-15 23:58:50 -07:00