Commit Graph

156359 Commits

Author SHA1 Message Date
Andrew McCreight
65d5a7ad90 Bug 935721, part 9 - Move mPtrToNodeMap into GCGraph. r=smaug
With ICC, we may have to remove things from the graph after we have finished building
the graph, so move the mapping to graph addresses into the graph itself to create a
more self-contained structure.
2013-11-20 14:35:17 -08:00
Andrew McCreight
06ae914761 Bug 935721, part 8 - Add a reference to the graph to the graph builder. r=smaug
This moves towards letting the CC graph outlive the builder.
2013-11-20 14:35:16 -08:00
Andrew McCreight
77917883a8 Bug 935721, part 7 - Inline PrepareForCollection into BeginCollection. r=smaug
PrepareForCollection is trivial now, so just inline it.
2013-11-20 14:35:16 -08:00
Andrew McCreight
8953ed7683 Bug 935721, part 6 - Replace ccResults with aResults in EndCycleCollectionCallback. r=smaug
This is done in a separate patch to reduce the size of the previous patch a bit.
2013-11-20 14:35:16 -08:00
Andrew McCreight
3eed280708 Bug 935721, part 5 - Invert the control flow of CycleCollectNow's pre- and post-collection work, add CCResults as a field on the CC. r=smaug
nsJSEnvironment::CycleCollectNow does work before and after a CC runs. With ICC, nsJSEnv won't
know where in the CC when a CC is about to begin or end, so this patch reorganizes that work
into two separate callback hooks.  This requires adding a new struct, CycleCollectorStats, to
hold data nsJSEnv needs between the two calls.

Rather than trying to pass around a pointer to a results structure, this patch just adds
it to the nsCycleCollector struct, and always stores them. The results are passed back
to the end CC callback.
2013-11-20 14:35:16 -08:00
Andrew McCreight
2356ab9a2d Bug 935721, part 4 - Allocate white nodes array in CollectWhite. r=smaug
The white nodes array is only used in CollectWhite, so just allocate it there.
2013-11-20 14:35:16 -08:00
Andrew McCreight
df690c6812 Bug 935721, part 3 - Use RAII to set mScanInProgress, hoist out MarkRoots and ScanRoots. r=smaug
With ICC, mScanInProgress gets set and cleared a bunch of times so add an RAII class to turn
it on when we're doing stuff and clear it when we're not.

With that in place, we can easily move MarkRoots and ScanRoots out of BeginCollection
in preparation for making them separate phases in ICC.
2013-11-20 14:35:16 -08:00
Andrew McCreight
c9b8e24ea3 Bug 935721, part 2 - Allocate GCGraphBuilder on the heap. r=smaug
With ICC, the graph builder must persist across invocations of the CC,
so store it on the heap.
2013-11-20 14:35:15 -08:00
Andrew McCreight
7b822b21b0 Bug 935721, part 1 - Store the listener pointer on the nsCycleCollector data structure. r=smaug
With ICC, the listener must persist across invocations of the CC, so store it on the CC.
2013-11-20 14:35:15 -08:00
Trevor Saunders
bb5ea2186e bug 939049 - get rid of useless QIs r=smaug 2013-11-15 11:32:12 -05:00
Trevor Saunders
f2f73dd7c1 bug 939049 - staticly type nsIDocument::mDocumentContainer and nsDocumentViewerContainer::mContainer r=smaug 2013-11-15 02:12:43 -05:00
Honza Bambas
06554ed76b Bug 922659 - exception from onCacheEntryCheck should cause NOT_FOUND, r=michal 2013-11-20 23:20:19 +01:00
Honza Bambas
6a3a858944 Bug 922671 - nsHttpChannel must bypass concurrent read when request is not resumable, r=michal 2013-11-20 23:20:19 +01:00
Honza Bambas
8fa6ee9ecf Bug 935595 - NS_NOTREACHED\("unexpected request"\) @ nsHttpChannel::OnStopRequest on partially cached download, r=michal 2013-11-20 23:20:18 +01:00
Honza Bambas
0ea4ff876b Bug 934616 - fix race on use of mFile at CacheEntry::Load, r=michal 2013-11-20 23:20:18 +01:00
Honza Bambas
e4cdf91ccd Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal 2013-11-20 23:20:17 +01:00
Honza Bambas
a6dea964f8 Bug 917432 - hook to webapps-clear-data notification, r=michal 2013-11-20 23:20:16 +01:00
Honza Bambas
bcd89f976f Bug 934610 - fix Assertion failure: \!EventsPending(), at CacheIOThread.cpp:172, r=michal 2013-11-20 23:20:15 +01:00
Matthew Gregan
af07e0a7ab Bug 934232 - Handle pa_stream_new failure in libcubeb's PulseAudio backend. r=padenot 2013-11-21 10:59:48 +13:00
Benjamin Smedberg
0f711f29b8 Bug 672843 part D2 - Fix the xpconnect exception code and Components.results to prefer the name NS_ERROR_ILLEGAL_VALUE over the other synonyms. Fix a few tests that rely on exception names to use exception values instead. r=bholley 2013-11-20 11:46:18 -05:00
Benjamin Smedberg
4e3ab778f0 Bug 672843 part D - make NS_ERROR_INVALID_POINTER an alias of NS_ERROR_INVALID_ARG, r=froydnj 2013-11-19 16:27:37 -05:00
Benjamin Smedberg
9bfc4e98e3 Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
Benjamin Smedberg
f72af0bb16 Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj 2013-11-19 16:27:36 -05:00
Benjamin Smedberg
5f71d47853 Bug 672843 part A - Create the new macro NS_WARN_IF and deprecate NS_ENSURE_* in favor of the explicit warning/return style. Also localize each macro so that it's debug and non-debug versions are local in the file, because that makes it easier for new contributors to understand. r=froydnj sr=jst 2013-11-19 16:27:36 -05:00
Olli Pettay
f9671a72bc Bug 928535, Support WeakRef's from c++ to JSImplemented webidl objects, r=mccr8
--HG--
extra : rebase_source : 05736af7ab2d11b10e7e6e917b8647a58e2c2108
2013-11-20 23:42:16 +02:00
Bill McCloskey
7fc205c201 Bug 940217 - Fix error report about StopIteration promise (r=Yoric) 2013-11-20 13:35:25 -08:00
Oleg Romashin
9bc4ac4435 Bug 822898 - Implement pointer events. Basic Tests. r=smaug 2013-11-20 13:05:44 -08:00
Oleg Romashin
e4ee1caecb Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug 2013-11-20 13:05:41 -08:00
Oleg Romashin
4f81ba4a69 Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 13:05:39 -08:00
Oleg Romashin
896588e661 Bug 822898 - Implement pointer events. CreateEvent hack. r=ehsan 2013-11-20 13:05:37 -08:00
Chris Pearce
cb7276fa04 Bug 886196 - Create a PlatformDecoderModule that outputs blank frames for fuzzing/testing purposes. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce
25d65fda1c Bug 886196 - Implement WMF platform decoder for FMP4 demuxer. r=padenot 2013-11-21 10:04:33 +13:00
Chris Pearce
5e21be5dc6 Bug 886196 - Add pref to enable creation of fmp4 reader in DecoderTraits. Preffed of by default. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce
47e87db4d3 Bug 886196 - MP4 demuxing using Chromium's MP4 demuxer. No decoding yet. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce
0d0095228b Bug 886196 - Import Chromium's MSE MP4 demuxer code. r=kinetik 2013-11-21 10:04:32 +13:00
Chris Pearce
c117487797 Bug 886196 - Configure option and pref for fragmented mp4 parser. r=glandium 2013-11-21 10:04:32 +13:00
Ehsan Akhgari
6053a45785 Follow-up to bug 936912: Fix a compiler warning 2013-11-20 16:01:59 -05:00
Nathan Froyd
86ec57e686 Bug 940426 - part 2 - don't observe xpcom-shutdown in nsXULTemplateBuilder; r=bz 2013-11-19 20:04:15 -05:00
Nathan Froyd
2ec5630dff Bug 940426 - part 1 - properly stop observing all the sources in nsXULTemplateBuilder; r=bz 2013-11-19 11:21:00 -05:00
Jonathan Kew
35912ab648 bug 941090 - build most of gfx/ots in unified mode. r=ehsan 2013-11-20 20:40:14 +00:00
Gregory Szorc
33263936d0 Bug 924307 - Intermittent "reporter is null at abouthealth.js:27"; r=rnewman
The error message comes from abouthealth.js not checking if a variable
is null before access. That bug is fixed.

However, the underlying issue of "the reporter is null" still remains.
Logging has been added to hopefully catch issues. The signature of the
failure will change.

--HG--
extra : rebase_source : bc887406a3570a767bae5407b5836314157ac421
extra : amend_source : f22cad2eae46bd08ae25a7d376fbf8e2d1d0ea92
2013-11-20 11:41:08 -08:00
Ted Mielczarek
35ffe02eca Bug 941120 - Stop running make check twice in js/src. r=gps 2013-11-20 15:14:31 -05:00
Terrence Cole
db6bfaf0c6 Bug 940718 - Create the first safe JSContext in a GC safe location; r=bholley
--HG--
extra : rebase_source : fa6e43d8e194e21e1a5231050aa7a959d844edd5
2013-11-20 12:12:11 -08:00
Terrence Cole
674dfe548e Bug 940755 - Add an exact rooting suppression for AutoAssertNoGC; r=sfink
--HG--
extra : rebase_source : 01ce5a48daa53c46138256daf0bf814356b3ca4e
2013-11-19 15:50:25 -08:00
Shu-yu Guo
4b34641680 Bug 939414 - Dump memory stats for browser-chrome. (r=ted) 2013-11-20 12:08:07 -08:00
Nicholas D. Matsakis
c0711cd507 Bug 917454 - Add objectType function r=till 2013-09-12 12:29:40 -04:00
Vladan Djeric
e9dd8d69a7 Bug 940806 - Gfx info was not being properly reported in Telemetry. r=dteller 2013-11-20 14:39:23 -05:00
Kai Engert
c1d6a91a00 Bug 938730 - avoid mix of memory allocators (crashes) when using system sqlite, r=asuth 2013-11-20 20:25:12 +01:00
Ryan VanderMeulen
7335d5cca1 Bug 924307 - Disable browser_aboutHealthReport.js due to intermittent failures. 2013-11-20 14:06:56 -05:00
Gregory Szorc
09d5aeea27 NO BUG - Build docs for supported build configurations
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 9d1ba5ca4568739c557410b20034671093e439c7
2013-11-20 10:52:48 -08:00