Karishma Chadha
644fab0135
Track block comment movement when block moves.
2018-06-05 15:40:19 -04:00
Karishma Chadha
7c5a2ae8e0
Add check that block associated with comment actually exists.
2018-06-05 15:17:28 -04:00
Karishma Chadha
d58bb8bcfb
Clean up optRuntime checks in blocklyListen
2018-06-05 15:13:03 -04:00
Karishma Chadha
2171cb69d0
No need to floor workspace coordinates in vm runtime.
2018-06-05 15:12:25 -04:00
Paul Kaplan
3a697ae0ac
Add top-level API for getting and setting variable values
2018-06-05 10:46:06 -04:00
Paul Kaplan
7b2f606316
Fix an issue where variable lookup would error if stage did not exist.
2018-06-05 10:45:51 -04: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
875dae43d4
Merge pull request #1198 from khanning/microbit-firmware-update
...
Update microbit extension for latest firmware
2018-06-04 15:28:11 -04: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
Karishma Chadha
522706ccf8
Persist comment state.
2018-06-01 18:10:25 -04:00
Ray Schamp
bfa229535a
Merge pull request #1188 from mzgoddard/resolve-webpack-playground
...
fix: resolve scratch-*/src/index.js for expose-loader
2018-06-01 16:28:11 -04:00
Michael "Z" Goddard
fda288506a
fix: resolve scratch-*/src/index.js for expose-loader
...
require.resolve is a nodejs api that resolves as node resolves. An
enhanced-resolve instance, the library webpack uses, could resolve as
webpack will or we can use some slightly more manual definitions here
for exposing parts of scratch on the global object for the playground's
benchmark to use.
2018-06-01 13:38:18 -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
Ray Schamp
1e7b0acfa5
Merge pull request #1186 from rschamp/bugfix/canvas-toblob
...
Clean up the rest of the dependencies
2018-05-31 18:10:41 -04:00
Ray Schamp
c915df3cc4
Clean up the rest of the dependencies
...
Hopefully.
2018-05-31 18:01:35 -04:00
Ray Schamp
ce71c7eb6a
Merge pull request #1185 from rschamp/bugfix/canvas-toblob
...
Make canvas-toBlob a dependency
2018-05-31 17:30:17 -04:00
Ray Schamp
61d7f70d1d
Make canvas-toBlob a dependency
2018-05-31 17:29:38 -04:00
Eric Rosenbaum
2348d55f14
Use promises to yield
2018-05-31 17:09:47 -04:00
Ray Schamp
0a857c2ee1
Merge pull request #1183 from rschamp/bugfix/highlightjs
...
Remove unused script-loader for highlightjs
2018-05-31 17:07:52 -04:00
Ray Schamp
14f56d713f
Make sure the thing can build in PRs
...
This would have caught the issue in #1106
2018-05-31 17:03:55 -04:00
Ray Schamp
6fb8d86880
Remove unused script-loader for highlightjs
2018-05-31 16:54:30 -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
Ray Schamp
44b03fea9b
Merge pull request #1106 from mzgoddard/dependents-no-boiler
...
Use src/index as browser entry point
2018-05-31 16:39:32 -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
dd10cac3ef
Merge branch 'speech-extension-checkin' of https://github.com/picklesrus/scratch-vm into speech-extension-checkin
2018-05-31 12:18:25 -07:00
picklesrus
968eeaf936
Fix missing comma from bad merge.
2018-05-31 12:14:55 -07:00
Eric Rosenbaum
3810227496
Merge pull request #1181 from ericrosenbaum/feature/random-language
...
Translate block defaults to a random language
2018-05-31 12:00:05 -04: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
cd11e19717
Pin the diff-match-patch library
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