Commit Graph

3300 Commits

Author SHA1 Message Date
Landry Breuil
a120a90fe8 Bug 803955: {Free,Open}BSD use alternative dirs for systemwide extensions/plugins. r=bsmedberg 2012-11-14 20:02:07 +01:00
Josh Matthews
164359236e 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
3dbabca27a Bug 805855 - Free dirty pages in response to all memory-pressure messages. r=jlebar 2012-11-12 17:41:23 +01:00
Nathan Froyd
8d66057983 Bug 809931 - make Static{Auto,Ref}Ptr have trivial constructors and destructors; r=jlebar 2012-11-09 16:48:42 -05:00
Nicholas Nethercote
5db8ea9b57 Bug 811132 - Avoid some wasted space by making XPT arena chunks bigger. r=khuey.
--HG--
extra : rebase_source : edeb0ca8eb7435c3ba50a9e6603e16637b06ca9f
2012-11-12 16:14:04 -08:00
Jacek Caban
8a211a32ea Bug 810240 - xpcom/ds/nsObserverService.cpp fails to link on mingw r=glandium 2012-11-12 11:08:19 +01:00
Nicholas Nethercote
cb0e629875 Bug 810215 - Fix stupid defect causing the "explicit/atoms-table" reporter to always return 0. r=khuey. 2012-11-09 00:46:34 -08:00
Trevor Saunders
cfc261384c bug 808229 - remove unused NS_ENSURE_ macro and associated success error code r=surkov 2012-11-02 18:36:58 -04:00
Brian R. Bondy
26451f3838 Bug 795887 - Mirror existing sleep notification handling with process suspend notification handling. r=bsmedberg 2012-11-09 10:34:10 -05:00
Dave Hylands
4dc2dc2e6c Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky 2012-11-09 09:52:09 -08:00
Nicholas Nethercote
a64de6966d Bug 807884 (part 2) - Add memory reporters for nsComponentManager and nsCategoryManager. r=bsmedberg.
--HG--
extra : rebase_source : 6dba2659b6f31aa0e53804f5afdd30f0f0c1d950
2012-10-19 05:07:36 -07:00
Nicholas Nethercote
dfc48724d2 Bug 807884 (part 1) - Remove dead nsComponentManagerImpl::mLoaderData. r=bsmedberg.
--HG--
extra : rebase_source : e332db911c94f4ba6b3fe4b0fef0a545cc08403b
2012-10-19 05:07:34 -07:00
Gabriele Svelto
bea65ae7da 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
6019a8993f Bug 794599 - Add a preference to disable logging. r=bzbarsky 2012-11-06 22:34:33 -08:00
Nathan Froyd
f1bc1ef2e6 Bug 806618 - followup - remove PR_NewLogModule static initializer in nsNativeComponentLoader.cpp; r=ehsan 2012-11-07 16:20:25 -05:00
Makoto Kato
7ecca5d5ae Bug 807895 - Remove BSD/OS code. r=khuey 2012-11-08 10:36:28 +09:00
Ehsan Akhgari
070bacd10a Bug 579517 follow-up: Remove NSPR types that crept in 2012-11-07 20:34:50 -05:00
Jason Duell
47687fa3ff Bug 806753 - e10s: Remove already broken support for child-side http-on-* observers r=bz 2012-11-07 17:24:27 -08:00
Ehsan Akhgari
1a6201ef1e Bug 800106 - Drop inline annotations in nsUTF8Utils.h; r=dbaron 2012-11-07 14:14:27 -05:00
Dave Hylands
8896b0866f Bug 794599 - Backout 847cedab81ae due to debug orange 2012-11-07 01:03:52 -08:00
Dave Hylands
1b7759a62f Bug 794599 - Add a preference to disable logging. r=bzbarsky 2012-11-06 22:34:33 -08:00
Nicholas Nethercote
8bd3070a4a 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
15da69499f Bug 808772 - Adjust Android low-memory platform threshold to 512 MiB. r=blassey 2012-11-06 10:05:18 -05:00
Brian R. Bondy
b9efbae78e Bug 369108 - Win32's nsIFile::Create and nsIFile::CreateUnique ignore permissions argument. r=bsmedberg 2012-11-03 13:39:02 -04:00
Neil Rashbrook
94fc0147cc Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan 2012-11-03 10:59:29 +00:00
Daniel Holbert
c9468a9f48 Bug 808146: Declare nsMainThreadPtrHolder as MOZ_FINAL, to fix -Wdelete-non-virtual-dtor build-warning-spam. r=bholley 2012-11-02 21:07:19 -07:00
Andrew McCreight
006327112c Bug 807713 - add operator[] for nsTObserverArray. r=bsmedberg 2012-11-02 17:57:05 -07:00
Ryan VanderMeulen
f7e7922b7f Backout 06b998c1100d (bug 664695) due to mochitest-other orange. 2012-11-02 17:12:22 -04:00
Neil Rashbrook
e3101f4764 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg 2012-11-02 20:07:50 +00:00
Andrew Quartey
36ae7e6c05 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Justin Lebar
75dfddada3 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
Rafael Ávila de Espíndola
f622a625c9 Bug 804828 - Talagent trips ValidWriteAssert (when Firefox tries to restart in safe mode due to previous crashes). r=ted.
--HG--
extra : rebase_source : dd4a3dec5204181a4c421d84daccf9ea172757c8
2012-10-31 14:18:03 -04:00
Justin Lebar
4dc299fc09 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
b70d7b6139 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
75d1d2e144 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
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Kartikaya Gupta
f41bd071b2 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
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Masayuki Nakano
e33e735f92 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
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Kartikaya Gupta
4f1989dd8e 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
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Ehsan Akhgari
b2aa3c6059 Bug 806209 followup - fix a stupid mistake; irc-r=BenWa 2012-10-29 14:18:14 -04:00
Ehsan Akhgari
c2694e771c 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
16a5fd30f0 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
Andrew Quartey
6eb0ddf707 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Andrew Quartey
a1996feccf Bug 792581 - part 21: Replace LL_F2L and LL_D2L macros. r=ehsan 2012-10-25 19:25:58 -04:00
Andrew Quartey
1d0db40554 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Ehsan Akhgari
78b2656cbc Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
8eccc49bf6 Revert part of the previous patch since the header is included in C code, no bug 2012-10-25 11:58:24 -04:00
Ehsan Akhgari
03be701616 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Justin Lebar
73af9cbc6d Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Mook
664647cf94 bug 782549 - check if the window has device sensor listeners, instead of global listener count (r=dougt) 2012-10-20 21:40:56 -07:00
Ryan VanderMeulen
bc5b7e81c9 Merge the last PGO-green inbound changeset to m-c. 2012-10-24 21:50:09 -04:00
Magnus Melin
c14a8eb65c Bug 804664 - remove typedef nsAutoCString nsCAutoString. r=benjamin 2012-10-23 20:53:15 +03:00
Makoto Kato
944c777b7e Bug 803476 - RunProcess may leak memory if ShellExecuteEx is failure. r=bsmedberg 2012-10-24 13:46:52 +09:00
Rafael Ávila de Espíndola
7df8973d95 Bug 777122 - Add telemetry reporting of late writes. r=jlebar. 2012-10-24 15:42:54 -04:00
Jeff Walden
df7997fc3a Bug 804872 - TestObserverArray.cpp shouldn't invoke macros with empty arguments. This is a C99/C++11 extension, and this file isn't currently compiled as C++11. r=dholbert 2012-10-24 09:42:20 -07:00
Ryan VanderMeulen
a25b975d2e Merge m-c to inbound. 2012-10-23 22:41:34 -04:00
Ryan VanderMeulen
12d8547592 Merge the last PGO-green inbound changeset to m-c. 2012-10-23 22:28:33 -04:00
Ehsan Akhgari
68fbc03d88 Backout the nsUTF8Utils.h part of changeset 531b7f4293e9 (bug 800106) because of Kraken regressions on Windows XP 2012-10-23 21:10:34 -04:00
Olli Pettay
f060a0ba42 Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley 2012-10-24 01:26:36 +03:00
Jacek Szpot
378edea4f0 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-23 13:31:22 +02:00
Anthony Jones
756c5c7d16 Bug 791428 - Remove unnecessary malloc from number format function. r=roc 2012-10-22 22:22:27 -04:00
Justin Lebar
9a11b4e025 Bug 802469 - Make misuse of NS_LITERAL_{C,}STRING a compile error. r=bsmedberg 2012-10-24 12:53:22 -04:00
Phil Ringnalda
f4167d4900 Back out 46e58a7ec55e and 597981ef2ef5 (bug 777122) for Windows build failures 2012-10-24 07:38:20 -07:00
Rafael Ávila de Espíndola
3b4acb8377 Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
Nit missing from the previous patch.
DONTBUILD.

--HG--
extra : rebase_source : 884ab78cdac4708b477a0ba5c32b921119f05737
2012-10-24 09:30:41 -04:00
Rafael Ávila de Espíndola
b4885485a5 Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
Record late writes to disk and unique them with sha1.
2012-10-24 09:27:49 -04:00
Ehsan Akhgari
fb83dd24c3 Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression 2012-10-22 16:44:09 -04:00
Justin Lebar
ed7f6604e2 Bug 800166 - Fire a low-memory notification when a B2G process is backgrounded. r=gwagner,bent 2012-10-22 15:40:19 -04:00
Abhishek Potnis
8ad6e4b4f3 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Justin Lebar
2b81da6989 No bug: Fix comment in TimeStamp_posix.cpp. DONTBUILD 2012-10-20 11:12:20 -04:00
Peter Van der Beken
e86cd8818c Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Daniel Holbert
6ea65f36aa Bug 803695: Remove "myRawPtr == myRawPtr" comparisons in TestCOMPtrEq.cpp, to fix clang "-Wtautological-compare" warning, and mark dir as warning-free. r=dbaron 2012-10-19 16:21:02 -07:00
Matthew Gregan
d2026762e4 Bug 799234 - Fix seeking within a single stream's range within a multiplexed stream. r=biesi,amarchesini
--HG--
extra : rebase_source : 73658a2351a9a0a9476f6d1f4f6e5d8a77413eb5
2012-10-20 08:29:41 +13:00
Daniel Holbert
230a02ff4e Bug 803641: Fix signed/unsigned-comparison build warnings in TestTArray.cpp, and mark its directory as warning-free. r=jlebar 2012-10-19 13:26:50 -07:00
Jacek Szpot
67d97a59b9 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-19 10:33:33 +02:00
Brian Smith
035e8b8432 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
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Bill McCloskey
0a9fd297da Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8) 2012-10-17 18:22:46 -07:00
Mats Palmgren
e9377b5d63 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
6058184f25 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
5ac0f1447d 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
c132daca99 Bug 802007 - Remove unneeded Mac-only memory reporters. r=jlebar. 2012-10-15 21:45:54 -07:00
Jacek Caban
f3feeb7c28 Bug 801589 - Avoid redefining ERROR in ErrorList.h when wingdi.h is also included r=ehsan 2012-10-16 11:01:58 +02:00
David Zbarsky
04db569bf4 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-16 00:26:51 -04:00
David Zbarsky
a5c86e49fb Backout 368cd30cccda for bustage 2012-10-15 23:52:17 -04:00
David Zbarsky
6047fde4c1 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 23:37:34 -04:00
Justin Lebar
2171be5d4d Bug 800486 - Part 3: Minor fixups to MemoryInfoDumper.cpp. r=njn 2012-10-15 22:12:14 -04:00
Justin Lebar
2f597a1b5d 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
b1de9b46c6 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
158318bf31 Bug 796526 - stop spewing errors re SysGetModuleInfo64 in debug builds. r=dbaron 2012-10-16 11:26:35 +11:00
Ehsan Akhgari
71927a786f Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Nicholas Nethercote
b4b005ce55 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
e37c1e657a 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
5f743adb53 Bug 799909 - decomify Accessible::GetNameInternal, r=tbsaunde 2012-10-14 13:18:39 +09:00
Jacek Szpot
b848f67ec0 Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00