Rafael Ávila de Espíndola
e5cc3eea46
Bug 841145 - use MOZ_SHUTDOWN_CHECKS to control what we do with late writes. r=vladan.
2013-02-15 08:08:19 -05:00
Trevor Saunders
5809598f46
bug 834894 - remove NS_IMPL_CYCLE_COLLECTION_NATIVE_x macros r=mccr8
2013-01-16 23:36:02 -05:00
Nathan Froyd
db4d4b4a84
Bug 835646 - remove NS_{GET,PUT}_{FLOAT,DOUBLE}; r=bsmedberg
2013-01-28 21:20:01 -05:00
Rafael Ávila de Espíndola
11be88e97c
Bug 840758 - Get the profile directory earlier. r=BenWa.
2013-02-13 13:53:21 -05:00
Boris Zbarsky
6973c53b71
Bug 618479 part 2. Use binary, not linear, search to determine timer insertion locations. r=brendan
2013-02-13 10:11:53 -05:00
Boris Zbarsky
81c0b2b097
Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik
2013-02-13 10:11:53 -05:00
Rafael Ávila de Espíndola
761c8b7317
Revert fa1f52704c9e. r=bustage.
...
--HG--
extra : rebase_source : 0902425782990758102c17fbfb6918b36aba39af
2013-02-13 08:54:32 -05:00
Rafael Ávila de Espíndola
892f1dd473
Bug 840758 - Get the profile directory earlier. r=BenWa.
2013-02-13 08:08:40 -05:00
Jacek Caban
3f995370db
Bug 822490 - Include cstdlib for std::abs (GCC fixup)
2013-02-13 13:33:57 +01:00
Rafael Ávila de Espíndola
da3ea8fd94
Bug 840633 - style fix. r=smaug.
2013-02-12 14:43:52 -05:00
Wan-Teh Chang
d8013e6054
Bug 807883: Use the new PL_SizeOfArenaPoolExcludingPool function
...
in NSPR 4.9.6. Portions of the patch were written by Nicholas
Nethercote <n.nethercote@gmail.com>. r=n.nethercote.
2013-02-12 08:54:38 -08:00
Aaron Klotz
b9a9678922
Bug 838279 - Add isWow64 field to system info and to telemetry. r=bsmedberg
2013-02-11 20:49:33 -05:00
Honza Bambas
c4a63c79fa
Bug 827287 - make it possible to use TimeStamp without performance concerns (TimeStamp::NowLoRes), r=ehsan, sr=roc
2013-02-11 22:56:59 +01:00
Honza Bambas
c57af113b5
Bug 822490 - Radically simplify windows TimeStamp implementation, r=tellrob
2013-02-11 22:56:58 +01:00
Chris Peterson
c1d4245ebd
Bug 839962 - Part 2: Replace some XPCOM thread NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 21:54:20 -08:00
Chris Peterson
c8295d4247
Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 20:50:05 -08:00
Rafael Ávila de Espíndola
f4d74651ac
Bug 704030 - Make the "all connections closed" check available on non debug builds. r=vladan.
...
--HG--
extra : rebase_source : 6f39e1e00b39e7356d29c4f5e3f77fa51ba49a16
2013-02-11 12:05:59 -05:00
Jim Mathies
2d3b5a9b81
Bug 837932 - Update dir svc media paths for Win7 and up - media dirs should point to Library default save locations. r=bsmedberg
2013-02-11 13:03:54 -06:00
Jeff Walden
579f351e28
Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo
2013-02-08 22:59:54 -08:00
Razvan Cojocaru
83699243fe
Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
...
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
2013-02-08 13:18:49 -08:00
Trevor Saunders
efd28711b8
bug 838565 - cc taf and nsFind r=smaug
2013-01-31 18:46:24 -05:00
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
Kartikaya Gupta
402d55c5a2
Bug 828124 - Adjust the low-memory threshold down to 384 MiB. r=blassey
2013-01-09 11:12:36 -05:00
Mike Habicher
ac36638ece
Bug 872841 - don't proxy-release null pointers in nsMainThreadPtrHolder; r=jlebar
...
--HG--
extra : rebase_source : 508d22c611725379192a90d8381f61aaa3d3ba97
2013-01-08 13:40:18 -05:00
Andrew McCreight
ecb75d0a95
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
Mike Habicher
3159bbcf60
Bug 827857 - make NS_ProxyRelease() handle null pointers properly; r=jlebar
2013-01-08 13:34:49 -05:00
William Chen
481bdc8fcd
Bug 826606 - Set uninitialized values for DeviceProximityEvent according to spec. r=dougt,smaug,khuey
2013-01-08 09:36:05 -08:00
Boris Zbarsky
b396867141
Bug 827654. Actually QI to interfaces we implement in nsCancelableRunnable. r=smaug
2013-01-08 09:01:30 -05:00
Gregor Wagner
76485a4288
Bug 827499 - SettingsService: Fix locking problem. r=bent
2013-01-08 12:04:25 +01:00
Phil Ringnalda
a3a5c77746
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Mike Habicher
5bcb3b93e1
Bug 827679 - add return value to nsMainThreadPtrHandle::operator=; r=bholley
2013-01-07 23:09:19 -05:00
Ehsan Akhgari
b96082ac88
Merge mozilla-central into mozilla-inbound
2013-01-07 18:23:31 -05:00
Alex Keybl
606aa67899
Merging in version bump NO BUG
2013-01-07 12:31:33 -08:00
Ed Morley
779e13e34e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-07 16:09:32 +00:00
Gregor Wagner
cded463a3a
Bug 827237 - Followup: Disable settings test. r=me
2013-01-07 16:32:15 +01:00
Nicholas Nethercote
4dc311a93d
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
37183ba801
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
266ca6f594
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
e7c51db4b1
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
ec9544d919
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
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