Commit Graph

11165 Commits

Author SHA1 Message Date
Mike Habicher
0dc7293229 Bug 827679 - add return value to nsMainThreadPtrHandle::operator=; r=bholley 2013-01-07 23:09:19 -05:00
Ehsan Akhgari
5e42b191c3 Merge mozilla-central into mozilla-inbound 2013-01-07 18:23:31 -05:00
Alex Keybl
9fc46ad72d Merging in version bump NO BUG 2013-01-07 12:31:33 -08:00
Ed Morley
399fc117a8 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2013-01-07 16:09:32 +00:00
Gregor Wagner
6be60c5508 Bug 827237 - Followup: Disable settings test. r=me 2013-01-07 16:32:15 +01: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
Rafael Ávila de Espíndola
9eb5cdb511 Bug 826029 - Assertion in mozPoisonWriteMac due to Mac camera code trying to write a defaults file on exit | Assertion failure: ok, at ../../../xpcom/build/mozPoisonWriteMac.cpp:90. r=ehsan. 2013-01-04 10:27:41 -05: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
Masatoshi Kimura
4a3e55941c Bug 826231 - Enable FAIL_ON_WARNINGS on MSVC in xpcom/tests. r=ehsan 2013-01-04 12:49:25 +09:00
Mohit Gahlot
f1333eedc8 Bug 818106 Fix: ScopedClose now considers errno EINTR.r=dhylands 2013-01-04 08:16:47 +05:30
Ehsan Akhgari
4ad1b6649d Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00
Michal Novotny
88c17a14f1 Bug 725993 - Remove ability to tell cache to STORE_ON_DISK_AS_FILE, r=bsmith 2013-01-04 00:30:48 +01:00
Shriram Kunchanapalli
25d2ca6bd4 Bug 791546: Removes nsCRT::strcmp(const PRUnichar* s) from nsCRT.h and replaces it occurrences with NS_strcmp; r=bsmedberg 2012-12-24 08:47:18 +05:30
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
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
Ed Morley
e1feef974c Backout bfeb3bc3da4e (bug 826029) for WINNT xpcshell failures 2013-01-03 10:17:14 +00:00
Rafael Ávila de Espíndola
4ca30d5e47 Bug 826029 - Assertion in mozPoisonWriteMac due to Mac camera code trying to write a defaults file on exit | Assertion failure: ok, at ../../../xpcom/build/mozPoisonWriteMac.cpp:90. r=ehsan.
--HG--
extra : rebase_source : 511835e6d24a0b58b5c9eb684b258456b7a7019e
2013-01-02 21:04:10 -05:00
Masatoshi Kimura
9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09: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
Boris Zbarsky
a6929b0c24 Bug 820909. Make LowerCaseEqualsASCII and LowerCaseEqualsLiteral actually do ASCII-case-insensitive matching instead of doing odd things with KELVIN SIGN and LATIN CAPITAL LETTER I WITH DOT ABOVE. r=bsmedberg, sr=dbaron 2012-12-26 13:42:39 -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
Rafael Ávila de Espíndola
5168dcec81 Bug 822825 - Java plugin hits mozPoisonWriteMac ValidWriteAssert assertion on shutdown. r=BenWa. 2012-12-25 19:27:01 -05:00
Nicholas Nethercote
8eac1dfb3c Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf. 2012-12-23 20:45:57 -08:00
Justin Lebar
3953ecb18b Bug 824395 - Report used stacks separately from unused stacks. r=njn 2012-12-23 21:48:03 -05:00
Trevor Saunders
1dc8beb669 bug 820182 - remove nsISupportsArray::ElementAt() r=ehsan 2012-12-11 11:16:42 -05:00
Trevor Saunders
5a35c9fff1 bug 819936 - remove NS_NewArrayEnumerator overload for nsISupportsArray r=bz, bsmedberg 2012-12-09 05:04:21 -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
Honza Bambas
50b95c94b2 Bug 765215 - Firefox 13 hangs on resuming from sleep, introduced wake up adjust for QueryPerformanceCounter, r=ehsan 2012-12-22 15:46:14 +01:00
Mark Banner
0527db678b Bug 823940 Remove unused nsAutoVoidArray, and cleanup nsVoidArray's support for it. r=bsmedberg. 2012-12-22 09:00:15 +00:00
Ehsan Akhgari
408cc31977 Merge mozilla-central into mozilla-inbound 2012-12-21 12:47:56 -05:00
Mike Hommey
06a4d19838 Bug 822004 - Call setlocale from nsNativeCharsetConverter::LazyInit if it is called before xpcom initialization. r=bsmedberg 2012-12-21 17:33:30 +01:00
Neil Rashbrook
4b6c2be10c Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking 2012-12-21 10:09:50 +00:00
Ed Morley
47e12d6a1f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-12-20 21:05:33 +00:00
Neil Rashbrook
6ced98692d Bug 493711 Part 1: switch nsCOMArray from nsVoidArray to nsTArray r=sicking 2012-12-19 21:33:54 +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
Justin Lebar
be3b9d9bca Bug 819791 - Part 11: Make nsTArray and friends' copy constructors explicit. r=bz 2012-12-18 20:16:07 -05:00
Justin Lebar
e73a12f35f Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz
Also make typeof nsAutoTArray == typeof AutoInfallibleTArray and switch
files to using nsTArrayForwardDeclare.h.
2012-12-18 20:16:06 -05:00
Justin Lebar
3ff706b49a Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz 2012-12-18 20:16:06 -05:00
Boris Zbarsky
6efc316628 Bug 819523 part 1. Make it possible to use the various-allocator nsTArrays interchangeably as long as you're working with const objects. r=jlebar 2012-12-18 20:16:05 -05: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
Rafael Ávila de Espíndola
d81584a36d Bug 821534 - move mozilla::PoisonWrite one line earlier. r=ehsan. 2012-12-17 10:13:36 -05:00
Trevor Saunders
54792f2e4d bug 820182 - remove nsISupportsArray::ElementAt() uses r=ehsan 2012-12-11 11:16:42 -05:00
Trevor Saunders
0179193261 bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8 2012-12-08 00:08:37 -05:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Ehsan Akhgari
3ca9c4891f Merge mozilla-central into mozilla-inbound 2012-12-15 10:37:42 -05:00
Olli Pettay
066bca4dc5 Bug 818739, don't run CC during shutdown, r=mccr8 2012-12-14 20:41:11 +02:00
Ed Morley
289bb2e7ae Merge mozilla-central to mozilla-inbound 2012-12-21 11:41:08 +00:00
Marco Bonardo
f882bcd20b Bug 821628 - xptcstubs_x86_64_darwin is wrongly converting some bool params
r=bsmedberg
2012-12-20 23:44:40 +01: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
Vladimir Vukicevic
10aa9f5441 b=731974, requestAnimationFrame generates too short/long frames (incl. bug 799242); r=bz,smaug,roc,ehsan 2012-12-11 17:15:32 -05: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
Trevor Saunders
be9baec5b3 bug 819940 - remove nsISupportsArray::EnumerateForwards() r=ehsan 2012-12-10 05:27:14 -05: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
Trevor Saunders
b34096b521 bug 819940 - remove nsISupportsArray::EnumerateBackwards() r=ehsan 2012-12-09 13:40:46 -05:00
Trevor Saunders
40c2dbd113 bug 819927 - Base64{Encode,Decode}() should properly handle empty strings r=ehsan 2012-12-06 22:34:49 -05:00
Trevor Saunders
a615e0ac7a bug 819939 - remove NS_NewISupportsArray() r=ehsan 2012-12-09 12:48:06 -05:00
Paolo Amadini
6b7359cb4d Bug 789932 - Add a component to save files asynchronously on a background thread, handling temporary download locations. r=biesi 2012-12-10 21:06:37 +01:00
Ted Mielczarek
07431e7fdb Bug 704368 - Skip test_nsIProcess_stress.js on Linux64 debug for intermittent failures; r=glandium 2012-12-07 09:12:01 -05:00
Saurabh Anand
6de7befa37 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Theo Chevalier
85b721ebf9 Bug 699806 - Enable Telemetry by default on Nightly and Aurora channels (Desktop), r=mak77 2012-12-08 18:41:23 +01: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
Ehsan Akhgari
acbb3c0ee8 Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt 2012-12-06 21:13:15 -05: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
Robert Longson
325705cd2f Bug 818391 - Add std::abs(long long) for VC9 since it lacks this C++11 signature. r=mats,jlebar 2012-12-05 23:26:28 +01:00
Chris Peterson
5bb411c865 Bug 796948 - Part 4: Remove unused USE_CPP_WCHAR_FUNCS and literal_string code. r=ehsan 2012-10-29 22:30:19 -07:00
Mats Palmgren
924e59e0d0 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Trevor Saunders
98cecccb20 bug 801466 - part 1 - remove uses of prmem in layout/ xpcom/ and modules/ r=roc 2012-12-03 16:18:36 -05:00
Benoit Girard
8124a450e6 Bug 799640 - Part 3: Add shutdown labels. r=espindola 2012-11-30 12:49:47 -05:00
Andrew McCreight
9abc93145e Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm 2012-12-03 09:02:57 -08:00
Ms2ger
0a0b1561d2 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Ehsan Akhgari
33a9b305c1 Backed out 3 changesets (bug 799640) on the suspicion of regressing Tp5 by 50%
Backed out changeset 133c704dbcc6 (bug 799640)
Backed out changeset b130bb991d84 (bug 799640)
Backed out changeset e47b059493cf (bug 799640)
2012-11-30 16:05:13 -05: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
Benoit Girard
ff46d9c9c6 Bug 799640 - Part 3: Add shutdown labels. r=espindola 2012-11-30 12:49:47 -05:00
Wan-Teh Chang
526918e802 Bug 634793: update NSPR to NSPR_4_9_5_BETA1 and add the TestPRIntN.cpp
test to verify PRInt{N} matches int{N}_t.  r=ehsan,jlebar.
2012-12-14 09:01:25 -08:00
Boris Zbarsky
3adcd6d60f Bug 815671 part 10. Make nsTArray constructors explicit. r=jlebar 2012-11-29 11:14:14 -05:00
Boris Zbarsky
7d463ea49d Bug 815671 part 9. Fix hashtables to take a UserDataType reference on put, so that putting an array works. r=bsmedberg 2012-11-29 11:14:14 -05:00
Andrew McCreight
9a4a704d26 Bug 815397 - Clean up Accessibility cycle collector definitions. r=smaug 2012-11-28 16:05:04 -08:00
Mats Palmgren
d2cf571387 Bug 816162 - Add newline at end of file to fix compile warning. r=mccr8 2012-11-28 19:55:36 +01:00
Josh Matthews
bd2d1bc95e Backed out changeset 7c45205a61a0 (bug 769285) 2012-11-28 11:51:42 -05:00
Josh Matthews
f74fb5eabf Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt 2012-11-28 11:20:20 -05: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
Andrew McCreight
ead425b3e0 Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug 2012-11-23 11:27:06 -08:00
Andrew McCreight
ed24acb94f Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug 2012-11-23 11:13:39 -08:00
Andrew McCreight
d4c5256e4c Bug 807713 - add warning comment for nsTObserverArray::ElementAt. r=sicking 2012-11-23 10:50:05 -08:00
Ehsan Akhgari
ff815b3cdc Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Ed Morley
5aec97aa38 Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage 2012-11-22 17:49:58 +00:00
Benoit Jacob
3d8cbb81ad Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8 2012-11-22 12:15:38 -05:00
Ehsan Akhgari
e5022e988f Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Rafael Ávila de Espíndola
968fb57de6 Bug 808699 - Change the wire format for hang reports. r=vladan. 2012-11-20 09:45:14 -05:00
Simon Montagu
2c79e554a2 Add EnumerateEntries to nsCheapSet. Bug 809446, r=bsmedberg 2012-11-20 06:21:13 -08:00
Nicholas Nethercote
69b10075fc Bug 811203 (part 2) - Pack the fields in XPTInterfaceDescriptor better. r=khuey.
--HG--
extra : rebase_source : e5afee2bf6ba8cc2a1ee344f176a819367bc9d32
2012-11-19 16:19:17 -08:00
Nicholas Nethercote
4e419ab728 Bug 811203 (part 1) - Inline XPTMethodDescriptor::result. r=khuey.
--HG--
extra : rebase_source : 1c2a89684f5b60a3e24ce995ed7e062e88e18610
2012-11-19 16:18:41 -08:00
Alex Keybl
d1de145dd7 Merging in version bump NO BUG 2012-11-19 12:03:27 -08: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
f5eae0f15f Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 2: handmade fixups - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
10ffb47d44 Bug 811212 - Make most cycle collector assertions fatal - r=mccr8 2012-11-15 02:32:39 -05:00
Benoit Jacob
46600b2a31 Bug 806279 - CC macros refactoring: part 4: update CC helper macros - r=mccr8,smaug 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
06bfb63973 Bug 806279 - CC macros refactoring: part 2: generic BEGIN_ macros folding in the NATIVE case - 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
Gregor Wagner
3fb2b40d93 Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:46:38 -08:00
Ehsan Akhgari
ab48da6035 Backed out changeset da25394a8b55 (bug 802706) for build bustage 2012-11-14 13:24:12 -08:00
Gregor Wagner
28b91e9e9a Backout Bug 811414 for breaking B2G 2012-11-14 13:09:21 -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
Gregor Wagner
c88b6950ec Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley 2012-11-14 13:00:51 -08:00
Landry Breuil
37fd657c5f Bug 803955: {Free,Open}BSD use alternative dirs for systemwide extensions/plugins. r=bsmedberg 2012-11-14 20:02:07 +01: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
Nicholas Nethercote
b04b41755f 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
e172c13940 Bug 810240 - xpcom/ds/nsObserverService.cpp fails to link on mingw r=glandium 2012-11-12 11:08:19 +01:00
Nicholas Nethercote
5a8d47206c 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
9f8abed826 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
8b92d1fe25 Bug 795887 - Mirror existing sleep notification handling with process suspend notification handling. r=bsmedberg 2012-11-09 10:34:10 -05: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
Nicholas Nethercote
5cd2f9931a 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
e504ffdbee 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
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
Nathan Froyd
c2b5f39ba7 Bug 806618 - followup - remove PR_NewLogModule static initializer in nsNativeComponentLoader.cpp; r=ehsan 2012-11-07 16:20:25 -05:00
Makoto Kato
7683ec1cf7 Bug 807895 - Remove BSD/OS code. r=khuey 2012-11-08 10:36:28 +09:00
Ehsan Akhgari
fe6567581a Bug 579517 follow-up: Remove NSPR types that crept in 2012-11-07 20:34:50 -05:00
Jason Duell
5509ed80ad 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
42ca01163b Bug 800106 - Drop inline annotations in nsUTF8Utils.h; r=dbaron 2012-11-07 14:14:27 -05: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
Brian R. Bondy
20acda6fe3 Bug 369108 - Win32's nsIFile::Create and nsIFile::CreateUnique ignore permissions argument. r=bsmedberg 2012-11-03 13:39:02 -04:00
Neil Rashbrook
cd349de7a0 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan 2012-11-03 10:59:29 +00:00
Daniel Holbert
29cceb7819 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
2b4ddeae6f Bug 807713 - add operator[] for nsTObserverArray. r=bsmedberg 2012-11-02 17:57:05 -07: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
Andrew Quartey
d21a5d8004 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04: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
Rafael Ávila de Espíndola
f518b77a02 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
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
Kyle Huey
0469a02b25 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
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
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08: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
Kyle Huey
9a3674d80a 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
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 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
4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04: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
Andrew Quartey
5d03f6af91 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
0a078468c0 Bug 792581 - part 21: Replace LL_F2L and LL_D2L macros. r=ehsan 2012-10-25 19:25:58 -04:00
Andrew Quartey
3f4e29b9f0 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Ehsan Akhgari
8e702f60c5 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
c09613205b 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
f3c0ac7a23 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
44939db1c5 Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Mook
37e994d127 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
bdd5985e05 Merge the last PGO-green inbound changeset to m-c. 2012-10-24 21:50:09 -04:00
Magnus Melin
b6a685870c Bug 804664 - remove typedef nsAutoCString nsCAutoString. r=benjamin 2012-10-23 20:53:15 +03:00
Makoto Kato
39a440c783 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
855e1fdf1f Bug 777122 - Add telemetry reporting of late writes. r=jlebar. 2012-10-24 15:42:54 -04:00
Jeff Walden
36daf707ab 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
72c7e10300 Merge m-c to inbound. 2012-10-23 22:41:34 -04:00
Ryan VanderMeulen
7d0be33071 Merge the last PGO-green inbound changeset to m-c. 2012-10-23 22:28:33 -04:00
Ehsan Akhgari
4139eb035b 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
c370341643 Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley 2012-10-24 01:26:36 +03:00
Jacek Szpot
6a6b45d771 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-23 13:31:22 +02:00
Anthony Jones
1450807355 Bug 791428 - Remove unnecessary malloc from number format function. r=roc 2012-10-22 22:22:27 -04:00
Justin Lebar
822f4ea0b7 Bug 802469 - Make misuse of NS_LITERAL_{C,}STRING a compile error. r=bsmedberg 2012-10-24 12:53:22 -04:00
Phil Ringnalda
76826e4d74 Back out 46e58a7ec55e and 597981ef2ef5 (bug 777122) for Windows build failures 2012-10-24 07:38:20 -07:00
Rafael Ávila de Espíndola
443d96209d 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
25461f7b40 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
2c1575558e Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression 2012-10-22 16:44:09 -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
Abhishek Potnis
ad50b9e765 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
b09af6f193 No bug: Fix comment in TimeStamp_posix.cpp. DONTBUILD 2012-10-20 11:12:20 -04:00
Peter Van der Beken
9af14c557f Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Daniel Holbert
77d39ba769 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
c90b40acf5 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
b57068badb 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
057be630c0 Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan 2012-10-19 10:33:33 +02: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
Isaac Aggrey
c984edf823 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
151b2aba2f Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8) 2012-10-17 18:22:46 -07:00