Commit Graph

280381 Commits

Author SHA1 Message Date
Ehsan Akhgari
002ff646d5 Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-23 11:30:56 -04:00
Geoff Brown
76584198b4 Bug 784186 - Robocop: wait for paint in several tests; r=jmaher 2012-08-23 09:20:42 -06:00
Nicolas Silva
08383d674f Bug 773440 - Remove one video frame copy when using async-video. r=roc 2012-08-23 10:56:36 -04:00
Jon Coppeard
0a20ff27b9 Fix bad indentation in fix for 784282 (no bug, DONTBUILD) 2012-08-23 15:20:30 +01:00
Rafael Ávila de Espíndola
0d45bdcb77 Bug 784889 - Use nullptr in a function that returns a pointer. r=ms2ger. 2012-08-23 09:56:10 -04:00
Robert O'Callahan
956807114f 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
967993ede3 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
86a06f0022 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
29ecf269e0 Backout bug 730765 Part 3/3
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
45b8eeefcf Backed out changeset 5583ccdfea18 2012-08-23 22:42:14 +12:00
Chris Double
bf57f6d05a Backout bug 730765 Part 2/3
--HG--
extra : rebase_source : b8dd48577e1ad97d090eee991600772c72ebd0ea
2012-08-23 21:45:52 +12:00
Chris Double
8d6f9bcdad Backed out changeset 581cdaf67a25
--HG--
extra : rebase_source : 4577b8706e4b807af0bf59f9c33456ffee119d76
2012-08-23 21:45:33 +12:00
Mark Capella
daef2756b5 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
f694e12e0d Merge mozilla-central to mozilla-inbound 2012-08-23 13:06:17 +01:00
Chris Lord
405f514d29 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
a35a77c9d9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-23 11:29:20 +01:00
Chris Jones
f760acdc5e Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 11:23:43 +01:00
KO Myung-Hun
e09e2c790e 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
463ec88b01 Backout 254a6ae6cf2a, 63f9b653db9d, 73f018c8fbea, be2dc5ca1acb (bug 778582) for native R3 failures 2012-08-23 10:29:48 +01:00
Ed Morley
900bd7cc06 Backout 06f6eede6b77 (bug 762221) for crashes 2012-08-23 10:27:56 +01:00
Chris Double
0a99a2d739 Backout bug 730765 Part 1/3
--HG--
extra : rebase_source : b0fab9405c40722d33e1b73e0f66b38312964348
2012-08-23 21:04:07 +12:00
Chris Double
9adc1903e5 Backed out changeset ec5685278f82
--HG--
extra : rebase_source : cb4c644f30773cd63dfa8c71c8b5dab0bfb02614
2012-08-23 21:03:37 +12:00
Chris Lord
1ed92dbcdb 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
9c75d27a17 Bug 762221: Enable font hinting for "app" processes. r=jfkthame,jlebar 2012-08-23 01:22:19 -07:00
Tim Taubert
ab35ee90b7 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Nicolas B. Pierron
8f255082dd Bug 783464 - Fix condition for removing the constrained output vector. r=bhackett 2012-08-22 20:51:01 -07:00
George Wright
515e329cd8 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
3d2ffc6169 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
57f5df240d 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
a4ae25b2dc 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
74ea9c002b 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
828e18ca1c 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
851f93080a 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
8537279ecb Bug 433529: Part 1 - Statically resolve names for anonymous functions. r=jimb 2012-08-22 19:07:38 -07:00
Matt Woodrow
85de30e43c Bug 780260 - Remove PRInt32 types added by the previous changeset. r=ehsan 2012-08-23 14:02:51 +12:00
Michael Wu
ef40e6f1bc Bug 784858: Pass LD_PRELOAD to child processes. r=cjones 2012-08-22 18:50:25 -07:00
Peter Van der Beken
c28c5972cd 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
aa5b17f349 Bug 784741 - Unbreak --enable-debug --disable-methodjit on platforms without YarrJIT support. r=dmandelin 2012-08-22 21:28:47 -04:00
Jan Beich
a8b824baf4 Bug 784741 - Don't implicitly define ENABLE_YARR_JIT with MethodJIT. r=dmandelin 2012-08-22 21:28:47 -04:00
Chris Lee
bb828010a7 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
29483a3082 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Justin Lebar
6ba4f56931 Bug 784436 - Part 1: Make some nsIDocShell attributes infallible. r=bz 2012-08-22 18:27:04 -07:00
Justin Lebar
c928c51b30 Bug 780970 - Add [infallible] attribute for XPIDL attributes. r=khuey 2012-08-22 18:27:04 -07:00
Cameron McCormack
8f5071097b Bug 782610 - Fix format of @supports tests. r=dbaron 2012-08-23 11:25:05 +10:00
Cameron McCormack
cd0de10329 Bug 782591 - Ensure needPaddingProp is always initialized in nsHTMLReflowState::InitOffsets. r=roc 2012-08-23 11:24:19 +10:00
Cameron McCormack
5807bfa843 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é
b0f4923bc6 Bug 784678 - Error when calling postCancel and postSuccess in an activity [r=gwagner] 2012-08-22 18:20:09 -07:00
Kyle Machulis
37e2b5f29a Backout be6da7f8989c due to bustage 2012-08-22 18:11:52 -07:00
Kyle Machulis
76388120fe Backout 81fc1a3fc920 due to bustage 2012-08-22 18:11:24 -07:00
Kyle Machulis
6402f59383 Bug 783426: Patch 2 - Tests for Async DOMRequest Firing; r=sicking 2012-08-22 18:04:01 -07:00