Commit Graph

12166 Commits

Author SHA1 Message Date
ZappaMan
e2fdf16cc3 Bug 956095 - Fix compiler warnings in TestCOMArray by initializing pointers. r=dougt 2014-01-16 08:26:00 -05:00
Tom Schuster
f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Nathan Froyd
a671e699c6 Bug 901022 - write to MOZ_TRACE_FILE when the visual event tracer is stopped; r=honzab
DONTBUILD because NPOTB
2013-07-25 12:21:58 -04:00
Wes Kocher
99dc526515 Merge m-c to inbound 2014-01-14 16:13:50 -08:00
Wes Kocher
78477885f2 Merge inbound to m-c 2014-01-14 15:24:45 -08:00
Blair McBride
9555477bbb Bug 897735 - Bustage fix for nsIBlocklistService.idl 2014-01-15 09:30:26 +13:00
Olli Pettay
77759a327d Bug 958315 - Suspect JS things released by dying C++ objects in the next CC, r=mccr8 2014-01-14 22:23:59 +02:00
Ryan VanderMeulen
b1e00a80a2 Bug 897735 - Bump the nsIBlocklistService IID.
DONTBUILD CLOSED TREE
2014-01-14 11:54:30 -05:00
Jim Chen
6dafd0dc11 Bug 951431 - Don't get stacks during profiler runs on Linux; r=BenWa 2014-01-14 10:33:32 -06:00
Jim Chen
2cb27e62c9 Bug 951431 - Report permanent hangs as transient hangs for now; r=froydnj 2014-01-14 10:33:31 -06:00
Jim Chen
af81d7df3a Bug 951431 - Monitor main thread hangs using BackgroundHangMonitor; r=vladan 2014-01-14 10:33:31 -06:00
Sachin Hosmani
3bf22859ba Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen
72b3035461 Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Sachin Hosmani
ac557339b2 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused 2014-01-06 14:16:32 +05:30
Jed Davis
a693e40605 Bug 948204 - Add pmem regions to the system memory report. r=njn 2014-01-14 10:03:31 -05:00
Landry Breuil
4bfe5729ff Bug 958234: Rename xptc{invoke,stubs}_asm_ppc_openbsd.s to .S to fix build on OpenBSD/powerpc after bug 932178 r=froydnj
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.S
2014-01-10 19:08:57 +01:00
Steven Michaud
dd64672e33 Bug 956310 - DMD builds fail on Mac OS X. r=bgirard 2014-01-08 17:06:22 -06:00
Olli Pettay
5cdea8d914 Bug 953435 - Browser hang on Mac if an AfterProcessNextEvent callback tries to spin the event loop, r=nfroyd+smichaud
--HG--
extra : rebase_source : e999d852f5f73b18f37ff6a5488cc171c95d9e61
2014-01-09 00:10:06 +02:00
Guilherme Gonçalves
5b1fa81c3e Bug 732923 - Make watchPosition timeouts adhere to spec. r=jdm
This also disables a couple of tests that depend on the network
provider on Android. These tests were passing by accident before
this patch (and started failing afterwards), and were never meant
to run on Android anyway.
2014-01-08 16:04:37 -05:00
Neil Rashbrook
465a600b29 Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Marina Samuel
8d3cdd80b7 Bug 950986: Use ToDouble() to convert version to a double independent of locale. r=doug.turner 2014-01-08 12:22:24 -05:00
Andrew McCreight
b0d96345f5 Bug 956080 - Rename BeginCycleCollection to TraverseRoots. r=smaug 2014-01-07 17:33:47 -08:00
Boris Zbarsky
72e2ce7440 Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence 2014-01-07 19:53:17 -05:00
Alessio Placitelli
71d2d8d004 Bug 950762 - Add fallible AppendUTF16toUTF8 and make DOMParser::ParseFromString fallible. r=jst, r=bsmedberg 2014-01-07 10:18:30 -05:00
Carsten "Tomcat" Book
15546f37d1 Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE 2014-01-07 15:18:43 +01:00
Jacek Caban
40790e8807 Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg 2014-01-07 14:54:52 +01:00
Patrick McManus
0e9470feb7 bug 751465 - websockets dns and proxies r=jduell r=bsmedberg
--HG--
extra : rebase_source : ad2046a95f1ec9000577cc0f67aedc0766a51ed2
2014-01-06 13:52:42 -05:00
Birunthan Mohanathas
d05644b6b3 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Jeff Walden
5d3f01c937 Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer.  (Examples are provided in NullPtr.h comments.)  The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes.  This problem is unavoidable without true nullptr.  Currently, the only valid use for NullptrT is believed to be in operator overloads.  All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.

--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Ehsan Akhgari
60eb19e15a Bug 884368 - Part 1: Add a memory reporter for AudioContexts; r=roc,njn 2014-01-04 13:15:41 -05:00
Ehsan Akhgari
22ef961b40 Bug 927728 - Part 2: Stop using PRUnichar in our code generators; r=roc,bzbarsky 2014-01-04 10:02:43 -05:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
75a3c1b080 Bug 758992 follow-up - Mark DoNothingCallback final to avoid compiler warnings; blanket-r=bzbarsky 2014-01-03 09:54:32 -05:00
Nicholas Nethercote
ff52f4208f Bug 955942 (part 3) - Merge the heap reporters. r=mccr8.
--HG--
extra : rebase_source : f836b1b2de9c850fa3d956bf6ef92a7c6c504fce
2014-01-02 15:19:08 -08:00
Nicholas Nethercote
91175eb896 Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
9366b60202 Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Andrew McCreight
91646dadb8 Bug 950959 - Rename scheduled cycle collector stuff to slice. r=smaug 2014-01-01 11:00:35 -08:00
Andrew McCreight
64258f4913 Bug 950949 - Run forgetSkippable per CC not per slice. r=smaug 2014-01-01 11:00:35 -08:00
Ms2ger
561cae4a0e Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Nomis101
f46f9860a6 Bug 909914 - Add a missing include to avoid error: "Use of undeclared identifier 'getpid'" when building with enable-macos-target=10.9; r=smichaud 2013-12-20 13:06:42 +01:00
Andrew McCreight
53e4433905 Bug 937960, part 3 - Pass in a small time budget with ICC. r=smaug 2013-12-22 09:58:19 -05:00
Nathan Froyd
fb3a3066d1 Bug 950882 - micro-optimize NS_TableDrivenQI calling sequence by reordering argument list; r=bsmedberg
For register-rich ABIs (e.g. x86-64 and ARM), QueryInterface's incoming
registers are going to look like:

arg register 1: |this|
arg register 2: the IID of interest
arg register 3: the outparam instance pointer

Most of our QI implementations call NS_TableDrivenQI, which expects
arguments like so:

arg register 1: |this|
arg register 2: the QITableEntry table
arg register 3: the IID of interest
arg register 4: the outparam instance pointer

So we're going to have to do a register shuffle of the IID and the
outparam to be able to load the QITableEntry pointer before calling into
NS_TableDrivenQI.

This patch reorders the argument list of NS_TableDrivenQI so that the
first three arguments match the order that QueryInterface receives them
in.  Then your typical QueryInterface implementation becomes:

- load local |table|
- tail-call NS_TableDrivenQI

Eliminating the register shuffling reduces text size by 12K on an
Android ARM build.
2013-12-13 19:50:02 -05:00
Ted Mielczarek
691df07b08 bug 918389 - move XPCOM abort messages into separate crash annotations. r=bsmedberg
--HG--
extra : rebase_source : d1762cb08c795020e2ca7612b903cd1f3d5ade50
2013-12-20 10:11:16 -05:00
Ryan VanderMeulen
e8e36d08b0 Backed out changesets ccdc3d4f4571, 4dcc91e771e3, 0ae14946314b, and 94d22ab0b17f (bug 937960) for Windows 7 debug xpcshell failures. 2013-12-19 16:57:55 -05:00
Ehsan Akhgari
76f262cff3 Bug 950856 - Fail the build if you attempt to use NS_StackWalk on Windows where it won't work; r=froydnj,BenWa 2013-12-18 15:03:11 -05:00
Isura Edirisinghe
ffae418d41 Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa 2013-12-19 11:42:19 -05:00
Henri Sivonen
75c00eb15b Bug 951110 - Make AssertValidDepedentString() more informative. r=bsmedberg. 2013-12-19 10:15:34 +02:00
Andrew McCreight
03a8a8e082 Bug 937960, part 3 - Pass in a small time budget with ICC. r=smaug 2013-12-18 21:22:55 -08:00
Ryan VanderMeulen
96ec232042 Backed out changesets b03bd1170d1c, 419615a1195d, a1b699b80442, and 524c573fd8a6 (bug 937960) for Win7 debug xpcshell orange. 2013-12-18 19:04:11 -05:00
Ryan VanderMeulen
0d91cad5c8 Backed out changeset fc0610680d3b (bug 950856) for Windows bustage.
CLOSED TREE
2013-12-18 16:01:44 -05:00