Commit Graph

3427 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
3de2fa6f68 Bug 834945 - GC triggers a late DB write during shutdown. r=vladan. 2013-02-06 16:45:38 -05:00
Neil Rashbrook
e0ee3d3a44 Bug 493711 Provide an nsTArray-like API for nsCOMArray r=sicking 2013-02-04 22:05:40 +00:00
Justin Lebar
0a835fcbe3 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
Justin Lebar
9832d073b2 Bug 833913 - Part 1: s/PR_TRUE/true in nsISimpleEnumerator.idl comment. r=bsmedberg 2013-02-01 10:12:52 -05:00
Jeff Walden
947e80c984 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
37fe466d6f Bug 835648 - Move typed enum support to a new header. r=Ms2ger 2013-01-28 16:33:17 -08:00
Jeff Muizelaar
586bc5642a Bug 835470. Add operator== for char_type. r=bsmedberg
Just a matter of hooking it up to Equals().
QString, std::string, WTFString all have these.

--HG--
extra : rebase_source : b6046c6fafc4224132462cdbf88f8e72e701b333
2013-01-29 14:51:46 -05:00
Benjamin Smedberg
94615f88da 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
Nils Maier
778a6b21f4 Bug 761552 - Part 1: Provide UTF8ToUnicode functions accepting a buffer. r=jlebar
UTF8ToUnicode does not let the caller specify the buffer to use, but allocates
the buffer on it's own. Hence the caller cannot choose which allocator to use.
Rectify this by providing new APIs.

1. Split UTF8ToNewUnicode into:
   - CalcUTF8ToUnicodeLength
   - UTF8ToUnicodeBuffer
2. Rebuild UTF8ToNewUnicode using the new functions
2013-01-29 10:50:04 -05:00
Ryan VanderMeulen
eab06717bc Merge m-c to inbound. 2013-01-29 10:50:01 -05:00
Boris Zbarsky
fdc89414dd Bug 834877 part 4. Add overloads of GetAttr() and GetId() that take a DOMString. r=peterv 2013-01-29 09:42:14 -05:00
Olli Pettay
b2ee14044a Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8 2013-01-29 12:45:38 +02:00
Bill McCloskey
0b41061a2c Bug 751618 - Add js/GCAPI.h (r=terrence) 2013-01-27 12:35:12 -08:00
Benoit Jacob
7e6dfb3643 Bug 832831 - Make NS_ASSERT_OWNINGTHREAD_AND_NOT_CCTHREAD fatal - r=khuey 2013-01-25 13:40:38 -05:00
Ryan VanderMeulen
d1d2c01489 Merge m-c to inbound. 2013-01-25 12:32:22 -05:00
Benjamin Smedberg
0253c9ce48 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
b3849129ac Backed out changeset 70baa7e07838 (bug 833915) since one day has passed 2013-01-24 11:12:24 -05:00
Ehsan Akhgari
c30aff9acb Bug 833915 - Turn off PGO and LTCG on Windows Nightly for one day; r=glandium 2013-01-23 16:13:50 -05:00
Bill Gianopoulos
b5d13b5c4d Bug 832973 nullptr undeclared under Windows VC9 r=ehsan a=nonlibxul DONTBUILD 2013-01-22 14:06:45 +08:00
Ehsan Akhgari
b483ee1c54 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
Steve Fink
d3f194fbfb Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
cb8aecdd2a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Nicholas Nethercote
1a81511158 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
3dca3123e6 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
Nicholas Nethercote
f7ae295c20 Bug 826521 (part 1) - Add SizeOfIncludingThisEvenIfShared() for strings. r=bz.
--HG--
extra : rebase_source : 5c10fc346ba0c5fa76d947a97254e9ebc49353e1
2013-01-17 21:21:35 -08:00
Benoit Girard
bd72a637c5 Bug 820852 - Implement write poisoning on Windows. r=ehsan,espindola 2013-01-10 16:50:16 -05:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Justin Lebar
be02bb7b57 Bug 789975 - Follow-up: Fix memory reporter descriptions. r=me 2013-01-16 09:34:25 -05:00
Nicholas Nethercote
1ee797cb24 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
e2e385395e 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
Rafael Ávila de Espíndola
4b3fa5c7dd Bug 830584 - Write and read the module id to/from the late writes file. r=vladan. 2013-01-15 18:55:35 -05:00
Jeff Muizelaar
0add155be0 Bug 786533. Add a comment about the purpose of XPCOM_MIN/MAX. r=ehsan
--HG--
extra : rebase_source : 97ed3b670dee51b929344e1222be0d61ce18b3af
2013-01-15 11:26:58 -05:00
Justin Lebar
6d3f94ce8d 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
dcf79fd0a9 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
Mats Palmgren
44d63e6f91 Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan 2013-01-15 13:22:03 +01:00
Ryan VanderMeulen
96b0e17533 Backed out changeset 622427e981a8 (bug 789975) for build bustage.
CLOSED TREE
2013-01-14 22:13:24 -05:00
Justin Lebar
fbf3699557 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
19600b0dee 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
cfabe434d4 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
Filippo Cristofoletti
774ef53228 Bug 817387 - Remove last occurences of NS_OVERRIDE; r=ehsan
DONTBUILD as this is NPOTB.
2013-01-14 15:36:24 -05:00
Justin Lebar
d8be45a06e 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
a6e1ca0693 no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Chris Peterson
f456453bfd Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Trevor Saunders
4ec8c73231 bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan 2013-01-10 03:39:40 -05:00
Benoit Girard
ca61b7dd2b Bug 761135 - Remove XPCOMGlueShutdown. r=benjamin 2013-01-07 16:19:39 -05:00
Dave Hylands
707e873b0c Bug 785124 - Pt 3 - Modify the updater to support update.link file. r=rstrong
From 76c70c31f5362f7c91d567ca04329195d8126f26 Mon Sep 17 00:00:00 2001
 file. Prefer sdcard for download
---
 toolkit/mozapps/update/updater/updater.cpp |   53 +++++++++++++++++++++++++---
 toolkit/xre/nsUpdateDriver.cpp             |   13 +++++--
 2 files changed, 60 insertions(+), 6 deletions(-)
2012-12-14 16:06:41 -08:00
Mike Habicher
d50bc07067 Bug 827841 - don't proxy-release null pointers in nsMainThreadPtrHolder; r=jlebar 2013-01-08 13:40:18 -05:00
Mike Habicher
4c3631db86 backing out bug 827841 patch to fix comment 2013-01-10 01:44:18 +01:00
Mike Habicher
142e0b1b12 Bug 828502 - let nsMainThreadPtrHandle::get() handle nullptrs; r=bholley 2013-01-09 18:58:29 -05:00