Commit Graph

201500 Commits

Author SHA1 Message Date
Paul Adenot
6c0f9e38fb Bug 848954 - Part 10 - Add a MediaStreamGraph driver based on an audio callback. r=roc 2014-08-26 17:01:33 +02:00
Paul Adenot
b76a30bb3f Bug 848954 - Part 9 - Allow to pass in hints when getting a reference to a MediaStreamGraph to get the right driver started as soon as possible. r=roc
This is useful because some platform have rather slow audio stream
initialization time, especially the first time an audio stream is created for
the process.

We put in telemetry probes to measure that:
First stream opened for the process:
http://telemetry.mozilla.org/#filter=nightly%2F33%2FAUDIOSTREAM_FIRST_OPEN_MS&aggregates=multiselect-all!Submissions!Mean!5th%20percentile!25th%20percentile!median!75th%20percentile!95th%20percentile&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph

Subsequent streams:
http://telemetry.mozilla.org/#filter=nightly%2F33%2FAUDIOSTREAM_LATER_OPEN_MS&aggregates=multiselect-all!Submissions!Mean!5th%20percentile!25th%20percentile!median!75th%20percentile!95th%20percentile&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph
2014-08-25 15:27:25 +02:00
Paul Adenot
159e08eece Bug 848954 - Part 8 - Implement classes to ensure safe audio buffer manipulation. r=roc 2014-08-25 15:26:34 +02:00
Paul Adenot
679fac5442 Bug 848954 - Part 7 - Get rid of the stack allocated message queue. r=roc
In the next patches, when the AudioDriver will be implemented, the audio backend
thread (that we don't control), will return from the stack frame where the
nsTArray that allows the MSG thread to exchange message queues in a efficient
manner with the main thread. We put it in the MediaStreamGraph to avoid adding
an allocation/deallocation per iteration on the MSG thread.

In addition, the graph will be able to run on different threads during its
lifetime, so we can't guarantee a stable stack frame to allocate things on
anymore.

The array are renamed with meaningful names, explaining the double-buffering
pattern: the back queue is filled by the main thread, and is swapped with the
front queue that is processed by the MSG thread.

Arrays accesses are synchronized using the driver's monitor.
2014-08-25 15:26:21 +02:00
Paul Adenot
3494e982d0 Bug 848954 - Part 6 - Put cubeb-related static functions in their own file. r=kinetik 2014-08-25 15:26:09 +02:00
Paul Adenot
5283170bbe Bug 848954 - Part 5 - Mix down all audio and only output a single stream. r=roc 2014-08-25 15:25:49 +02:00
Paul Adenot
8f4a6f19f7 Bug 848954 - Part 4 - Factor behavior for drivers that manage their thread. r=roc 2014-04-25 18:04:53 +02:00
Paul Adenot
af9bfbca22 Bug 848954 - Part 3 - Separate interval time calculation and actual processing, and give an audio-callback compatible interface to the Process function. r=roc 2014-04-25 18:04:23 +02:00
Paul Adenot
f04cfc8457 Bug 848954 - Part 2 - Put the thread management in the driver. r=roc 2014-04-25 18:03:04 +02:00
Paul Adenot
53b7efb271 Bug 848954 - Part 1 - Factor out clocks and scheduling of MSG iterations. r=roc 2014-04-25 16:09:30 +02:00
Paul Adenot
3a76d049e6 Bug 989921 - Allow the MediaStreamGraph mixer to send data back to multiple consumers. r=jesup 2014-08-25 14:13:08 +02:00
William Chen
e50e0d25cd Bug 887541 - Implement web components event path and event retargeting. r=smaug 2014-08-26 20:19:56 -07:00
Nicholas Nethercote
8b3951c20f Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Jean-Yves Avenard
fa51317cc8 Bug 1058428 - Ensure all in-use decoders contain the target range - r=cajbir 2014-08-27 14:08:33 +12:00
Jed Davis
6315518788 Bug 1041886 - Fix no-opt-only build bustage caused by mozilla::unused. r=glandium
See also bug 1059038.
2014-08-26 19:23:44 -07:00
Matthew Gregan
18b96d4a9f Bug 1055967 - Log "discarding video frame" message only when we discard frames. r=cpearce 2014-08-27 13:51:40 +12:00
Wes Kocher
2d89cb74ec Merge m-c to inbound a=merge 2014-08-26 18:19:08 -07:00
Wes Kocher
cb8766e5a7 Bug 745283 - rev UUID again r=me a=kwierso 2014-08-26 18:05:26 -07:00
Wes Kocher
abd94963b6 Merge m-c to inbound a=merge 2014-08-26 17:49:52 -07:00
Wes Kocher
b0d9510220 Merge b2g-inbound to m-c a=merge 2014-08-26 17:24:30 -07:00
Wes Kocher
dfff3e8c83 Merge fx-team to m-c a=merge 2014-08-26 17:09:57 -07:00
B2G Bumper Bot
62ba33dab4 Bumping manifests a=b2g-bump 2014-08-26 15:41:22 -07:00
B2G Bumper Bot
0e6e94eea7 Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f2dfcf31b96b
Author: KWierso <kwierso@gmail.com>
Desc: Revert "Merge pull request #23311 from mozfreddyb/bug-1056882" for Linter bustage

This reverts commit 503d3c4e4c779f31ccb768a8ccc2b505aff72e83, reversing
changes made to 14a2fef47142cd873df27a6c846fcd9f854a75e6.

========

https://hg.mozilla.org/integration/gaia-central/rev/f018761a6a5c
Author: J. Ryan Stinnett <jryans@gmail.com>
Desc: Merge pull request #23328 from jryans/blank-prompt

Bug 1058745 - Fix remote debugger prompt text

========

https://hg.mozilla.org/integration/gaia-central/rev/34d1eeb4f85a
Author: J. Ryan Stinnett <jryans@gmail.com>
Desc: Bug 1058745 - Fix remote debugger prompt text. r=gandalf
2014-08-26 15:35:30 -07:00
B2G Bumper Bot
c2f18bfd91 Bumping manifests a=b2g-bump 2014-08-26 15:26:29 -07:00
B2G Bumper Bot
318c470ab6 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/65ba7a3f16b3
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #23124 from KevinGrandon/bug_1054447_start_page_refinements

Bug 1054447 - [Browser] Browser Start Page Refinements

========

https://hg.mozilla.org/integration/gaia-central/rev/4fce33b3dbe4
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1054447 - [Browser] Browser Start Page Refinements ui-r=epang r=kgrandon
2014-08-26 15:15:35 -07:00
B2G Bumper Bot
6f7f7c5f5b Bumping manifests a=b2g-bump 2014-08-26 15:06:57 -07:00
B2G Bumper Bot
4c27ff45fb Bumping manifests a=b2g-bump 2014-08-26 14:16:28 -07:00
B2G Bumper Bot
b4784bfcbb Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/df31e1c9cdce
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Merge pull request #23311 from mozfreddyb/bug-1056882

Bug 1056882: disallow cross-origin imports

========

https://hg.mozilla.org/integration/gaia-central/rev/ecdee1ec1a7e
Author: Frederik B <fbraun+gh@mozilla.com>
Desc: Bug 1056882: no cross-origin imports, r=kgrandon
2014-08-26 14:10:31 -07:00
B2G Bumper Bot
2776f1b477 Bumping manifests a=b2g-bump 2014-08-26 13:27:02 -07:00
B2G Bumper Bot
e6b402eb67 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/0380c2f80df2
Author: Marcus Cavanaugh <m@mcav.com>
Desc: Merge pull request #23283 from mcav/clock-12h

Bug 1035757 - [B2G][Clock] support 24 hour time format. r=millermedeiros

========

https://hg.mozilla.org/integration/gaia-central/rev/1f582e7b1bc7
Author: Marcus Cavanaugh <m@mcav.com>
Desc: Bug 1035757 - [B2G][Clock] support 24 hour time format.

========

https://hg.mozilla.org/integration/gaia-central/rev/acfbab105d04
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #23282 from KevinGrandon/bug_1057670_app_title_default

Bug 1057670 - Change title displayed in collapsed rocketbar within apps

========

https://hg.mozilla.org/integration/gaia-central/rev/93c369e08f70
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1057670 - Change title displayed in collapsed rocketbar within apps r=benfrancis
2014-08-26 13:25:30 -07:00
Ryan VanderMeulen
e0140cad90 Merge m-c to b2g-inbound. a=merge 2014-08-26 16:11:01 -04:00
Ryan VanderMeulen
5927bdbbcf Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-26 16:05:42 -04:00
Ryan VanderMeulen
a390eae5a3 Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
B2G Bumper Bot
cb70506df4 Bumping manifests a=b2g-bump 2014-08-26 12:57:07 -07:00
Ryan VanderMeulen
8017b23648 Backed out 7 changesets (bug 939318) for frequent Win7/Win8 xpcshell failures. a=backout
Backed out changeset 21dcd9e1b607 (bug 939318)
Backed out changeset cc131cf9ef81 (bug 939318)
Backed out changeset 02925699b9bb (bug 939318)
Backed out changeset a2d39ac660a6 (bug 939318)
Backed out changeset eeb8897aaa59 (bug 939318)
Backed out changeset d1e1ca369322 (bug 939318)
Backed out changeset 37bee525b188 (bug 939318)
2014-08-26 15:56:51 -04:00
Ryan VanderMeulen
63ce3d4152 Merge inbound to m-c. a=merge 2014-08-26 15:55:57 -04:00
B2G Bumper Bot
9c2497c6e1 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/405fd5950898
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Merge pull request #22934 from eeejay/bug-1050381

Bug 1050381 - Support accessibility edge gestures. r=etienne

========

https://hg.mozilla.org/integration/gaia-central/rev/95adf2f69b1c
Author: Eitan Isaacson <eitan@monotonous.org>
Desc: Bug 1050381 - Support accessibility edge gestures.
2014-08-26 12:55:29 -07:00
Brian Hackett
8113219bb6 Bug 894596 - Bake constant valued object properties into jitcode when possible, r=jandem, patch mostly written by djvj. 2014-08-26 12:30:36 -07:00
B2G Bumper Bot
4ec369ca77 Bumping manifests a=b2g-bump 2014-08-26 12:27:02 -07:00
B2G Bumper Bot
bbf22283dc Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/1ff57d77a69f
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Revert "Bug 1047143 - close aps entering task-manager, exitToApp to open/restore"

This reverts commit 1d9a8cf867f281d7ab22402f246bac48d0980c33.

========

https://hg.mozilla.org/integration/gaia-central/rev/38c61b71e905
Author: Ben Francis <ben@tola.me.uk>
Desc: Merge pull request #23285 from benfrancis/1054979

Bug 1054979 - Do not show overflow menu for apps r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/a4acf83a64b1
Author: Ben Francis <ben@tola.me.uk>
Desc: Bug 1054979 - Do not show overflow menu for apps
2014-08-26 12:25:29 -07:00
Vladan Djeric
938245596c Bug 1058832 - Remove unneeded LocalStorage Telemetry. r=honzab 2014-08-26 15:12:42 -04:00
Jim Chen
4704c6b1da Bug 1056941 - Remove extract libs parameter; r=glandium 2014-08-26 15:08:00 -04:00
Jim Chen
893d3c90a2 Bug 1056941 - Disable unused local typedef warning in STLPort; r=glandium 2014-08-26 15:07:59 -04:00
Jim Chen
67cb28f899 Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
B2G Bumper Bot
2a4aa2789b Bumping manifests a=b2g-bump 2014-08-26 11:56:33 -07:00
B2G Bumper Bot
c622b7b058 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/6c4c3328e7d4
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Merge pull request #23294 from qdot/revert-revert-938171

Revert revert 938171

========

https://hg.mozilla.org/integration/gaia-central/rev/e3a01fb72b2e
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Bug 938171 - Add MockVersionHelper to bootstrap test for app_migrator module

========

https://hg.mozilla.org/integration/gaia-central/rev/184a276517d0
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Revert "Revert "Bug 938171 - Add app_migrator module include to bootstrap unit test""

This reverts commit 0acb88a5663af1fa4ec8beb84b7cb657acba19b2.

========

https://hg.mozilla.org/integration/gaia-central/rev/2b8df8b14335
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Revert "Revert "Bug 938171 - Browser Bookmark Migration to Homescreen in Gaia""

This reverts commit d35f1c9a22c87e96f0289135955f7316900de6ab.
2014-08-26 11:50:34 -07:00
Ryan VanderMeulen
a0ee384896 Merge fx-team to m-c. a=merge 2014-08-26 14:16:26 -04:00
B2G Bumper Bot
62596c801b Bumping manifests a=b2g-bump 2014-08-26 10:32:12 -07:00
B2G Bumper Bot
10c6bb55a0 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/506635e2bf3f
Author: Ben Francis <ben@tola.me.uk>
Desc: Merge pull request #23281 from benfrancis/1056884

Bug 1056884 - Implement special expanded Rocketbar state for browser start page r=kgrandon

========

https://hg.mozilla.org/integration/gaia-central/rev/1ddf839cff25
Author: Ben Francis <ben@tola.me.uk>
Desc: Bug 1056884 - Implement special expanded Rocketbar state for browser start page
2014-08-26 10:25:28 -07:00
B2G Bumper Bot
160a62db54 Bumping manifests a=b2g-bump 2014-08-26 10:03:20 -07:00