Граф коммитов

13590 Коммитов

Автор SHA1 Сообщение Дата
Trevor Saunders d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Terrence Cole dd4ddb761b Bug 1135985 - Split callback and marking tracers completely; r=jonco, r=mccr8
--HG--
extra : rebase_source : b2e435ebf64ec0bac42af7a8f0968578599fd67b
2015-02-25 13:11:37 -08:00
Randell Jesup b65df53174 Bug 988698: Ensure threads can't be started during nsThreadManager::Shutdown() r=nfroyd 2015-03-23 16:49:09 -04:00
Ben Kelly c32262c9c1 Bug 1142852 P1 Fix NS_NewNonOwningRunnableMethodWithArgs() so that it compiles. r=froydnj 2015-03-23 22:28:09 -04:00
Ehsan Akhgari cc8420e5e2 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 883849ee32 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 b5b1a4609e Bug 1145007 (part 2) - Add a "resident-peak" distinguished amount and memory reporter on Unix. r=erahm.
--HG--
extra : rebase_source : 3fb7c2020d3abd29fdbf8042a0932b24d92b234b
2015-03-19 15:16:37 -07:00
Geoff Brown 13431d9251 Bug 1140148 - Update xpcshell test manifests for Android 4.3 emulator; r=dminor 2015-03-19 11:00:58 -06:00
Jacek Caban 50943d7672 Bug 1142584 - Fixed nsEscape.cpp compilation on mingw GCC 4.8. r=nfroyd 2015-03-19 14:29:54 +01:00
William Chen 71814e4b31 Bug 1131348 - Use fallible Append in content serializers. r=smaug,nfroyd
--HG--
extra : rebase_source : b14e676c057c7a3e02f9beddbfdffabdcd688b60
2015-03-17 01:55:22 -07:00
Andrew McCreight 468e063778 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 fc0fb081b0 Bug 1137536, part 1 - Move DeferredFinalize out of the cyclecollector namespace. r=smaug 2015-03-18 11:36:03 -07:00
Daniel Holbert 082fd9cd7f 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 f3eca43eb6 Bug 1137963 - Use a spin lock for TraceRefCnt. r=waldo, r=froydnj 2015-03-17 00:18:25 -04:00
Cameron McCormack 9863e4114b 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 29c79b8b0b Merge fx-team to m-c. a=merge 2015-03-13 16:09:58 -04:00
Michael Ratcliffe 2b45132b59 Bug 1046234 - Add more DevTools Telemetry measures (display size etc.) r=pbrosset, r=gijs 2015-03-13 11:52:45 +00:00
Nathan Froyd fca6fbc4c7 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 b252a27930 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 46bf91f4be 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 e028338c3b Bug 1133939 P2 Add tests validating nsPipeOutputStream AsyncWait behavior. r=froydnj 2015-02-21 09:51:17 -05:00
Ben Kelly 2e310809bb Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj 2015-02-21 09:51:17 -05:00
Carsten "Tomcat" Book 3c43e59507 Backed out changeset 4b7febba9c14 (bug 1140105) for m2 test failures 2015-03-12 11:42:40 +01:00
Neil Rashbrook bd1fe0f27a 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 3aebac5d0d Bug 1142277 - Fix leak in failure path in TestPLDHash. r=erahm.
--HG--
extra : rebase_source : fbd5cf61033b9cffe099a6b216c41ae6a89b875e
2015-03-11 15:39:58 -07:00
Nathan Froyd e7363b8b6b 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 8c2657fa26 Bug 1140509 - remove the unused Infinity keyword from the xpidl parser; r=bsmedberg 2015-03-09 14:02:26 -04:00
Jed Davis 3023c21f00 Bug 1140714 - Pass through remote NS_OpenAnonymousTemporaryFile failure to caller. r=billm
--HG--
extra : rebase_source : fd35b8f72fc8fc0ab3982be510acddef9db57759
2015-03-10 10:32:00 +01:00
Nathan Froyd 4380a42bbc Bug 1141689 - use services::GetObserverService more; r=ehsan 2014-04-29 13:31:06 -04:00
Andrew McCreight def1230d4e Bug 1119482, part 4 - Move IsJSHolder into HoldDropJSObjects. r=smaug 2015-03-10 16:41:38 -07:00
Andrew McCreight 2cf438367a 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 ea55946825 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.

--HG--
rename : xpcom/glue/HoldDropJSObjects.h => xpcom/base/HoldDropJSObjects.h
2015-03-10 16:41:38 -07:00
Andrew McCreight a5fe5ce48e 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 3367b6f363 Bug 1139050, part 2 - Move nsAlgorithm.h to xpcom/base. r=froydnj
--HG--
rename : xpcom/string/nsAlgorithm.h => xpcom/base/nsAlgorithm.h
2015-03-10 16:41:38 -07:00
Andrew McCreight 75b58ba304 Bug 1139050 - Add moz.build BUG_COMPONENT metadata for xpcom/. r=froydnj 2015-03-10 16:41:38 -07:00
Wes Kocher d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Wes Kocher 74430ec4c7 Merge inbound to m-c a=merge CLOSED TREE 2015-03-10 15:33:33 -07:00
Carsten "Tomcat" Book cc4d1b9af9 Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Thomas Zimmermann 614234540f 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 ad8f212161 Bug 1139361 - Remove gTLSThreadID*, NS_TLS and mozilla::threads::ID. r=nfroyd 2015-03-10 11:10:58 +09:00
Andrew McCreight b1093185b2 Bug 1114804 - Make ISupports use the standard deferred finalizer code. r=peterv 2015-03-10 08:35:47 -07:00
Thomas Baquet 0dad1fee4b 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 05bbe4e32d Bug 1128768: Part 3 - Update BHR to allow for hang annotations; r=vladan
--HG--
extra : rebase_source : ba653b0f314e687c4c7a442291888a538a8c68d1
2015-02-18 23:22:01 -07:00
Aaron Klotz 0f6fdabeee Bug 1128768: Part 2 - Refactor hang annotation code; r=vladan
--HG--
extra : rebase_source : f492ff9a5aa78afd2121afc8fd18c08b6831cdc3
2015-03-09 19:41:24 -06:00
Mike Hommey 364038011c Bug 868814 - Fold mozalloc library into mozglue. r=njn
--HG--
rename : memory/mozalloc/moz.build => memory/mozalloc/staticruntime/moz.build
2015-03-10 10:01:52 +09:00
Nathan Froyd b6f5257874 Bug 1138123 - remove xpcom/sample/ as a bygone relic; r=bsmedberg 2015-03-09 11:37:21 -04:00
Ehsan Akhgari 82fce30849 Bug 1140762 - Move TestThreads.cpp to gtest and enable it; r=froydnj
--HG--
rename : xpcom/tests/TestThreads.cpp => xpcom/tests/gtest/TestThreads.cpp
2015-03-09 11:10:32 -04:00
Ehsan Akhgari db5ec9921e Bug 1140760 - Move TestXPIDLString.cpp to gtest and enable it; r=froydnj
--HG--
rename : xpcom/tests/TestXPIDLString.cpp => xpcom/tests/gtest/TestXPIDLString.cpp
2015-03-09 11:10:01 -04:00
Ehsan Akhgari a98abb5918 Bug 1140771 - Build more XPCOM code in unified mode; r=froydnj 2015-03-09 11:09:35 -04:00
Jed Davis 19355a43d5 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