Karishma Chadha
ee9a99b928
Fix variable deletion bug.
2018-07-15 19:00:55 -04:00
Karishma Chadha
a8fc399746
Fix var rename bug where variable would go back to old name after switching sprites.
2018-07-15 18:58:56 -04:00
picklesrus
bf22cdbf13
Make the end listening sound only play one time even if multiple bloc… ( #1232 )
...
* Make the end listening sound only play one time even if multiple blocks stop listening at the same time.
* Update for new sound API
2018-07-15 15:04:27 -04:00
picklesrus
ed78231fe9
Turn speech block text into i18n messages. ( #1224 )
...
* Turn speech block text into i18n messages.
* Update message descriptions and other code review comments.
* fix typo
* Add bit about not translating Google to message description.
* Change default when I hear text
2018-07-15 14:34:24 -04:00
picklesrus
bd83d66bff
Update speech extension to use new audio engine api since the old version no longer exists. ( #1272 )
2018-07-15 14:23:14 -04:00
Paul Kaplan
3fa28cac35
Merge pull request #1326 from kchadha/share-local-var-fix
...
Fix variable conflicts that arise when sharing the love with the stage.
2018-07-13 13:24:49 -04:00
Evelyn Eastmond
133ade7f48
EV3 port and sensor polling updates ( #1342 )
...
* Add motor rotate, without coasting yet. Fixed some todos.
* Removing logging.
* Implemented motor set position, motor set power, and beep note for time blocks. Changed labels on motor blocks. Tracking motor speeds for all ports.
* Fixing motor ports to 0-3 and then output bit field when sending commands.
* Added stop all motors with stop button. Added port masking function. Some cleanup. Moved beeping up an octave.
* Combine device list polling and sensor polling into a single timeout call, device list requested every 20 times.
* Don't reset sensors on device update. Don't store undefined sensor/motor values. Some comments.
* Fixing some linting.
2018-07-13 13:14:53 -04:00
Karishma Chadha
2b2fc2e561
Code cleanup, refactor, abstraction
2018-07-13 12:58:45 -04:00
Karishma Chadha
13df3e7bd6
Add unit tests and fix object shallow vs. deep copying bug.
2018-07-13 09:36:43 -04:00
Karishma Chadha
406e59fc18
Fix variable conflicts that arise when sharing the love of a sprite-local variable with the stage.
2018-07-13 09:36:43 -04:00
Andrew Sliwinski
c69a59575d
Merge pull request #1316 from ericrosenbaum/feature/language-reporter
...
Change translate extension reporter block text to 'language'
2018-07-13 08:41:33 -04:00
Paul Kaplan
ec0ac19772
Merge pull request #1332 from ericrosenbaum/bugfix/microbit-bail-out
...
Microbit write bails out if not connected
2018-07-13 08:32:58 -04:00
Paul Kaplan
b9203ac5d6
Merge pull request #1333 from ericrosenbaum/bugfix/fix-microbit-extension-name
...
Change extension name to micro:bit
2018-07-13 08:32:45 -04:00
Paul Kaplan
b33d9ba4e0
Merge pull request #1335 from mzgoddard/fix-execute
...
fix asynchronous block execution
2018-07-13 08:32:20 -04:00
Paul Kaplan
e463781bc1
Merge pull request #1330 from paulkaplan/glow-on-stack-click
...
Always glow threads that come from stack clicks
2018-07-13 07:53:05 -04:00
Michael "Z" Goddard
d2c637a621
fix asynchronous block execution
...
Freeze promise waiting blocks into an array of reported values. Thaw
those reported values into parent values of matching blocks by id. If
the reporting block was waiting on a promise and reported a value
assign it to its parent value at that future time.
2018-07-13 00:04:49 -04:00
DD Liu
c7e9c833c0
Merge pull request #1315 from fsih/loadCostume
...
Don't depend on this until https://github.com/LLK/scratch-gui/pull/2575 is in
Break out loadVector and loadBitmap from loadCostumeAsset, and handle bitmap resolution 1 assets in loadBitmap
2018-07-12 18:50:14 -04:00
DD Liu
46918f266e
Add bitmap resolution so that required proptype warning stops
2018-07-12 17:25:53 -04:00
DD Liu
1c74c9028c
Better error handling
2018-07-12 17:18:38 -04:00
Eric Rosenbaum
eaeefdcfe7
Change extension name to micro:bit
2018-07-12 15:26:32 -04:00
Eric Rosenbaum
ea1bb602f9
Microbit display commands yield for a tick ( #1331 )
...
* Microbit display commands yield for a tick
* JSDOC fixes
2018-07-12 15:19:28 -04:00
DD Liu
004f38190a
Merge branch 'develop' into loadCostume
2018-07-12 15:16:17 -04:00
Eric Rosenbaum
a7f4fc2212
Microbit write bails out if not connected
2018-07-12 14:41:28 -04:00
Paul Kaplan
9dbb362b36
Remove log line
2018-07-12 14:40:13 -04:00
DD Liu
0258a7390f
Convert to node style callback and convert to bitmap resolution 2 always
2018-07-12 14:33:38 -04:00
Paul Kaplan
bcd76c995e
Always glow threads that come from stack clicks
2018-07-12 11:24:06 -04:00
Andrew Sliwinski
0c21f739ec
Merge pull request #1327 from thisandagain/feature/deleteall
...
Add opcode implementation for `data_deletealloflist`
2018-07-12 11:02:14 -04:00
Kreg Hanning
06c4e5516f
Add micro:bit matrix field block ( #1314 )
...
* Add micro:bit matrix field block
* Remove debug logs
* Remove rowcol menu
* Fix lint errors
2018-07-11 16:13:49 -04:00
chrisgarrity
0810c455c2
Merge pull request #1321 from chrisgarrity/issue/1299-switch-language
...
Issue/1299 switch language
2018-07-11 16:03:10 -04:00
Paul Kaplan
760fcd8231
Merge pull request #1318 from paulkaplan/fix-bt-connection
...
Set internal connected flag before emitting event
2018-07-11 14:20:22 -04:00
Paul Kaplan
12ba829ead
Merge pull request #1325 from paulkaplan/update-microbit-block-icon
...
Update microbit block and menu icons using the new ones
2018-07-11 14:19:51 -04:00
Andrew Sliwinski
f7aafe4d9c
Add opcode implementation for data_deletealloflist
2018-07-11 13:14:01 -04:00
Paul Kaplan
31cd204117
Add semicolons...
2018-07-11 11:47:29 -04:00
Paul Kaplan
eecca39a97
Update microbit block and menu icons using the new ones
2018-07-11 11:20:19 -04:00
chrisgarrity
849412ba82
Switch setLocale to return a promise
...
Convert refreshBlocks to a function returning a promise, and return that from setLocale. Now GUI can ensure that refreshing the toolbox and workspace only happens after all the blocks have refreshed.
2018-07-11 08:35:22 -04:00
DD Liu
250b164603
Merge pull request #1319 from fsih/fixNpmIgnore
...
Remove webpack config from npm ignore.
2018-07-10 17:10:32 -04:00
DD Liu
dbc7f5050f
Remove webpack config from npm ignore. Custom branches that depend directly on the repo need this to work.
2018-07-10 16:41:43 -04:00
Paul Kaplan
82a33691d3
Set internal connected flag before emitting event
2018-07-10 15:57:25 -04:00
Eric Rosenbaum
0cc219fa0a
Change ‘viewer language’ reporter to ‘language’
2018-07-10 15:10:27 -04:00
DD Liu
37f66cc6c5
Test changing npm ignore
2018-07-10 14:13:34 -04:00
DD Liu
747b4d1aed
Add bitmap resolution
2018-07-10 11:59:10 -04:00
DD Liu
704be2d83f
fix comment
2018-07-10 10:39:47 -04:00
DD Liu
6aefd13af6
Break load costume into more functions, and update how bitmaps are loaded
2018-07-10 10:30:38 -04:00
picklesrus
e156b0536c
Fix name of translate extension and add the logo back. Basically fixes #1029 ( #1313 )
2018-07-10 10:25:49 -04:00
Andrew Sliwinski
c9d71488c3
Merge pull request #1311 from thisandagain/feature/polly
...
Update text-to-speech extension to use new audio engine
2018-07-10 08:30:52 -04:00
Evelyn Eastmond
5a0815beb2
Merge pull request #1300 from LLK/feature/device-connection-ev3-fixes-1
...
EV3 Extension fixes
2018-07-09 18:31:14 -04:00
Andrew Sliwinski
ace5ae40d0
Update text-to-speech extension to use new audio engine
2018-07-09 14:40:13 -04:00
Evelyn Eastmond
394b57ebb6
Removing some logging.
2018-07-09 14:31:09 -04:00
Evelyn Eastmond
f511730602
Fix motor turn for ports C/D. Zero out sensors and motor values on disconnect.
2018-07-09 14:31:09 -04:00
Evelyn Eastmond
a220829007
Changes to EV3 extension: motor reporter 0-360, distance reporter rounded to tenths, motors coasting after turn for time commands, buttons distinguishable by port, and motor reporters for ports C/D fixed.
2018-07-09 14:31:09 -04:00