Commit Graph

105 Commits

Author SHA1 Message Date
Neil Fraser
0c92ce911f Fix sort block in JS to satisfy tests. 2016-06-09 22:14:58 -07:00
picklesrus
e4900fc27c Fix airstrike by grabbing the correct toolbox element. (#411)
Probably broken in 266e2ffa9a.
2016-06-08 10:03:14 -07:00
Neil Fraser
9ca00656ad Properly deal with shadow statement blocks in stacks. 2016-06-05 16:58:27 -07:00
Neil Fraser
f642fa80d5 Increase commonality between playgrounds. 2016-06-05 15:32:54 -07:00
Neil Fraser
266e2ffa9a Add toolbox location and toolbox mode options to playground. 2016-06-05 04:16:09 -07:00
Neil Fraser
a625d5b07c Fix unit tests. 2016-06-03 16:40:50 -07:00
Rachel Fenichel
9709bd0088 get rid of drag_tests file: 2016-06-01 16:23:49 -07:00
Rachel Fenichel
1f2107ee08 add missing return in fake drag 2016-06-01 16:20:56 -07:00
Rachel Fenichel
3ddfabf064 Merge remote-tracking branch 'upstream/develop' into develop 2016-06-01 15:35:23 -07:00
rachel-fenichel
06a8c776b3 Merge pull request #390 from rachel-fenichel/feature/drag_tests
Add a button to randomly click and drag blocks in the playground.
2016-06-01 15:32:35 -07:00
Rachel Fenichel
53cf0be791 lint 2016-06-01 15:24:23 -07:00
Rachel Fenichel
dd205feda0 Add a button to randomly click and drag blocks in the playground. 2016-05-31 15:42:28 -07:00
Katelyn Mann
2db6841b66 Add a button to flip between flyouts and toolboxes. 2016-05-31 09:15:42 -07:00
Rachel Fenichel
bb9b088826 test page that creates random blocks and randomly drags them around the page 2016-05-27 13:53:46 -07:00
Rachel Fenichel
666536807a Add comments; scroll to start for always open flyout 2016-05-13 14:26:32 -07:00
Rachel Fenichel
77a8b92ac2 Merge branch 'develop' into feature/horizontal_toolbox_port 2016-05-11 11:44:38 -07:00
Rachel Fenichel
e63f5aa01e Merge branch 'develop' into cleanup/rendered_connection 2016-05-10 17:03:54 -07:00
rachel-fenichel
7b1fdcb7c6 make tests work; make connext_ a member function. 2016-05-10 15:45:19 -07:00
Daniel LaLiberte
8904fd1b9c Fix Dart and PHP lists_sort.
Add generator tests.
2016-05-05 17:58:08 -04:00
Dan LaLiberte
c1cfec8dbd Add lists_sort block. 2016-05-04 17:03:24 -04:00
Rachel Fenichel
497f86ebf2 Fix test 2016-04-27 13:23:14 -07:00
Rachel Fenichel
a27fe99be4 Merge branch 'develop' into feature/horizontal_toolbox_port 2016-04-25 14:25:36 -07:00
Neil Fraser
2d696aa731 Normalize order of languages. 2016-04-08 22:56:42 -07:00
Neil Fraser
99f332f749 Fix getBlockById unit test. Issue #323 2016-04-07 14:35:01 -07:00
rachel-fenichel
18a1550285 Horizontal toolbox layout with positioning at start or end. 2016-04-07 14:02:22 -07:00
Neil Fraser
4e42a1b78e Swap order of arguments on domToWorkspace. 2016-04-04 18:31:41 -07:00
Neil Fraser
a3b850b0d3 Merge pull request #287 from rachel-fenichel/feature/source_block_fn
Add a getter; stop accessing private field sourceBlock_ from outside …
2016-03-16 19:45:20 -07:00
rachel-fenichel
2c70f7ec26 Add a getter; stop accessing private field sourceBlock_ from outside of a connection. 2016-03-15 16:03:49 -07:00
rachel-fenichel
4ae34599e0 Don't connect a block with no next connection if that would force a bump. 2016-03-11 17:38:59 -08:00
Neil Fraser
ff7629f601 Merge pull request #282 from rachel-fenichel/bugfix/connection_logic
Fix connection.closest and tests.
2016-03-11 14:08:10 -08:00
rachel-fenichel
50975170d7 Fix search for closest 2016-03-11 13:13:34 -08:00
rachel-fenichel
23df4765c0 fix test 2016-03-11 11:41:02 -08:00
Rodrigo Queiro
a5d3f340e5 Add a Lua code generator
This is based on the JS generator, with a lot of inspiration from Ellen
Spertus's blockly-lua: https://github.com/espertus/blockly-lua

All unit tests pass with Lua 5.3.2.
2016-03-10 10:24:25 +01:00
Neil Fraser
55a94a14f0 Add naked variable to generator test. 2016-03-09 11:51:57 -08:00
rachel-fenichel
abd1b5c5b8 Merge pull request #266 from rachel-fenichel/feature/connection_db_testing
Connection db testing
2016-03-03 11:40:26 -08:00
Neil Fraser
016d2e74d7 IE does not have sessionStorage on file:// URLs. 2016-03-02 16:38:58 -08:00
Neil Fraser
5097963cb1 Reduce code duplication in 'if' block. 2016-03-01 18:21:02 -08:00
Rachel Fenichel
42065aec3d Cleaned up comments 2016-02-29 15:08:58 -08:00
Rachel Fenichel
7671986734 Move isConnectionAllowed to connection; clean up 2016-02-29 15:04:07 -08:00
Neil Fraser
6eb652cf70 Fix persistence of logging in playground. 2016-02-29 15:02:05 -08:00
Rachel Fenichel
c177fa5276 add searchForClosest 2016-02-26 16:35:22 -08:00
Rachel Fenichel
1b1d777bc5 Add isConnectionAllowed and tests for it 2016-02-26 16:17:17 -08:00
Rachel Fenichel
0a363803f0 Clean up removeConnection; port in more tests. 2016-02-26 14:41:49 -08:00
Rachel Fenichel
e3b05ad2c1 Move connection_db to a new file and start adding tests 2016-02-26 14:13:18 -08:00
Rachel Fenichel
9263e28263 Add tests for connection logic 2016-02-25 15:16:32 -08:00
Neil Fraser
a0a61d2f33 Add event grouping. Add event monitoring to playground. 2016-02-12 22:09:21 -08:00
Neil Fraser
4253de041a Remove old realtime. 2016-01-08 13:03:22 -08:00
Neil Fraser
1facefc3cf Support Python 3 (and 2) 2016-01-04 14:38:41 -08:00
Neil Fraser
23251b5187 Create workspace id database. 2015-12-09 10:17:40 +01:00
Neil Fraser
3b3ef79fbd Create block id database. 2015-12-09 10:02:42 +01:00