Commit Graph

4875 Commits

Author SHA1 Message Date
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
Ms2ger
794257a824 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Jan Beich
7107ae4827 Bug 988910 - Explictly include unistd.h for read/write/close calls. r=njn 2014-03-27 15:06:14 -04:00
Ehsan Akhgari
727bc86912 Bug 965362 - Part 1: Make sure that nsScriptableInputStream::Read reads all of the allowed available bytes from the input stream; r=bsmedberg 2014-03-27 11:20:08 -04:00
Ben Turner
2618b90122 Bug 987285 - 'Let nsBaseHashtable and subclasses call MarkImmutable'. r=bsmedberg. 2014-03-27 11:09:53 -04:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
bff11409a3 Merge b2g-inbound to m-c. 2014-03-26 20:46:47 -04:00
Kathleen Brade
0a5c9dff91 Bug 962314 - Create nsIXULAppinfo.processID for obtaining Firefox PID; r=bsmedberg
--HG--
extra : rebase_source : 36536f7ed561dda55bc067a4d0d9ddef790bed17
2014-03-26 11:55:22 -04:00
Alphan Chen
9eba7d103a Bug 964636 - Part 2: Implement "about:service" framework core. r=dhylands 2014-03-20 10:52:11 +08:00
Alphan Chen
9bb915d298 Bug 964636 - Part 1: Move common classes and functions out of nsMemoryInfoDumper. r=dhylands 2014-03-20 15:29:51 +08:00
Andrea Marchesini
4fad1489fb Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Wes Kocher
83a364c8e6 Merge m-c to b2g-inbound 2014-03-21 17:59:13 -07:00
Fabrice Desré
57b5964974 Bug 980419 - Don't access preferences omt in nsMemoryInfoDumper.cpp r=bsmedberg 2014-03-21 13:50:44 -07:00
Ryan VanderMeulen
a361d3f8f1 Merge m-c to inbound. 2014-03-21 16:49:07 -04:00
Ghislain 'Aus' Lacroix
c9fe8d726d Bug 960749 - Improve error messages when < and > are used in filenames. r=bsmedberg
* Unify OS_FILE_ILLEGAL_CHARACTERS
* Provide KNOWN_PATH_SEPARATORS in addition to FILE_PATH_SEPARATOR.
* Update nsExternalAppHandler to use KNOWN_PATH_SEPARATORS instead of
  FILE_PATH_SEPARATOR when removing path separators.
* Fix DownloadsIPC.jsm when compiling with MOZ_DEBUG (would throw on undefined download.id).
* Add test for stripping out illegal characters when downloading.
2014-03-20 14:05:40 -07:00
Ehsan Akhgari
17c8d2bddd Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Kyle Huey
b3d1f15c57 Bug 968031: Remove threadsafe refcounting from ContentParent and add it to the cycle collector graph. r=bent,mccr8 2014-03-19 17:22:25 -07:00
Ryan VanderMeulen
c5975cfb88 Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage. 2014-03-19 14:00:10 -04:00
Alessio Placitelli
208513304c Bug 950076 - Add a fallible form of nsAString::Append and Replace and use it in nsTextFragment::AppendTo. r=bsmedberg, r=jst 2014-03-19 13:05:02 -04:00
Nathan Froyd
61a6f7901d Bug 984466 - change CallQueryInterface to assert in cases of trivial conversions; r=ehsan 2014-03-17 13:00:17 -04:00
Nathan Froyd
2d0c5a6725 Bug 984450 - delete unused, deprecated Recycle definitions in nsString.h; r=bsmedberg 2014-03-17 12:27:29 -04:00