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
0db36f3866
Merge branch 'master' into develop
2016-03-09 11:53:49 -08:00
Neil Fraser
55a94a14f0
Add naked variable to generator test.
2016-03-09 11:51:57 -08:00
Siebrand Mazeland
0972321c74
Localisation updates from https://translatewiki.net .
2016-03-09 13:37:39 +01:00
Neil Fraser
55784580e9
Group mutations into same event.
2016-03-06 18:32:20 -08:00
Neil Fraser
02d60a2dbe
Group variable rename into same event.
2016-03-06 14:51:03 -08:00
Neil Fraser
65af8e58d4
Merge branch 'master' into develop
2016-03-03 17:49:09 -08:00
Neil Fraser
2a1ffa11c4
Add undo/redo. Also refactor connections.
...
Bugs in undoing mutators and renaming variables.
2016-03-03 17:48:54 -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
Niklas Laxström
ed76e1b067
Localisation updates from https://translatewiki.net .
2016-03-03 08:18:09 +01: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
d29ffdc283
Lint
2016-02-29 15:50:12 -08:00
Neil Fraser
43d0b291b6
Merge pull request #272 from picklesrus/scroll-master
...
Add missing semicolons to methods. Oops.
2016-02-29 15:40:07 -08:00
picklesrus
2875a2e8a7
Add missing semicolons to methods. Oops.
2016-02-29 15:13:27 -08:00
Neil Fraser
fee94ae405
Allow injection based on CSS selector (based on PR 249).
2016-02-29 15:11:00 -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
3fe9ca6971
Merge branch 'master' into develop
2016-02-29 15:02:47 -08:00
Neil Fraser
6eb652cf70
Fix persistence of logging in playground.
2016-02-29 15:02:05 -08:00
Neil Fraser
1ae7b8e29e
Merge pull request #270 from picklesrus/scroll-master
...
Rearrange code in ScrollbarPair set so that all the getAttribute
2016-02-29 14:47:48 -08:00
picklesrus
39653b697d
Rearrange code in ScrollbarPair set so that all the getAttribute
...
calls come before all of the setAttribute calls. This gets rid
of an unnecessary layout pass on mouseMove events.
2016-02-29 10:22:51 -08:00
Niklas Laxström
73fc630244
Localisation updates from https://translatewiki.net .
2016-02-29 17:08:14 +01:00
Neil Fraser
4c542240e2
Provide default getVars and renameVar functions. Issue 265.
2016-02-27 12:28:32 -08:00
Neil Fraser
a22b936229
Fix invalid colours in Block Factory.
2016-02-26 21:20:39 -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
Neil Fraser
b567d6b0d7
Allow shadow blocks to be edited.
2016-02-26 00:22:31 -08:00
Neil Fraser
ea6d875c34
Merge pull request #263 from rachel-fenichel/feature/rendering_refactor
...
Extract rendering code from block_svg.
2016-02-25 18:03:14 -08:00
Neil Fraser
924047cbf0
Merge pull request #264 from rachel-fenichel/feature/connection_refactor_continue
...
Add tests for connection logic
2016-02-25 18:00:56 -08:00
Rachel Fenichel
5cb6cf5a1d
Fix js style
2016-02-25 15:30:05 -08:00
Rachel Fenichel
9263e28263
Add tests for connection logic
2016-02-25 15:16:32 -08:00
rachel-fenichel
c2f879ad14
Merge pull request #262 from rachel-fenichel/feature/connection_refactor
...
Minor connection refactor
2016-02-25 14:36:56 -08:00
Rachel Fenichel
9de572283e
Refactor: pull rendering code out of block_svg
2016-02-25 13:55:36 -08:00
Rachel Fenichel
67aa5ef5bc
Minor refactor of connection code
2016-02-25 13:37:19 -08:00
Neil Fraser
9f3824b966
Merge branch 'master' into develop
2016-02-25 11:11:37 -08:00
Neil Fraser
4d4521bed3
Fix scaled RTL coordinates.
2016-02-25 11:08:59 -08:00
Niklas Laxström
515a61e4a8
Localisation updates from https://translatewiki.net .
2016-02-25 09:10:33 +01:00
Neil Fraser
e6db687234
Fix startScale on workspaces without a fixed flyout.
2016-02-24 19:27:03 -08:00
Neil Fraser
f0d04ba16b
Fix RTL flyout events.
2016-02-24 16:52:55 -08:00
Niklas Laxström
217c7d7c8a
Localisation updates from https://translatewiki.net .
2016-02-22 08:37:18 +01:00
Siebrand Mazeland
9b6b0905c9
Localisation updates from https://translatewiki.net .
2016-02-19 14:58:43 +01:00
Neil Fraser
3e0709c89d
Merge branch 'master' into 2016
2016-02-16 22:19:54 -08:00
Neil Fraser
d404fa8c9d
Merge pull request #258 from google/2016
...
Fix issue 251, $ in ID.
2016-02-16 22:19:36 -08:00
Neil Fraser
4d882540df
Merge branch 'master' into 2016
2016-02-16 22:17:55 -08:00
Neil Fraser
aeabf0ec6f
Fix issue 251, $ in ID.
2016-02-16 22:16:36 -08:00
Neil Fraser
18684d9cbd
Merge pull request #257 from google/2016
...
2016
2016-02-16 21:57:54 -08:00
Neil Fraser
6e6a04b879
Add X/Y coordinates and block ID to create event.
2016-02-16 21:57:22 -08:00