Commit Graph
1445 Commits
Author SHA1 Message Date
picklesrus 97b8ec83bd Ignore lint for the icons 2018-06-08 14:45:13 -07:00
picklesrus 6184c3ba12 Replace icons with version downloaded from https://material.io/tools/icons/?style=baseline 2018-06-08 14:42:46 -07:00
Eric Rosenbaum ca6a7f9311 Merge pull request #1199 from picklesrus/speech-extension-loginfo
Add some log info with more information about the speech match so we …
2018-06-04 16:35:58 -04:00
picklesrus e668a210a0 Add some log info with more information about the speech match so we can debug better. 2018-06-04 13:17:34 -07:00
Kreg Hanning 9055706333 Add check for invalid symbol 2018-06-04 15:22:12 -04:00
Kreg Hanning 94464f0a52 Update microbit extension for latest firmware 2018-06-04 14:52:52 -04:00
Eric Rosenbaum 294801c1f3 Merge pull request #1184 from ericrosenbaum/bugfix/sound-blocks-yield
Set/change sound effect and volume blocks yield until the next tick
2018-06-01 13:19:50 -04:00
Eric Rosenbaum 2348d55f14 Use promises to yield 2018-05-31 17:09:47 -04:00
Paul Kaplan ac91d8af65 Merge pull request #1180 from kchadha/parse-sb2-comments
Import Comments from 2.0 Projects
2018-05-31 16:51:22 -04:00
Eric Rosenbaum 46f885fc03 Sound effect and volume blocks request redraw 2018-05-31 16:47:40 -04:00
Karishma Chadha 537dc9bcd5 Addressing PR comments. 2018-05-31 16:33:42 -04:00
Michael "Z" Goddard 4ceeebb257 Use src/index as browser entry point
Use src/index.js as the entry by default in tools building scratch-vm
into a larger package. This saves file space by excluding extra webpack
boilerplate and may allow for deeper optimizations.

Depend on script dependencies for downstream webpack. For another
package to build in scratch-vm's dependencies without them already
being built into a consumed webpack build they need to be listed as
dependencies. This can benefit large projects that reuse the same
dependencies multiple times. Node will still use the main entry point
and its webpack build leaves the dependencies as external references so
it may reuse common modules in Node as well as in a build a browser
environment.
2018-05-31 16:32:46 -04:00
Eric Rosenbaum c9842ec3dc Merge pull request #1121 from picklesrus/speech-extension-checkin
Initial version of the speech extension.  There is certainly still so…
2018-05-31 15:35:09 -04:00
picklesrus 968eeaf936 Fix missing comma from bad merge. 2018-05-31 12:14:55 -07:00
Eric Rosenbaum 3e43786ef6 Default to a random language 2018-05-31 11:48:37 -04:00
Karishma Chadha acd728dc2b No more xml differentiation for 'scratch' type of comments. 2018-05-30 21:18:45 -04:00
Karishma Chadha f079eb4bbd Don't serialize x and y for sb2 comments so that they can be auto positioned. 2018-05-30 21:18:45 -04:00
Karishma Chadha b0aa288916 Add info about minimized state to comment xml. 2018-05-30 21:18:45 -04:00
Karishma Chadha 1639444a4d Fix lint and tests. 2018-05-30 21:18:45 -04:00
Karishma Chadha 1401d54add Parse SB2 comments and attach block comments to the blocks they belong to. Send comment xml on workspace update so they can be rendered. 2018-05-30 21:15:14 -04:00
picklesrus 3a5051646f Now fuzzymatchResult is unused so remove it too. 2018-05-30 13:22:07 -07:00
picklesrus bb408b8673 Remove some code that set the utterance to the fuzzy match result 2018-05-30 13:22:07 -07:00
picklesrus e72ea04c10 Move the add event listener code to be in the same place where we call connect so there is only one place to do it. 2018-05-30 13:22:07 -07:00
picklesrus ef142107a6 Remove the event listener for processing audio at the same time that we disconnect the script node. At this point we are closing the web socket and do not want to process more of the microphone data even if it is already in flight. Also add it back when we resume listening instead of just at init time. 2018-05-30 13:22:07 -07:00
picklesrus ffced16b95 Fix a copy/paste comment error and initialize current_utterance differently 2018-05-30 13:22:07 -07:00
picklesrus a2eee6a1dd Change name of opcode to speech_ from speech.Plus, remove old comment. 2018-05-30 13:22:07 -07:00
picklesrus adf5d0acfd Add speech extension to the extension manager. 2018-05-30 13:22:07 -07:00
picklesrus 250570e0ed Use arraybuffer-loader instead of buffer-loader to load the start and end sounds. The music extension switched to this a few days ago. 2018-05-30 13:20:38 -07:00
picklesrus e7987a6a4c Initial version of the speech extension. There is certainly still some stuff to figure out but the core of it is here. 2018-05-30 13:20:38 -07:00
Eric Rosenbaum 057e89b1e0 Merge pull request #1178 from picklesrus/translate-language-reporter-block
Add language reporter block to translate extension
2018-05-30 10:25:22 -04:00
picklesrus 123edcb913 remove stray space 2018-05-29 15:14:38 -07:00
picklesrus e2f6dfd29f - Update the reporter to return the human readable language.
- Remove the non-final icons and replace with a TODO.
- Add messages for the text in the blocks.
2018-05-29 15:06:38 -07:00
picklesrus f615e9191a Add language reporter block to translate extension 2018-05-28 11:58:17 -07:00
DD 7874ea9b1a Allow rotation centers with zeros 2018-05-25 16:54:54 -04:00
kchadha a85f641d25 Merge pull request #1148 from kchadha/stage-layering
Layer group ordering.
2018-05-25 09:10:05 -04:00
Chris Willis-Ford b3db00fab7 Merge pull request #1154 from vincentbriglia/issue1552
Allow override of icons per block
2018-05-25 01:10:57 -07:00
Chris Willis-Ford eae258cce6 Merge pull request #1153 from vincentbriglia/issue1551
Add option for Extensions to have different colour
2018-05-25 01:07:20 -07:00
DD Liu 13d277e7c8 Merge pull request #1164 from fsih/bgOffset
Always give backdrops a certain rotation center
2018-05-24 16:54:01 -04:00
Ray Schamp 3b49f45b9a Merge pull request #1160 from Kenny2github/patch-1
Round (x position) and (y position) to 8 places
2018-05-24 13:58:16 -04:00
Paul Kaplan 02041c8218 Merge pull request #1163 from paulkaplan/username-stub
Add logged out version of username block
2018-05-24 13:29:47 -04:00
Eric Rosenbaum b052205457 Merge pull request #1162 from ericrosenbaum/feature/emit-keyboard-events
Runtime emits key pressed event
2018-05-23 17:04:05 -04:00
Eric Rosenbaum 3cdc9765a8 Translation extension imports translated language names (#1159)
* wip

* wip

* Get viewer language code, and cleanup

* Revert "wip"

This reverts commit 6598738ed22a36fbb178fd3c3947d4f6080552ff.

# Conflicts:
#	src/extensions/scratch3_translate/index.js
2018-05-23 17:00:59 -04:00
DD Liu 10aa6979ed Multiply by bitmap resolution 2018-05-23 14:18:22 -04:00
DD Liu 85689201ed Always give backdrops a certain rotation center 2018-05-23 14:06:23 -04:00
Paul Kaplan c5cc129821 Add logged out version of username block 2018-05-23 11:30:12 -04:00
Eric Rosenbaum 508ac91b82 Runtime emits key pressed event 2018-05-22 17:24:22 -04:00
Paul Kaplan b7e40c9735 Merge pull request #1147 from paulkaplan/fix-say-hide
Fix say bug with show/hide
2018-05-22 14:49:50 -04:00
Ken 5af6887cfe Round (x position) and (y position) to 8 places 2018-05-22 12:46:22 +08:00
DD Liu 8c0f5a71f0 Merge pull request #1149 from fsih/compatMode
Pass in argument to indicate compat mode
2018-05-21 15:03:27 -04:00
Karishma Chadha 5e40bfb7ee No more explicit layer groups, and separate extension into video and pen. 2018-05-20 22:30:20 -04:00