Bobby Holley
26516325fa
Bug 850054 - Add opt-out for strict checking in nsMainThreadPtrHolder. r=bsmedberg
2013-03-15 10:41:48 -07:00
Bobby Holley
5093adb764
Bug 850054 - Do some more work on nsMainThreadPtrHandle. r=bsmedberg
2013-03-15 10:41:48 -07:00
Kyle Huey
2fb58dfb85
Bug 714453: Make pldhash assertions fatal. r=dbaron
2013-03-14 09:24:52 -07:00
Avi Halachmi
c113be7b48
Bug 590422: Remove delay line filter from timer thread. r=bz
2013-02-20 20:21:09 +02:00
Fabrice Desré
a6cf6fb434
Bug 848615 - B2G: IPC's nsStringBuffer leak r=bent
2013-03-13 22:55:25 -07:00
Benjamin Smedberg
e05ed14ed9
Bug 684887 part B - make a SafeMutex which should crash if you try to recursively lock it, instead of deadlocking. r=bent
...
--HG--
extra : rebase_source : 694c5cd571e5802ce5e5af4ea03b9edc7e6fb8d4
2013-03-13 16:39:53 -04:00
Benjamin Smedberg
17e862a802
Bug 684887 part A - Make the XPCOM component manager non-reentrant, and make sure that nsFactoryEntry.mFactory is protected by it, r=cjones
...
--HG--
extra : rebase_source : f6a458a98c53f8a7490bc621095029e9446d4775
2013-03-13 16:39:28 -04:00
Jeff Walden
0bfefb7eed
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Gabriele Svelto
09be4479db
Bug 850607 - Properly react to changes to the 'memory.free_dirty_pages' preference. r=jlebar
2013-03-13 12:24:04 +01:00
Gregory Szorc
2c3e072f0a
Merge mozilla-central into inbound
2013-03-13 09:03:20 -07:00
Gregory Szorc
ed102f4876
Merge mozilla-central into build-system
2013-03-13 08:20:09 -07:00
Mike Shal
e9f8bc0fbd
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
8b4f575df1
Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium
2013-03-12 10:20:41 -07:00
Gregory Szorc
7bb3ee056b
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Ted Mielczarek
3c3453db11
bug 751673 - fix Windows assertion stacks. r=dbaron
...
--HG--
extra : rebase_source : b74882bb3914afaa44341088b9f737c909e88f65
2013-03-11 14:21:53 -04:00
Ryan VanderMeulen
f11783b460
Backed out changeset 948da26ff5a0 (bug 840673) for frequent Android ts timeouts on a CLOSED TREE.
2013-03-12 21:40:30 -04:00
Kyle Huey
c0cec0dc5b
Bug 849654: Kill nsDataHashtableMT. r=bsmedberg
2013-03-12 14:26:57 -07:00
Kyle Huey
78da976891
Bug 840673: Shut down the timer before shutting down the thread, so that spinning the event loop while shutting down the thread does not cause us to see the timer firing and reenter. r=bent
2013-03-12 13:45:23 -07:00
Zack Weinberg
68dac0c8ba
Bug 847181: prune unused printing-related nsresult codes, make printing error codes available in Components.results, and improve English of printing error messages. r=smaug
2013-03-08 21:45:14 -05:00
Benjamin Smedberg
34bfd48b1d
Bug 863263 part A - Modify some code in nsReadableUtils to support fallible and infallible variations of AppendUTF8toUTF16, r=jlebar
2013-03-08 12:27:58 -05:00
Justin Lebar
1bab22b636
No bug - s/bool/booleans/ in an error message in xpidl.py. r=me
...
The boolean type in XPIDL is "boolean" not "bool", so this error message was misleading.
2013-03-08 11:48:41 -05:00
Rafael Ávila de Espíndola
ebd20e8ade
Bug 848020 - Do we really have to poison NtFlushBuffersFile? r=BenWa.
2013-03-07 15:28:05 -05:00
Rafael Ávila de Espíndola
e9b5bec1b1
Bug 847468 - Poison NtWriteFileGather. r=BenWa.
...
--HG--
extra : rebase_source : 23ad1eec802f547504e08aa5dc8e7d90b2bf0708
2013-03-07 10:02:33 -05:00
Gregory Szorc
58b7ec0116
Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
...
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.
--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Nicholas Nethercote
cc8a28de9e
Bug 847248 (part 2) - Use a smaller chunk size in TimerEventAllocator. r=bz.
2013-03-03 18:50:06 -08:00
Nicholas Nethercote
4f0d1f0c41
Bug 847248 (part 1) - Improve documentation and reduce slop potential of nsFixedSizeAllocator. r=bz.
...
--HG--
extra : rebase_source : 31f6430e382605291cb79b1b810efb10aa4da1da
2013-03-03 18:42:41 -08:00
Rafael Ávila de Espíndola
a6fbf73aff
Bug 848036 - Move poisoning after NS_XPCOM_SHUTDOWN_LOADERS_OBSERVER_ID. r=BenWa.
...
--HG--
extra : rebase_source : 06f7625a901f1b69b5850ae76c9ff24e99081173
2013-03-06 16:04:58 -05:00
Rafael Ávila de Espíndola
233d055f56
Bug 846471 - Poison NtWriteFile. r=BenWa.
2013-03-06 10:11:57 -05:00
Trevor Saunders
2de09e4e6b
bug 846619 - add some static checking for use of _INHERITED cc class macros r=smaug
2013-02-28 18:11:18 -05:00
Ehsan Akhgari
3b20d99b2b
Bug 799142 - Make sure that the allocator for nsTimerEvent objects stays around long enough to deallocate all outstanding objects of that type; r=bsmedberg
2013-03-04 19:04:59 -05:00
Ehsan Akhgari
5eb0209309
Backed out 2 changesets (bug 799142) because of memory leaks
...
Backed out changeset a0cf0252cee4 (bug 799142)
Backed out changeset 7b1bb476bd8d (bug 799142)
2013-03-04 15:48:04 -05:00
Rafael Ávila de Espíndola
04e06dc3d1
Bug 847492 - Don't special case stdin and stdout. r=BenWa.
...
--HG--
extra : rebase_source : 58a609481abcf040ad2a2e6a0971853cac9fe91d
2013-03-04 14:06:19 -05:00
Ehsan Akhgari
1b5b95cafb
Bug 799142 follow-up: build bustage fix
...
landed on a CLOSED TREE
2013-03-04 14:41:54 -05:00
Ehsan Akhgari
1190c8b8d6
Bug 799142 - Make sure that the allocator for nsTimerEvent objects stays around long enough to deallocate all outstanding objects of that type; r=bsmedberg
2013-03-04 14:24:05 -05:00
Jeff Walden
bf23cd54f1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Kyle Huey
7f0da9e89b
Bug 849654: Kill nsClassHashtableMT. r=bsmedberg
2013-03-12 13:33:40 -07:00
David Zbarsky
94121eca1a
Bug 847239 - Mark SeekableStreamAtBeginning #ifdef DEBUG r=kinetik
2013-03-04 10:40:24 -05:00
Aaron Klotz
a66b11d089
Bug 845907: Adds generic ReadAhead functions r=glandium
2013-03-03 18:56:03 -07:00
Aaron Klotz
4cdabac656
Backed out a40244b87c7a (bug 845907)
2013-03-02 17:08:05 -07:00
Aaron Klotz
fcb29882fd
Bug 845907: Adds generic ReadAhead functions r=glandium
2013-03-02 16:13:38 -07:00
Igor Bukanov
6e38ffd2b4
Bug 743436 - remove XPCJSRuntime::mJSCycleCollectionContext and related code. r=peterv
...
The patch removes no longer used XPCJSRuntime::mJSCycleCollectionContext,
nsXPConnect::mCycleCollectionContext and related code to create/destroy
contexts. As that made nsCycleCollectionJSRuntime::FinishTraverse() empty
in all cases I removed that method as well.
2013-02-27 11:33:12 -08:00
Kartikaya Gupta
63723cb5e9
Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn
...
CLOSED TREE
2013-03-01 10:41:17 -05:00
Ed Morley
bb4c7b9abe
Backed out changeset 1eda65741914 (bug 845804) for xpcshell failures on a CLOSED TREE
2013-03-01 17:31:38 +00:00
Kartikaya Gupta
3fef252deb
Bug 845804 - Reuse OpenTempFile from nsMemoryInfoDumper in nsCycleCollector.cpp. r=njn
2013-03-01 10:41:17 -05:00
Carl X. Su
c49bdfc83e
Bug 365367 - NS_CONSOLEMESSAGE_CONTRACTID removed because it is never used. r=bsmedberg
2013-03-01 05:22:56 +08:00
Rafael Ávila de Espíndola
b528d8113c
Bug 846298 - Misc cleanups to the write poisoning base/OS split. r=BenWa.
2013-02-28 16:35:18 -05:00
Brian R. Bondy
74c3d24e59
Bug 845571 - Turn on console debug logging when running in Metro. r=jimm
2013-02-28 16:10:17 -05:00
Rafael Ávila de Espíndola
8419107bb7
Bug 845613 - Locking issues in the write poisoning code. r=BenWa.
...
--HG--
extra : rebase_source : 49cbd361b1cd22e7d47546ec1c0292674b156f07
2013-02-28 11:34:58 -05:00
Gregory Szorc
89d297a677
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
faf262c4ee
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
a8e6b873d4
Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted
2013-02-25 13:20:02 -08:00
Trevor Saunders
e49a019dfb
bug 842078 - fix iteration of mChildrenList r=smaug
2013-02-20 16:33:44 -05:00
Cykesiopka
8c5e6b3f99
Bug 267598 - Fix some comments and arg names in nsISupportsUtils.h. r=bsmedberg
2013-02-27 09:23:54 -05:00
Kartikaya Gupta
b2351dc830
Bug 845342 - Move about:memory and related dump files to the downloads dir on android. r=njn
2013-02-27 08:58:29 -05:00
Cykesiopka
bb8609bee7
Bug 326317 - Fix issues with comments in nsTSubstring.h. r=dbaron
2013-02-25 09:07:15 -05:00
Ryan VanderMeulen
856d73efad
Backed out changeset 00ed3d264438 (bug 590422) for OSX browser-chrome failures on a CLOSED TREE.
2013-02-26 22:05:51 -05:00
Daniel Holbert
a0b3810689
Bug 845527: Use nsCOMArray::Length() instead of Count() for comparison vs. unsigned index in nsMemoryReporterManager. r=jlebar
2013-02-26 14:25:38 -08:00
Kyle Huey
409e1cc43d
Bug 845441: Remove DEBUG_CC. r=mccr8
2013-02-26 13:34:32 -08:00
Avi Halachmi
52e3b9ba5e
Bug 590422: Remove delay line filter from timer thread. r=bz
2013-02-20 20:21:09 +02:00
Justin Lebar
a9c8386f3a
Bug 844820 - Fix two benign races in nsTArray around sEmptyHdr. a=bz
2013-02-26 11:24:41 -05:00
Jonathan Kew
5219b8ae03
backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn
2013-02-22 09:36:41 +00:00
Bill McCloskey
c330d96d13
Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley)
2013-02-21 18:23:47 -08:00
L. David Baron
a81cbb3e59
Bug 790589: Document the MOZ_CC_LOG_DIRECTORY environment variable. r=smaug
2013-02-21 18:10:59 -08:00
Ryan VanderMeulen
9af6f0a1e3
Merge m-c to inbound.
2013-02-19 12:46:19 -05:00
Lukas Blakk
6f45ecd5cc
Merging in version bump NO BUG CLOSED TREE
2013-02-19 09:35:19 -08:00
Boris Zbarsky
25deb6d78c
Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv
2013-02-19 11:54:40 -05:00
Ehsan Akhgari
05344173dd
Fix the documentation of TimerEventAllocator threading expectations, no bug, DONTBUILD
2013-02-18 21:13:26 -05:00
Peter Van der Beken
490e9a4afd
Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
...
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Rafael Ávila de Espíndola
3dfb377a53
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
30a06ffbf3
bug 834894 - remove NS_IMPL_CYCLE_COLLECTION_NATIVE_x macros r=mccr8
2013-01-16 23:36:02 -05:00
Nathan Froyd
a42ee4c598
Bug 835646 - remove NS_{GET,PUT}_{FLOAT,DOUBLE}; r=bsmedberg
2013-01-28 21:20:01 -05:00
Rafael Ávila de Espíndola
5308cd3d2a
Bug 840758 - Get the profile directory earlier. r=BenWa.
2013-02-13 13:53:21 -05:00
Boris Zbarsky
002618e54d
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
880e764352
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
4f71ab18da
Revert fa1f52704c9e. r=bustage.
...
--HG--
extra : rebase_source : 0902425782990758102c17fbfb6918b36aba39af
2013-02-13 08:54:32 -05:00
Rafael Ávila de Espíndola
5dc1ccd3a0
Bug 840758 - Get the profile directory earlier. r=BenWa.
2013-02-13 08:08:40 -05:00
Jacek Caban
865b3c2ae1
Bug 822490 - Include cstdlib for std::abs (GCC fixup)
2013-02-13 13:33:57 +01:00
Rafael Ávila de Espíndola
7e3da31b34
Bug 840633 - style fix. r=smaug.
2013-02-12 14:43:52 -05:00
Wan-Teh Chang
09e29abdc2
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
7b99df31f9
Bug 838279 - Add isWow64 field to system info and to telemetry. r=bsmedberg
2013-02-11 20:49:33 -05:00
Honza Bambas
f15437c70d
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
b2f0520748
Bug 822490 - Radically simplify windows TimeStamp implementation, r=tellrob
2013-02-11 22:56:58 +01:00
Chris Peterson
539e783497
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
481aeddb5f
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
151a95c624
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
206885bb40
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
15f60ef632
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
15c13f8d76
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
b88a8e6cb9
bug 838565 - cc taf and nsFind r=smaug
2013-01-31 18:46:24 -05:00
Rafael Ávila de Espíndola
27cb203a7b
Bug 834945 - GC triggers a late DB write during shutdown. r=vladan.
2013-02-06 16:45:38 -05:00
Neil Rashbrook
20c220f8b4
Bug 493711 Provide an nsTArray-like API for nsCOMArray r=sicking
2013-02-04 22:05:40 +00:00
Justin Lebar
6639b22228
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
c882a7379a
Bug 833913 - Part 1: s/PR_TRUE/true in nsISimpleEnumerator.idl comment. r=bsmedberg
2013-02-01 10:12:52 -05:00
Jeff Walden
8f98ecc84c
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
582b2e961d
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
2013-01-28 16:33:17 -08:00
Jeff Muizelaar
be688a687b
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
c5ae1d725f
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
9ccd762177
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
dd286ff0cd
Merge m-c to inbound.
2013-01-29 10:50:01 -05:00
Boris Zbarsky
ce4c3cbc12
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
04f89eb353
Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8
2013-01-29 12:45:38 +02:00
Bill McCloskey
8544cb4e1d
Bug 751618 - Add js/GCAPI.h (r=terrence)
2013-01-27 12:35:12 -08:00
Benoit Jacob
86dd08b226
Bug 832831 - Make NS_ASSERT_OWNINGTHREAD_AND_NOT_CCTHREAD fatal - r=khuey
2013-01-25 13:40:38 -05:00
Ryan VanderMeulen
45c35cc4a0
Merge m-c to inbound.
2013-01-25 12:32:22 -05:00
Benjamin Smedberg
131ead677d
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
8df404f0aa
Backed out changeset 70baa7e07838 (bug 833915) since one day has passed
2013-01-24 11:12:24 -05:00
Ehsan Akhgari
15d7770547
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
9f17925ea5
Bug 832973 nullptr undeclared under Windows VC9 r=ehsan a=nonlibxul DONTBUILD
2013-01-22 14:06:45 +08:00
Ehsan Akhgari
1fdacf16bc
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
57a2c2471b
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
380ecf9335
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
01f8a5b4d8
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
f289a4d0e0
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
26818bf787
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
74af724c1a
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
2189a174b4
Bug 820852 - Implement write poisoning on Windows. r=ehsan,espindola
2013-01-10 16:50:16 -05:00
Trevor Saunders
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Justin Lebar
4d0815679a
Bug 789975 - Follow-up: Fix memory reporter descriptions. r=me
2013-01-16 09:34:25 -05:00
Nicholas Nethercote
b91ac7ea78
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
5c124004aa
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
d239c792cc
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
20c97d42f8
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
55ab083fda
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
fb0276a247
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
93d3d7b2b4
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
1860b9eb94
Backed out changeset 622427e981a8 (bug 789975) for build bustage.
...
CLOSED TREE
2013-01-14 22:13:24 -05:00
Justin Lebar
6bb1ee199c
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
5ed17d1b34
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
dc051e917d
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
10a08b1f0c
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
a6448c2ae3
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
10701d89a1
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
34d009dfe8
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
e1d9c076e4
bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan
2013-01-10 03:39:40 -05:00
Benoit Girard
0b1123da53
Bug 761135 - Remove XPCOMGlueShutdown. r=benjamin
2013-01-07 16:19:39 -05:00
Dave Hylands
7f0868d780
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
9804a8333a
Bug 827841 - don't proxy-release null pointers in nsMainThreadPtrHolder; r=jlebar
2013-01-08 13:40:18 -05:00
Mike Habicher
f53866e76a
backing out bug 827841 patch to fix comment
2013-01-10 01:44:18 +01:00
Mike Habicher
163b968cde
Bug 828502 - let nsMainThreadPtrHandle::get() handle nullptrs; r=bholley
2013-01-09 18:58:29 -05:00
Kartikaya Gupta
84890b79ad
Bug 828124 - Adjust the low-memory threshold down to 384 MiB. r=blassey
2013-01-09 11:12:36 -05:00
Mike Habicher
fd1300b8ce
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
7d3dd0a3b1
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
6d66ed4072
Bug 827857 - make NS_ProxyRelease() handle null pointers properly; r=jlebar
2013-01-08 13:34:49 -05:00
William Chen
8fc8c7cc9a
Bug 826606 - Set uninitialized values for DeviceProximityEvent according to spec. r=dougt,smaug,khuey
2013-01-08 09:36:05 -08:00
Boris Zbarsky
3bc70b8c79
Bug 827654. Actually QI to interfaces we implement in nsCancelableRunnable. r=smaug
2013-01-08 09:01:30 -05:00
Gregor Wagner
32759d8b5e
Bug 827499 - SettingsService: Fix locking problem. r=bent
2013-01-08 12:04:25 +01:00
Phil Ringnalda
ed9b0b2817
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Mike Habicher
a52c7b00ee
Bug 827679 - add return value to nsMainThreadPtrHandle::operator=; r=bholley
2013-01-07 23:09:19 -05:00
Ehsan Akhgari
1022301c8f
Merge mozilla-central into mozilla-inbound
2013-01-07 18:23:31 -05:00
Alex Keybl
6521994aeb
Merging in version bump NO BUG
2013-01-07 12:31:33 -08:00
Ed Morley
be5d222c96
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-07 16:09:32 +00:00
Gregor Wagner
903aef4c22
Bug 827237 - Followup: Disable settings test. r=me
2013-01-07 16:32:15 +01:00
Nicholas Nethercote
153813802b
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
5ee4d74504
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
b18db0e9e8
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
8fc314d759
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
5aadc5f221
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
3ee5b531ad
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
1d7f495207
Bug 826231 - Enable FAIL_ON_WARNINGS on MSVC in xpcom/tests. r=ehsan
2013-01-04 12:49:25 +09:00
Mohit Gahlot
3f72333525
Bug 818106 Fix: ScopedClose now considers errno EINTR.r=dhylands
2013-01-04 08:16:47 +05:30
Ehsan Akhgari
2cf729e283
Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build
2013-01-03 18:36:16 -05:00
Michal Novotny
b06fe67e37
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
bbed330a6b
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
0ea79c11c5
Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron.
2012-12-20 21:31:57 -08:00
Ehsan Akhgari
9ce02e8e83
Make gDebugLog obey the normal NSPR_LOG_MODULES rules, no bug, mailinglist-r=bsmedberg
2013-01-03 13:30:59 -05:00
Ed Morley
5f21a07fa8
Backout bfeb3bc3da4e (bug 826029) for WINNT xpcshell failures
2013-01-03 10:17:14 +00:00
Rafael Ávila de Espíndola
c60ed397cc
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
b5e27745c8
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
acc80a9abd
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
e3b2aa92a5
bug 822717 - remove checks for old gcc r=glandium
2012-12-18 13:22:28 -05:00
Nicholas Nethercote
884ca45414
Bug 819819 (part 1) - Remove DMDV. r=khuey.
...
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Boris Zbarsky
a65b5ab129
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
70f90d1845
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
77c65dbe2d
Bug 822825 - Java plugin hits mozPoisonWriteMac ValidWriteAssert assertion on shutdown. r=BenWa.
2012-12-25 19:27:01 -05:00
Nicholas Nethercote
df43bc1128
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
6007d234f5
Bug 824395 - Report used stacks separately from unused stacks. r=njn
2012-12-23 21:48:03 -05:00
Trevor Saunders
0022204582
bug 820182 - remove nsISupportsArray::ElementAt() r=ehsan
2012-12-11 11:16:42 -05:00
Trevor Saunders
dac1a94de6
bug 819936 - remove NS_NewArrayEnumerator overload for nsISupportsArray r=bz, bsmedberg
2012-12-09 05:04:21 -05:00
Neil Rashbrook
b87325632b
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
6c23719453
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
c4505906c6
Bug 823940 Remove unused nsAutoVoidArray, and cleanup nsVoidArray's support for it. r=bsmedberg.
2012-12-22 09:00:15 +00:00
Ehsan Akhgari
06ec3157b0
Merge mozilla-central into mozilla-inbound
2012-12-21 12:47:56 -05:00
Mike Hommey
f1dc106e2a
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
7ede8e093a
Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking
2012-12-21 10:09:50 +00:00
Ed Morley
33a812216e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-12-20 21:05:33 +00:00
Neil Rashbrook
9708d4f1a2
Bug 493711 Part 1: switch nsCOMArray from nsVoidArray to nsTArray r=sicking
2012-12-19 21:33:54 +00:00
Nicholas Nethercote
6c71e7b725
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
1cf85ccdfe
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
fee348194d
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
72d9ee54dc
Bug 819791 - Part 11: Make nsTArray and friends' copy constructors explicit. r=bz
2012-12-18 20:16:07 -05:00
Justin Lebar
7bef45ba1a
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
900c0a0310
Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz
2012-12-18 20:16:06 -05:00
Boris Zbarsky
b510abf604
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
99c44b89c2
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
7752553314
Bug 821534 - move mozilla::PoisonWrite one line earlier. r=ehsan.
2012-12-17 10:13:36 -05:00
Trevor Saunders
4c3855e446
bug 820182 - remove nsISupportsArray::ElementAt() uses r=ehsan
2012-12-11 11:16:42 -05:00
Trevor Saunders
f8c71d8f54
bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8
2012-12-08 00:08:37 -05:00
Jeff Walden
7146c23e80
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
478200ac05
Merge mozilla-central into mozilla-inbound
2012-12-15 10:37:42 -05:00
Olli Pettay
893f6388f7
Bug 818739, don't run CC during shutdown, r=mccr8
2012-12-14 20:41:11 +02:00
Ed Morley
5728642a43
Merge mozilla-central to mozilla-inbound
2012-12-21 11:41:08 +00:00
Marco Bonardo
1c2790c99e
Bug 821628 - xptcstubs_x86_64_darwin is wrongly converting some bool params
...
r=bsmedberg
2012-12-20 23:44:40 +01:00
Gabriele Svelto
c95ca6c01f
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
7fe17b1ddf
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
9ff5ef25de
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
24cd6ffd1e
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
47a98e7c37
bug 819940 - remove nsISupportsArray::EnumerateForwards() r=ehsan
2012-12-10 05:27:14 -05:00
Nicholas Nethercote
0d84313efb
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
6b25120b4e
bug 819940 - remove nsISupportsArray::EnumerateBackwards() r=ehsan
2012-12-09 13:40:46 -05:00
Trevor Saunders
706ed64c15
bug 819927 - Base64{Encode,Decode}() should properly handle empty strings r=ehsan
2012-12-06 22:34:49 -05:00
Trevor Saunders
db367d1ecd
bug 819939 - remove NS_NewISupportsArray() r=ehsan
2012-12-09 12:48:06 -05:00
Paolo Amadini
6151fc6201
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
701b783680
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
c9e3659e16
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Theo Chevalier
2e90bf0940
Bug 699806 - Enable Telemetry by default on Nightly and Aurora channels (Desktop), r=mak77
2012-12-08 18:41:23 +01:00
Bas Schouten
b8bd2ee92a
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
82a85dbee0
Bug 819539 - Ignore _Unwind_Backtrace errors on ARM + Android. r=glandium
2012-12-07 17:18:22 -05:00
Mike Hommey
95d176978d
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
0d299a8bd4
Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt
2012-12-06 21:13:15 -05:00
Brian Smith
8b3350f6d2
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
a4e3ef3138
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
dc65fe3eae
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
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Trevor Saunders
25cdce267f
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
8a54bbfbe8
Bug 799640 - Part 3: Add shutdown labels. r=espindola
2012-11-30 12:49:47 -05:00
Andrew McCreight
abb6f0af3a
Bug 812380 - optimize less aggressively in TraceWeakMapping. r=billm
2012-12-03 09:02:57 -08:00
Ms2ger
4f3a54421a
Bug 810668 - Fix some gcc4.6 build warnings; r=bz
2012-12-02 09:54:55 +01:00
Ehsan Akhgari
5bba464e0a
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
dca1677cb2
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
10dbaf8c1e
Bug 799640 - Part 3: Add shutdown labels. r=espindola
2012-11-30 12:49:47 -05:00
Wan-Teh Chang
4bb6a2c22b
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
231fb39036
Bug 815671 part 10. Make nsTArray constructors explicit. r=jlebar
2012-11-29 11:14:14 -05:00
Boris Zbarsky
e555fcedb4
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
7a9bec59cd
Bug 815397 - Clean up Accessibility cycle collector definitions. r=smaug
2012-11-28 16:05:04 -08:00
Mats Palmgren
7dc73374a2
Bug 816162 - Add newline at end of file to fix compile warning. r=mccr8
2012-11-28 19:55:36 +01:00
Josh Matthews
0541a0bcc3
Backed out changeset 7c45205a61a0 (bug 769285)
2012-11-28 11:51:42 -05:00
Josh Matthews
5b91db75ab
Bug 769285 - Use separate access tokens for private and public geolocation requests. r=dougt
2012-11-28 11:20:20 -05:00
Olli Pettay
d0b7012d35
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
28e0b1694e
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
033e25a0c1
Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug
2012-11-23 11:13:39 -08:00
Andrew McCreight
0beff55dae
Bug 807713 - add warning comment for nsTObserverArray::ElementAt. r=sicking
2012-11-23 10:50:05 -08:00
Ehsan Akhgari
8cca5e4ac6
Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky
2012-11-20 19:19:53 -05:00
Ed Morley
66e54e6f57
Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage
2012-11-22 17:49:58 +00:00
Benoit Jacob
ec39e2a150
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
b68fb31c87
Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky
2012-11-20 19:19:53 -05:00
Rafael Ávila de Espíndola
f6513ba12c
Bug 808699 - Change the wire format for hang reports. r=vladan.
2012-11-20 09:45:14 -05:00
Simon Montagu
160aa8e467
Add EnumerateEntries to nsCheapSet. Bug 809446, r=bsmedberg
2012-11-20 06:21:13 -08:00
Nicholas Nethercote
4b55d43c2d
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
4f095fe3dd
Bug 811203 (part 1) - Inline XPTMethodDescriptor::result. r=khuey.
...
--HG--
extra : rebase_source : 1c2a89684f5b60a3e24ce995ed7e062e88e18610
2012-11-19 16:18:41 -08:00
Alex Keybl
98c4160eda
Merging in version bump NO BUG
2012-11-19 12:03:27 -08:00
Nicholas Nethercote
2e9214d6ad
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
bc758b2b7a
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 2: handmade fixups - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
cdce3ce25a
Bug 811212 - Make most cycle collector assertions fatal - r=mccr8
2012-11-15 02:32:39 -05:00
Benoit Jacob
cc8ee2b8fb
Bug 806279 - CC macros refactoring: part 4: update CC helper macros - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
ee1217da86
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
d2969fa2d5
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
4a50000d0e
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
218a57b4d4
Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan
2012-11-14 13:14:21 -06:00
Gregor Wagner
1e767c97ea
Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley
2012-11-14 13:46:38 -08:00
Ehsan Akhgari
f5b80eb686
Backed out changeset da25394a8b55 (bug 802706) for build bustage
2012-11-14 13:24:12 -08:00
Gregor Wagner
d1ebf22b39
Backout Bug 811414 for breaking B2G
2012-11-14 13:09:21 -08:00
Isaac Aggrey
2c0ab41183
Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan,wtc
2012-11-14 13:14:21 -06:00
Gregor Wagner
ec389cf5db
Bug 811414 - nsISettingsServiceCallback shouldn't use [implicit_jscontext]. r=bholley
2012-11-14 13:00:51 -08:00
Landry Breuil
d8b312c35e
Bug 803955: {Free,Open}BSD use alternative dirs for systemwide extensions/plugins. r=bsmedberg
2012-11-14 20:02:07 +01:00
Josh Matthews
5faa109e12
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
ffd5580b48
Bug 805855 - Free dirty pages in response to all memory-pressure messages. r=jlebar
2012-11-12 17:41:23 +01:00
Nathan Froyd
93cadceec0
Bug 809931 - make Static{Auto,Ref}Ptr have trivial constructors and destructors; r=jlebar
2012-11-09 16:48:42 -05:00
Nicholas Nethercote
4424dc63a6
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
c8d7b82459
Bug 810240 - xpcom/ds/nsObserverService.cpp fails to link on mingw r=glandium
2012-11-12 11:08:19 +01:00
Nicholas Nethercote
f433bab7f5
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
e9211429c0
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
a0ee1a91ab
Bug 795887 - Mirror existing sleep notification handling with process suspend notification handling. r=bsmedberg
2012-11-09 10:34:10 -05:00
Dave Hylands
5cf12d4e3a
Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky
2012-11-09 09:52:09 -08:00
Nicholas Nethercote
2a3cc8de1a
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
0f80729a57
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
8a94a72032
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
46fc8b6a6e
Bug 794599 - Add a preference to disable logging. r=bzbarsky
2012-11-06 22:34:33 -08:00
Nathan Froyd
915ea8cba2
Bug 806618 - followup - remove PR_NewLogModule static initializer in nsNativeComponentLoader.cpp; r=ehsan
2012-11-07 16:20:25 -05:00
Makoto Kato
1b9b070867
Bug 807895 - Remove BSD/OS code. r=khuey
2012-11-08 10:36:28 +09:00
Ehsan Akhgari
ac35497057
Bug 579517 follow-up: Remove NSPR types that crept in
2012-11-07 20:34:50 -05:00
Jason Duell
03cc56112b
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
ca2039bc85
Bug 800106 - Drop inline annotations in nsUTF8Utils.h; r=dbaron
2012-11-07 14:14:27 -05:00
Dave Hylands
4c5557e3c7
Bug 794599 - Backout 847cedab81ae due to debug orange
2012-11-07 01:03:52 -08:00
Dave Hylands
cd617502a6
Bug 794599 - Add a preference to disable logging. r=bzbarsky
2012-11-06 22:34:33 -08:00
Nicholas Nethercote
2ea195e901
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
2592b9c289
Bug 808772 - Adjust Android low-memory platform threshold to 512 MiB. r=blassey
2012-11-06 10:05:18 -05:00
Brian R. Bondy
bddd972422
Bug 369108 - Win32's nsIFile::Create and nsIFile::CreateUnique ignore permissions argument. r=bsmedberg
2012-11-03 13:39:02 -04:00
Neil Rashbrook
8cdc6abc40
Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan
2012-11-03 10:59:29 +00:00
Daniel Holbert
034e0ecac8
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
5ec424dfd3
Bug 807713 - add operator[] for nsTObserverArray. r=bsmedberg
2012-11-02 17:57:05 -07:00
Ryan VanderMeulen
e3feaeecef
Backout 06b998c1100d (bug 664695) due to mochitest-other orange.
2012-11-02 17:12:22 -04:00
Neil Rashbrook
7464774f68
Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg
2012-11-02 20:07:50 +00:00
Andrew Quartey
96949afbbf
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Justin Lebar
c88446f4e6
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
bfbabd4190
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
bfe409458b
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
81d461ccdf
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
83dba1e9ca
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
1482122303
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
80046997aa
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
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Masayuki Nakano
8ecdaabd92
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
bdf47895bb
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
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a
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
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Kartikaya Gupta
eaf1ecb30a
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
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Ehsan Akhgari
7019ca781d
Bug 806209 followup - fix a stupid mistake; irc-r=BenWa
2012-10-29 14:18:14 -04:00
Ehsan Akhgari
c6c8d4cb2c
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
4ec102980a
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
549c0bfc08
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
5576623aa8
Bug 792581 - part 21: Replace LL_F2L and LL_D2L macros. r=ehsan
2012-10-25 19:25:58 -04:00
Andrew Quartey
1d28872093
Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan
2012-10-25 19:25:57 -04:00
Ehsan Akhgari
f117c7a7b0
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
8fc5137fd5
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
48b5c1a608
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
9cc8a76bf7
Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones
2012-10-25 11:36:24 -04:00
Mook
265cffd198
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
81b6081a88
Merge the last PGO-green inbound changeset to m-c.
2012-10-24 21:50:09 -04:00
Magnus Melin
620b7276fd
Bug 804664 - remove typedef nsAutoCString nsCAutoString. r=benjamin
2012-10-23 20:53:15 +03:00
Makoto Kato
65470ba401
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
36d17fb8f3
Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
2012-10-24 15:42:54 -04:00
Jeff Walden
7ac97fd5f9
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
f514f1397a
Merge m-c to inbound.
2012-10-23 22:41:34 -04:00
Ryan VanderMeulen
ce44cdfbd3
Merge the last PGO-green inbound changeset to m-c.
2012-10-23 22:28:33 -04:00
Ehsan Akhgari
aa8a5f24ed
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
b0e3180948
Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley
2012-10-24 01:26:36 +03:00
Jacek Szpot
6c54d3acb6
Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan
2012-10-23 13:31:22 +02:00
Anthony Jones
877be0ebd6
Bug 791428 - Remove unnecessary malloc from number format function. r=roc
2012-10-22 22:22:27 -04:00
Justin Lebar
e2c276a076
Bug 802469 - Make misuse of NS_LITERAL_{C,}STRING a compile error. r=bsmedberg
2012-10-24 12:53:22 -04:00
Phil Ringnalda
f4d107eda2
Back out 46e58a7ec55e and 597981ef2ef5 (bug 777122) for Windows build failures
2012-10-24 07:38:20 -07:00
Rafael Ávila de Espíndola
babefea0b2
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
875ef290f3
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
7a05f28eb2
Backout changeset 788a51ef6221 (bug 800106) because of Windows XP Kraken regression
2012-10-22 16:44:09 -04:00
Justin Lebar
4f11ea7287
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
2509c81393
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
7bad6a6d35
No bug: Fix comment in TimeStamp_posix.cpp. DONTBUILD
2012-10-20 11:12:20 -04:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Daniel Holbert
da37508e9b
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
4bedd96175
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
60ca58cba0
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
e906c7cfa4
Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan
2012-10-19 10:33:33 +02:00
Brian Smith
125999d7c4
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
cbb17fe7b2
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
e1b97bbdea
Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8)
2012-10-17 18:22:46 -07:00
Mats Palmgren
19c0d5b8e0
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
61d7092334
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