Commit graph

7954 commits

Author SHA1 Message Date
Tim Mickel
e377ecae78 Merge pull request #62 from tmickel/enhancement/change-listeners
Move blockListener to blocks.js; combine flyout listener
2016-06-08 16:58:37 -04:00
Tim Mickel
b6dbdd64ec Merge pull request #63 from tmickel/feature/editorconfig
Add .editorconfig
2016-06-08 16:58:22 -04:00
Tim Mickel
1f1a4941f3 Add .eslintrc rule to check JSDoc syntax
And fix the broken syntax rules
2016-06-08 16:57:08 -04:00
Tim Mickel
de359b6859 Add .editorconfig 2016-06-08 16:27:38 -04:00
Tim Mickel
7a42e9ae68 Move blockListener to blocks.js; combine flyout listener 2016-06-08 13:44:09 -04:00
Tim Mickel
8081ec3a16 Merge pull request #61 from tmickel/cleanup/blocks-spacing
Spacing fix in blocks.js
2016-06-08 13:29:26 -04:00
Tim Mickel
8fa29bc6de Spacing fix in blocks.js 2016-06-08 13:27:01 -04:00
Tim Mickel
c1e30cf2ee Add sequencer-level debug console logs 2016-06-07 21:05:32 -04:00
Tim Mickel
5767e05d56 Add block-by-block feedback to the VM playground 2016-06-07 20:59:34 -04:00
Tim Mickel
f2734950d7 Add tab to VM playground to show threads 2016-06-07 20:44:08 -04:00
Tim Mickel
cb4dd7b511 Add zoom options to playground 2016-06-07 20:26:58 -04:00
Tim Mickel
9b843156b1 Merge pull request #58 from tmickel/recompile-june-7
Recompile June 7
2016-06-07 13:29:23 -04:00
Tim Mickel
839965b439 Recompile June 7 2016-06-07 13:29:07 -04:00
Tim Mickel
2be27cbc7d Merge pull request #57 from tmickel/feature/full-tree
Update for VM block management
2016-06-07 13:27:41 -04:00
Tim Mickel
2339c5e710 Additional tests for invalid adapter inputs 2016-06-07 12:01:47 -04:00
Tim Mickel
e9accca107 Add test for blocks.js changeBlock 2016-06-07 11:40:47 -04:00
Tim Mickel
6e087475f6 Tests for blocks.js getters 2016-06-07 11:34:01 -04:00
Tim Mickel
3b4a00ce46 Add check for null substackNum, fix numbering 2016-06-07 11:32:29 -04:00
Tim Mickel
8421308782 Add delete test for blocks with inputs/statements 2016-06-07 11:18:41 -04:00
Tim Mickel
855caab8d2 Add blocks delete chain test 2016-06-07 11:11:20 -04:00
Tim Mickel
06eaee9108 Additional adapter tests for new cases 2016-06-07 11:04:44 -04:00
Tim Mickel
4eb63cf33e Test for CREATE event with substack 2016-06-07 10:49:12 -04:00
Tim Mickel
b3af70f63c Merge pull request #52 from LLK/bugfix/stack-click
Fix handling of stack click
2016-06-07 08:13:40 -04:00
Tim Mickel
f158af18b1 Case problem with blocks.js in index.js 2016-06-06 16:19:57 -04:00
Tim Mickel
53372c5704 Fixing case problem with blocks.js tests 2016-06-06 16:17:12 -04:00
Tim Mickel
c8e050494c Update "anatomy of a block" README for new structure 2016-06-06 16:03:40 -04:00
Tim Mickel
7732409102 Update unit tests for new adapter, blocks module 2016-06-06 15:59:21 -04:00
Tim Mickel
feea7a0566 Update CREATE event fixture to have outerHTML 2016-06-06 15:59:07 -04:00
Tim Mickel
fd95d3045d Fix property check of topLevel in createBlock 2016-06-06 15:58:54 -04:00
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