Граф коммитов

326 Коммитов

Автор SHA1 Сообщение Дата
ctai fd36b32d94 Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons
This can reduce the include header dependency. MediaStreamVideoSink will inherit from DirectMediaStreamTrackListener. But we can't use forward declaration on MediaStreamListener because the usage of nsTArray<RefPtr<MediaStreamVideoSink>>.

MozReview-Commit-ID: 328s4Kw9NvW

--HG--
extra : transplant_source : %D2%18%E3%3B%0C%D8%F04%F3%EB%EB%A0%A7%8B%B1%A9%AB%97rY
2016-06-30 15:07:48 +08:00
Andreas Pehrson e028368c0f Bug 1280445 - Remove wrapper from MediaStream. r=jesup, r=padenot
MozReview-Commit-ID: CTCFloIUXKa

--HG--
extra : rebase_source : b1c2073c638bb65c19a0f40e8d17e9a5bae15c98
extra : source : c6d854b3209e7de7d97153c0bfc492c1d5f1e6b5
2016-06-29 12:27:13 +02:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
ctai 7e0671d483 Bug 1266647 - Clean NotifyQueuedTrackChange to only notify when command is track create and track end. r=jesup r=pehrsons
MozReview-Commit-ID: 4Pp3xHeBIW4

--HG--
extra : transplant_source : %D4c%13P%82Y%04%FA%0E%9D%9C%97%91%AAH%FCI%C3u_
2016-05-04 16:08:44 +08:00
Thomas Zimmermann 30f80487ad Bug 1274206: Use MediaPref for |mRecognition->mTestConfig.mFakeRecognitionService|, r=jyavenard
MozReview-Commit-ID: Jb9CbpXYhBU
2016-05-19 12:53:35 +02:00
Makoto Kato 6a497d128a Bug 1238522 - Don't use float type for absmiddle attirubte. r=eeejay
SAPI's absmiddle attibute doesn't allow float type.  Example, when pitch was 0.75, abmiddle was -2.5.  So ISpVoice.Speak() will return error.

MozReview-Commit-ID: 2AnrSEDTFkl

--HG--
extra : rebase_source : 155733e3ef8d28970318b0cb47b98fa0d26edf58
2016-05-13 13:23:52 +09:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Jean-Yves Avenard d31cb0499b Bug 1206637: P2. Replace all cached preferences with MediaPrefs ones. r=cpearce
Additionally, clean up stray and unused Preferences.h header.

MozReview-Commit-ID: IcPrD2inkDE

--HG--
extra : rebase_source : c3c6e37767627db3601090c2855a3dfa98cb4368
2016-05-10 11:02:28 +10:00
Makoto Kato 283296d609 Bug 1258526 - Create SAPI object per speech to clear previous speech state at force. r=eeejay
When using the following script, stop method cannot clear pause state on SAPI backend.

speech.pause();
speech.stop();

Since SPF_PURGEBEFORESPEAK doesn't clear previous speech state, we should create SAPI object per speech instead of recycling it.


MozReview-Commit-ID: 2ajsTbauQpO

--HG--
extra : rebase_source : b72d3e1215e136f204afda18497b042112002995
2016-05-06 17:33:20 +09:00
Eitan Isaacson 018f6c8d55 Bug 1269221 - Don't access offset array out of bounds. r=m_kato
MozReview-Commit-ID: 4ijH5wMzTff

--HG--
extra : rebase_source : ffe61a18bd95050f1baf56f5f2d3b038423dafde
2016-05-03 13:11:47 -07:00
Alastor Wu b5d99318b3 Bug 1235612 - Part 3: Implement the logic of audible state notification for agent owners. r=baku
MozReview-Commit-ID: 6CueLPpuXWm

--HG--
extra : rebase_source : d40603e2ecc006a7b21f8b9adeb3a244e9821a2f
2016-05-03 17:59:32 +08:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Alastor Wu c8fae1998b Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: 2FMfEVuODmu

--HG--
extra : rebase_source : 96e49e6e8d074a9bd5d9a7e6a60e7ec01cc88402
2016-05-03 09:52:44 +08:00
Alastor Wu 30466d68e1 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: HHYX29gbLwk

--HG--
extra : rebase_source : d774e1338c6e0cd2ce8b4329b28ad9650011a7e5
2016-05-03 09:52:38 +08:00
Alastor Wu 40bc1f6803 Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: FUAPZAdPVse

--HG--
extra : rebase_source : c9faf34965d7e2be9b76881c95dfeff62036587f
2016-05-03 09:50:24 +08:00
Makoto Kato d5fe2ef744 Bug 1237546 - Use nsEscapeHTML2 for speech text. r=eitan 2016-05-02 03:46:00 +02:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Eitan Isaacson 5a98fd6332 Bug 1267309 - Escape embedded speech command delimiters. r=m_kato
MozReview-Commit-ID: qv7TbGGWdE

--HG--
extra : rebase_source : ffba7e10038df5fd5ab622e920aba85b1024d5f5
2016-04-26 11:53:42 -07:00
Carsten "Tomcat" Book 7fcba36865 Backed out changeset 1681062d82dd (bug 1242874) for timeouts in own test browser_mediaPlayback_suspended_multipleAudio.js 2016-04-28 13:59:23 +02:00
Carsten "Tomcat" Book b4a55fdcfc Backed out changeset d09b20eeb382 (bug 1242874) 2016-04-28 13:59:04 +02:00
Carsten "Tomcat" Book 0a62793b79 Backed out changeset df13b449ffcc (bug 1242874) 2016-04-28 13:59:02 +02:00
Alastor Wu 4e7da2f687 Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: GRjxz1E0C9r

--HG--
extra : transplant_source : %88%D7%C7q%3C%8A%98%C0%84k%AF%90%F7%5D%83%CC%BEa%B1%F2
2016-04-28 00:23:48 +08:00
Alastor Wu daaa9802c9 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: Co4avRLWGRK

--HG--
extra : transplant_source : b%17%81%60%94_%F1%C2%5D%B1%B3%D5%F3%5C%7D4p%7F%03%EB
2016-04-28 00:23:42 +08:00
Alastor Wu 14fb7102ce Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: 1RJvbzMOCpu

--HG--
extra : transplant_source : %E8%3F%7BLD%F3%B8%98%3E%CA%A5%5C7%B7%9B%D0%BEFrr
2016-04-28 00:21:22 +08:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Ryan VanderMeulen 55615c8b58 Bug 1238542 - Re-enable the webspeech recognition tests on Windows debug e10s.
--HG--
extra : histedit_source : b942579be5539ab904ada063e17fa26888c3bc22
2016-04-15 13:26:01 -04:00
Makoto Kato 86ad6a62bb Bug 1262067 - Call Init() instead of using profile-after-changed observer. r=eeejay
OSX speech synthesis is broken after landing bug 1254378.  By this bug, this service is never called on start up.
Although this observer is for start up time regression, it is unnecessary now. So it should be initialized at GetInstance() instead.

MozReview-Commit-ID: DTaXinCxkWR

--HG--
extra : rebase_source : db81103ab51d42f47d45e683ece1f5aa3361d73b
2016-04-05 18:25:26 +09:00
Andreas Pehrson be74876e25 Bug 1208371 - Add PrincipalHandle to MediaChunks. r=mt,jesup
PrincipalHandle is a thread safe pointer to a holder of (the main-thread-only
nsIPrincipal) that can be passed around the MSG.

A MediaStreamTrack whose source has just updated its principal, sets the new
principal aside (as its "pending principal"), and combines the new principal
into its current principal.

Then the source starts passing the new principal to the MediaStreamGraph as
a PrincipalHandle.

Changes to a track's PrincipalHandle on the MSG will be surfaced through the
MediaStreamTrackListener API. These changes are dispatched to main thread
and compared to a MediaStreamTrack's pending principal. In case of a match
the track knows the correct principal is flowing and can move the pending
principal to be the current principal and update any main thread principal
observers.

MozReview-Commit-ID: D0JXGWhQFFU

--HG--
extra : rebase_source : 296e269bb46fc5a85a9c3f90dfc0dc40e53572bc
2016-04-06 14:56:44 +02:00
Makoto Kato 3631d1cc14 Bug 1222697 - Audio Indicator doesn't appear when using Web Speech Synthesis. r=eeejay
Create audio channel agent even if e10s.  Dispatch*Inner won't be called from
child process's SpeechSynthesisRequestChild, so it is created at Dispatch*Impl.

MozReview-Commit-ID: 4ZQWE2gPh9g

--HG--
extra : rebase_source : 0de343e33b4f1720682183b120aa062267cbe3d7
2016-03-31 11:09:03 +09:00
Mike Shal 33c2aa983c Bug 1259553 - Remove dom/media/webspeech/recognition/Makefile.in; r=ted
MozReview-Commit-ID: FQFTk9LYoEt
2016-03-23 17:30:33 -04:00
Eitan Isaacson c561d48d2b Bug 1254378 - Update synth tests and introduce no voiceschanged test. r=smaug
MozReview-Commit-ID: 6O9bBFGgFFq

--HG--
extra : rebase_source : 7f4bcb1af86271bc4f82160bbfc008f623813720
2016-03-24 16:43:04 -07:00
Eitan Isaacson 3b0eec544f Bug 1254378 - Dispatch 'voiceschanged' when notified. r=smaug
MozReview-Commit-ID: 7BAJaqMtVUE

--HG--
extra : rebase_source : bf3289d1fb7909ef5dbacca410142775d2115578
2016-03-23 11:01:05 -07:00
Eitan Isaacson 820a2aca9c Bug 1254378 - Implement nsISynthVoiceRegistry.notifyVoicesChanged. r=smaug
MozReview-Commit-ID: DIRcnw5Rfnc

--HG--
extra : rebase_source : b8d5b034a8a27e06b67f959eb837732d8f7a5804
2016-03-23 10:38:18 -07:00
Eitan Isaacson 1fd9961689 Bug 1254378 - Make new 'speech-synth-started' component service category. r=smaug
MozReview-Commit-ID: LsPDCdpUA48

--HG--
extra : rebase_source : 5ebebebb601a54959c49d9e4b87c8f96be4ff2c7
2016-03-23 10:32:58 -07:00
Eitan Isaacson 1df06a0d6d Bug 1254378 - Make SpeechSynthesis an event target with a "voiceschanged" event. r=smaug
MozReview-Commit-ID: AmreVzU18LI

--HG--
extra : rebase_source : 3437459fc486721be11d42ca234a450b7493d2c7
2016-03-23 10:30:00 -07:00
Eitan Isaacson f990cccf30 Fix compiler warning from bug 1257328. CLOSED TREE
MozReview-Commit-ID: DOGK8kzFzzR
2016-03-17 10:43:53 -07:00
Eitan Isaacson 9bd7b90e07 Bug 1257328 - Limit SpeechSynthesisUtterance attribute values to spec ranges. r=smaug
MozReview-Commit-ID: CbF91OvCf2G

--HG--
extra : rebase_source : 1178a88fa14d24e339633a4459fb2c4d0df38c77
2016-03-16 15:04:17 -07:00
Eitan Isaacson 88044aea24 Bug 1254738 - Normalize speech rate for speech dispatcher. r=smaug
MozReview-Commit-ID: 79OuII34vz7
2016-03-16 13:46:12 -07:00
Eitan Isaacson 19dc2d2aab Bug 1256521 - Normalize speech rate in Windows. r=smaug
MozReview-Commit-ID: EuQAqfoxwmo
2016-03-16 13:42:50 -07:00
Eitan Isaacson 0b1208cd98 Bug 1237176 - Re-enable synth/test/test_bfcache.html r=me
MozReview-Commit-ID: HX84O0fYvhK
2016-03-11 16:35:38 -08:00
Joel Maher c2f5092ca2 Bug 1242682 - Separate dom/media into its own subsuite. r=gbrown, a=tomcat
MozReview-Commit-ID: ERgFe60aJF8
2016-03-10 11:03:52 -08:00
Makoto Kato d5d324001f Bug 1247514 - Clear speech delegate when finishing speaking. r=eeejay
After dispatched didFinishSpeaking by OS, another events may be dispatched.  So I should remove speech delegate soon when didFinishSpeaking is called.

MozReview-Commit-ID: nsHKJCX8MQ

--HG--
extra : rebase_source : 2ab599f39065d76c4f7319cdf7a92dcb3ea2c8f7
2016-03-03 11:14:01 +09:00
Doug Turner bf44c44934 Bug 1252750 - Part 4: Convert dom/media/webspeech to use SpecialPowers.spinEventLoop. r=mrbkap
--HG--
extra : rebase_source : 67d3067907c44ce38907dbfd8ffc429adc106836
2016-03-05 00:06:00 -05:00
Wes Kocher 0c4a0e7ccb Backed out changeset 20d8879ac256 (bug 1242682) a=backout CLOSED TREE
MozReview-Commit-ID: AH8yw9fw2kD

--HG--
extra : source : 5a2e0878d6c258b36b0ee8712a2afcde6ad94c78
2016-03-04 11:41:25 -08:00
Joel Maher 4719fa3568 Bug 1242682 - Separate dom/media into its own subsuite. r=armenzg, a=Tomcat
MozReview-Commit-ID: 55QtAPlIltM
2016-02-04 13:35:06 -08:00
Jonathan Griffin 0b0e0abda1 Bug 1232780 - Adjust test exclusions for win7 debug e10s, a=test-only 2016-03-01 10:36:31 -08:00
Joel Maher 8b55ee9fcd backout bug 1242682 for failures due to buildbot config issues
MozReview-Commit-ID: LsAxnbITmAq
2016-03-01 10:23:53 -08:00
Joel Maher a9ad590555 Bug 1242682 - Separate dom/media into its own subsuite. r=armenzg, a=Tomcat
MozReview-Commit-ID: 55QtAPlIltM
2016-02-04 13:35:06 -08:00
Sambuddha Basu 79b3096449 Bug 952564 - Disallow empty lists in moz.build variables r=gps
--HG--
extra : rebase_source : 9a70b6a3150fe898a724a43815dc923bb0d70b89
extra : amend_source : 7aa800ef61427117e5dc461443f82ebd403d8164
2016-02-18 17:26:09 -08:00
Aidin Gharibnavaz 686438c658 Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
Eitan Isaacson 2b242414b8 Bug 1237176 - Notify synth start if we get a finished event without a blocking-changed event. r=roc
MozReview-Commit-ID: BJSQOiyXmRh
2016-02-10 11:20:58 -08:00
Makoto Kato 30d814fec1 Bug 1230428 - Add crashtest for WebSpeech synthesis. r=eeejay 2016-02-10 20:57:41 +09:00
Carsten "Tomcat" Book 5b358688b7 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz 69cf7e035f Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Birunthan Mohanathas e00f212825 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:31 +02:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Nicholas Nethercote 4d79a620bf Bug 1187151 (part 13) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=baku.
--HG--
extra : rebase_source : 9d3956d74a12649763c3da24e66f20b8013d87d2
2016-01-28 14:08:19 -08:00
Phil Ringnalda 461fc8cd76 Bug 1237176 - actually disable test_bfcache.html on Android 2016-01-31 11:58:58 -08:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas b00cdd6088 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Phil Ringnalda bcabd8259a Bug 1237176 - skip dom/media/webspeech/synth/test/test_bfcache.html on Linux and Android for frequent timeouts
--HG--
extra : rebase_source : 589c2e3bef156bfda704a119dd4ddc20200f42ee
2016-01-31 00:44:45 -08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Xidorn Quan dd6be4d4ca Bug 1241901 part 4 - Stop using nsAutoPtr for holding primitive arrays. r=froydnj
--HG--
extra : source : 683ad831dc3e7fc197cbfe1b53665c777b3158ab
2016-01-30 10:33:41 +11:00
Bill McCloskey c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Makoto Kato 99f2f01b1f Bug 1239946 - Change test to return error on Speak. r=eeejay 2016-01-25 13:54:33 +09:00
Makoto Kato ff276c1711 Bug 1239946 - Dispatch error event when nsISpeechService.Speak returns error. r=eeejay 2016-01-25 13:54:04 +09:00
David Rajchenbach-Teller 583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Sebastian Hengst d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller 2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Jean-Yves Avenard ea26e6e162 Bug 1240411: P7. Clean up webspeech header declarations. r=rillian
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:34 +11:00
Eitan Isaacson d0d4c1ba6a Bug 1230533 - Cancel speech when controlling window goes away. r=smaug
Don't allow bfcache when there is an active or queued utterance in the window.
2016-01-05 18:01:24 -08:00
Eitan Isaacson 06174b6211 Bug 1236060 - Dispatch error should advance queue. r=smaug 2016-01-05 18:01:23 -08:00
Alastor Wu f0d62419f0 Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku. 2015-12-24 17:28:45 +08:00
Alastor Wu 6a38526a4d Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku. 2015-12-24 17:17:30 +08:00
Sebastian Hengst 3c1eb47e3a Backed out changesets 961f205d340d, 14a4637e9d96 and 14a4637e9d96 (bug 1228564) for failing Android M(4) test_browserElement_inproc_AudioChannel.html. r=backout 2015-12-27 22:28:08 +01:00
Alastor Wu 7ff9329b36 Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
--HG--
extra : commitid : B7NcXGTFGrv
2015-12-24 17:28:45 +08:00
Alastor Wu b4cb129af1 Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
--HG--
extra : commitid : JZF4VU0qxpg
2015-12-24 17:17:30 +08:00
Makoto Kato b194b8e4da Bug 1225347 - Apply audio setting to volume parameter of Speak(). r=eeejay 2015-12-24 13:58:24 +09:00
Eitan Isaacson f7492b24ab Bug 1211974 - Implement nsIObserver in SpeechDispatcherService. r=smaug 2015-12-23 13:44:11 -08:00
Eitan Isaacson 0721a940e3 Bug 1227848 - Separate construction from off-main-thread setup in SpeechDispatcherService. r=smaug 2015-12-22 15:23:48 -08:00
Phil Ringnalda ef25b0a2b7 Back out 5a889d2cc25b (bug 1230428) for Windows 7 failures in 1230428.html
CLOSED TREE
2015-12-10 18:45:07 -08:00
Makoto Kato 6580374e9a Bug 1230428 - Part 2. Add crashtest. r=eeejay 2015-12-10 13:46:46 -05:00
Makoto Kato 2f8f4466aa Bug 1230428 - Part 1. Check mTask since end event is posted asynchronized. r=eeejay 2015-12-10 13:45:26 -05:00
Nathan Froyd ffeb7c7fe3 Bug 1229963 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/media/; r=cpearce 2015-12-02 18:07:59 -05:00
Lars T Hansen b62493634b Bug 1176214 - Part 11: Changes to DOM, except for WebGL. r=bz, r=clb
--HG--
extra : rebase_source : 9c9d3f493822d68be20597d9974292ed5ec4ab70
2015-11-25 19:04:50 +01:00
Makoto Kato 9e188a4569 Bug 1228134 - Should check media.webspeech.synth.enabled on Windows SAPI backend. r=eeejay 2015-12-02 13:42:23 +09:00
Eitan Isaacson 9f7f51dcaa Bug 1225928 - Fix hang on linux when sending an empty string to speech synth. r=smaug 2015-11-30 18:59:01 -08:00
Eitan Isaacson f010e62608 Bug 1226015 - Have child send __delete__ in speech synth request protocol, fixes race. r=smaug 2015-11-30 18:59:01 -08:00
Eitan Isaacson 4b0f6ad782 Bug 1225352 - Check that mSpeechQueue is not empty before referencing first element. r=smaug 2015-11-18 21:54:32 -08:00
Makoto Kato 73f2fbe016 Bug 1202735 - Add nsIObserver to avoid warning. r=eeejay 2015-11-19 10:10:23 +09:00
Phil Ringnalda ff8fa4d932 Bug 1223394 - Reenable webspeech synth tests on Mulet now that it has audio support, a=philor
--HG--
extra : rebase_source : fc7ca45d6f3b8576a80cb7787eb6d6d59230b87c
2015-11-17 19:30:54 -08:00
Gregory Arndt 5540610f3d Bug 1223394 - Use desktop-test image for Mulet mochitests to fix audio issues, r=aus, a=philor
--HG--
extra : rebase_source : 73bb5268f8be0ac64eda5b083f05543913ce10b7
2015-11-17 14:40:31 -06:00
Phil Ringnalda 909c614d94 Merge m-c to m-i 2015-11-15 19:16:20 -08:00
Phil Ringnalda e081b15b78 Bug 1223394 - skip more failing webspeech tests on Mulet, a=tlast 2015-11-15 19:11:14 -08:00
Phil Ringnalda 57c715376d Bug 1223394 - skip failing webspeech tests on Mulet, a=relief 2015-11-15 17:52:34 -08:00
Kyle Huey bdbb2ec50a Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
sajitk 582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
Makoto Kato 730638a518 Bug 1223153 - Create new thread to enumerate voice items. r=eeejay 2015-11-12 18:24:12 +09:00
Wes Kocher f3a9eb2a26 Backed out changeset 1e5f3d1151d6 (bug 1219480) for cpp unittest bustage CLOSED TREE
--HG--
extra : commitid : BMVKq6cPeho
2015-11-11 09:36:56 -08:00
sajitk 3cbe348cdd Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian
--HG--
extra : rebase_source : c73098485fa005d914304fb6e7f8eba3c15e66dc
2015-11-11 06:52:00 +01:00
Makoto Kato 9130d219ea Bug 1221520 - nullcheck for mSpeechdClient. r=eeejay 2015-11-10 19:14:02 +09:00
Kelly Davis 9d27aa2f03 Bug 1218337 - Part 1 of 1: Introduced permission 'speech-recognition' and used it in place of the app-check. r=smaug
--HG--
extra : rebase_source : 052f21d58396df9a3def0f52c81d600aa16384c3
2015-11-06 09:59:00 +01:00
Alastor Wu caa47cc319 Bug 1220320 - implement the nsSupportsWeakReference. r=baku
--HG--
extra : transplant_source : %B1%5C%05%C3%06lY%88%EDv%E9%22M6%3Cdtz%A4%3E
2015-11-06 16:29:03 +08:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Makoto Kato d034f5af8e Bug 1212366 - Part 2. Don't release SourceMediaStream until StreamListener is called. r=roc 2015-10-26 14:02:51 +09:00
Makoto Kato dc43cca5c9 Bug 1212366 - Part 1. Don't call SetAudioOutputVolume if stream is destroyed. r=roc 2015-10-26 12:31:58 +09:00
Makoto Kato dbaf8c9595 Bug 1003452 - Implement OSX backend for WebSpeech Synthesis. r=eeejay 2015-10-15 23:51:49 +09:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Kelly Davis c9766e67ad Bug 1214092 - Part 1 of 1: Exposed WebSpeech API SpeechRecognition Interface to privileged apps. r=smaug 2015-10-12 22:56:00 +02:00
Andrea Marchesini c53e405b13 Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc 2015-10-07 20:06:47 +01:00
Wes Kocher 1d2db38d82 Backed out changeset fe1ed0ded678 (bug 1211974) for robocop orange 2015-10-07 11:45:59 -07:00
Eitan Isaacson bcfd470971 Bug 1211974 - Implement nsIObserver in SpeechDispatcherService. r=smaug 2015-10-07 09:57:37 -07:00
Sotaro Ikeda 739eddd54e Bug 1186813 - Replace nsBaseHashtable::EnumerateRead() calls in dom/media/ with iterators r=cpearce 2015-09-30 06:40:54 -07:00
Andreas Pehrson 937747498a Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
This lets us separate tracks by ownership like so:
* Input    - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned    - Contains Input tracks (per above) or tracks cloned tracks
             if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
             DOMMediaStream minus tracks removeTrack()ed from this
             DOMMediaStream.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : fba22e96c6c65a74e012509f3da67a4d7df7a244
2015-09-30 09:31:54 +08:00
Andreas Pehrson 53a6c38d0d Bug 1170958 - Allow MediaInputPort to lock to a specific input track. r=roc
Locking to specific tracks lets us dynamically remove and add single
tracks to a ProcessedMediaStream.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 0b1b79077f95bbefc8c71de551c5e3483a7d6ac0
2015-09-30 09:31:53 +08:00
Andreas Pehrson 2802ee3e88 Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 4bed5dffe66b71b7ad23f4c02531d84af25cd316
2015-09-30 09:31:53 +08:00
Eitan Isaacson 0d0b280146 Bug 1003464 - Support Web Speech API synthesis via speech-dispatcher. r=kdavis 2015-09-29 11:17:40 -04:00
Wes Kocher 03a1803261 Backed out 9 changesets (bug 1170958) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
Backed out changeset 277c1f8098d1 (bug 1170958)
Backed out changeset aa86bb9eea95 (bug 1170958)
Backed out changeset 8af8b85a4b26 (bug 1170958)
Backed out changeset ec1bf225e9cb (bug 1170958)
Backed out changeset 4a04ddca2b6b (bug 1170958)
Backed out changeset e85c9977a311 (bug 1170958)
Backed out changeset 16b40ff04e8f (bug 1170958)
Backed out changeset ad206925c84a (bug 1170958)
Backed out changeset 2106eccec79b (bug 1170958)
2015-09-25 13:08:55 -07:00
Andreas Pehrson eacfc2cf0e Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
This lets us separate tracks by ownership like so:
* Input    - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned    - Contains Input tracks (per above) or tracks cloned tracks
             if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
             DOMMediaStream minus tracks removeTrack()ed from this
             DOMMediaStream.

--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson cbd58a2839 Bug 1170958 - Allow MediaInputPort to lock to a specific input track. r=roc
Locking to specific tracks lets us dynamically remove and add single
tracks to a ProcessedMediaStream.

--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson 7aca9eb1fd Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.

--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:17 +08:00
Sotaro Ikeda 34a6dca7cc Bug 1205351 - Replace nsBaseHashtable::Enumerate() calls in dom/media/ with iterators r=cpearce 2015-09-24 18:48:25 -07:00
Andre Natal 5789eeb504 Bug 1206323 - Change cmn level on acoustic model param for better accuracy on aries. r=kdavis
--HG--
extra : rebase_source : 6331880e33c477734490efbb11002a0bcdbfae53
2015-09-18 18:45:00 +02:00
Jeff Walden 4046fe1490 Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Robert O'Callahan 86c380603b Bug 1189506. Convert ChangeExplicitBlockerCount to MediaStream::Suspend/Resume. r=padenot
--HG--
extra : commitid : EAfe35GbRPL
extra : rebase_source : f6da37f3a9e8eefbdcf3e6787ec7edcc99e53859
2015-09-11 01:45:36 +12:00
Robert O'Callahan c642f85a62 Bug 1201393. Remove irrelevant ProcessedMediaStream for nsSpeechTask. r=eitan
--HG--
extra : commitid : CuwvyZLm6ch
extra : rebase_source : 79b50e27404eb4d069fceabca6f91d883b1ef277
2015-09-01 16:49:50 +12:00
Makoto Kato 957ad16ed7 Bug 1197673 - Use float type for SetAudioOutputVolume. r=eitan 2015-09-01 17:51:07 +09:00
Makoto Kato 3369990f9c Bug 1191667 - Part 3. Call NotifyStartedPlaying to show audio indicator. r=eitan 2015-09-01 17:50:59 +09:00
Makoto Kato 35dfdeec78 Bug 1191667 - Part 2. Call onVolumeChanged when changing volume. r=eitan 2015-09-01 17:50:55 +09:00
Makoto Kato 553bc8663c Bug 1191667 - Part 1. Add onVolumeChanged method to nsISpeechTaskCallback. r=eitan 2015-09-01 17:50:51 +09:00
Ryan VanderMeulen 4c52fefcc7 Bug 1096400 - Skip webspeech recognition tests on B2G.
--HG--
extra : rebase_source : 347c5e2a1dc735732b2e4fe91b45a22c7b67c74e
2015-08-31 09:37:10 -04:00
Paul Adenot 6dc1e1fd9f Bug 1190676 - Part 11 - Fix consumers: Web Speech. r=anatal,eitan
--HG--
extra : rebase_source : 1f5589c488beb6cadefbe0b3030590e33fcd292b
2015-08-25 10:30:49 +02:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen 2ceaec38c0 Bug 967606 - Skip test_call_start_from_end_handler.html on B2G opt. 2015-08-30 19:17:48 -04:00
Ryan VanderMeulen 836b4be423 Bug 1191270 - Skip test_audio_capture_error.html on B2G emulator builds for frequent failures.
--HG--
extra : rebase_source : b2596353ad7e415f0fef858dd71cfae5b02b1960
2015-08-30 17:56:35 -04:00
Andre Natal 24570946d8 Bug 1198540 - Add translation of digit 0 to word oh on cmudict. r=kdavis
--HG--
extra : rebase_source : c097c96e9aa599f98dedf4072d51bf3d9134eea4
2015-08-25 20:16:00 -04:00
Kelly Davis 2af22a80c6 Bug 1197455 - Call ps_set_search() only after successful grammar compilation. r=anatal 2015-08-22 10:08:00 -04:00
Kelly Davis 406bdf9404 Bug 1193183 - Correctly implement SpeechRecognitionAlternative::confidence using ps_get_prob(). r=anatal 2015-08-11 07:03:00 -04:00
Andrea Marchesini 289d8c909a Bug 1191814 - WebSpeech synthesis API and AudioChannelService, r=eeejay 2015-08-21 11:58:06 +01:00
Wes Kocher 5bfb9df98b Backed out changeset 91cc337bef3b (bug 1191814) for m-e10s(3) failures in test_global_queue_pause.html 2015-08-20 12:05:37 -07:00
Andrea Marchesini fe42d2decd Bug 1191814 - WebSpeech synthesis API and AudioChannelService, r=eeejay 2015-08-20 12:48:57 +01:00
Eitan Isaacson c6f439d68a Bug 1188099 - (Part 4) Introduce mochitest coverage for speech global queue. r=smaug r=kdavis
--HG--
rename : dom/media/webspeech/synth/test/test_speech_queue.html => dom/media/webspeech/synth/test/test_global_queue.html
rename : dom/media/webspeech/synth/test/test_speech_queue.html => dom/media/webspeech/synth/test/test_global_queue_cancel.html
rename : dom/media/webspeech/synth/test/test_speech_queue.html => dom/media/webspeech/synth/test/test_global_queue_pause.html
2015-08-08 10:30:46 -07:00
Eitan Isaacson 7283fc40c4 Bug 1188099 - (Part 3) Introduce [ChromeOnly] SpeechSynthesis.forceEnd for tests. r=smaug r=kdavis 2015-08-08 10:30:46 -07:00
Eitan Isaacson 096ea17ca1 Bug 1188099 - (Part 2) Introduce global queue and track speaking state across windows. r=smaug r=kdavis 2015-08-08 10:30:46 -07:00
Eitan Isaacson 78b76a01ef Bug 1188099 - (Part 1) Enable/disable global queue depending on voices and pref. r=smaug r=kdavis 2015-08-08 10:30:46 -07:00
Andre Natal cf5b68a41a Bug 1051604 - Adapt VAD strategy on SpeechRecognition to be less strict on some devices with poor mics. r=smaug 2015-08-05 20:47:00 +02:00
Ryan VanderMeulen 15a4eba21b Backed out 4 changesets (bug 1188099) for B2G test failures and crashes.
Backed out changeset f89e9a209c6c (bug 1188099)
Backed out changeset e5b42fb931a6 (bug 1188099)
Backed out changeset a300bd34d135 (bug 1188099)
Backed out changeset 02f399ce296d (bug 1188099)
2015-08-05 14:36:49 -04:00
Eitan Isaacson 0f9e680326 Bug 1188099 - (Part 4) Introduce mochitest coverage for speech global queue. r=smaug r=kdavis
--HG--
rename : dom/media/webspeech/synth/test/test_speech_queue.html => dom/media/webspeech/synth/test/test_global_queue.html
rename : dom/media/webspeech/synth/test/test_speech_queue.html => dom/media/webspeech/synth/test/test_global_queue_cancel.html
rename : dom/media/webspeech/synth/test/test_speech_queue.html => dom/media/webspeech/synth/test/test_global_queue_pause.html
2015-08-05 10:25:42 -07:00