Commit Graph
2334 Commits
Author SHA1 Message Date
Evelyn Eastmond 9f25872c1f Fixing #1454: extension should cast and clamp input values. 2018-08-15 11:39:26 -04:00
Evelyn Eastmond d89020cfb1 Fixing #1461: distance sensor should report 0-100 in steps of 10. 2018-08-15 11:39:26 -04:00
Connor Hudson f9814a5f88 Allow localizing EV3 blocks (#1437)
* Add formatMessage calls to block text in EV3 extension

* Make some EV3 l10n descriptions more descriptive
2018-08-14 14:36:19 -04:00
Connor Hudson 8d88058ae5 Allow localizing micro:bit blocks (#1431)
* Replace micro:bit block text with formatMessage calls

* Add l10n support to micro:bit block menus

* Remove A, B button translation, update some l10n descriptions

* Fix mismatched l10n description
2018-08-14 12:19:26 -04:00
Karishma Chadha e6a7188613 Merge pull request #1463 from kchadha/update-parser
Bump scratch-parser version, pulling in validation error fixes.
2018-08-13 18:25:16 -04:00
Karishma Chadha f663b1eb78 Update package-lock file. 2018-08-13 18:19:55 -04:00
Karishma Chadha a0fd288420 Bump scratch-parser version, pulling in validation error fixes. 2018-08-13 18:09:14 -04:00
Karishma Chadha 1685216db9 Merge pull request #1449 from LLK/greenkeeper/scratch-parser-4.3.1
Update scratch-parser to the latest version 🚀
2018-08-13 17:56:25 -04:00
Evelyn Eastmond f01733f019 WeDo2 Extension: First Pass (#1441)
* Adding WeDo2 connection/disconnection over Scratch Link BLE.

* Testing motor and LED output.

* Reading sensor attachment and registering for sensor notifications.

* Motor indexing.

* Some refactoring notes.  Moving some functions around.

* Refactoring and enums.

* Removing some comments

* Fixing linting error.

* Fixing tilt reporter values and added stopAll bound to stop button to stop piezo, LED and motors.
2018-08-13 17:10:55 -04:00
greenkeeperio-bot 34b0d4150d chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-08-13 15:45:46 +00:00
greenkeeper[bot] d909ac5391 fix(package): update scratch-parser to version 4.3.1 2018-08-13 15:43:26 +00:00
Mx Corey Frang 30892dfd43 Update npm packages to get new renderer and update benchmark for Bob Ross 🌲 (#1443) 2018-08-13 10:47:41 -04:00
kchadha ec41b4a113 Merge pull request #1438 from kchadha/return-add-sprite-function-when-deleting
Export the sprite and return an add function when deleting the sprite.
2018-08-09 15:25:45 -04:00
Karishma Chadha a1f03f58e1 Add integration test for deleting and restoring a sprite, and restoreFunciton should return a promise. 2018-08-09 11:53:37 -04:00
Mx Corey Frang c092fe9f83 Use proposed drawableTouching interface from render (#1419)
* use new drawableTouching interface from render

* Fix mock renderer for new API call

* with lint fix
2018-08-09 10:10:23 -04:00
Karishma Chadha 5ef246a2b0 Export the sprite and return an add function when deleting the sprite. 2018-08-08 18:29:54 -04:00
Ray Schamp 4b5cf6505a Merge pull request #1398 from paulkaplan/publish-docs
Publish jsdoc to gh-pages
2018-08-08 16:46:48 -04:00
kchadha 6b26e6e68c Merge pull request #1434 from kchadha/fix-variable-xml
Fix variable xml
2018-08-08 15:32:09 -04:00
Michael "Z" Goddard a15a9a1b7b Fix benchmark suite (#1397)
* add scratch-svg-renderer adaptors to benchmark vm

* disable benchmark with monitor error

* fixup! add scratch-svg-renderer adaptors to benchmark vm

* fixup! disable benchmark with monitor error
2018-08-08 14:36:38 -04:00
Karishma Chadha 5d25a5afcf Add unit tests for new duplicate variable functions on target. 2018-08-07 18:21:01 -04:00
Karishma Chadha d91788406c Don't generate new IDs for variables when making a sprite clone. 2018-08-07 16:24:02 -04:00
Karishma Chadha 337c1f464d Fix duplication of variables and re-write variable ids in referencing fields. 2018-08-07 00:30:03 -04:00
Paul Kaplan 6e6e9b49cb Merge pull request #1415 from paulkaplan/fix-current-menu
Import current block menu as field not input
2018-08-06 16:45:51 -04:00
Paul Kaplan 98e45ecdfe Import current block menu as field not input 2018-08-02 13:45:00 -04:00
Paul Kaplan f38b96d70a Merge pull request #1413 from paulkaplan/turbo-mode
Add turbo mode events
2018-08-02 10:15:40 -04:00
Paul Kaplan 79ab2fcb72 Add turbo mode events 2018-08-02 10:00:21 -04:00
Eric Rosenbaum c8158321fc Add "set voice" block to text2speech extension (#1400)
* Add set voice block

* Store voice in custom state

* Use a regex to preserve punctuation in kitten language

* cleanup

* don’t re-use args

* add todo comment about locale

* Use voice Id strings and add puppy

* Cleanup and comments

* Use extension name “Text-to-Speech”

* Add issue link in comment
2018-07-31 14:41:02 -04:00
Paul Kaplan 26dd048a72 Update package-lock.json 2018-07-31 11:23:30 -04:00
Paul Kaplan 138d7136af Fix various jsdoc issues preventing the docs from building 2018-07-31 11:22:42 -04:00
Paul Kaplan 5a429d90be Add jsdoc to package json and test/build tasks 2018-07-31 11:22:42 -04:00
Paul Kaplan c7db7ad086 Merge pull request #1399 from paulkaplan/add-to-target
Add an extra param for adding sounds and costumes to specific targets
2018-07-31 11:09:37 -04:00
Paul Kaplan 8540c139dc Add an extra param for adding sounds and costumes to specific targets 2018-07-31 09:47:48 -04:00
kchadha 9bfce505f1 Merge pull request #1394 from LLK/greenkeeper/scratch-parser-4.3.0
Update scratch-parser to the latest version 🚀
2018-07-25 12:13:36 -04:00
greenkeeperio-bot 6cacd42e35 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-07-25 15:40:24 +00:00
greenkeeper[bot] a103af8bb9 fix(package): update scratch-parser to version 4.3.0 2018-07-25 15:37:22 +00:00
kchadha 92c55454c8 Merge pull request #1393 from kchadha/no-layer-order-for-sprite-export
Don't serialize layerOrder when exporting a sprite.
2018-07-25 11:00:09 -04:00
Karishma Chadha 53ccb8d709 Don't serialize layerOrder when exporting a sprite. 2018-07-24 16:11:18 -04:00
Paul Kaplan ac550d2d38 Merge pull request #1387 from paulkaplan/userdata-io-device
Add UserData ioDevice for setting and getting username from blocks
2018-07-24 15:13:15 -04:00
kchadha c77b1f25e2 Merge pull request #1392 from kchadha/sprite-layer-save-load
Sprite Layer Ordering Save/Load
2018-07-24 13:53:29 -04:00
Evelyn Eastmond 6444cf071d Feature/critical extension fixes (#1383)
* Resolves - Turning micro bit power off doesn't disconnect microbit #1366.

* Resolves EV3 motor block causes distance to return 0 #1363.

* Fixing linting.

* Tweak micro:bit auto-disconnect timeout.
2018-07-24 11:08:48 -04:00
Karishma Chadha 812e7a3772 Preserve sprite layer order information across saving and loading an sb3. 2018-07-24 11:00:48 -04:00
kchadha dc612fb4a1 Merge pull request #1391 from kchadha/target-ordering
Target ordering
2018-07-23 17:16:56 -04:00
Karishma Chadha b3ee2c439d Remove layerOrder property, sprites are rendered in the order the targets are listed in in the .sb2 file. 2018-07-23 15:48:27 -04:00
Karishma Chadha 2508dc46ca Order sprites in 2.0 projects based on the serailzied indexInLibrary property. Store original ordering (e.g. layer order of sprites on the stage) to use when installing targets. 2018-07-23 15:25:05 -04:00
Eric Rosenbaum f5066626e5 Use sprite’s soundbank to play text2speech sound (#1388)
* Use sprite’s soundbank to play sound

* Add todo comment
2018-07-23 11:16:00 -04:00
picklesrus db0597ada5 Get rid of some config that Safari cannot handle and was part of the older getUserMedia. (#1297) 2018-07-23 10:45:27 -04:00
Paul Kaplan 6d4c6df692 Add UserData ioDevice for setting and getting username from blocks 2018-07-23 09:38:58 -04:00
Paul Kaplan f3451cea91 Merge pull request #1381 from paulkaplan/fix-ev3-coast
Do not send coast if another motor command has been sent
2018-07-19 16:42:44 -04:00
Paul Kaplan 4570184c6b Fix linting 2018-07-19 16:41:07 -04:00
Paul Kaplan a762892879 Do not send coast if another motor command has been sent 2018-07-19 15:46:01 -04:00