Commit Graph

1840 Commits

Author SHA1 Message Date
Bill McCloskey
151b2aba2f Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8) 2012-10-17 18:22:46 -07:00
Mats Palmgren
684b213d2a Bug 802473 - Make NS_FAILED return 0 or 1 (false/true typed as bool for C++). Use branch prediction macros for NS_FAILED/NS_SUCCEEDED. r=ehsan,bsmedberg 2012-10-18 02:43:06 +02:00
Isaac Aggrey
220c75c473 Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan 2012-10-11 13:16:29 -05:00
Justin Lebar
f09d24441f Bug 801780 - Part 1: Escape quotes in memory reporter paths when dumping to JSON. r=njn 2012-10-17 10:44:31 -04:00
Nicholas Nethercote
9e9e279e09 Bug 802007 - Remove unneeded Mac-only memory reporters. r=jlebar. 2012-10-15 21:45:54 -07:00
Jacek Caban
447520eee9 Bug 801589 - Avoid redefining ERROR in ErrorList.h when wingdi.h is also included r=ehsan 2012-10-16 11:01:58 +02:00
Justin Lebar
3da0aadb31 Bug 800486 - Part 3: Minor fixups to MemoryInfoDumper.cpp. r=njn 2012-10-15 22:12:14 -04:00
Justin Lebar
4a590b2df4 Bug 800486 - Part 2: Move signal-watching and memory-report-dumping code out of nsMemoryReporterManager and into a new file, MemoryInfoDumper. r=njn 2012-10-15 22:12:14 -04:00
Justin Lebar
70048a2062 Bug 800486 - Part 1: Dump a GC and CC log upon receiving SIGRTMIN + 2. r=mccr8,njn,cjones 2012-10-15 22:12:14 -04:00
Mark Hammond
7beb8867af Bug 796526 - stop spewing errors re SysGetModuleInfo64 in debug builds. r=dbaron 2012-10-16 11:26:35 +11:00
Nicholas Nethercote
e844eb7d01 Bug 800187 (part 2) - Add a clarifying comment about memory reporter registration. r=bz.
--HG--
extra : rebase_source : 950d0a0bb9a6ffdea94b41ae16f62a407acff6d8
2012-10-11 21:05:42 -07:00
Nicholas Nethercote
3ee916ea11 Bug 800703 - Rename the existing, Valgrind-based DMD as "DMDV". r=khuey.
--HG--
rename : xpcom/base/dmd.h => tools/dmdv/dmdv.h
2012-10-08 15:31:17 -07:00
Alexander Surkov
50bae428b0 Bug 799909 - decomify Accessible::GetNameInternal, r=tbsaunde 2012-10-14 13:18:39 +09:00
Aryeh Gregor
2ef2b6467b Bug 779473 - Make nsresult an enum class; r=ehsan 2012-08-02 11:55:58 +03:00
Kartikaya Gupta
28edff0bdf Bug 799686 - Make about:memory dump file readable on Android. r=njn 2012-10-13 08:54:49 -04:00
Trevor Saunders
000b6e89a1 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Gian-Carlo Pascutto
155f0a90fc Bug 799228 - Clean up shellVersion and shellName and their users. r=blassey 2012-10-10 17:10:39 +02:00
Gian-Carlo Pascutto
f6aac7713a Bug 799228 - Send Android version as OS version for Telemetry. r=blassey 2012-10-10 17:10:39 +02:00
Ehsan Akhgari
6091d8e8a1 Bug 795238 follow-up - #include Attributes.h which defines MOZ_HAVE_CXX11_ENUM_TYPE 2012-10-09 09:39:32 -04:00
Ehsan Akhgari
ca406822e0 Bug 795238 - Make nsresult a uint32_t enum everywhere that C++11 typed enums are supported; r=Aryeh 2012-10-09 09:23:52 -04:00
Landry Breuil
3e5190ef7b Bug 788021 followup: cast PR_NOW() to int64_t to fix a build failure on OpenBSD. r=jlebar 2012-10-06 11:03:52 +02:00
Justin Lebar
b28095bf78 Bug 797904 - Include app name in about:memory dump. r=njn,cjones 2012-10-05 17:54:54 -04:00
Nathan Froyd
2a14d9b274 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Ehsan Akhgari
bd2885b68c Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms 2012-10-02 23:16:36 -04:00
Nathan Froyd
c2fddb8f07 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Justin Lebar
b252cbe108 Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 21:19:11 -04:00
Justin Lebar
84cef96000 Bug 788021 - Part 1: Add nsGZFileWriter. r=bsmedberg 2012-10-02 21:19:11 -04:00
Phil Ringnalda
9823cbba0f Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes 2012-10-01 23:00:51 -07:00
Justin Lebar
0de944c855 Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones 2012-10-02 00:11:42 -04:00
Justin Lebar
4e15b52df4 Bug 788021 - Part 1: Add nsGZFileWriter. r=bsmedberg 2012-10-02 00:11:42 -04:00
Isaac Aggrey
00ccc3bc2e Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan 2012-09-30 21:10:22 -05:00
Daniel Holbert
b1f92dd37c Bug 793580 followup: Fix added comment to be C-style instead of C++-style, to fix build warning for .c files that include nsError.h. rs=Ms2ger (DONTBUILD because comment-only) 2012-09-28 12:34:54 -07:00
Seth Fowler
21dd8087c0 Bug 795086 - Make nsConsoleService only post a LogMessageRunnable to the event queue if there are any observers for it. r=bz 2012-09-28 09:54:36 -07:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Masatoshi Kimura
13e54c9451 Bug 764234 - Implement StringEncoding API. r=dougt,smontagu 2012-09-28 11:19:18 +01:00
Makoto Kato
be6dbb47fe Bug 793580 - Part 2: give the nsresult enum an explicit type on Win64; r=ehsan
--HG--
extra : rebase_source : 072e023d7d880cce5e9e6999fb81ec0f2c29a94c
2012-09-27 14:37:59 +09:00
David Zbarsky
379c616dc0 Fix virtual dtor warning, no bug, blanket r=bz 2012-09-26 14:30:34 -04:00
Aryeh Gregor
93caa9fc7e Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg 2012-08-07 11:27:45 +03:00
Ehsan Akhgari
8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Jan Beich
5f24252478 Bug 791366 - Implement Vsize and Resident memory reports on BSDs. r=njn 2012-09-17 18:42:36 -04:00
Jan Beich
591061cd7a Bug 791366 - Define HAVE_PAGE_FAULT_REPORTERS on every Unix. r=njn 2012-09-17 18:42:36 -04:00
Jeff Muizelaar
9d45f08968 Bug 782647. Move the nullptr workaround macros to MFBT so that it can be shared. r=waldo
This also changes the header to use compiler detection instead of a
configure test. This makes the header more portable because
it doesn't require the configure infrastructure.
2012-09-01 16:16:17 -04:00
Makoto Kato
6025716d17 Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Florian Quèze
c4fc8b5d9c Bug 790947 - Show in the error console the path to the dumped memory reports, r=njn,smaug. 2012-09-14 15:47:12 +02:00
Olli Pettay
25d848a912 Bug 790589 - Add env variable to define the cc/gc log directory, r=mccr8 2012-09-13 09:24:12 +02:00
Nicholas Nethercote
d72524cd51 Bug 768470 - Add ability to import/export memory reports as JSON. r=jlebar.
--HG--
extra : rebase_source : 8e03a7e8c82204ea8e353a9ba583c4d53917a267
2012-08-27 18:14:14 -07:00
Justin Lebar
b4d77fc8e0 Bug 788546 - In our stack-walking code, instead of asserting that we're initialized and failing if we're not, go ahead and initialize ourself when necessary. r=espindola 2012-09-10 15:51:45 -04:00
Chris Peterson
5ad6ebfc11 Bug 789643 - Fix GetCOMPtrCount() defined but not used warning. r=bsmedberg 2012-09-07 12:32:33 -07:00
Olli Pettay
db1899be76 Bug 784563 - Investigate being lazier about removing things from the purple buffer, r=mccr8 2012-09-08 13:46:48 +03:00
Ehsan Akhgari
f4a93b7422 Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00