Boris Zbarsky
ea45d30665
Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv
2013-02-19 11:54:40 -05:00
Aaron Klotz
006f4eb749
Bug 838279 - Add isWow64 field to system info and to telemetry. r=bsmedberg
2013-02-11 20:49:33 -05:00
Chris Peterson
cbe66ccea3
Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 20:50:05 -08:00
Justin Lebar
2cf629c5cd
Bug 833913 - Part 3: Switch nsMemoryReporterManager to using nsTHashtable. r=khuey,njn
...
This makes NS_RegisterMemoryReporter() and NS_UnregisterMemoryReporter()
O(1). Previously, they took time linear to the number of registered
reporters.
2013-02-01 10:12:52 -05:00
Jeff Walden
d6e63dc265
Bug 836438 - Always implement nsresult using an unsigned 32-bit integer type. r=ehsan
...
--HG--
extra : rebase_source : f9d9d7772decee36a27ef09eb018b9912bf7bf6b
2013-01-30 15:32:44 -08:00
Jeff Walden
be633156a5
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
2013-01-28 16:33:17 -08:00
Benjamin Smedberg
903f5255e7
Bug 831428 - Console listeners should not require a threadsafe addref/release method if they are only used from the main thread, r=jlebar
2013-01-29 11:02:56 -05:00
Olli Pettay
33258062d0
Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8
2013-01-29 12:45:38 +02:00
Bill McCloskey
f192791e29
Bug 751618 - Add js/GCAPI.h (r=terrence)
2013-01-27 12:35:12 -08:00
Benjamin Smedberg
e883da27fb
Bug 827596 - assert at runtime if we try to assign to a nsAutoPtr which already contains the identical pointer, r=dbaron
2013-01-24 11:35:53 -05:00
Ehsan Akhgari
ba773446f9
Bug 830765 - Remove the unneeded code which tracks the list of loaded modules because it is unused and can cause multi-second hangs; r=sicking a=removes-code-from-libxul
2013-01-21 15:55:31 -05:00
Nicholas Nethercote
e8a94a9944
Bug 831193 (part 1) - Remove uses of NS_MEMORY_REPORTER_IMPLEMENT from nsMemoryReporterManager.cpp. r=jlebar.
...
--HG--
extra : rebase_source : bb51ea8dcd4600a675a0ce1ddb45d7ced4f8c359
2013-01-15 23:02:45 -08:00
Nicholas Nethercote
23f321407b
Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
...
--HG--
extra : rebase_source : 543f0e367ce73477d62eca544137a101108a97be
2013-01-17 21:21:43 -08:00
Justin Lebar
1675566253
Bug 789975 - Follow-up: Fix memory reporter descriptions. r=me
2013-01-16 09:34:25 -05:00
Nicholas Nethercote
d4b5aba4eb
Bug 830226 - Reorder memory dumping for increased DMD effectiveness. r=jlebar.
...
--HG--
extra : rebase_source : 77e864789569a5a5ab1cf81aa403b38fb9a2cb1c
2013-01-15 18:44:11 -08:00
Nicholas Nethercote
cb1d58302d
Bug 827691 - Treat [stack:nnnn] entries in /proc/self/maps as anonymous memory. r=jlebar.
...
--HG--
extra : rebase_source : bfe5db77f0a4329a6cafeecfdb9b9de605f53bc5
2013-01-07 20:04:23 -08:00
Justin Lebar
8f075fc847
Bug 789975 - Disable purging of MADV_FREE'd pages on MacOS when collecting RSS from Telemetry. r=njn
2013-01-15 09:14:36 -05:00
Mats Palmgren
865cec14e9
Bug 786533 - On OSX, one of the system header files (exception_defines.h) defines 'try' and 'catch' as macros which breaks @try/@catch. We need to #undef those before using nsObjCExceptions.h. r=ehsan
2013-01-15 13:22:03 +01:00
Ryan VanderMeulen
f291f53545
Backed out changeset 622427e981a8 (bug 789975) for build bustage.
...
CLOSED TREE
2013-01-14 22:13:24 -05:00
Justin Lebar
59d800736b
Bug 789975 - Disable purging of MADV_FREE'd pages on MacOS when collecting RSS from Telemetry. r=njn
2013-01-14 21:49:25 -05:00
Nicholas Nethercote
e92eb3e23a
Bug 829439 (part 2) - Some memory reporter clean-ups. r=jlebar.
...
--HG--
extra : rebase_source : 31ef4aaa1dde5299125ed67d297d70ee5fe5c876
2013-01-14 16:28:36 -08:00
Nicholas Nethercote
e7d64e972a
Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
...
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Justin Lebar
30ae94b71e
Bug 809949 - Dump memory reports when 'memory report' is written to a special fifo on disk. r=glandium,njn
2013-01-14 01:43:25 -05:00
Trevor Saunders
0f94b545d6
bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan
2013-01-10 03:39:40 -05:00
Kartikaya Gupta
5822723f8d
Bug 828124 - Adjust the low-memory threshold down to 384 MiB. r=blassey
2013-01-09 11:12:36 -05:00
Andrew McCreight
c92a435c00
Bug 690970, part 3: fix black-gray edges in weak containers at start of CC. r=billm
2013-01-08 10:36:51 -08:00
Nicholas Nethercote
1c4b07debe
Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron.
2012-12-20 21:31:57 -08:00
Nicholas Nethercote
d4a9c8e1fa
Bug 825107 - Fix -Wint-to-pointer-cast warnings in nsTraceRefcntImpl.cpp. r=bsmedberg.
...
--HG--
extra : rebase_source : d0e2cdd3bd7caf3bf2e68d2210bd5dde040a798b
2013-01-03 13:53:51 -08:00
Nicholas Nethercote
8721130e3f
Bug 826183 - DMD: clear reportedness data before running memory reporters and dumping. r=jlebar.
...
--HG--
extra : rebase_source : 3ea1c71eacdee712b2d1739a8e25cbf854ea0424
2013-01-06 13:34:39 -08:00
Masatoshi Kimura
a8274df1f4
Bug 795433 - Use #define for nsresult values in C code. r=ehsan,glandium; feedback=njn
2013-01-05 12:55:22 +09:00
Mike Hommey
93e8e66552
Bug 826625 - Group rss/pss/vsize entries by filename in about:memory. r=jlebar
2013-01-04 22:02:26 +01:00
Nicholas Nethercote
a77d4b0fcc
Bug 826553 - Add a memory reporter for the event listener manager's hash table. r=bz.
...
--HG--
extra : rebase_source : 72584fbf0b80c1e8d5451486ca2c46efebc93b44
2013-01-03 21:26:56 -08:00
Ehsan Akhgari
1df6261de9
Make gDebugLog obey the normal NSPR_LOG_MODULES rules, no bug, mailinglist-r=bsmedberg
2013-01-03 13:30:59 -05:00
Nicholas Nethercote
b7723e3c58
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Trevor Saunders
801c9b79ba
bug 822717 - remove checks for old gcc r=glandium
2012-12-18 13:22:28 -05:00
Nicholas Nethercote
efaf0192cb
Bug 819819 (part 1) - Remove DMDV. r=khuey.
...
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Andrew McCreight
c7d324a5f0
Bug 823226 - Add environment variables for controlling cycle collector logging. r=smaug
2012-12-19 14:35:50 -08:00
Justin Lebar
3953ecb18b
Bug 824395 - Report used stacks separately from unused stacks. r=njn
2012-12-23 21:48:03 -05:00
Neil Rashbrook
41d5c4cd99
Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron
2012-12-22 20:40:37 +00:00
Nicholas Nethercote
166388391b
Bug 822148 (part 3) - DMD: Rename |LiveBlock| as |Block|. r=jlebar.
...
--HG--
extra : rebase_source : 65ccba830ca872fd28a410122ebf65c12cbf6377
2012-12-17 19:56:51 -08:00
Nicholas Nethercote
015c1f6abb
Bug 822148 (part 2) - DMD: Treat twice-reported blocks more like other blocks. r=jlebar.
...
--HG--
extra : rebase_source : 345123de945a3c26ec6ca88a599b45efddc4209e
2012-12-17 19:40:07 -08:00
Nicholas Nethercote
7f23ff5546
Bug 822148 (part 1) - DMD: remove reporter names from output because they're redundant. r=jlebar.
...
--HG--
extra : rebase_source : c9bf57dbd3612719ba60951cb14988ec38b392f0
2012-12-16 16:56:04 -08:00
Andrew McCreight
84b97fc2a3
Bug 731853 - Add way to easily log CC with AllTraces at shutdown. r=smaug
2012-09-28 10:11:33 -07:00
Trevor Saunders
0179193261
bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8
2012-12-08 00:08:37 -05:00
Olli Pettay
066bca4dc5
Bug 818739, don't run CC during shutdown, r=mccr8
2012-12-14 20:41:11 +02:00
Gabriele Svelto
ba62bce29e
Bug 814771 - Add a cancelable runnable and use it to cancel a pending memory minimization procedure when an application is brought to the foreground r=jlebar
2012-12-11 19:13:29 +01:00
Nicholas Nethercote
808525a152
Bug 819772 - Add a memory reporter for DMD's data. r=jlebar.
...
--HG--
extra : rebase_source : d85f4f08b3c0ec5e81bde9caa63699e60a303b33
2012-12-11 13:54:11 -08:00
Nicholas Nethercote
b31301cd8c
Bug 717853 (follow-up): Remove the extra '.' char in the suffix of dumped files. r=me.
...
--HG--
extra : rebase_source : b57126283ba04ad93ab185c8d0800c41ef6f1793
2012-12-11 05:10:37 -08:00
Nicholas Nethercote
7d32dc00e9
Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
...
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Bas Schouten
5c2da9fbfd
Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan
2012-12-08 06:15:21 +01:00
Justin Lebar
bec33406d9
Bug 819539 - Ignore _Unwind_Backtrace errors on ARM + Android. r=glandium
2012-12-07 17:18:22 -05:00
Mike Hommey
c51f5d814d
Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
...
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Brian Smith
f118bb8b55
Bug 772365, Part 1: Implement JARSignatureVerification, r=honzab, parts r=ehsan
...
* * *
Bug 772365, Part 2.1: Generate test cases for signed app signature verification
* * *
Bug 772365, Part 2.2: Test JAR signature verification
--HG--
extra : rebase_source : 198be789e8b1565dad418e15760fa6dc90da843f
2012-11-14 15:31:39 -08:00
Andrew McCreight
9abc93145e
Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm
2012-12-03 09:02:57 -08:00
Chris Double
47e9ce6db5
Bug 787228 - Part7: Add Android OS Release version to nsSystemInfo - r=doug.turner
...
--HG--
extra : rebase_source : 6d3efadfc03ce2035a9f534e1853cec8527a9a52
2012-11-30 15:38:09 +13:00
Olli Pettay
2e7f4ef4ba
Bug 811206, Fix JSHolder drop handling, part 2 (assert), r=mccr8
...
--HG--
extra : rebase_source : e7731c7d1f81e250ea6992e4a15c3dc52bb136d0
2012-11-28 02:56:06 +02:00
Nicholas Nethercote
c36c92eabb
Bug 811018 - Avoid image double-counting false positive from DMD. r=jlebar.
...
--HG--
extra : rebase_source : 209759e6030ccd119fb036ce10efab7c59c22fab
2012-11-15 14:06:34 -08:00
Benoit Jacob
10ffb47d44
Bug 811212 - Make most cycle collector assertions fatal - r=mccr8
2012-11-15 02:32:39 -05:00
Benoit Jacob
7cc7c472e5
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
6d7beedec6
Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Isaac Aggrey
6058811463
Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan
2012-11-14 13:14:21 -06:00
Ehsan Akhgari
ab48da6035
Backed out changeset da25394a8b55 (bug 802706) for build bustage
2012-11-14 13:24:12 -08:00
Isaac Aggrey
12202e6725
Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan,wtc
2012-11-14 13:14:21 -06:00
Josh Matthews
7d54e6176e
Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer
2012-11-14 16:00:44 +00:00
Gabriele Svelto
fbc8afdb64
Bug 805855 - Free dirty pages in response to all memory-pressure messages. r=jlebar
2012-11-12 17:41:23 +01:00
Nathan Froyd
59037342e2
Bug 809931 - make Static{Auto,Ref}Ptr have trivial constructors and destructors; r=jlebar
2012-11-09 16:48:42 -05:00
Trevor Saunders
9f8abed826
bug 808229 - remove unused NS_ENSURE_ macro and associated success error code r=surkov
2012-11-02 18:36:58 -04:00
Dave Hylands
517cf42c43
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -08:00
Gabriele Svelto
9e3fdc6388
Bug 808756 - Introduce a memory-pressure event that is not forwarded by the main process to its children. r=jlebar
2012-11-08 02:07:57 +01:00
Dave Hylands
03c6a6682e
Bug 794599 - Add a preference to disable logging. r=bzbarsky
2012-11-06 22:34:33 -08:00
Dave Hylands
ef2e674639
Bug 794599 - Backout 847cedab81ae due to debug orange
2012-11-07 01:03:52 -08:00
Dave Hylands
192afbdbac
Bug 794599 - Add a preference to disable logging. r=bzbarsky
2012-11-06 22:34:33 -08:00
Nicholas Nethercote
ab8ff34585
Bug 808467 - Rewrite the cycle collector's memory reporter. r=mccr8.
...
--HG--
extra : rebase_source : 9944d59772654a1df8db3227f1a8b18ae3dcfeda
2012-11-06 17:38:29 -08:00
Kartikaya Gupta
2bceb7136d
Bug 808772 - Adjust Android low-memory platform threshold to 512 MiB. r=blassey
2012-11-06 10:05:18 -05:00
Neil Rashbrook
cd349de7a0
Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan
2012-11-03 10:59:29 +00:00
Ryan VanderMeulen
f1d654c74a
Backout 06b998c1100d (bug 664695) due to mochitest-other orange.
2012-11-02 17:12:22 -04:00
Neil Rashbrook
958b1668fa
Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg
2012-11-02 20:07:50 +00:00
Justin Lebar
af2be86e6e
Bug 807181 - Add a memory reporter for unique set size (USS), which we'll call "resident-unique". r=njn
...
Patch originally by Vivien Nicolas in bug 802110.
2012-10-31 21:03:30 -04:00
Justin Lebar
9cd57f4799
Bug 805207 - Follow-up: Add guard so KillClearOnShutdown doesn't crash if we haven't ClearOnShutdown'ed any objects. r=me, landed on a CLOSED TREE
2012-10-31 15:19:18 -04:00
Kartikaya Gupta
7acbfada91
Bug 801818 - Add an API to check if the platform is a low-memory one. r=bsmedberg, blassey
2012-10-31 14:59:55 -04:00
Justin Lebar
eabc6a4f19
Bug 805207 - Remove static destructor from ClearOnShutdown. r=bsmedberg
...
This prevents the assertion added in bug 803688 from firing when we do an unclean shutdown.
2012-10-31 13:30:35 -04:00
Kartikaya Gupta
bfb7aadc3b
Bug 806486 - Instead of setting/unsetting the umask which introduces potential race conditions, chmod the created files instead. r=glandium
2012-10-31 10:20:26 -04:00
Masayuki Nakano
7025df1d0e
Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc
2012-10-31 08:22:23 +09:00
Kartikaya Gupta
3f8b30e6af
Bug 806473 - Expose MemoryInfoDumper methods via a nsIMemoryInfoDumper service. r=jlebar
...
--HG--
rename : xpcom/base/MemoryInfoDumper.h => xpcom/base/nsIMemoryInfoDumper.idl
rename : xpcom/base/MemoryInfoDumper.cpp => xpcom/base/nsMemoryInfoDumper.cpp
2012-10-29 20:41:14 -04:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Ehsan Akhgari
088b05ec2d
Bug 806209 followup - fix a stupid mistake; irc-r=BenWa
2012-10-29 14:18:14 -04:00
Ehsan Akhgari
4cd8fa878c
Bug 806209 - Prevent the Windows implementation of NS_StackWalk from accessing the stdio APIs in order to avoid deadlocks when profiling on Windows; r=BenWa
...
--HG--
extra : rebase_source : cb945d9d3cb162a1177029a6aa097af33f7c917b
2012-10-29 14:03:01 -04:00
Justin Lebar
1b2b392034
Bug 806239 - When we dump memory reports after minimizing memory usage, we shouldn't also dump the reports before minimizing. r=njn
2012-10-28 20:18:40 -04:00
Justin Lebar
44939db1c5
Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones
2012-10-25 11:36:24 -04:00
Justin Lebar
46036e9207
Bug 800166 - Fire a low-memory notification when a B2G process is backgrounded. r=gwagner,bent
2012-10-22 15:40:19 -04:00
Brian Smith
9a21ea4912
Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan
2012-10-18 15:55:48 -04:00
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
Ehsan Akhgari
f75e672ac4
Bug 788014 - Part 1: Define nsrefcnt to be unsigned long unconditionally on Windows; r=jrmuizel
...
On Windows, IUknown::AddRef and IUnknown::Release are defined to
return ULONG, which is defined as unsigned long. The existing
code relies on the PR_BYTES_PER_LONG macro which is #defined in
prtypes.h to always be 4 on Windows. If we remove the prtypes.h
inclusion from nscore.h, in the places where prtypes.h is not
included by other things, we will fall into the other path in the
#ifdef condition which defines nsrefcnt to be unsigned int, which
causes the signature of AddRef and Release to change, which
results in linker errors.
There are a couple of reasons why this change is correct:
1. On both Win32 and Win64, the size of the long type is 4 bytes,
always. And prtypes.h doesn't detect the size of longs, it just
assumes it, so this check is really a tautology.
2. If the size of the long type changes on Windows, sometime,
the return value of AddRef and Release on Windows should change
size as well in order to maintain binary compatibility with
IUnknown, and before this change, the code would fail to hold
that promise.
--HG--
extra : rebase_source : 8333582b494aaca17c91cf35287a084083219050
2012-09-07 15:09:01 -04:00
Aryeh Gregor
291bfa222b
Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug
2012-08-16 14:58:11 +03:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Andrew McCreight
5a7f7d30e1
Bug 785666 - Remove old-style CC Suspect and Forget functions. r=smaug,bsmedberg
2012-08-27 10:28:38 -07:00
Andrew McCreight
fbe861f103
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
Ryan VanderMeulen
31b5d3335d
Merge m-c to inbound.
2012-08-24 16:18:09 -04:00
Olli Pettay
0a74c76449
Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8
2012-08-24 12:26:44 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gian-Carlo Pascutto
1099676e48
Bug 779687 - Add detection for ARMv7 CPUs. r=dougt
2012-08-21 13:20:46 +02:00