Commit Graph

102854 Commits

Author SHA1 Message Date
Geoff Brown
a62c441792 Bug 784186 - Robocop: wait for paint in several tests; r=jmaher 2012-08-23 09:20:42 -06:00
Nicolas Silva
4de96eceff Bug 773440 - Remove one video frame copy when using async-video. r=roc 2012-08-23 10:56:36 -04:00
Jon Coppeard
1cbfae86d2 Fix bad indentation in fix for 784282 (no bug, DONTBUILD) 2012-08-23 15:20:30 +01:00
Rafael Ávila de Espíndola
e3ab16964a Bug 784889 - Use nullptr in a function that returns a pointer. r=ms2ger. 2012-08-23 09:56:10 -04:00
Robert O'Callahan
ef29d2ea89 Bug 779715. Part 8: Make it safe to call MediaInputPort::Destroy after streams at both ends of the port have been destroyed. r=jesup
We had problems because we'd call Destroy on a port after calling Destroy on
its streams. This patch makes the port's Destroy ControlMessage not use a stream,
instead we get the stream from the port directly. It also makes us update the
graph's mPortCount only when the port is finally destroyed; this fixes a potential
bug where the current graph could shut down when all streams are removed, before
all ports have been completely destroyed.

--HG--
extra : rebase_source : 3245fa64b79fb8a75c17190f1a4a2af6d42a5012
2012-08-24 00:46:20 +12:00
Robert O'Callahan
b5dc014ed6 Bug 779715. Part 7: Update test_streams_element_capture_reset.html to test new functionality. r=cpearce
test_streams_element_capture_reset.html is updated to test that mozCaptureStreamUntilEnded actually stops
capturing when the stream ends. It also tests that seeking and reloading the media resource keep
feeding a mozCaptureStream stream, and feed the right amount of data.

--HG--
extra : rebase_source : 07faf20b8a99b5e7dcdfb27b3a2096fdfd570f45
2012-08-20 16:57:12 +12:00
Robert O'Callahan
9345d39437 Bug 779715. Part 6: Rework capturing MediaStreams from media elements to use TrackUnionStreams. r=cpearce,jesup
Moves to a new setup where a decoder manages a single SourceMediaStream internally. Each stream
returned from mozCaptureStream(UntilEnded) is a TrackUnionStream which is fed by the
decoder's SourceMediaStream.
We want the captured streams to be blocked while the media element is not playing. We do that
by blocking any captured stream that has no SourceMediaStream feeding into it, and blocking
any SourceMediaStream while its decoder is not playing.
We arrange for the decoders's PlaybackEnded to be delayed until its SourceMediaStream has
finished according to the media stream graph. This ensures the state of captured media streams
corresponds more closely to the media element state.

--HG--
extra : rebase_source : 3324ff0e9bdce9c71a23c0f5f2032815e9046081
2012-08-01 00:17:22 +12:00
Chris Double
f02292c9f4 Backout bug 730765 Part 3/3
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
af6a76cff2 Backed out changeset 5583ccdfea18 2012-08-23 22:42:14 +12:00
Chris Double
0c7f304700 Backout bug 730765 Part 2/3
--HG--
extra : rebase_source : b8dd48577e1ad97d090eee991600772c72ebd0ea
2012-08-23 21:45:52 +12:00
Chris Double
5951c5ddb1 Backed out changeset 581cdaf67a25
--HG--
extra : rebase_source : 4577b8706e4b807af0bf59f9c33456ffee119d76
2012-08-23 21:45:33 +12:00
Mark Capella
a2d27e5a14 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Final, r=ted
Remove last three references, final cleanup
2012-08-23 08:16:44 -04:00
Ed Morley
d360ebb2bd Merge mozilla-central to mozilla-inbound 2012-08-23 13:06:17 +01:00
Chris Lord
e285e5de5c Bug 771154 - Invalidate only the frame rect when new frames come into view. r=roc
Instead of forcing a full-layer invalidation when new frames appear, invalidate
only the bounds of the frame. Invalidating untrusted geometry still causes a
full-layer invalidation.
2012-08-23 12:14:47 +01:00
Ed Morley
a9b1f4197e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-23 11:29:20 +01:00
Chris Jones
93b1805471 Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 11:23:43 +01:00
KO Myung-Hun
51dedabac3 Bug 773958 - Define NP_CALLBACK as NP_LOADDS for a calling convention consistency. r=josh 2012-08-23 06:18:45 -04:00
Ed Morley
148b3f1b84 Backout 254a6ae6cf2a, 63f9b653db9d, 73f018c8fbea, be2dc5ca1acb (bug 778582) for native R3 failures 2012-08-23 10:29:48 +01:00
Ed Morley
87eb600689 Backout 06f6eede6b77 (bug 762221) for crashes 2012-08-23 10:27:56 +01:00
Chris Double
f9cfa78a41 Backout bug 730765 Part 1/3
--HG--
extra : rebase_source : b0fab9405c40722d33e1b73e0f66b38312964348
2012-08-23 21:04:07 +12:00
Chris Double
27b304dbeb Backed out changeset ec5685278f82
--HG--
extra : rebase_source : cb4c644f30773cd63dfa8c71c8b5dab0bfb02614
2012-08-23 21:03:37 +12:00
Chris Lord
d736d8336e Bug 781516 - Fix invalidation caused by unprocessed merged frames. r=roc
As clip items aren't processed, they have no associated layer entries. This is
a problem when a clip item's underlying frame is the same as one that gets
merged into a container layer, as display-item data will be created, but no
layer entry will be added. This will cause it to be removed on the next
layer-build, and cause a full invalidation.

Fix this by adding an 'mIsMergedFrame' entry to DisplayItemDataEntry and setting
it on all merged frames in BuildContainerLayerFor. This property stops the
entry from being removed when it gets updated.
2012-08-23 09:30:53 +01:00
Chris Jones
c9e6d0cefc Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 01:22:19 -07:00
Tim Taubert
5c6f1513a0 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Nicolas B. Pierron
299459b7d4 Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-22 20:51:01 -07:00
George Wright
81da3ecf62 Bug 740194 - Add missing .patch file to gfx/skia/patches which was left out of the commit for bug 740194 by accident. r=none 2012-08-22 22:09:53 -04:00
Alex Crichton
0a8d451707 Bug 433529: Part 7 - Name functions whose field in an object literal is a PNK_STRING node. r=jimb 2012-08-22 19:07:40 -07:00
Alex Crichton
72eed0ed94 Bug 433529: Part 6 - Add JS_GetFunctionDisplayId as a jsapi function for a JSFunction's displayAtom. r=jimb 2012-08-22 19:07:40 -07:00
Alex Crichton
ffc8f1a3d8 Bug 433529: Part 5 - Add jit-tests for the displayAtom() attribute of functions. r=jimb 2012-08-22 19:07:39 -07:00
Alex Crichton
4c4e0e6da1 Bug 433529: Part 4 - Add DebuggerObject_displayName for a function's displayAtom attribute. r=jimb 2012-08-22 19:07:39 -07:00
Alex Crichton
4041c2589e Bug 433529: Part 3 - Change error stack traces to use displayAtom() instead of atom(). r=jimb 2012-08-22 19:07:39 -07:00
Alex Crichton
ad9fae9416 Bug 433529: Part 2 - Add a displayAtom to JSFunction to store resolved names. r=jimb 2012-08-22 19:07:38 -07:00
Alex Crichton
6af1c4a887 Bug 433529: Part 1 - Statically resolve names for anonymous functions. r=jimb 2012-08-22 19:07:38 -07:00
Matt Woodrow
89b1606202 Bug 780260 - Remove PRInt32 types added by the previous changeset. r=ehsan 2012-08-23 14:02:51 +12:00
Michael Wu
c8ef29aa56 Bug 784858: Pass LD_PRELOAD to child processes. r=cjones 2012-08-22 18:50:25 -07:00
Peter Van der Beken
ec7ce6d4f0 Fix for bug 775543 (Passing a Worker object to console.log() results in a crash). r=bz.
--HG--
extra : rebase_source : 60ee731af1e77c21f466026a04c71eeb96b1ff7d
2012-08-22 18:16:14 -07:00
Jan Beich
b46c5a2b06 Bug 784741 - Unbreak --enable-debug --disable-methodjit on platforms without YarrJIT support. r=dmandelin 2012-08-22 21:28:47 -04:00
Jan Beich
c50f026bd7 Bug 784741 - Don't implicitly define ENABLE_YARR_JIT with MethodJIT. r=dmandelin 2012-08-22 21:28:47 -04:00
Chris Lee
277c09431b Bug 771284 - Better fix for expander icon padding and unprefix -moz-linear-gradients. r=fryn 2012-08-22 17:14:04 -07:00
Justin Lebar
44c2b316f2 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Justin Lebar
f991f73bb5 Bug 784436 - Part 1: Make some nsIDocShell attributes infallible. r=bz 2012-08-22 18:27:04 -07:00
Justin Lebar
8387ccd3cb Bug 780970 - Add [infallible] attribute for XPIDL attributes. r=khuey 2012-08-22 18:27:04 -07:00
Cameron McCormack
09617bdd09 Bug 782610 - Fix format of @supports tests. r=dbaron 2012-08-23 11:25:05 +10:00
Cameron McCormack
e623346898 Bug 782591 - Ensure needPaddingProp is always initialized in nsHTMLReflowState::InitOffsets. r=roc 2012-08-23 11:24:19 +10:00
Cameron McCormack
96cc1a05d6 Bug 655877 - Part 38: Ignore the non-SVG frames when propagating SVG changes through a tree. r=longsonr 2012-08-23 11:23:23 +10:00
Fabrice Desré
0de1c9acd9 Bug 784678 - Error when calling postCancel and postSuccess in an activity [r=gwagner] 2012-08-22 18:20:09 -07:00
Kyle Machulis
7eb2fcd355 Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis
854a04a0f2 Backout 81fc1a3fc920 due to bustage 2012-08-22 18:11:24 -07:00
Kyle Machulis
b836bcf93f Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00
Kyle Machulis
5357f4784c Bug 783426: Patch 1 - Async DOMRequest Firing; r=sicking 2012-08-22 18:03:43 -07:00