Commit graph

1324 commits

Author SHA1 Message Date
Tim Mickel
f63e261892 Remove breaking check for blockId 2016-06-06 15:58:40 -04:00
Tim Mickel
0efe7e2b27 Fix block events for flyout blocks 2016-06-06 15:44:13 -04:00
Tim Mickel
dbb31462ad Extend getSubstack to support multiple substacks 2016-06-06 15:31:14 -04:00
Tim Mickel
9be33089a8 Refactor block management into a separate module. 2016-06-06 15:29:34 -04:00
Tim Mickel
25c3a38c16 Allow top-level creation of shadow blocks in adapter 2016-06-06 14:57:58 -04:00
Tim Mickel
aa152fd604 Rewrite of moveBlock to better reflect Blockly 2016-06-06 14:55:01 -04:00
Tim Mickel
214daa8087 Always unset topLevel in deleteStack_
Blocks may have topLevel set even if they are not present in this.stacks
2016-06-06 14:54:32 -04:00
Tim Mickel
18e4228399 Update runtime's handling of delete for new blocks structure 2016-06-06 14:53:59 -04:00
Tim Mickel
285c2792ef Only add to stacks if topLevel is true in CREATE 2016-06-06 14:53:42 -04:00
Tim Mickel
e5b677c7f6 Fix naming of MOVE event in index.js 2016-06-06 14:53:27 -04:00
Tim Mickel
9fef9d7edd Fix up adapter's domToBlock 2016-06-06 14:44:51 -04:00
Tim Mickel
0dfc72893c Update Runtime createBlock for new structure; _addStack helper. 2016-06-06 14:12:43 -04:00
Tim Mickel
b28c50e6a5 Rewrite of adapter to support trees of blocks, inputs 2016-06-06 14:09:27 -04:00
Tim Mickel
8626644293 Merge pull request #55 from tmickel/feature/playground-buttons
Add green flag and stop button to playground
2016-06-01 15:37:51 -04:00
Tim Mickel
9006b4450f Merge pull request #54 from tmickel/feature/playground-dark
Add dark-mode colors to VM playground
2016-06-01 15:37:42 -04:00
Tim Mickel
988dd344bd Merge pull request #53 from tmickel/feature/playground-stack-highlighting
Add stack highlighting to playground blocks.
2016-06-01 15:37:34 -04:00
Tim Mickel
bbc66a95a7 Add green flag and stop button to playground 2016-06-01 14:17:18 -04:00
Tim Mickel
ed35ccfa86 Add dark-mode colors to VM playground 2016-06-01 14:00:46 -04:00
Tim Mickel
690745aaf0 Add stack highlighting to playground blocks. 2016-06-01 13:54:33 -04:00
Tim Mickel
9ce3783940 Fix handling of stack click
Previously was improperly reading `e.type`.
2016-06-01 13:48:54 -04:00
Tim Mickel
1ab391281d Merge pull request #48 from tmickel/feature/dev-playground
Add framework for a demo/dev playground; show auto-updating block representation.
2016-06-01 13:16:50 -04:00
Tim Mickel
e92832772f Absolute version number for highlightjs dependency 2016-06-01 13:13:52 -04:00
Tim Mickel
6593c399c1 Update to use syntax highlighting in block explorer 2016-06-01 13:13:52 -04:00
Tim Mickel
4df584bc20 Turn off spell check in playground block explorer; increase font size. 2016-06-01 13:13:52 -04:00
Tim Mickel
8374d116bf Add a block representation explorer to playground 2016-06-01 13:13:41 -04:00
Tim Mickel
1c253df3a2 Add a basic demo playground with scratch-blocks 2016-06-01 13:13:41 -04:00
Tim Mickel
aee9447899 Merge pull request #47 from tmickel/feature/stackclick
Add stack click event handler
2016-06-01 13:11:44 -04:00
Tim Mickel
6a34c584de Update build for "stack click" 2016-06-01 10:27:11 -04:00
Tim Mickel
cfed4e1bba Add "stack click" event handler to VM
See: https://github.com/LLK/scratch-blocks/pull/360
2016-06-01 10:26:06 -04:00
Andrew Sliwinski
2d834de766 Update README.md 2016-05-17 18:09:15 -07:00
Andrew Sliwinski
b8463706b2 Add dependency badges 2016-05-17 06:44:54 -07:00
Andrew Sliwinski
6df9775cc9 Update travis badge 2016-05-17 06:43:24 -07:00
Andrew Sliwinski
22208e22bd Update README.md 2016-05-17 05:49:54 -07:00
Andrew Sliwinski
306466686a Add subhead to readme 2016-05-10 12:40:52 -04:00
Andrew Sliwinski
85f0d5cd22 Add donation notice to readme 2016-05-10 12:18:03 -04:00
Andrew Sliwinski
fe1340c4ab Update package version to 'pre release' 2016-05-10 12:15:27 -04:00
Andrew Sliwinski
d76e7a440a Update build 2016-05-10 12:12:37 -04:00
Andrew Sliwinski
ef2da9d40c Update documentation 2016-05-10 12:12:31 -04:00
Tim Mickel
b30ee492be Merge pull request #41 from tmickel/bugfix/39
Resolve existing motor timeout (instead of reject)
2016-05-09 14:34:50 -04:00
Tim Mickel
4d4682912d Resolve existing motor timeout (instead of reject) 2016-05-09 14:18:33 -04:00
Tim Mickel
c37cf3fe85 Merge pull request #37 from tmickel/feature/wedo-timing
Reduce block execution time (fix #35)
2016-05-05 13:10:48 -04:00
Tim Mickel
48822ddc7e Recompile 2016-05-05 13:10:08 -04:00
Tim Mickel
dd53b86b8c Reduce amount of time for executing blocks 2016-05-05 13:09:37 -04:00
Andrew Sliwinski
387c36d99e Merge pull request #36 from thisandagain/bugfix/android-37
Switch LED block to use WeDo color index mode
2016-05-05 11:50:55 -04:00
Andrew Sliwinski
0316e41b83 Recompile 2016-05-05 08:33:52 -04:00
Andrew Sliwinski
0de30986aa Switch WeDo2 led block to use color index rather than absolute RGB values. 2016-05-05 08:33:44 -04:00
Tim Mickel
c7a7e47cd4 Merge pull request #33 from tmickel/feature/wedo-fixes
A few WeDo fixes
2016-05-03 17:40:47 -04:00
Tim Mickel
5c03167ec3 Hack helper for distance sensors 2016-05-03 17:39:02 -04:00
Tim Mickel
85f8e99ca8 Add delay to RGB block 2016-05-03 17:23:59 -04:00
Tim Mickel
659c9b274a Add motorStop patch to stopAll 2016-05-03 17:18:28 -04:00