Commit Graph

4895 Commits

Author SHA1 Message Date
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Randell Jesup
86cd5daff6 Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan 2014-04-27 00:29:18 -04:00
Zack Weinberg
d5fc5cb4a1 Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg 2014-04-26 10:56:54 -04:00
Chris Peterson
4b2389ff01 Backed out changeset 18034a2d0732 (bug 940329) for build bustage 2014-04-26 23:11:47 -07:00
Nathan Froyd
07e80e3605 Bug 940329: fix spammy implicit type-conversion warnings in nsTSubstring.h r=ehsan 2014-04-27 00:29:25 -04:00
Randell Jesup
000c46808d Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan 2014-04-27 00:29:18 -04:00
James Kitchener
687b04b1d8 Bug 1000030 - Don't let Windows overwrite length 0 strings. r=dmajor 2014-04-26 04:03:00 -04:00
Birunthan Mohanathas
c625b46091 Bug 900903 - Part 3: Remove numbered macros in nsCycleCollectionParticipant.h. r=smaug 2014-04-25 12:50:00 -04:00
Nathan Froyd
7301de13be Backout 2629257557ff:284be1609a50 (bug 1001842) for debug xpcshell bustage 2014-04-26 13:18:32 -04:00
Nathan Froyd
5e810ecabe Backout f615a0532971:154fb9a9e0bc (bug 493701) for Cpp bustage 2014-04-26 13:12:10 -04:00
Zack Weinberg
0ebd4af1d3 Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg 2014-04-26 10:56:54 -04:00
Arpad Borsos
11f28b0265 Bug 493701 - part 1: add nsTObserverArray::BackwardIterator; r=bzbarsky
--HG--
extra : rebase_source : cb875dcd70b76b819abb1d516db74e55a3babd54
2013-12-10 13:28:31 +01:00
Arpad Borsos
8bb9ef822b Bug 493701 - part 1: add nsTObserverArray::BackwardIterator; r=bzbarsky
--HG--
extra : rebase_source : cf37f9cf8ee8a4198741eea69d0fcedef64053fc
2013-12-10 13:28:31 +01:00
Benoit Jacob
4172458bd1 Bug 989320 - Add cycle collection support for MFBT EnumeratedArray - r=mccr8 2014-04-25 22:34:03 -04:00
Eric Rahm
73af1e6314 Bug 1001137 - Use proper pref for configuring fifo directory. r=froydnj
--HG--
extra : rebase_source : 6d45f4b6b9d86ab6718d07a4a7bfe83454d095fd
2014-04-25 13:53:01 -07:00
Eric Rahm
18f7073ce7 Bug 1000461 - Enable triggering memory report via fifo device on OS X. r=froydnj 2014-04-24 17:35:59 -07:00
Eric Rahm
4277a8d2df Bug 1001137 - Enabling FifoWatcher via user pref does not work. r=froydnj 2014-04-24 15:58:57 -07:00
Ed Morley
551fcae876 Backed out changeset fbb86a21aba0 (bug 924622) for leaks on OS X 10.6; CLOSED TREE 2014-04-25 17:51:42 +01:00
Trevor Saunders
3f904cfc43 bug 980753 - make nsRefPtr movable r=froydnj 2014-02-26 18:11:14 -05:00
Nicolas Silva
96601efc35 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-25 13:55:36 +02:00
Birunthan Mohanathas
55e230eaba Bug 900908 - Part 2: Add variadic variants of numbered macros in nsIClassInfoImpl.h. r=froydnj
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:21:00 +02:00
Birunthan Mohanathas
0983aefecd Bug 900908 - Part 1: Add variadic variants of numbered macros in nsISupportsImpl.h. r=froydnj
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:20:00 +02:00
Birunthan Mohanathas
a5ddfe2311 Bug 900903 - Add variadic variants of numbered macros in nsCycleCollectionParticipant.h. r=smaug
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:13:00 +02:00
Aaron Klotz
dfa2de3ba5 Bug 998795: Use nsAutoPtr to initialize MainThreadIOLoggerImpl(); r=froydnj 2014-04-24 20:06:12 -06:00
Eric Faust
a41d6a1508 Bug 1001126 - Allow AllTraces CC logging other than at shutdown. (r=mccr8) 2014-04-24 14:28:49 -07:00
Eric Rahm
78fb9239ae Bug 1000621 - Check if DMD is enabled before dumping. r=njn. DONTBUILD 2014-04-24 12:43:11 -07:00
Steven Michaud
4bae9fb75a Bug 997908 - Add null check to ReleaseSliceNow() as bandaid for Mac topcrasher. r=smaug 2014-04-24 11:46:39 -05:00
Shelly Lin
af4ca54a0d Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey. 2014-03-27 16:49:06 +08:00
Ehsan Akhgari
f414f56cb2 Bug 999883 - Make BackgroundHangMonitor not use mozilla::RefCounted; r=froydnj 2014-04-23 09:45:56 -04:00
Randell Jesup
04488d3bb4 Bug 998880: don't busy-wait in nsThread waiting for shutdown or DISPATCH_SYNC r=bsmedberg 2014-04-22 15:34:24 -04:00
Jan Beich
ac960a4665 Bug 983953 - Don't try to use vpx_mem if --with-system-libvpx doesn't provide. r=glandium 2014-04-22 08:44:04 -04:00
Jim Chen
683ad4682a Bug 985155 - Add signal trampoline on ARM Linux to work around kernel bug. r=snorp 2014-04-21 17:15:44 -04:00
Aaron Klotz
460566bab5 Bug 935482: New IOInterposer observer for recording main thread I/O to file; r=froydnj 2014-04-19 14:28:02 -06:00
Terrence Cole
4ab31f28b9 Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Ryan VanderMeulen
620d0f57eb Merge inbound to m-c. 2014-04-18 09:08:59 -04:00
Ryan VanderMeulen
5346758a03 Merge m-c to b2g-inbound. 2014-04-17 22:37:10 -04:00
Dave Hylands
775a6c8685 Bug 990230 - Fix heap use-after-free in memory reporter. r=n.nethercote 2014-04-17 16:57:30 -07:00
Randell Jesup
627f6cdcb0 Bug 997286: bustage fix on a CLOSED TREE rs=dholbert 2014-04-17 15:32:34 -04:00
Randell Jesup
7164e62f23 Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg 2014-04-17 15:13:44 -04:00
Daniel Holbert
1d864c60b8 Bug 997982: Mark xpcom/glue/tests/gtest/ as FAIL_ON_WARNINGS. r=froydnj 2014-04-17 15:10:43 -07:00
Chris Peterson
0c23b19f12 Bug 997026 - Part 1: Fix clang -Wunused-const-variable warnings in xpcom. r=froydnj 2014-04-15 00:24:13 -07:00
Nathan Froyd
6ca1704821 Bug 682216 - add a memory reporter for libnestegg's memory; r=njn,kinetik 2014-04-08 10:36:30 -04:00
Daniel Holbert
5b811ca103 Bug 997306: Use size_t loop iterators in TestGCPostBarriers.cpp to fix signed/unsigned comparison build warnings. r=jonco 2014-04-17 09:00:34 -07:00
Randell Jesup
2e6f61e3bb Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg 2014-04-16 16:39:16 -04:00
Ryan VanderMeulen
c71414c58b Merge m-c to inbound. 2014-04-15 23:30:15 -04:00
Ryan VanderMeulen
04f8f51173 Merge inbound to m-c. 2014-04-15 23:26:35 -04:00
Phil Ringnalda
1b97f98ee4 Back out e17d61d6acf6 (bug 924622) for apparently making the mismatched CxxStackFrame aborts more frequent rather than less 2014-04-15 20:00:59 -07:00
Jonathan Watt
677f7fdb5d Bug 950372 follow-up - Avoid having the preprocessor define for READ in linux/fs.h break Moz2D's 2D.h by making sure 2D.h is included before whatever includes linux/fs.h. r=B2G KK Emulator Opt/Debug bustage 2014-04-16 01:48:02 +01:00
Nicolas Silva
ee2c3eec19 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-15 11:34:33 +02:00
Carsten "Tomcat" Book
bd2330e021 Backed out changeset f52300725e6f (bug 924622) for Linux Test Bustage 2014-04-15 12:46:25 +02:00
Kyle Huey
3be8fc6baf Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
a537226f0b Bug 993734: Stop pretending that the observer service is threadsafe. r=bsmedberg
--HG--
extra : rebase_source : 233d626d1127cc9c82adb6d486b1ad599bb060ce
2014-04-14 12:04:26 -07:00
Kyle Huey
b6957123df Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
Terrence Cole
fb5836e633 Bug 994413 - Make Gecko use the same value marking semantics as SpiderMonkey; r=jonco,mccr8 2014-04-09 12:42:48 -07:00
Botond Ballo
b56cd2cc98 Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan
--HG--
extra : source : 896fa761f32dad205897953d812e78dadf6136e7
2014-04-11 17:39:58 -04:00
Nathan Froyd
2585135c22 Bug 993546 - refactor malloc-wrapping memory reporter implementations; r=njn 2014-04-08 13:51:20 -04:00
Nicolas Silva
bcecbebe18 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-15 11:34:33 +02:00
Márk Bartos
2aab2cb3ab Bug 106787 - Fix: Remove nsIAllocator and it's references. r=bsmedberg 2014-04-14 17:20:45 +02:00
Ed Morley
cc565a8c1f Backed out changeset 27ceedad1d1c (bug 976605) 2014-04-15 17:45:24 +01:00
Botond Ballo
02a3e3d2af Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan
--HG--
extra : source : d030d78ad4f67528ca16d8dbe6aaa72990f30ba0
2014-04-11 17:39:58 -04:00
Ryan VanderMeulen
1823db3230 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Eric Rahm
66407f4d7b Bug 995345 - Improve efficiency of NS_DescribeCodeAddress. r=froydnj
--HG--
extra : rebase_source : ab839d1898d9fe122f2519a657391437dc7216bc
2014-04-14 13:25:04 -07:00
Ryan VanderMeulen
601b02224e Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Ryan VanderMeulen
9a55deee64 Backed out 2 changesets (bug 993734, bug 995405) for Windows bustage on a CLOSED TREE.
Backed out changeset 3797f7c91ed2 (bug 993734)
Backed out changeset 9d4032c2f237 (bug 995405)
2014-04-14 15:39:28 -04:00
Kyle Huey
a50fb4de7c Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
348491b45a Bug 993734: Stop pretending that the observer service is threadsafe. r=bsmedberg 2014-04-14 12:04:26 -07:00
Kyle Huey
acd8c16b76 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Boris Zbarsky
a13f2f38be Bug 995047. Change out stack/exception APIs to hand out AString instead of AUTF8String for filename/functionname, so we end up with fewer string conversions in practice. r=smaug 2014-04-11 22:20:40 -04:00
Ehsan Akhgari
893357ffa7 Improve the comment about MOZ_COUNT_CTOR/DTOR, text mostly by bent
no bug, DONTBUILD, landed on a CLOSED TREE
2014-04-11 15:41:22 -04:00
Ehsan Akhgari
cca17e36e9 Add a comment to indicate that MOZ_COUNT_CTOR/DTOR should not be used in refcounted objects
no bug, DONTBUILD, landed on a CLOSED TREE
2014-04-11 15:12:38 -04:00
Ryan VanderMeulen
67a863c0c5 Merge m-c to inbound on a CLOSED TREE. 2014-04-10 22:16:50 -04:00
Ed Morley
c0321014a8 Merge mozilla-central and b2g-inbound 2014-04-10 17:59:51 +01:00
Mike Habicher
dd79db6c78 Bug 965420 - camera face-tracking, r=bz,dhylands 2014-04-09 11:52:10 -04:00
Youngwoo Jo
9a24f21df5 Bug 965421 - camera continuous autofocus status callback, r=jst,mikeh 2014-04-09 11:12:25 -04:00
Aaron Klotz
0fe393e140 Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj 2014-04-08 22:57:52 -06:00
Jon Coppeard
b6f33280f7 Bug 993410 - Improve coverage of nsTArray post barriers test r=terrence 2014-04-09 09:58:43 +01:00
Jed Davis
4742184268 Bug 991791 - Fix some timing-dependent edge cases in nsMemoryReporterManager child handling. r=njn
The patch for bug 946407 changed the state space of
nsMemoryReporterManager in a subtle way: if we're using
MinimizeMemoryUsage with our report, then it's possible for all of
the child processes to finish (or for the timeout to expire) before
the parent has started reporting on itself.  This could cause us to
dereference a null pointer to the state struct in StartGettingReports().

To fix this, we keep track of whether the parent has actually done its
report, and defer finishing the report until then.
2014-04-07 13:33:00 +02:00
Ben Kelly
de721ff0ff Bug 991412: Provide static convenience method to retrieve RSS. r=njn 2014-04-07 10:46:20 -04:00
Eric Faust
75a58dbebc Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Ryan VanderMeulen
530aa4b0ef Merge m-c to inbound on a CLOSED TREE. 2014-04-04 15:12:07 -04:00
Ryan VanderMeulen
620c42bcde Merge inbound to m-c. 2014-04-04 14:51:38 -04:00
Maksim Lebedev
4b49370e14 Bug 968148 - Implement PointerCapture for pointer events. r=smaug
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Benjamin Smedberg
cd2fddc1ce Bug 986582 - Get rid of the toolkit.telemetry.enabledPreRelease pref and make the toolkit.telemetry.enabled pref do the right thing for beta users who are testing a final release build, r=rnewman
--HG--
extra : rebase_source : 43f70e2c1c3207f37ba0789245958cb0c34187f6
2014-04-03 14:55:42 -04:00
Jan Varga
ad7713c9a2 Bug 856921 - Ensure that all quota failures are exposed to JS as QuotaExceededError. r=bent 2014-04-02 19:14:14 +02:00
Jon Coppeard
3e811f8ee0 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Shu-yu Guo
66303a7e33 Bug 989509 - Part 2: dom/, netwerk/, startupcache/, and xpcom/ (r=aklotz,bent,gvselto,mayhemer,Mossop) 2014-04-03 19:29:40 -07:00
Jim Blandy
db472c4503 Bug 951855: Add omitted doc fix requested by smaug in patch review. DONTBUILD r=smaug 2014-04-01 21:30:42 -07:00
Jim Blandy
414ad5b6e7 Bug 951855: Improve documentation for nsICycleCollectionListener and nsICycleCollectionHandler. r=smaug 2014-04-01 21:12:08 -07:00
snigdha
90f0f64d5b 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-04-01 08:29:25 -04:00
Mike Hommey
edf4794405 Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
3dbd6f1f57 Backed out changeset 561b9329d832 (bug 988168) for wrong attribution. 2014-04-01 13:17:50 +09:00
Jacek Caban
258449c186 Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
b4ed5e9a80 Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression 2014-03-29 16:49:19 +09:00
Viktor Stanchev
8e97dc768e Bug 963158 - Profiler shouldn't sample sleeping threads multiple times. r=bgirard,roc,bent,froydnj
--HG--
extra : rebase_source : 75789c4359a2cb02b2588cfbc9b6b3cbd1e79c78
2014-03-28 16:08:22 -04:00
Mike Hommey
d55f8470ad Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-29 07:50:08 +09:00
Neil Rashbrook
041b6d4b17 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Neil Rashbrook
d8a22dc73a Bug 514280 Remove concrete classes from interface maps r=bsmedberg 2014-03-28 08:40:13 +00:00
Steve Workman
a7026cfd7d Bug 925623 - Implement NS_IMPL_ISUPPORTS13 r=bsmedberg 2014-03-27 13:54:10 -07:00
Ehsan Akhgari
5b9f45a1a5 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Ehsan Akhgari
e844abc702 Bug 798158 - Part 0: Do not treat format warnings as errors in a few directories; r=mshal 2014-03-27 16:38:20 -04:00