Commit Graph

3718 Commits

Author SHA1 Message Date
Trevor Saunders
0520b649f1 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
ea94e3c31a Bug 878171: Fix xptcall build on OpenBSD/amd64 after bug 864774. r=ted 2013-06-01 15:15:46 +02:00
Martin Husemann
6f387b0c7f 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
bb504e6c5e Merge birch to m-c. 2013-05-31 11:22:14 -04:00
Phil Ringnalda
ea17398276 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Ryan VanderMeulen
6f66a45d3b 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
71dc2b2170 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
363223655e 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
8abf71b1df Bug 864774 - Added missing ASFILES to moz.build. r=glandium 2013-05-30 11:52:02 +02:00
Phil Ringnalda
315cb76195 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
5a4e5c64c2 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
654fe7f8ff Bug 875405 - fixing unpushed cx usages. r=bholley 2013-05-30 16:54:46 +02:00
Benoit Girard
da3a0b92cd 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
6d32ef3678 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Ryan VanderMeulen
3aa3d304f2 Merge m-c to fx-team. 2013-05-28 21:25:32 -04:00
Julian Seward
38e97ed8fa 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
a619c9cfe2 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
d1266ee9b7 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Andrew McCreight
f6ce3cb3e3 Bug 874258 - Warn if we run shutdown CC more than twice. r=smaug 2013-05-24 11:26:09 -07:00
Andrew McCreight
f247075f60 Bug 873764 - Assert when CC runner isn't properly shut down. r=khuey 2013-05-20 10:38:36 -07:00
Mihai Sucan
4e10acc040 Bug 859756 - [browserconsole] Add timestamp to nsIConsoleMessages; r=bz 2013-05-24 21:36:56 +03:00
Mike Shal
6f32ddf61c 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
f53a29e132 Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz 2013-05-27 12:50:49 +01:00
Phil Ringnalda
8b908ce3ea Merge m-c to a CLOSED TREE m-i 2013-05-25 20:44:02 -07:00
Phil Ringnalda
81c95f8945 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
8d8ccd383d Bug 874641 - Fix warning: xpcom/base/nsUUIDGenerator.cpp [-Wsign-compare]. r=bsmedberg 2013-05-24 10:56:45 -07:00
Justin Lebar
6dd6b1436d 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
fe4ce46164 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
1b2f22fe61 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
b9e70d017a 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
b14c2cbab2 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Chris Peterson
410b0e63cc Bug 873960 - Avoid unnecessary idle thread notifications when changing thread limits. r=bsmedberg 2013-05-16 09:02:46 -07:00
David Zbarsky
d2ab636b5e Bug 872678: Mark nsStaticNameTable immutable after initialization to fix assertions r=dbaron 2013-05-21 18:22:45 +08:00
Andrew McCreight
5eae3f10e5 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
8860c052b8 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
ce0fc95919 Bug 873664 - remove two unused fields from nsCycleCollector.cpp r=smaug 2013-05-17 16:59:34 -07:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ryan VanderMeulen
64bb07971b Merge m-c to inbound on a CLOSED TREE. 2013-05-17 17:34:54 -04:00
Ryan VanderMeulen
1732f4e103 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
7c419043ce Bug 859756 - [browserconsole] Add timestamp, category and window IDs to nsIConsoleMessages; r=bz 2013-05-16 20:23:46 +03:00
Ryan VanderMeulen
20ac561a9b Merge m-c to inbound. 2013-05-17 15:40:53 -04:00
Andrew McCreight
bb90430c99 Bug 866429 - Simplify shutdown cycle collections. r=smaug 2013-04-27 11:45:46 -07:00
Andrew McCreight
e7c16849ba 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
47d7af59de 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
29ebfeceb8 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04:00
Trevor Saunders
a97b8342f2 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
0e3f6b4821 bug 860027 - use entry->GetScriptableFlag() directly instead of sillyness through the nsIInterfaceInfo r=bsmedberg 2013-05-03 18:33:30 -04:00
Trevor Saunders
7ee357c21c bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley r=bsmedberg 2013-04-09 16:00:21 -04:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Lukas Blakk
784ea2bf8f Merging in version bump NO BUG 2013-05-13 09:09:39 -07:00