Commit Graph

280 Commits

Author SHA1 Message Date
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
Eitan Isaacson
43517e34dc Bug 1188099 - (Part 3) Introduce [ChromeOnly] SpeechSynthesis.forceEnd for tests. r=smaug r=kdavis 2015-08-05 10:25:42 -07:00
Eitan Isaacson
ec978256f5 Bug 1188099 - (Part 2) Introduce global queue and track speaking state across windows. r=smaug r=kdavis 2015-08-05 10:25:42 -07:00
Eitan Isaacson
7b8c1c2bb9 Bug 1188099 - (Part 1) Enable/disable global queue depending on voices and pref. r=smaug r=kdavis 2015-08-05 10:25:42 -07:00
Andre Natal
4c53ec9f8d Bug 1180113 - Add arpa model into gecko for g2p generation. r=smaug
Signed-off-by: Andre Natal <anatal@gmail.com>
2015-08-05 00:35:00 +02:00
Kelly Davis
60e71b20d8 Bug 1187791 - Part 1 of 1 - SpeechRecognition::maxAlternatives can't throw; so, rm webidl throws specifier. r=smaug
--HG--
extra : rebase_source : c0879a3ce21fbeb701aaa18c3ab82110cc53bce7
2015-08-04 00:39:00 +02:00
Kelly Davis
efee22feb1 Bug 1177514 - Remove final text of 'ERROR' on recognition error, should be signaled by SpeechRecognitionError. r=smaug
--HG--
extra : rebase_source : 7a6e3541a694185b0c84ae48aed5901ff2198339
2015-07-28 02:53:00 -04:00
Kelly Davis
d6c0476fde Bug 1185235 - Implement SpeechRecognition::maxAlternatives. r=smaug 2015-07-26 23:02:00 -04:00
Kelly Davis
27ccbe00c4 Bug 1185234 - Implement SpeechRecognition::interimResults. r=smaug 2015-08-02 22:20:00 -04:00
Kelly Davis
7f9de13c87 Bug 1185018 - Part 1 of 1 - Made speech recognition services language dependent and removed assumption of a single service. r=smaug 2015-08-02 13:43:00 +02:00
Eitan Isaacson
f8946263f5 Bug 1187105 - Pause speechsynthesis on empty queue. r=smaug 2015-07-30 16:04:25 -07:00
Jacek Caban
57615ea370 Bug 1188457 - Fixed SapiService.cpp compilation on mingw. r=jimm 2015-07-29 12:27:22 +02:00
Makoto Kato
4b4ac7d1cb Bug 1187155 - Remove sphelper.h dependency to avoid ATL. r=jimm 2015-07-27 12:34:27 +09:00
Makoto Kato
3d5598225f Bug 1003457 - Implement Windows SAPI backend. Original patch is by yash.girhar@gmail.com. r=jmathies 2015-07-23 17:16:25 -07:00
Kyle Huey
df53dee024 Bug 1182316: Part 1 - Remove FORWARD_TO_INNER_OR_THROW. r=peterv 2015-07-16 22:10:35 -07:00
Kelly Davis
e1bdadef62 Bug 1183503 - Rename model and dictionary files for recognition in preparation for localization. r=smaug
--HG--
rename : dom/media/webspeech/recognition/models/dict/cmu07a.dic => dom/media/webspeech/recognition/models/dict/en-US.dic
rename : dom/media/webspeech/recognition/models/en-us-semi/README => dom/media/webspeech/recognition/models/en-US/README
rename : dom/media/webspeech/recognition/models/en-us-semi/feat.params => dom/media/webspeech/recognition/models/en-US/feat.params
rename : dom/media/webspeech/recognition/models/en-us-semi/mdef => dom/media/webspeech/recognition/models/en-US/mdef
rename : dom/media/webspeech/recognition/models/en-us-semi/means => dom/media/webspeech/recognition/models/en-US/means
rename : dom/media/webspeech/recognition/models/en-us-semi/mixture_weights => dom/media/webspeech/recognition/models/en-US/mixture_weights
rename : dom/media/webspeech/recognition/models/en-us-semi/noisedict => dom/media/webspeech/recognition/models/en-US/noisedict
rename : dom/media/webspeech/recognition/models/en-us-semi/sendump => dom/media/webspeech/recognition/models/en-US/sendump
rename : dom/media/webspeech/recognition/models/en-us-semi/transition_matrices => dom/media/webspeech/recognition/models/en-US/transition_matrices
rename : dom/media/webspeech/recognition/models/en-us-semi/variances => dom/media/webspeech/recognition/models/en-US/variances
extra : rebase_source : 859a839773744e1b2eae8d72392069cb8c28fe33
2015-07-14 05:22:00 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andre Natal
bcf5768a66 Bug 1182384 - Adding digits in numerical form to standard dictionary. r=smaug 2015-07-09 21:53:00 +02:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Kelly Davis
1c10aa27ac Bug 1167542 - Implement SpeechSynthesisErrorEvent. r=smaug
--HG--
extra : rebase_source : 4dde80daffeffbfd2d9d412733dbee0855d19011
2015-07-01 04:49:00 -04:00
Kelly Davis
e7daf87da5 Bug 1167541 - Implemented SpeechSynthesisEvent::utterance. r=smaug 2015-07-01 04:14:00 -04:00
Kelly Davis
dac216dbb8 Bug 1167539 - Replace use of NS_ENSURE_* with NS_WARN_IF in dom/media/webspeech/synth/*. r=smaug 2015-06-30 04:52:00 -04:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Kelly Davis
e2fd9d4531 Bug 1167538 - Part 1 of 1: Removes use of NS_LITERAL_STRING("") in dom/meida/webspeech/synth/*. r=smaug 2015-06-18 01:34:00 +02:00
Phil Ringnalda
626463c006 Bug 967606 - disable test_call_start_from_end_handler.html on b2g debug, where it fails 30% of the time 2015-06-13 21:01:12 -07:00
Kelly Davis
753923ab23 Bug 1169653 - Limit use of the speech recognition API in JS to certified apps or apps with the proper flags set. r=smaug
--HG--
extra : rebase_source : 722ce76c4d7f3fb251099797f62062e5f5db27f0
2015-06-12 05:01:00 -04:00
Ryan VanderMeulen
6bced0aeb7 Backed out changeset bdaede62fdcf (bug 1169653) for introducing new rooting hazards.
CLOSED TREE
2015-06-11 15:48:09 -04:00
Kelly Davis
284e30b335 Bug 1169653 - Patch limits use of the speech recognition API in JS to certified apps or apps with the proper flags set. r=smaug 2015-06-10 02:20:00 -04:00
Kelly Davis
03382cd121 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug
--HG--
extra : rebase_source : 21627e11c429f5bf5f7373de804f3adfda431dbc
extra : histedit_source : a7f4210afb870d8ce7bc97d8608d0674473cc713
2015-06-09 22:49:00 -04:00
Kelly Davis
cb2e865dda Bug 1171850 - Remove 'models' dir from MODELSPS_DEST as the dir 'models' now comes from MODELSPS_FILES. r=gps 2015-06-05 01:57:00 -04:00
Eric Rahm
75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Ryan VanderMeulen
0d430ff1b0 Backed out changesets b2fb4270e0a6 and 2a0493fb37db (bug 1051148) for introducing new rooting hazards.
CLOSED TREE IGNORE IDL

--HG--
extra : rebase_source : 97a096424b43fc4bed692182841843131fdcee13
extra : histedit_source : 4754300927dac90f0ae879e90896e36f1aa28b49
2015-06-03 13:14:59 -04:00
Kelly Davis
bf300061b2 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug
IGNORE IDL

--HG--
extra : histedit_source : d9d8b673d22c90cfc0e9c58e8599a2b34167c913
2015-05-27 21:48:00 -04:00
Kelly Davis
f4e5dd17c6 Bug 1051146 - Part 6: Introduce build integration of new English model. r=smaug, r=gps 2015-05-28 07:24:00 -04:00
Kelly Davis
319e610f16 Bug 1051146 - Part 5: Introduce new English model with no build integration. r=smaug 2015-05-20 18:20:56 +02:00
Kelly Davis
ea77b93523 Bug 1051146 - Part 4: Introduce build system changes for the MOZ_WEBSPEECH_TEST_BACKEND flag. r=smaug, r=gps 2015-05-21 07:40:00 -04:00
JW Wang
486a5586c0 Bug 1170081 - Add a tag to run only mochitests that use HTMLMediaElement::MozCaptureStream. r=cpearce. 2015-06-02 17:31:46 +08:00
Carsten "Tomcat" Book
5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Paul Adenot
78e7f42537 Bug 1166803 - Add an msg tag to mochitest.ini in dom/media/*. r=jesup 2015-05-22 10:57:51 +02:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Daniel Holbert
2fd3ab182a Bug 1162699 followup: Add 'override' keyword to overriding methods on FakeSynthCallback. rs=ehsan 2015-05-15 11:57:03 -07:00
Eitan Isaacson
72e93f95e2 Bug 1162699 - Replace mochitest test synth services with global services to simplify tests. r=smaug
Also, remove ipc tests since we now can enable these tests in e10s.

Also, make utterances very long in cancel test so that we actually interrupt them.
2015-05-14 16:24:14 -07:00