Randell Jesup
3a1c23be31
Bug 988698: Ensure threads can't be started during nsThreadManager::Shutdown() r=nfroyd
2015-03-23 16:49:09 -04:00
Ben Kelly
16c3107c9f
Bug 1142852 P1 Fix NS_NewNonOwningRunnableMethodWithArgs() so that it compiles. r=froydnj
2015-03-23 22:28:09 -04:00
Ehsan Akhgari
74ad569cf4
Bug 1145631 - Part 3: Replace MOZ_OVERRIDE with override in the XPIDL codegen; r=froydnj
2015-03-21 12:28:27 -04:00
Ehsan Akhgari
33bb32f549
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nicholas Nethercote
b3230c7a24
Bug 1145007 (part 2) - Add a "resident-peak" distinguished amount and memory reporter on Unix. r=erahm.
2015-03-19 15:16:37 -07:00
Geoff Brown
a3e7accefa
Bug 1140148 - Update xpcshell test manifests for Android 4.3 emulator; r=dminor
2015-03-19 11:00:58 -06:00
Jacek Caban
4c2c54f407
Bug 1142584 - Fixed nsEscape.cpp compilation on mingw GCC 4.8. r=nfroyd
2015-03-19 14:29:54 +01:00
William Chen
0e66f2c712
Bug 1131348 - Use fallible Append in content serializers. r=smaug,nfroyd
2015-03-17 01:55:22 -07:00
Andrew McCreight
c34850707a
Bug 1137536, part 3 - Move the top level DeferredFinalize functions into their own file. r=smaug
2015-03-18 11:36:03 -07:00
Andrew McCreight
0f7082e12b
Bug 1137536, part 1 - Move DeferredFinalize out of the cyclecollector namespace. r=smaug
2015-03-18 11:36:03 -07:00
Daniel Holbert
2c24121797
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
01a56a4404
Bug 1137963 - Use a spin lock for TraceRefCnt. r=waldo, r=froydnj
2015-03-17 00:18:25 -04:00
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