Cameron McCormack
a21e9e4529
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
54abe997e7
Merge fx-team to m-c. a=merge
2015-03-13 16:09:58 -04:00
Michael Ratcliffe
221a37877c
Bug 1046234 - Add more DevTools Telemetry measures (display size etc.) r=pbrosset, r=gijs
2015-03-13 11:52:45 +00:00
Nathan Froyd
84aa0abd27
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
8ddefeed54
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
de06110e34
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
0794c9018b
Bug 1133939 P2 Add tests validating nsPipeOutputStream AsyncWait behavior. r=froydnj
2015-02-21 09:51:17 -05:00
Ben Kelly
25093397b3
Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj
2015-02-21 09:51:17 -05:00
Carsten "Tomcat" Book
cfd2d20260
Backed out changeset 4b7febba9c14 (bug 1140105) for m2 test failures
2015-03-12 11:42:40 +01:00
Neil Rashbrook
18be6061b4
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
2cd18655a4
Bug 1142277 - Fix leak in failure path in TestPLDHash. r=erahm.
2015-03-11 15:39:58 -07:00
Nathan Froyd
2a01754551
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
ae473978b0
Bug 1140509 - remove the unused Infinity keyword from the xpidl parser; r=bsmedberg
2015-03-09 14:02:26 -04:00
Jed Davis
f2e1032764
Bug 1140714 - Pass through remote NS_OpenAnonymousTemporaryFile failure to caller. r=billm
2015-03-10 10:32:00 +01:00
Nathan Froyd
e9f067ac2a
Bug 1141689 - use services::GetObserverService more; r=ehsan
2014-04-29 13:31:06 -04:00
Andrew McCreight
95e91590c7
Bug 1119482, part 4 - Move IsJSHolder into HoldDropJSObjects. r=smaug
2015-03-10 16:41:38 -07:00
Andrew McCreight
558ef3c3b2
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
4ab2e487aa
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
8b0a2e2f4a
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
346d9f50b4
Bug 1139050, part 2 - Move nsAlgorithm.h to xpcom/base. r=froydnj
2015-03-10 16:41:38 -07:00
Andrew McCreight
69b67f08f3
Bug 1139050 - Add moz.build BUG_COMPONENT metadata for xpcom/. r=froydnj
2015-03-10 16:41:38 -07:00
Wes Kocher
f303b4d81c
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-10 15:44:53 -07:00
Wes Kocher
7ab87d0daf
Merge inbound to m-c a=merge CLOSED TREE
2015-03-10 15:33:33 -07:00
Carsten "Tomcat" Book
b3a1935b89
Merge mozilla-central to b2g-inbound
2015-03-10 14:07:36 +01:00
Thomas Zimmermann
2f96cc0581
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
192f09a8c7
Bug 1139361 - Remove gTLSThreadID*, NS_TLS and mozilla::threads::ID. r=nfroyd
2015-03-10 11:10:58 +09:00
Andrew McCreight
cf66099283
Bug 1114804 - Make ISupports use the standard deferred finalizer code. r=peterv
2015-03-10 08:35:47 -07:00
Thomas Baquet
f2c2b9520b
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
f13923ef31
Bug 1128768: Part 3 - Update BHR to allow for hang annotations; r=vladan
2015-02-18 23:22:01 -07:00
Aaron Klotz
2d2197d39b
Bug 1128768: Part 2 - Refactor hang annotation code; r=vladan
2015-03-09 19:41:24 -06:00
Mike Hommey
e4b247f703
Bug 868814 - Fold mozalloc library into mozglue. r=njn
2015-03-10 10:01:52 +09:00
Nathan Froyd
e0b5219a7a
Bug 1138123 - remove xpcom/sample/ as a bygone relic; r=bsmedberg
2015-03-09 11:37:21 -04:00
Ehsan Akhgari
bf8d9c72a5
Bug 1140762 - Move TestThreads.cpp to gtest and enable it; r=froydnj
2015-03-09 11:10:32 -04:00
Ehsan Akhgari
3afbd4ebf8
Bug 1140760 - Move TestXPIDLString.cpp to gtest and enable it; r=froydnj
2015-03-09 11:10:01 -04:00
Ehsan Akhgari
4c074c1280
Bug 1140771 - Build more XPCOM code in unified mode; r=froydnj
2015-03-09 11:09:35 -04:00
Jed Davis
9e0d0967f3
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
4cf0656fa3
Merge mozilla-central to fx-team
2015-03-10 14:05:23 +01:00
Roberto A. Vitillo
ef39a14bdb
Bug 1133521 - Enable BHR on Beta. r=vladan
2015-03-09 09:58:00 +01:00
Phil Ringnalda
12408373d5
Merge f-t to m-c, a=merge
2015-03-07 19:38:53 -08:00
Paolo Amadini
70e5ec26ad
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
eb1ed7fe09
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
b5c0f673a4
Backed out changeset 34ca2a2e09ea (bug 1133521) for BHR crashes
2015-03-06 16:34:59 +01:00
Roberto A. Vitillo
9481d65d5e
Bug 1133521 - Enable BHR on Beta. r=vladan
2015-03-03 06:24:00 -05:00
Boris Zbarsky
f22da41d9f
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
57f6535651
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
5d784cacbd
Bug 1139547 - Fix unsequenced variable modmification/access error. r=botond,bsmedberg
2015-03-05 06:04:03 -05:00
Andrew McCreight
35d9c4ab79
Bug 1138616, part 3 - Add a faster bloatlog-only mode. r=dbaron
2015-03-04 16:13:54 -08:00
Andrew McCreight
a3b7a4e74c
Bug 1138616, part 2 - Inline BloatEntry::AddRef and ::Release. r=dbaron
2015-03-04 16:13:54 -08:00
Andrew McCreight
aab9e0452e
Bug 1138616, part 1 - Remove nsTraceRefcntStats::mAddRefs and ::mReleases. r=dbaron
2015-03-04 16:13:54 -08:00
Andrew McCreight
a24ce95eac
Bug 1073594, part 4 - Remove nsTraceRefcntStats::mObjsOutstanding{Total, Squared}. r=dbaron
...
They are now unused.
2015-03-04 14:07:59 -08:00