Neil Rashbrook
921625ab05
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
2939a367ba
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
4e55b60483
Bug 514280 Remove GetIID r=bsmedberg
...
--HG--
extra : rebase_source : 179d6cd1cfb272ca258b0bc64225b27252c9ffbe
2014-03-17 19:07:46 +00:00
Neil Rashbrook
f83724018d
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Ryan VanderMeulen
f50b1bd5df
Merge m-c to inbound.
2014-03-17 17:34:10 -04:00
Mozilla Release Engineering
0c196d67b7
Merging in version bump NO BUG CLOSED TREE DONTBUILD
2014-03-17 13:48:08 -07:00
Kyle Huey
68b608c95f
Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
567b9398be
Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan
2014-03-15 12:00:17 -07:00
Kyle Huey
a5ae9a4da3
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
56d26ad256
Bug 967364: Use every already_AddRefed. r=bsmedberg
2014-03-15 12:00:16 -07:00
Kyle Huey
2fd18dbde7
Bug 967364: Privatize already_AddRefed::mRawPtr. r=bsmedberg
2014-03-15 12:00:15 -07:00
Kyle Huey
f7eafc09a9
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Wes Kocher
09b3b4cbb0
Merge m-c to inbound
2014-03-14 23:17:32 -07:00
Aaron Klotz
e499dac8c4
Bug 973353: Disable IOInterposer when reporting a crash; r=froydnj,ted
2014-03-15 00:10:39 -06:00
Wes Kocher
78bcbd03fc
Merge inbound to m-c
2014-03-14 22:20:25 -07:00
Wes Kocher
228755e3e4
Merge b2g-inbound to m-c
2014-03-14 19:34:15 -07:00
Andrew McCreight
66a4d6494c
Bug 948755 - Log incremental cycle collector roots. r=smaug
2014-03-14 16:07:07 -07:00
Andrew McCreight
a81c88d7c7
Bug 982847 - JSGCThingParticipant::Traverse should respect AllTraces. r=smaug
2014-03-14 16:07:07 -07:00
Aaron Klotz
810b3b5e28
Bug 972577: Consolidate IOInterposer initialization code; r=froydnj,BenWa,jimm
...
--HG--
rename : tools/profiler/IOInterposer.cpp => xpcom/build/IOInterposer.cpp
rename : tools/profiler/IOInterposer.h => xpcom/build/IOInterposer.h
rename : tools/profiler/NSPRInterposer.cpp => xpcom/build/NSPRInterposer.cpp
rename : tools/profiler/NSPRInterposer.h => xpcom/build/NSPRInterposer.h
rename : toolkit/xre/nsWindowsDllInterceptor.h => xpcom/build/nsWindowsDllInterceptor.h
2014-03-14 16:35:01 -06:00
Wes Kocher
f0e672d699
Backed out changeset 2bdd2d042847 (bug 972577) for non-unified bustage on a CLOSED TREE
...
--HG--
rename : xpcom/build/nsWindowsDllInterceptor.h => toolkit/xre/nsWindowsDllInterceptor.h
rename : xpcom/build/IOInterposer.cpp => tools/profiler/IOInterposer.cpp
rename : xpcom/build/IOInterposer.h => tools/profiler/IOInterposer.h
rename : xpcom/build/NSPRInterposer.cpp => tools/profiler/NSPRInterposer.cpp
rename : xpcom/build/NSPRInterposer.h => tools/profiler/NSPRInterposer.h
2014-03-14 15:27:21 -07:00
David Rajchenbach-Teller
0314b34a32
Bug 961665 - Native implementation of OS.File.read, native bits. r=froydnj, r=bz, r=paolo
2014-03-14 10:13:26 -04:00
Aaron Klotz
dda435844e
Bug 972577: Consolidate IOInterposer initialization code; r=froydnj,BenWa,jimm
...
--HG--
rename : tools/profiler/IOInterposer.cpp => xpcom/build/IOInterposer.cpp
rename : tools/profiler/IOInterposer.h => xpcom/build/IOInterposer.h
rename : tools/profiler/NSPRInterposer.cpp => xpcom/build/NSPRInterposer.cpp
rename : tools/profiler/NSPRInterposer.h => xpcom/build/NSPRInterposer.h
rename : toolkit/xre/nsWindowsDllInterceptor.h => xpcom/build/nsWindowsDllInterceptor.h
2014-03-14 13:47:24 -06:00
Yuan Xulei
ccd09b381f
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
Jim Chen
3d7c690f68
Bug 979069 - Disable BackgroundHangMonitor for debug builds. r=froydnj
2014-03-13 12:17:42 -04:00
Georg Fritzsche
3670e1bc8f
Bug 983101 - unused variable 'kNsPerSec' in TimeStamp_darwin.cpp, r=froydnj
2014-03-13 12:52:43 +01:00
Eric Rahm
0af50cdae6
Bug 969117 - Report memory usage of MediaResources. r=njn
2014-03-05 13:31:04 -08:00
Ehsan Akhgari
712633d816
Bug 982072 - Don't leak the argument passed to RegisterStrongMemoryReporter if we fail to get the service; r=froydnj
2014-03-11 14:15:27 -04:00
Ben Turner
6bfb6c5bc4
Bug 982146 - Clean up SyncRunnable wait code, r=bsmedberg.
2014-03-11 09:42:58 -07:00
Nathan Froyd
966381c38b
Bug 682215 - add a memory reporter for memory from libvpx; r=ted,njn
2014-02-25 16:35:13 -05:00
Ryan VanderMeulen
ebd3457021
Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
...
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Andrew McCreight
e1fb809508
Bug 981033 - Clear mActivelyCollecting before restarting CC. r=smaug
2014-03-11 07:34:35 -07:00
Nathan Froyd
d8e1aecb99
Bug 677653 - part 2 - add a memory reporter for vorbis-related allocations; r=njn
2014-02-25 11:04:50 -05:00
Robert O'Callahan
f819b902f5
Bug 955888. Part 8: In chaos mode, vary timer duration (while respecting order of firing). r=bz
...
We also ensure that the mean timer duration is unchanged.
--HG--
extra : rebase_source : 21a43c2c6a0f677263464b8a23c5f605e36b9d06
2014-03-03 18:12:51 +13:00
Robert O'Callahan
f862e73d11
Bug 955888. Part 7: In chaos mode, start hashtable iteration at a random entry. r=jorendorff
...
--HG--
extra : rebase_source : f7e5208595171b0a7d58d9b8a91bc91a40725079
2014-03-03 18:12:46 +13:00
Robert O'Callahan
dfca86f550
Bug 955888. Part 3: In chaos mode, give threads randomly chosen priorities, and pin some threads to CPU 0 so they compete for CPU. r=bsmedberg
...
--HG--
extra : rebase_source : 77201ddade499250cbc81b6a582ce29a970c4a2a
2014-03-03 18:12:27 +13:00
Robert O'Callahan
a22a728d85
Bug 955888. Part 2: In chaos mode, sometimes yield just before dispatching an XPCOM event. r=bsmedberg
...
This gives other threads a chance to beat us in a race to dispatch an event to
this event queue.
--HG--
extra : rebase_source : ca19bb52281837762bce43481b3393cd2ecf6679
2014-03-03 18:12:23 +13:00
Masatoshi Kimura
d1ad984267
Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey
2014-03-07 20:51:51 +09:00
Ryan VanderMeulen
4de3678a20
Merge m-c to inbound on a CLOSED TREE.
2014-03-05 16:08:02 -05:00
Yuan Xulei
0d4a2d5a27
Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug
2014-03-05 11:25:40 +08:00
Jed Davis
906a754859
Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
...
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Ehsan Akhgari
444a26ed8e
Bug 976896 - Port STL_FLAGS to moz.build; r=mshal
2014-03-04 19:39:06 -05:00
Andrew McCreight
92b6eebe7d
Bug 978486 - Remove nsErrorService::mErrorStringBundleKeyMap. r=froydnj
2014-03-04 09:49:40 -08:00
Ehsan Akhgari
f5dd4e8ef8
Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
...
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Jan Beich
e0b2f4ce08
Bug 975634 - Detect posix_fadvise() via configure. r=glandium
2014-03-04 09:30:29 -05:00
Bobby Holley
7250b8aac2
Bug 975419 - Add a JS::TenuredHeap<JSObject*> overload to TraceCallbacks. r=mccr8,terrence
2014-03-03 08:53:42 -08:00
Jan Beich
67b968c530
Bug 977457 - Move _GNU_SOURCE ifdef a little up to account for cxxabi.h from libcxxrt. r=ehsan
2014-03-03 10:29:08 -05:00
Wes Kocher
a36487f6e4
Backed out 6 changesets (bug 976648) for android x86 bustage on a CLOSED TREE
...
Backed out changeset 18f113ab1a35 (bug 976648)
Backed out changeset 3f0f28593331 (bug 976648)
Backed out changeset 2789ef4e1223 (bug 976648)
Backed out changeset 4a5fff440cb5 (bug 976648)
Backed out changeset 94ec75013788 (bug 976648)
Backed out changeset 084e0311ff2a (bug 976648)
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s
2014-02-28 15:40:22 -08:00
Ulrich Weigand
d598cf4215
Bug 976648 - xptcall port for powerpc64le-linux support. r=froydnj
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
2014-02-28 09:56:43 -05:00
Aaron Klotz
d26c4eec82
Bug 978177: Modify PoisonIOInterposerWin functions that accept UNICODE_STRING to use nsDependentSubstring instead of nsDependentString; r=bsmedberg
...
--HG--
extra : rebase_source : 2a7cf2876b29eed21b069e11c153cafc52baaf1a
2014-02-28 13:12:38 -07:00
Andrew McCreight
07694709f9
Bug 977688 - Get rid of CC_AbortIfNull. r=smaug
2014-02-28 09:56:23 -08:00
Andrew McCreight
6b925f7324
Bug 977260, part 2 - Use more macros for CC nsDOMCameraControl stuff. r=smaug
...
Use more powerful macros for nsDOMCameraControl
2014-02-28 09:56:23 -08:00
Ed Morley
f4eb38ce43
Backed out changeset 5599e2798ee3 (bug 976648)
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s
2014-02-28 15:30:37 +00:00
Ulrich Weigand
b5d8a17c70
Bug 976648 - xptcall port for powerpc64le-linux support. r=froydnj
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
2014-02-28 09:56:43 -05:00
Masatoshi Kimura
62b35389e4
Bug 972761 - Move WindowsVersion.h to MFBT. r=froydnj
...
--HG--
rename : xpcom/base/WindowsVersion.h => mfbt/WindowsVersion.h
2014-02-28 07:58:47 +09:00
Andrew McCreight
f3ff79a425
Bug 975037, part 3 - Remove trailing whitespace from nsPersistentProperties. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
3cc4fddb4d
Bug 975037, part 2 - Use smart pointers in nsPersistentProperties. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
e04b26cca5
Bug 975037, part 1 - Inline nsPersistentProperties::Init. r=froydnj
2014-02-27 10:04:10 -08:00
Andrew McCreight
c479f2a541
Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug
2014-02-27 10:04:09 -08:00
Simon Montagu
7550802f53
Add ReplaceChars with a char16_t array. Bug 979556, r=bsmedberg
2014-03-05 21:04:36 +02:00
Ulrich Weigand
853555a8fd
Bug 976648 - xptcall port for powerpc64le-linux support. r=froydnj
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc64_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
2014-02-28 09:56:43 -05:00
Ryan VanderMeulen
88ac28dca2
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
Jim Chen
2ea1dd9b27
Bug 978262 - Ignore duplicate frames when getting BHR stack. r=froydnj
2014-03-05 08:47:46 -05:00
snigdha
dde15b4b7a
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Andrew McCreight
d28f18cd38
Bug 984008, part 4 - Remove nsISupportsKey. r=froydnj
2014-03-17 10:21:26 -07:00
Gregory Szorc
37b846c9b8
Bug 875562 - Part 8b: Update UUID of nsICrashReporter; r=me
...
CLOSED TREE
--HG--
extra : amend_source : 4b655b3a88d0e804bb5372297ccf342b1509c344
2014-02-26 20:57:57 -08:00
Gregory Szorc
adeea935cf
Bug 875562 - Part 8: Write crash events for main process crashes; r=bsmedberg
...
This patch makes the crash reporter crash event directory aware and
writes main process crash event files at crash time.
--HG--
extra : rebase_source : 1d6a817ae401230b3fe8fcd236468ceb3e309a10
2014-02-18 15:58:03 -08:00
Ehsan Akhgari
6a3df0012c
Bug 975731 - Move some CXXFLAGS variables in xpcom/reflect/xptcall/src/md/unix/Makefile.in to moz.build; r=mshal
2014-02-26 21:37:19 -05:00
L. David Baron
5e307581fa
Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
...
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.
The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.
--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
L. David Baron
dfb9ad9186
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Andrew McCreight
8fe8ca6e5e
Bug 975849 - Remove overly strict assertion from CycleCollectedJSRuntime::TraverseRoots to restore previous behavior. r=smaug
2014-02-26 13:18:17 -08:00
Marcin Juszkiewicz
2841d6cef6
Bug 963024 - AArch64 support for XPCOM. r=froydnj
2014-02-26 13:43:16 -05:00
Gabriele Svelto
0d89791e8f
Bug 975434 - Remove the ability to cancel memory minimizations. r=njn
2014-02-25 16:37:30 +01:00
Ted Mielczarek
e8c390c7f9
Bug 972555 - Add more things to nsIXULRuntime so we can avoid preprocessing some tests. r=bsmedberg
2014-02-19 09:20:02 -05:00
Nathan Froyd
38d5e4285f
Bug 976161 - delete dead NSCAP_DISABLE_TEST_DONTQUERY_CASES code; r=bsmedberg
2014-02-24 13:02:43 -05:00
Ehsan Akhgari
92b3158879
Backed out changeset 8d8165293e9b (bug 976372) because of Windows debug bustage on a CLOSED TREE
2014-02-24 23:01:54 -05:00
Ehsan Akhgari
9144b0180d
Backed out changeset f74c9326b89c (bug 976247) because I landed the wrong patch :(
2014-02-24 21:07:37 -05:00
Ehsan Akhgari
1e925946d1
Bug 976372 - Remove support for compilers which lack support for dynamic_cast<void*>; r=dbaron
...
--HG--
extra : rebase_source : 83a23e3b8fa4462eb70a1844b555c7605162a497
2014-02-24 21:06:06 -05:00
Ehsan Akhgari
32a9de133d
Bug 976247 - Remove a useless static keyword from mozilla::detail::DEAD; r=froydnj
...
--HG--
extra : rebase_source : e73444ec000f1e867651d39cf2aa6beaf88bf4f3
2014-02-24 19:37:34 -05:00
Andrew McCreight
1b7ffdaedf
Bug 967929 - Remove nsSupportsHashtable. r=bsmedberg
2014-02-24 17:16:11 -08:00
Andrew McCreight
d065a93adf
Bug 975223, part 2 - Add nsRefPtrHashtable::Remove that also does a Get. r=froydnj
2014-02-24 17:16:10 -08:00
Andrew McCreight
292daceb96
Bug 975223, part 1 - Make braces less weird in nsRefPtrHashtable. r=froydnj
2014-02-24 17:16:10 -08:00
L. David Baron
06fc468085
Bug 975295 patch 2: Remove the nsITraceRefcnt interface and any instantiation of the nsTraceRefcntImpl object. r=bsmedberg
2014-02-24 15:27:53 -08:00
L. David Baron
8ee755b5cc
Bug 975295 patch 1: Remove class nsTraceRefcnt, which is unused. r=bsmedberg
2014-02-24 15:27:53 -08:00
L. David Baron
378effc7fa
Bug 939610: Return to printing stack walk addresses in uppercase hexidecimal rather than lowercase, since we have scripts depending on it. r=ted
2014-02-24 15:27:52 -08:00
Terrence Cole
16e65508e5
Bug 956081 - Fix the CC's GC-has-been-run detection in the presence of GGC; r=mccr8
...
--HG--
extra : rebase_source : de945b8e2f4972cb8b563f17a95c66cbba86a902
2014-02-20 13:38:32 -08:00
Ehsan Akhgari
fe19ed8113
Bug 935778 - Part 1: Add RefCountType, a type compatible with nsrefcnt, to MFBT; r=dbaron,froydnj
2014-02-21 14:45:50 -05:00
Chris Peterson
10a0737dbc
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8
2014-02-17 22:10:50 -08:00
Ehsan Akhgari
790a3e8ead
Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 23:07:24 -05:00
Ehsan Akhgari
067fa188b6
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05:00
Andrew McCreight
7c710ce5ca
Bug 901597, part 2 - Add environment var to CC log only main or worker threads. r=smaug
2014-02-20 14:27:04 -08:00
Andrew McCreight
1ca8eaa3a1
Bug 901597, part 1 - Move CC logging logic into nsCCParams. r=smaug
2014-02-20 14:27:03 -08:00
Andrew McCreight
7fce285035
Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug,njn
2014-02-20 14:27:03 -08:00
Trevor Saunders
bcf60a760d
bug 826481 - mark PrepareAndDispatch() as __attribute__((used)) when building with gcc or clang r=froydnj
2014-01-17 16:17:20 -05:00
Andrew McCreight
f25aeef35c
Back out bug 712939 for not getting fully reviewed.
2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen
9366d43366
Bug 971094 - Part 1: During shutdown, tell the profiler that the main thread JSRuntime is gone even if we leak. r=BenWa, r=bholley
2014-02-20 08:43:55 -05:00
Chris Peterson
64487f63e2
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Andrew McCreight
b4f084e338
Backout bug 972940 for valgrind leaks on this CLOSED TREE
2014-02-19 17:20:48 -08:00
Andrew McCreight
8493db0ad2
Backout bug 901597 for valgrind leaks
2014-02-19 17:19:17 -08:00
Andrew McCreight
e952ca846d
Backout bug 901597 for valgrind leaks
2014-02-19 17:18:59 -08:00
Andrew McCreight
6b6b4bece1
Bug 901597, part 2 - Add environment var to CC log only main or worker threads. r=smaug
2014-02-19 13:27:15 -08:00
Andrew McCreight
3fd4ecc704
Bug 901597, part 1 - Move CC logging logic into nsCCParams. r=smaug
2014-02-19 13:27:14 -08:00
Andrew McCreight
8807edd27d
Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug
2014-02-19 13:27:14 -08:00
Sebastian Hengst
d3bd518c94
Bug 974486 - Remove unused OS/2 special directories. r=jimm
2014-02-19 20:24:55 +01:00
Ulrich Weigand
2ae8ccc8a9
Bug 973977 - Mark SharedStub hidden to fix ppc64 build failure. r=froydnj
2014-02-19 15:55:28 -05:00
Eric Rahm
d815e247af
Bug 972170 - Add zram reporting to about:memory. r=njn
2014-02-19 11:08:38 -08:00
Daniel Holbert
ad449f00f4
Bug 974300: Mark /xpcom/threads as FAIL_ON_WARNINGS. r=froydnj
2014-02-19 08:36:37 -08:00
Brian Hackett
bb98c9b7e6
Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent.
2014-02-19 09:02:13 -07:00
Ehsan Akhgari
ad09f563e0
Bug 969864 - Make nsTArray::SetLength return void; r=froydnj
2014-02-19 08:27:15 -05:00
Daniel Holbert
682b66552e
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
fd01fbe123
Bug 973795 - Fix -Wreorder and -Wsign-compare warnings in nsThreadPool.cpp. r=bsmedberg
2014-02-17 23:11:56 -08:00
Chris Peterson
796b530a80
Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8
2014-02-17 23:56:19 -08:00
Phil Ringnalda
13d7caaae9
Back out f59bb340e3e6 (bug 826481) for Android build bustage
...
CLOSED TREE
2014-02-18 20:34:10 -08:00
Trevor Saunders
37eba9918a
bug 826481 - mark PrepareAndDispatch() as __attribute__((used)) when building with gcc or clang r=froydnj
2014-01-17 16:17:20 -05:00
Nathan Froyd
83a471440f
Backout 14dc29b1586b (bug 963024) for landing only part of the patch; DONTBUILD because NPOTB
2014-02-18 16:43:12 -05:00
Marcin Juszkiewicz
9d2484dfad
Bug 963024 - AArch64 support for XPCOM. r=froydnj
2014-02-18 15:41:22 -05:00
James Kitchener
8b601ec5fa
Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg
2014-02-03 22:57:56 +10:30
Justin Shrake
9c72784f86
Bug 972038 - Replace calls to GetMessageMoz with ToString to save callers from having to convert to UTF-8. r=jimm
2014-02-18 09:47:54 -05:00
Ehsan Akhgari
bed93fa9b3
Bug 973388 - Move the LOCAL_INCLUDES in xpcom to moz.build; r=glandium
2014-02-18 09:01:06 -05:00
Ehsan Akhgari
22eada1dd3
Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
...
It's just as easy to directly set the preprocessor macro in the moz.build
files. Using this variable doesn't really buy us anything.
This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Chris Pearce
5209886eff
Bug 968016 - Add threadStackSize attribute to nsIThreadPool. r=bsmedberg
2014-02-18 11:53:53 +13:00
Chris Pearce
9bc6df1d23
Bug 968016 - Implement nsThreadPool::IsOnCurrentThread() to return true when the current thread is in the thread pool. r=bsmedberg
...
This is so that we can assert that media decode threads are in the decode thread pool.
2014-02-18 11:53:52 +13:00
Neil Rashbrook
575255ea5f
Bug 966911 Part 4: Recreate the underlying nsAString when an an external string is passed back to C++ r=bholley
2014-02-14 19:44:55 +00:00
Luke Wagner
808367a518
Bug 971845 - Don't uninline in JS_GetArrayBufferData, add JS_GetStableArrayBufferData and use that when necessary (r=sfink)
2014-02-13 11:17:41 -06:00
Nicholas Nethercote
7be3105a78
Bug 956199 - Fix style of xpcom/base/nsMemoryReporterManager.{h,cpp}. r=bsmedberg.
...
--HG--
extra : rebase_source : 79a8053c97ecb0786f0a722838f66fc85c5e1368
2014-01-02 19:19:32 -08:00
Neil Rashbrook
fdecf9981d
Bug 972167 Followup to make the code compile now that it's actually being used
...
a=KWierso for checkin to a CLOSED TREE
2014-02-13 21:07:46 +00:00
Neil Rashbrook
86658c7165
Bug 972167 Really give nsAutoArrayBase a copy constructor so that nsAutoTArray's implicit copy constructor will use it r=froydnj
2014-02-13 20:47:32 +00:00
Jacek Caban
cc224d116e
Bug 971646 - FileUtilsWin.h fails to compile on GCC. r=bsmedberg
2014-02-13 11:25:26 +01:00
Neil Rashbrook
b9f497881a
Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley
2014-02-12 21:22:07 +00:00
Jim Chen
69c0fcda4e
Bug 970358 - Disable BackgroundHangMonitor on release builds. r=froydnj
2014-02-12 10:24:21 -05:00
Yuan Xulei
45290598a8
Bug 956646 - xpcshell test for nsIFile#renameTo. r=bsmedberg
2014-01-06 20:32:57 +08:00
Yuan Xulei
6dbaf0dca1
Bug 956646 - Implement nsIFile#renameTo on Windows. r=bsmedberg
2014-01-06 19:27:11 +08:00
Yuan Xulei
e7a7bd397a
Bug 956646 - Implement nsIFile#renameTo on Unix. r=bsmedberg
2014-01-06 17:39:03 +08:00
Yuan Xulei
8bbb470303
Bug 956646 - Add renameTo to nsIFile interface. r=bsmedberg
2014-01-06 16:51:39 +08:00
Masatoshi Kimura
e64f747483
Bug 970483 - Fix the logic to determine the pre-RTM Windows 7. r=bbondy
2014-02-12 23:49:06 +09:00
Andrew McCreight
d7f56f6857
Bug 968012, part 3 - Remove nsVoidKey which was only used by nsWindowDataSource. r=froydnj
2014-02-11 14:56:45 -08:00
Andrew McCreight
63f3eea700
Bug 966359 - Prevent FreeSnowWhite reentrance. r=smaug
2014-02-11 14:56:44 -08:00
Andrew McCreight
f2ada9f0f9
Bug 970527 - Remove extern C from pldhash.h r=froydnj
2014-02-11 14:56:44 -08:00
Masatoshi Kimura
8487cb2318
Bug 970483 - Part 1: Introduce IsWindowsBuildOrLater() and IsWin7RTMOrLater(). r=bbondy
2014-02-12 06:01:29 +09:00
Masatoshi Kimura
0a3d8da618
Backed out changeset d7d447cac91b (bug 969762) for tp5 regression.
2014-02-12 06:01:29 +09:00
Brian O'Keefe
e3f6084e7a
Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal
2013-11-05 13:37:54 -05:00
Peiyong Lin
412fa18587
Bug 613472 - Use the fallible allocator and propagate errors in AppendASCIItoUTF16. r=bsmedberg
2014-02-11 09:22:45 -05:00
Ehsan Akhgari
6ed9144ae7
Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium
2014-02-11 09:12:33 -05:00
Jacek Caban
f85dd4dbaa
Bug 970421 - Fix PoisonIOInterposerWin.cpp compilation on mingw. r=aklotz
2014-02-11 13:43:59 +01:00
Oleg Romashin
c4e040c034
Bug 969498 - [Qt] ICU usage conflict, ABORT: JS_SetICUMemoryFunctions failed. r=n.nethercote,nfroyd
2014-02-10 22:35:32 -08:00
Oleg Romashin
24cce95d6b
Bug 967796 - Implement Pointer Enter/Leave events support. refactor OutOver element helpers. r=smaug
2014-02-10 22:33:35 -08:00
Mike Hommey
65c65c7c42
Bug 969800 - Fix nsMemoryReporterManager::GetVsize for !HAVE_VSIZE_AND_RESIDENT_REPORTERS and add GNU/kFreeBSD support to nsMemoryReporterManager. r=njn
2014-02-11 10:43:41 +09:00
Jeff Walden
6e04ad5a6a
Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in xpcom/. r=froydnj
...
--HG--
extra : rebase_source : 4b4e47e4246c3764f1b8d50a308b7a717c53a865
2014-02-06 22:05:24 -08:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Masatoshi Kimura
590e1730d2
Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm
2014-02-11 05:50:16 +09:00
Neil Rashbrook
d55e0744c8
Bug 969324 Remove unnecessary ReporterEnumerator r=njn
2014-02-10 19:26:08 +00:00
Jan Beich
73356288b9
Bug 970031 - Re-apply bug 761077 to unbreak xptcall build on FreeBSD sparc64. r=froydnj
2014-02-10 08:58:57 -05:00
Jacek Caban
561e839426
Bug 969330 - Fix -Werror=int-to-pointer-cast in windows-only code. r=ehsan
2014-02-10 12:05:22 +01:00
Bill McCloskey
cd74b8a7d7
Bug 966467 - Allow static modules to choose whether to be loaded in content process (r=bsmedberg)
2014-02-09 16:11:37 -08:00
Ms2ger
0f6c9634d9
Bug 968766 - Part i: Move the document.all NodeLists into a separate hashtable; r=jst
2014-02-09 09:04:36 +01:00
Ryan VanderMeulen
9bf72037e1
Merge m-c to inbound on a CLOSED TREE.
2014-02-06 16:29:41 -05:00
Thomas Zimmermann
ce9205d6eb
Bug 968849: Fix GCC warnings about uninitialized variables, r=froydnj
2014-02-06 17:57:38 +01:00
Jacek Caban
bd25562ba8
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
...
--HG--
extra : rebase_source : 2f81dd18df59e0498a577c437954c5b1f52f8e28
2014-02-06 17:42:58 +01:00
Nathan Froyd
d77cd18e80
Bug 965783 - part 2 - remove {Min,Max}Int; r=ehsan
2014-01-30 09:56:12 -05:00
Lukas Blakk
780d3fb1c9
Merging in version bump NO BUG CLOSED TREE
2014-02-03 15:03:10 -08:00
Nicholas Nethercote
69c6f9882e
Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
...
--HG--
extra : rebase_source : 56af9b89675394b5a219f699b96c1d26c00adc38
2014-01-31 14:43:08 -08:00
Olli Pettay
7fb9d19abe
Backout Bug 953435 to fix bug 959281, a=backout
2014-02-02 20:12:27 +02:00
Phil Ringnalda
13462a9aa2
Back out ea871fc76f16 (bug 903131) for test_aboutmemory6.xul crashes
2014-02-01 01:43:38 -08:00
Eric Rahm
765954b6ae
Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
...
- Added buttons, JS to trigger logs to be generated.
- Added out params to return log paths.
- Added attributes to cycle collector interface to export log paths.
--HG--
extra : rebase_source : cbce2c62b577c820fd099706d72ab7b20992a00a
2014-01-31 14:43:08 -08:00
Aaron Klotz
a79a49929d
Bug 902587 - Part 2C: Interpose NtCreateFile, NtReadFile, NtReadFileScatter, NtFlushBuffersFile, and NtQueryFullAttributesFile; r=ehsan
2013-12-09 21:17:03 -02:00
Aaron Klotz
3e37f64342
Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan
2014-01-31 20:14:03 -07:00
Robert O'Callahan
dc7e890088
Bug 966231. Add comment.
2014-02-01 14:14:00 +13:00
Robert O'Callahan
e9325b5761
Bug 966231. Allow blocking in a nested event loop even if the thread is being shut down. r=bsmedberg
...
--HG--
extra : rebase_source : 45654f14cb9a47b285b8491304de71a762132ac8
2014-02-01 13:42:24 +13:00
Blake Kaplan
230ff3847a
Bug 966102 - Squelch a bunch of warnings starting child processes. r=bsmedberg
...
--HG--
extra : rebase_source : 82a0f7349df90a36dc4580fcaa121d80d0aa94a1
2014-01-31 15:02:30 -08:00
Chris Peterson
cf2bfd13b3
Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc
2014-01-29 20:40:34 -08:00
Masatoshi Kimura
02605aef09
Bug 965952 - Remove GetVersionEx call from TestWinFileAttribs.cpp. r=froydnj
2014-01-31 05:44:04 +09:00
Birunthan Mohanathas
6a646b838d
Bug 828300 - Remove NS_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Birunthan Mohanathas
89f96b243e
Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan
2014-01-30 13:26:54 -05:00
Projjol Banerji
c252a503a6
Bug 956857 - Fix busted semantics for subject parameter in "xpcom-category-entry-removed" notification. r=bsmedberg
2014-01-29 17:07:35 -05:00
Masatoshi Kimura
345e5564bf
Bug 965008 - Suppress warning C4996 for VC12+. r=froydnj
2014-01-29 08:37:47 +09:00
Nathan Froyd
62e203515c
Bug 964415 - add include guards to nsMemoryReporterManager.h; r=njn
2014-01-27 14:54:37 -05:00
Vladan Djeric
2edff56a09
Bug 863122 - Add time since launch and time since system startup to chromehang report. r=nfroyd
2014-01-27 13:47:00 -08:00
Daniel Holbert
ae79938400
Bug 964077: Mark xpcom/components as FAIL_ON_WARNINGS. r=froydnj
2014-01-27 11:46:25 -08:00
Daniel Holbert
9e062ec734
Bug 964075: Remove unused const variables from nsComponentManager.cpp, to fix clang warnings. r=froydnj
2014-01-27 11:46:17 -08:00
Andrew McCreight
d4d9c59385
Bug 968234 - Remove trailing whitespace from nsHashtable.{h,cpp} rs=bsmedberg
2014-02-06 07:54:53 -08:00
Johnny Stenback
72bc953afd
Bug 960694. Support writing out classes with JS implementations of classinfo. r=bsmedberg
...
--HG--
extra : rebase_source : 6eb91d99f710b366fc2ffab5defea0969834633f
2014-01-24 13:47:50 -08:00
Joshua Cranmer
a9c5262de0
Bug 450881: Add helpers for XPIDL arrays to nsCOMArray, r=froydnj
2014-01-22 16:19:00 -06:00
Wes Kocher
568a3d2648
Backed out changeset 4c4e95457c87 (bug 961712) for crashing b2g tests on a CLOSED TREE
2014-01-22 15:50:04 -08:00
Chris Lord
0aa482c137
Bug 961712 - Buffer (f)printf_stderr on Android. r=gal
...
Android logging functions append newlines to all output. Layout debugging
(and perhaps other areas) relies on being able to print partial lines, making
its output almost unreadable. This change adds manual buffering between
newlines, making the output readable again.
2014-01-22 20:20:20 +00:00
Wes Kocher
096be82c47
Backed out changeset 03bdec48d0ac (bug 450881) for Windows build bustage
2014-01-21 18:13:21 -08:00
Joshua Cranmer
b8eaffe78e
Bug 450881: Add helpers for XPIDL arrays to nsCOMArray, r=froydnj
...
--HG--
extra : rebase_source : d87f6cbdd2bab54f5923821409c9197f98b372f4
2014-01-21 18:01:36 -06:00
Bobby Holley
50f9d2007f
Bug 958324 - Remove same-compartment security wrappers for WNs. r=peterv,r=mrbkap
...
We've fixed Components, and SOWs are new-binding only. Youpie!
2014-01-21 08:26:40 -08:00
Phil Ringnalda
29a379a53b
Back out 171c124a1402 (bug 961712) for debug b2g mochitest crashes after timeouts
2014-01-20 13:03:26 -08:00
Andrea Marchesini
c06ff4f6c3
Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE
2014-01-20 18:47:35 +01:00
Chris Lord
39d5d47151
Bug 961712 - Buffer (f)printf_stderr on Android. r=gal
...
Android logging functions append newlines to all output. Layout debugging
(and perhaps other areas) relies on being able to print partial lines, making
its output almost unreadable. This change adds manual buffering between
newlines, making the output readable again.
2014-01-20 17:11:39 +00:00
Andrea Marchesini
982b9946ab
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-20 17:51:41 +01:00
Nathan Froyd
2cc49bb06f
Bug 960700 - delete incorrect comment from nsStackWalk.cpp; r=ehsan
2014-01-16 14:53:04 -05:00
Benoit Jacob
00e9c80dbb
Bug 960591 - Prevent implicitly constructing nsTArray<E> elements from E* pointers - r=ehsan
2014-01-17 11:54:19 -05:00
Ryan VanderMeulen
530a6b72eb
Backed out changeset 965cf4cbedc8 (bug 958816) for mochitest crashes.
...
CLOSED TREE
2014-01-17 10:20:05 -05:00
Andrea Marchesini
2cdda17e77
Bug 958816 - Make strings in nsIStackFrame API sane, r=bz
2014-01-17 15:24:03 +01:00
Terrence Cole
3e141bbf5e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
ZappaMan
ea15bcff21
Bug 956095 - Fix compiler warnings in TestCOMArray by initializing pointers. r=dougt
2014-01-16 08:26:00 -05:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Nathan Froyd
27baf5b8e9
Bug 901022 - write to MOZ_TRACE_FILE when the visual event tracer is stopped; r=honzab
...
DONTBUILD because NPOTB
2013-07-25 12:21:58 -04:00
Wes Kocher
2616eeb33d
Merge m-c to inbound
2014-01-14 16:13:50 -08:00
Wes Kocher
ac83e0314a
Merge inbound to m-c
2014-01-14 15:24:45 -08:00
Blair McBride
6b00c42249
Bug 897735 - Bustage fix for nsIBlocklistService.idl
2014-01-15 09:30:26 +13:00
Olli Pettay
25af73b606
Bug 958315 - Suspect JS things released by dying C++ objects in the next CC, r=mccr8
2014-01-14 22:23:59 +02:00
Ryan VanderMeulen
6c3e77f650
Bug 897735 - Bump the nsIBlocklistService IID.
...
DONTBUILD CLOSED TREE
2014-01-14 11:54:30 -05:00
Jim Chen
c22078a28b
Bug 951431 - Don't get stacks during profiler runs on Linux; r=BenWa
2014-01-14 10:33:32 -06:00
Jim Chen
f41719baf7
Bug 951431 - Report permanent hangs as transient hangs for now; r=froydnj
2014-01-14 10:33:31 -06:00
Jim Chen
d25a8fad1e
Bug 951431 - Monitor main thread hangs using BackgroundHangMonitor; r=vladan
2014-01-14 10:33:31 -06:00
Sachin Hosmani
4ce169f118
Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
...
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen
9d42f4f467
Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
...
CLOSED TREE
2014-01-14 11:10:33 -05:00
Sachin Hosmani
b4de6399fb
Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
2014-01-06 14:16:32 +05:30
Jed Davis
bcc19725d4
Bug 948204 - Add pmem regions to the system memory report. r=njn
2014-01-14 10:03:31 -05:00
Landry Breuil
ae1e2672c8
Bug 958234: Rename xptc{invoke,stubs}_asm_ppc_openbsd.s to .S to fix build on OpenBSD/powerpc after bug 932178 r=froydnj
...
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.S
2014-01-10 19:08:57 +01:00
Steven Michaud
c78054cb8b
Bug 956310 - DMD builds fail on Mac OS X. r=bgirard
2014-01-08 17:06:22 -06:00
Olli Pettay
cb3b85db05
Bug 953435 - Browser hang on Mac if an AfterProcessNextEvent callback tries to spin the event loop, r=nfroyd+smichaud
...
--HG--
extra : rebase_source : e999d852f5f73b18f37ff6a5488cc171c95d9e61
2014-01-09 00:10:06 +02:00
Guilherme Gonçalves
4fb8616176
Bug 732923 - Make watchPosition timeouts adhere to spec. r=jdm
...
This also disables a couple of tests that depend on the network
provider on Android. These tests were passing by accident before
this patch (and started failing afterwards), and were never meant
to run on Android anyway.
2014-01-08 16:04:37 -05:00
Neil Rashbrook
811e1e96dd
Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley
2014-01-08 20:51:38 +00:00
Marina Samuel
44ddd39dd4
Bug 950986: Use ToDouble() to convert version to a double independent of locale. r=doug.turner
2014-01-08 12:22:24 -05:00
Andrew McCreight
f9daafed1e
Bug 956080 - Rename BeginCycleCollection to TraverseRoots. r=smaug
2014-01-07 17:33:47 -08:00
Boris Zbarsky
b90683e91c
Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence
2014-01-07 19:53:17 -05:00
Alessio Placitelli
9da9342c58
Bug 950762 - Add fallible AppendUTF16toUTF8 and make DOMParser::ParseFromString fallible. r=jst, r=bsmedberg
2014-01-07 10:18:30 -05:00
Carsten "Tomcat" Book
81aa764e2f
Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE
2014-01-07 15:18:43 +01:00
Jacek Caban
cec8f40264
Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
2014-01-07 14:54:52 +01:00
Patrick McManus
8cbe001a55
bug 751465 - websockets dns and proxies r=jduell r=bsmedberg
...
--HG--
extra : rebase_source : ad2046a95f1ec9000577cc0f67aedc0766a51ed2
2014-01-06 13:52:42 -05:00
Birunthan Mohanathas
dfbad43639
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
...
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Jeff Walden
12220c1619
Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
...
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer. (Examples are provided in NullPtr.h comments.) The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes. This problem is unavoidable without true nullptr. Currently, the only valid use for NullptrT is believed to be in operator overloads. All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.
--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Ehsan Akhgari
384530ea4e
Bug 884368 - Part 1: Add a memory reporter for AudioContexts; r=roc,njn
2014-01-04 13:15:41 -05:00
Ehsan Akhgari
7efbcd733a
Bug 927728 - Part 2: Stop using PRUnichar in our code generators; r=roc,bzbarsky
2014-01-04 10:02:43 -05:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
6e482923ff
Bug 758992 follow-up - Mark DoNothingCallback final to avoid compiler warnings; blanket-r=bzbarsky
2014-01-03 09:54:32 -05:00
Nicholas Nethercote
aef9fb7509
Bug 955942 (part 3) - Merge the heap reporters. r=mccr8.
...
--HG--
extra : rebase_source : f836b1b2de9c850fa3d956bf6ef92a7c6c504fce
2014-01-02 15:19:08 -08:00
Nicholas Nethercote
ed423fbdef
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
a228c41d0b
Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
...
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Andrew McCreight
48ba1d90e6
Bug 950959 - Rename scheduled cycle collector stuff to slice. r=smaug
2014-01-01 11:00:35 -08:00
Andrew McCreight
a33e4dd29e
Bug 950949 - Run forgetSkippable per CC not per slice. r=smaug
2014-01-01 11:00:35 -08:00
Ms2ger
6c7c16c6b2
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Nomis101
3daa640e18
Bug 909914 - Add a missing include to avoid error: "Use of undeclared identifier 'getpid'" when building with enable-macos-target=10.9; r=smichaud
2013-12-20 13:06:42 +01:00
Andrew McCreight
b4703a0481
Bug 937960, part 3 - Pass in a small time budget with ICC. r=smaug
2013-12-22 09:58:19 -05:00
Nathan Froyd
7890c85b6f
Bug 950882 - micro-optimize NS_TableDrivenQI calling sequence by reordering argument list; r=bsmedberg
...
For register-rich ABIs (e.g. x86-64 and ARM), QueryInterface's incoming
registers are going to look like:
arg register 1: |this|
arg register 2: the IID of interest
arg register 3: the outparam instance pointer
Most of our QI implementations call NS_TableDrivenQI, which expects
arguments like so:
arg register 1: |this|
arg register 2: the QITableEntry table
arg register 3: the IID of interest
arg register 4: the outparam instance pointer
So we're going to have to do a register shuffle of the IID and the
outparam to be able to load the QITableEntry pointer before calling into
NS_TableDrivenQI.
This patch reorders the argument list of NS_TableDrivenQI so that the
first three arguments match the order that QueryInterface receives them
in. Then your typical QueryInterface implementation becomes:
- load local |table|
- tail-call NS_TableDrivenQI
Eliminating the register shuffling reduces text size by 12K on an
Android ARM build.
2013-12-13 19:50:02 -05:00
Ted Mielczarek
a8dc1906bb
bug 918389 - move XPCOM abort messages into separate crash annotations. r=bsmedberg
...
--HG--
extra : rebase_source : d1762cb08c795020e2ca7612b903cd1f3d5ade50
2013-12-20 10:11:16 -05:00
Ryan VanderMeulen
e4ef933d12
Backed out changesets ccdc3d4f4571, 4dcc91e771e3, 0ae14946314b, and 94d22ab0b17f (bug 937960) for Windows 7 debug xpcshell failures.
2013-12-19 16:57:55 -05:00
Ehsan Akhgari
a7d96f6225
Bug 950856 - Fail the build if you attempt to use NS_StackWalk on Windows where it won't work; r=froydnj,BenWa
2013-12-18 15:03:11 -05:00
Isura Edirisinghe
3eedf5ced4
Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa
2013-12-19 11:42:19 -05:00
Henri Sivonen
4802a84a12
Bug 951110 - Make AssertValidDepedentString() more informative. r=bsmedberg.
2013-12-19 10:15:34 +02:00
Andrew McCreight
0c6b052b16
Bug 937960, part 3 - Pass in a small time budget with ICC. r=smaug
2013-12-18 21:22:55 -08:00
Ryan VanderMeulen
2d5b945f2d
Backed out changesets b03bd1170d1c, 419615a1195d, a1b699b80442, and 524c573fd8a6 (bug 937960) for Win7 debug xpcshell orange.
2013-12-18 19:04:11 -05:00
Ryan VanderMeulen
01410baa57
Backed out changeset fc0610680d3b (bug 950856) for Windows bustage.
...
CLOSED TREE
2013-12-18 16:01:44 -05:00
Ehsan Akhgari
55b50dec3f
Bug 950856 - Fail the build if you attempt to use NS_StackWalk on Windows where it won't work; r=froydnj,BenWa
...
--HG--
extra : rebase_source : 914250c939e4666f4a8630f7e9e57e466b669259
2013-12-18 15:03:11 -05:00
Andrew McCreight
ba157fe9fc
Bug 937960, part 3 - Pass in a small time budget with ICC. r=smaug
2013-12-18 11:42:16 -08:00
Andy Wingo
463eca9016
Bug 951483 - Add back nsCycleCollector::ShutdownCollect assertion that was mistakenly removed in bug 945813. r=mccr8
2013-12-18 11:01:32 +01:00
Nils Maier
dd0aa3f370
Bug 950391 - Add nsIMemoryReporterManager.unregisterStrongReporter. r=njn
...
Also do not allow to register non-native components as weak reporters.
2013-12-18 13:00:03 -05:00
Andrew McCreight
b2c805070f
Bug 937818, part 4 - Exceeded refcount nodes should already be black. r=smaug
...
Due to graph mutation during an incremental cycle collection, objects in the CC graph
may end up with more things pointing to them than they have a ref count. However, these
objects should never become garbage.
2013-12-17 19:29:57 -08:00