Commit Graph

3409 Commits

Author SHA1 Message Date
Nicholas Nethercote
f0a2edb191 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
102c61e714 Bug 826231 - Enable FAIL_ON_WARNINGS on MSVC in xpcom/tests. r=ehsan 2013-01-04 12:49:25 +09:00
Mohit Gahlot
2690119f9a Bug 818106 Fix: ScopedClose now considers errno EINTR.r=dhylands 2013-01-04 08:16:47 +05:30
Ehsan Akhgari
726d181e3b Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00
Michal Novotny
f75aab907e 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
2239414ab6 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
16e75efa9f Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron. 2012-12-20 21:31:57 -08:00
Ehsan Akhgari
f057bc15c4 Make gDebugLog obey the normal NSPR_LOG_MODULES rules, no bug, mailinglist-r=bsmedberg 2013-01-03 13:30:59 -05:00
Ed Morley
f66f49f8b3 Backout bfeb3bc3da4e (bug 826029) for WINNT xpcshell failures 2013-01-03 10:17:14 +00:00
Rafael Ávila de Espíndola
2a00d70ca4 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
ecc812a3c0 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
b6939f2c42 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
6380733341 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Nicholas Nethercote
0a2709a9bb Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Boris Zbarsky
335ab8feb3 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
8a45e557f3 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
8c0d5d6a31 Bug 822825 - Java plugin hits mozPoisonWriteMac ValidWriteAssert assertion on shutdown. r=BenWa. 2012-12-25 19:27:01 -05:00
Nicholas Nethercote
4a4db06c69 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
4667550ede Bug 824395 - Report used stacks separately from unused stacks. r=njn 2012-12-23 21:48:03 -05:00
Trevor Saunders
5a6910346b bug 820182 - remove nsISupportsArray::ElementAt() r=ehsan 2012-12-11 11:16:42 -05:00
Trevor Saunders
233e4ee152 bug 819936 - remove NS_NewArrayEnumerator overload for nsISupportsArray r=bz, bsmedberg 2012-12-09 05:04:21 -05:00
Neil Rashbrook
d8fe604ecd 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
039e2607fa 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
3be9e2e7fe Bug 823940 Remove unused nsAutoVoidArray, and cleanup nsVoidArray's support for it. r=bsmedberg. 2012-12-22 09:00:15 +00:00
Ehsan Akhgari
776db4b920 Merge mozilla-central into mozilla-inbound 2012-12-21 12:47:56 -05:00
Mike Hommey
41e4643a41 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
67afb6083f Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking 2012-12-21 10:09:50 +00:00
Ed Morley
664839a742 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-12-20 21:05:33 +00:00
Neil Rashbrook
5900189500 Bug 493711 Part 1: switch nsCOMArray from nsVoidArray to nsTArray r=sicking 2012-12-19 21:33:54 +00:00
Nicholas Nethercote
37005fd521 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
d1985a03e0 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
0d26120cb5 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
ab80699fba Bug 819791 - Part 11: Make nsTArray and friends' copy constructors explicit. r=bz 2012-12-18 20:16:07 -05:00
Justin Lebar
bf499cd1c4 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
1a1d824efe Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz 2012-12-18 20:16:06 -05:00
Boris Zbarsky
022da0be50 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
a20a4ea07d 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
4b0f9858f2 Bug 821534 - move mozilla::PoisonWrite one line earlier. r=ehsan. 2012-12-17 10:13:36 -05:00
Trevor Saunders
f308c492e2 bug 820182 - remove nsISupportsArray::ElementAt() uses r=ehsan 2012-12-11 11:16:42 -05:00
Trevor Saunders
63d7222d76 bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8 2012-12-08 00:08:37 -05:00
Jeff Walden
e0523203c9 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
9a89f060a6 Merge mozilla-central into mozilla-inbound 2012-12-15 10:37:42 -05:00
Olli Pettay
971bd03b79 Bug 818739, don't run CC during shutdown, r=mccr8 2012-12-14 20:41:11 +02:00
Ed Morley
e37969e6b1 Merge mozilla-central to mozilla-inbound 2012-12-21 11:41:08 +00:00
Marco Bonardo
2a757ad706 Bug 821628 - xptcstubs_x86_64_darwin is wrongly converting some bool params
r=bsmedberg
2012-12-20 23:44:40 +01:00
Gabriele Svelto
b9602a0925 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
036385fed8 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
f08809dd21 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
aa11c96fe6 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
909657a83e bug 819940 - remove nsISupportsArray::EnumerateForwards() r=ehsan 2012-12-10 05:27:14 -05:00
Nicholas Nethercote
bc6e504af4 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
1a1a26e8d8 bug 819940 - remove nsISupportsArray::EnumerateBackwards() r=ehsan 2012-12-09 13:40:46 -05:00
Trevor Saunders
9be47e3fbe bug 819927 - Base64{Encode,Decode}() should properly handle empty strings r=ehsan 2012-12-06 22:34:49 -05:00
Trevor Saunders
a858593cee bug 819939 - remove NS_NewISupportsArray() r=ehsan 2012-12-09 12:48:06 -05:00
Paolo Amadini
d4c7ea7a57 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
72b80e1213 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
151d13c7a5 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Theo Chevalier
f62b7f2d35 Bug 699806 - Enable Telemetry by default on Nightly and Aurora channels (Desktop), r=mak77 2012-12-08 18:41:23 +01:00
Bas Schouten
6a7b3d219c 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
a8fa9deeee Bug 819539 - Ignore _Unwind_Backtrace errors on ARM + Android. r=glandium 2012-12-07 17:18:22 -05:00
Mike Hommey
d5e3887cb4 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
9ee27cbe92 Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt 2012-12-06 21:13:15 -05:00
Brian Smith
4031b71173 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
a062a0d74e 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
8fc00034ce 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
e6ad33709d Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Trevor Saunders
95a86d6399 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
75d3941077 Bug 799640 - Part 3: Add shutdown labels. r=espindola 2012-11-30 12:49:47 -05:00
Andrew McCreight
be02b50ec7 Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm 2012-12-03 09:02:57 -08:00
Ms2ger
98621c6b91 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Ehsan Akhgari
87109a7e0b 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
8be8e9e5f0 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
85c77f743d Bug 799640 - Part 3: Add shutdown labels. r=espindola 2012-11-30 12:49:47 -05:00
Wan-Teh Chang
1b9c76ac12 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
5fac9bbab6 Bug 815671 part 10. Make nsTArray constructors explicit. r=jlebar 2012-11-29 11:14:14 -05:00
Boris Zbarsky
ff364a1f33 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
e8863c7117 Bug 815397 - Clean up Accessibility cycle collector definitions. r=smaug 2012-11-28 16:05:04 -08:00
Mats Palmgren
f7078b45a2 Bug 816162 - Add newline at end of file to fix compile warning. r=mccr8 2012-11-28 19:55:36 +01:00
Josh Matthews
7d1a5cd87b Backed out changeset 7c45205a61a0 (bug 769285) 2012-11-28 11:51:42 -05:00
Josh Matthews
b39d6a3977 Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt 2012-11-28 11:20:20 -05:00
Olli Pettay
79b3761656 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
0687798248 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
8c7f8d54c8 Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug 2012-11-23 11:13:39 -08:00
Andrew McCreight
da54c7f2e2 Bug 807713 - add warning comment for nsTObserverArray::ElementAt. r=sicking 2012-11-23 10:50:05 -08:00
Ehsan Akhgari
e153a3685e Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Ed Morley
0e2b2062d6 Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage 2012-11-22 17:49:58 +00:00
Benoit Jacob
97c1c2f31c 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
9898083355 Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Rafael Ávila de Espíndola
785eb3f43f Bug 808699 - Change the wire format for hang reports. r=vladan. 2012-11-20 09:45:14 -05:00
Simon Montagu
78d14eaa68 Add EnumerateEntries to nsCheapSet. Bug 809446, r=bsmedberg 2012-11-20 06:21:13 -08:00
Nicholas Nethercote
a7f81bfe4c 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
2f67c810c2 Bug 811203 (part 1) - Inline XPTMethodDescriptor::result. r=khuey.
--HG--
extra : rebase_source : 1c2a89684f5b60a3e24ce995ed7e062e88e18610
2012-11-19 16:18:41 -08:00
Alex Keybl
649cc92616 Merging in version bump NO BUG 2012-11-19 12:03:27 -08:00
Nicholas Nethercote
bf0a62bfaa 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
58175ef06b Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 2: handmade fixups - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
03494dfc80 Bug 811212 - Make most cycle collector assertions fatal - r=mccr8 2012-11-15 02:32:39 -05:00
Benoit Jacob
70f71a1da5 Bug 806279 - CC macros refactoring: part 4: update CC helper macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
f4c1a03e74 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
178368032a 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