Commit Graph

156363 Commits

Author SHA1 Message Date
Benoit Jacob
8da587c32d Bug 941068 - Build netwerk/base in unified mode - r=mcmanus,ehsan 2013-11-20 17:55:44 -05:00
Benoit Jacob
4d158f396f Bug 834243 - avoid calling serverSurfaceChanged before the compositor is created - r=vladv 2013-11-20 17:50:54 -05:00
Kannan Vijayan
1cbdc1508d Bug 938130 - Fix noSuchMethod invocation. r=efaust 2013-11-20 17:45:31 -05:00
Andrew McCreight
08b67b0ec5 Bug 935721, part 10 - Separate nsCycleCollector_collect and nsCycleCollector_scheduledCollect. r=smaug 2013-11-20 14:35:17 -08:00
Andrew McCreight
4d92c18b57 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
109f8fb1a3 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
3d8b9e987d 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
4129357569 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
9c3c29695f 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
c277987d70 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
1f195eaf59 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
95a4e63f9c 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
bcec4369fd 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
3fcd8153fc bug 939049 - get rid of useless QIs r=smaug 2013-11-15 11:32:12 -05:00
Trevor Saunders
3970431e7a bug 939049 - staticly type nsIDocument::mDocumentContainer and nsDocumentViewerContainer::mContainer r=smaug 2013-11-15 02:12:43 -05:00
Honza Bambas
b3e6182b6b Bug 922659 - exception from onCacheEntryCheck should cause NOT_FOUND, r=michal 2013-11-20 23:20:19 +01:00
Honza Bambas
0ea2cf8530 Bug 922671 - nsHttpChannel must bypass concurrent read when request is not resumable, r=michal 2013-11-20 23:20:19 +01:00
Honza Bambas
c7787bb201 Bug 935595 - NS_NOTREACHED\("unexpected request"\) @ nsHttpChannel::OnStopRequest on partially cached download, r=michal 2013-11-20 23:20:18 +01:00
Honza Bambas
de9b2aff79 Bug 934616 - fix race on use of mFile at CacheEntry::Load, r=michal 2013-11-20 23:20:18 +01:00
Honza Bambas
80d9b73534 Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal 2013-11-20 23:20:17 +01:00
Honza Bambas
9744cba15b Bug 917432 - hook to webapps-clear-data notification, r=michal 2013-11-20 23:20:16 +01:00
Honza Bambas
f6f9308188 Bug 934610 - fix Assertion failure: \!EventsPending(), at CacheIOThread.cpp:172, r=michal 2013-11-20 23:20:15 +01:00
Matthew Gregan
54d64ccc28 Bug 934232 - Handle pa_stream_new failure in libcubeb's PulseAudio backend. r=padenot 2013-11-21 10:59:48 +13:00
Benjamin Smedberg
04357a9dd8 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
f2456d8d28 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
dca2c2b5ab Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric 2013-11-19 16:27:37 -05:00
Benjamin Smedberg
d866f6b84f Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj 2013-11-19 16:27:36 -05:00
Benjamin Smedberg
f9d80661a4 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
88e59b00f1 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
752da45115 Bug 940217 - Fix error report about StopIteration promise (r=Yoric) 2013-11-20 13:35:25 -08:00
Oleg Romashin
01f4fd63e5 Bug 822898 - Implement pointer events. Basic Tests. r=smaug 2013-11-20 13:05:44 -08:00
Oleg Romashin
afe2611cec Bug 822898 - Implement pointer events. Basic handling of Pointer Events. r=smaug 2013-11-20 13:05:41 -08:00
Oleg Romashin
9b50f2dcd4 Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 13:05:39 -08:00
Oleg Romashin
8acf6ffbce Bug 822898 - Implement pointer events. CreateEvent hack. r=ehsan 2013-11-20 13:05:37 -08:00
Chris Pearce
438b02a1fd 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
e02a05ef89 Bug 886196 - Implement WMF platform decoder for FMP4 demuxer. r=padenot 2013-11-21 10:04:33 +13:00
Chris Pearce
c1e402fac2 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
7023a5d2e8 Bug 886196 - MP4 demuxing using Chromium's MP4 demuxer. No decoding yet. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce
d10f357a9b Bug 886196 - Import Chromium's MSE MP4 demuxer code. r=kinetik 2013-11-21 10:04:32 +13:00
Chris Pearce
f239952478 Bug 886196 - Configure option and pref for fragmented mp4 parser. r=glandium 2013-11-21 10:04:32 +13:00
Ehsan Akhgari
76f74cf7b1 Follow-up to bug 936912: Fix a compiler warning 2013-11-20 16:01:59 -05:00
Nathan Froyd
4f624696fa Bug 940426 - part 2 - don't observe xpcom-shutdown in nsXULTemplateBuilder; r=bz 2013-11-19 20:04:15 -05:00
Nathan Froyd
7b2f076b18 Bug 940426 - part 1 - properly stop observing all the sources in nsXULTemplateBuilder; r=bz 2013-11-19 11:21:00 -05:00
Jonathan Kew
eca111d9a0 bug 941090 - build most of gfx/ots in unified mode. r=ehsan 2013-11-20 20:40:14 +00:00
Gregory Szorc
e84f6d729a 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
daec0cfe86 Bug 941120 - Stop running make check twice in js/src. r=gps 2013-11-20 15:14:31 -05:00
Terrence Cole
f03fb3275f 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
aa9762da35 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
0d44af8914 Bug 939414 - Dump memory stats for browser-chrome. (r=ted) 2013-11-20 12:08:07 -08:00
Nicholas D. Matsakis
4a53bfc3df Bug 917454 - Add objectType function r=till 2013-09-12 12:29:40 -04:00