Daniel Holbert
2416fccac8
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Markus Stange
b422d6cf72
Bug 1137963 - Use a spin lock for TraceRefCnt. r=waldo, r=froydnj
2015-03-17 00:18:25 -04:00
Cameron McCormack
5666308273
Bug 1123523 - Part 4: Add macro for notifying observers only when they implement a specific derived interface. r=smaug
2015-03-14 16:34:40 +11:00
Ryan VanderMeulen
125d500a93
Merge fx-team to m-c. a=merge
2015-03-13 16:09:58 -04:00
Michael Ratcliffe
64d3581939
Bug 1046234 - Add more DevTools Telemetry measures (display size etc.) r=pbrosset, r=gijs
2015-03-13 11:52:45 +00:00
Nathan Froyd
ea5d562afd
Bug 1142544 - delete now-unnecessary |extern "C++"| block from nsISupportsUtils.h; r=mccr8
...
We have blatant C++ code later on in the file; whatever C file(s) were
including nsISupportsUtils.h are now a distant memory.
2015-03-12 11:24:53 -04:00
Nathan Froyd
7ff6a1d668
Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
...
Calling QueryInterface with a statically known IID should typically not
be necessary. In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.
In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Nathan Froyd
3b26bd9bc8
Bug 1142074 - remove NS_{IMPORT,EXPORT}_STATIC_MEMBER_; r=bsmedberg
...
These have been unused for quite some time, and we have other ways of
flagging static variables for export/import now. Whatever GCC bugs
necessitated these macros are long gone as well.
2015-03-11 10:57:06 -04:00
Ben Kelly
1b9774edd8
Bug 1133939 P2 Add tests validating nsPipeOutputStream AsyncWait behavior. r=froydnj
2015-02-21 09:51:17 -05:00
Ben Kelly
6a06acd86c
Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj
2015-02-21 09:51:17 -05:00
Carsten "Tomcat" Book
2e7802014f
Backed out changeset 4b7febba9c14 (bug 1140105) for m2 test failures
2015-03-12 11:42:40 +01:00
Neil Rashbrook
9894c448fa
Bug 1140105 Can't query for a specific font face when the selection is collapsed r=ehsan
2015-03-12 08:40:29 +00:00
Nicholas Nethercote
b010bbd9ab
Bug 1142277 - Fix leak in failure path in TestPLDHash. r=erahm.
2015-03-11 15:39:58 -07:00
Nathan Froyd
f64498b7da
Bug 1141692 - use an actual Atomic for nsThreadPoolNaming::mCounter; r=bsmedberg
...
Marking a variable as volatile is never the right thing to do when
dealing with threads. Use real atomic accesses instead.
2015-03-10 14:41:45 -04:00
Nathan Froyd
d5966b6f1c
Bug 1140509 - remove the unused Infinity keyword from the xpidl parser; r=bsmedberg
2015-03-09 14:02:26 -04:00
Jed Davis
bfd03b069b
Bug 1140714 - Pass through remote NS_OpenAnonymousTemporaryFile failure to caller. r=billm
2015-03-10 10:32:00 +01:00
Nathan Froyd
b2f4f5ee97
Bug 1141689 - use services::GetObserverService more; r=ehsan
2014-04-29 13:31:06 -04:00
Andrew McCreight
92e5a329c0
Bug 1119482, part 4 - Move IsJSHolder into HoldDropJSObjects. r=smaug
2015-03-10 16:41:38 -07:00
Andrew McCreight
4dda6ef7f6
Bug 1119482, part 3 - Move the Hold and DropJSObjects implementations to a new HoldDropJSObjects.cpp file. r=smaug
2015-03-10 16:41:38 -07:00
Andrew McCreight
200a4851f2
Bug 1119482, part 2 - Move HoldDropJSObjects.h from xpcom/glue to xpcom/base. r=froydnj
...
This will clear the way for a HoldDropJSObjects.cpp, as xpcom/glue seems to use weird linking rules.
2015-03-10 16:41:38 -07:00
Andrew McCreight
35ae5469ff
Bug 1119482, part 1 - Use CycleCollectedJSRuntime::Get() in the various CC wrapper methods. r=smaug
...
It is a little cleaner to use this helper method if we only care about the CCJSRuntime pointer,
and it will let us move some of these methods out of this file more easily.
2015-03-10 16:41:38 -07:00
Andrew McCreight
ac226e9ed3
Bug 1139050, part 2 - Move nsAlgorithm.h to xpcom/base. r=froydnj
2015-03-10 16:41:38 -07:00
Andrew McCreight
ff1614a856
Bug 1139050 - Add moz.build BUG_COMPONENT metadata for xpcom/. r=froydnj
2015-03-10 16:41:38 -07:00
Wes Kocher
665d625c2f
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-10 15:44:53 -07:00
Wes Kocher
52e15f46f0
Merge inbound to m-c a=merge CLOSED TREE
2015-03-10 15:33:33 -07:00
Carsten "Tomcat" Book
df94ebd0ae
Merge mozilla-central to b2g-inbound
2015-03-10 14:07:36 +01:00
Thomas Zimmermann
b210b9b8be
Bug 1137151: Enable test for non-public ref-counted destructors on gcc 4.8 and later, r=nfroyd
2015-03-10 13:44:02 +01:00
Mike Hommey
9e66230c01
Bug 1139361 - Remove gTLSThreadID*, NS_TLS and mozilla::threads::ID. r=nfroyd
2015-03-10 11:10:58 +09:00
Andrew McCreight
1445d721d7
Bug 1114804 - Make ISupports use the standard deferred finalizer code. r=peterv
2015-03-10 08:35:47 -07:00
Thomas Baquet
749f667e1b
Bug 1132078 - Remove useless null checks after allocating memory with |new| from xpcom/io. r=nfroyd
2015-03-02 11:59:36 +01:00
Aaron Klotz
c68a3139c4
Bug 1128768: Part 3 - Update BHR to allow for hang annotations; r=vladan
2015-02-18 23:22:01 -07:00
Aaron Klotz
f357a87f9a
Bug 1128768: Part 2 - Refactor hang annotation code; r=vladan
2015-03-09 19:41:24 -06:00
Mike Hommey
d84d9950a3
Bug 868814 - Fold mozalloc library into mozglue. r=njn
2015-03-10 10:01:52 +09:00
Nathan Froyd
be933df093
Bug 1138123 - remove xpcom/sample/ as a bygone relic; r=bsmedberg
2015-03-09 11:37:21 -04:00
Ehsan Akhgari
756095d1ec
Bug 1140762 - Move TestThreads.cpp to gtest and enable it; r=froydnj
2015-03-09 11:10:32 -04:00
Ehsan Akhgari
84c37b8c6e
Bug 1140760 - Move TestXPIDLString.cpp to gtest and enable it; r=froydnj
2015-03-09 11:10:01 -04:00
Ehsan Akhgari
73d8cc167e
Bug 1140771 - Build more XPCOM code in unified mode; r=froydnj
2015-03-09 11:09:35 -04:00
Jed Davis
c10b4af965
Bug 1137007 - Detect namespace and SECCOMP_FILTER_FLAG_TSYNC support in SandboxInfo. r=kang, r=Unfocused
...
Currently, only user namespace support is detected. This is targeted at
desktop, where (1) user namespace creation is effectively a prerequisite
for unsharing any other namespace, and (2) any kernel with user
namespace support almost certainly has all the others.
Bonus fix: remove extra copy of sandbox flag key names in about:support;
if JS property iteration order ever ceases to follow creation order, the
table rows could be permuted, but this doesn't really matter.
2015-03-06 13:59:00 -05:00
Carsten "Tomcat" Book
fea756a473
Merge mozilla-central to fx-team
2015-03-10 14:05:23 +01:00
Roberto A. Vitillo
1328947d4f
Bug 1133521 - Enable BHR on Beta. r=vladan
2015-03-09 09:58:00 +01:00
Phil Ringnalda
612cc1c896
Merge f-t to m-c, a=merge
2015-03-07 19:38:53 -08:00
Paolo Amadini
8458c288b0
Bug 1140435 - Part 2 - Allow JS code to provide an async stack when calling a function. r=bz
2015-03-07 13:30:34 +00:00
Paolo Amadini
e4334da8e3
Bug 1140435 - Part 1 - Add the asyncCause and asyncCaller properties to nsIStackFrame. r=bz
2015-03-07 13:30:34 +00:00
Carsten "Tomcat" Book
4bc6e41fcd
Backed out changeset 34ca2a2e09ea (bug 1133521) for BHR crashes
2015-03-06 16:34:59 +01:00
Roberto A. Vitillo
d73bdb63d1
Bug 1133521 - Enable BHR on Beta. r=vladan
2015-03-03 06:24:00 -05:00
Boris Zbarsky
9ef5f46a3f
Bug 1122238 part 3. Drop all the DOMException-cloning and sanitization gunk we added in bug 1107592 and bug 1107953 and bug 1117242 . r=bholley
2015-03-06 01:08:06 -05:00
Boris Zbarsky
cdd8a68049
Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley
2015-03-06 16:33:31 -05:00
Kartikaya Gupta
7f7ae1d7a9
Bug 1139547 - Fix unsequenced variable modmification/access error. r=botond,bsmedberg
2015-03-05 06:04:03 -05:00
Andrew McCreight
e2b2417dbe
Bug 1138616, part 3 - Add a faster bloatlog-only mode. r=dbaron
2015-03-04 16:13:54 -08:00
Andrew McCreight
f007c32f28
Bug 1138616, part 2 - Inline BloatEntry::AddRef and ::Release. r=dbaron
2015-03-04 16:13:54 -08:00