Commit Graph

5947 Commits

Author SHA1 Message Date
Bill McCloskey
afd6d68422 Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap) 2015-03-26 14:39:48 -07:00
Ryan VanderMeulen
3234f2e8e8 Merge m-c to fx-team. a=merge 2015-03-25 13:46:11 -04:00
Alessio Placitelli
2558c3ec2c Bug 1134279 - Change Telemetry data producers to use the correct recording flags. r=vladan 2015-03-23 04:39:00 +01:00
Trevor Saunders
473f2ceb3c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Terrence Cole
c1ae37a9e9 Bug 1135985 - Split callback and marking tracers completely; r=jonco, r=mccr8 2015-02-25 13:11:37 -08:00
Randell Jesup
476c994793 Bug 988698: Ensure threads can't be started during nsThreadManager::Shutdown() r=nfroyd 2015-03-23 16:49:09 -04:00
Ben Kelly
20eac4d870 Bug 1142852 P1 Fix NS_NewNonOwningRunnableMethodWithArgs() so that it compiles. r=froydnj 2015-03-23 22:28:09 -04:00
Ehsan Akhgari
d6ffc10a4f 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
5cccea6f0f 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
c9a60ad954 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
cd69b10089 Bug 1140148 - Update xpcshell test manifests for Android 4.3 emulator; r=dminor 2015-03-19 11:00:58 -06:00
Jacek Caban
425461aedb Bug 1142584 - Fixed nsEscape.cpp compilation on mingw GCC 4.8. r=nfroyd 2015-03-19 14:29:54 +01:00
William Chen
43b711f8d9 Bug 1131348 - Use fallible Append in content serializers. r=smaug,nfroyd 2015-03-17 01:55:22 -07:00
Andrew McCreight
352107f21f 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
6b63ff6831 Bug 1137536, part 1 - Move DeferredFinalize out of the cyclecollector namespace. r=smaug 2015-03-18 11:36:03 -07:00
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