Commit Graph

108 Commits

Author SHA1 Message Date
Neil Fraser
2d696aa731 Normalize order of languages. 2016-04-08 22:56:42 -07:00
Neil Fraser
bb2214581c Corrections to ms. 2016-04-08 18:40:20 -07:00
Neil Fraser
effa81f622 Create fromJson for events. Add master-slave demo. 2016-04-06 14:27:15 -07:00
Neil Fraser
4e42a1b78e Swap order of arguments on domToWorkspace. 2016-04-04 18:31:41 -07:00
Neil Fraser
601ea15b75 Rename JSON's 'id' to 'type'. Issue #245. 2016-04-04 16:40:08 -07:00
Neil Fraser
5be735f24f Fix issue #309, unneeded names for dummy inputs in Block Factory. 2016-04-02 04:52:24 -07:00
Neil Fraser
92f224dd52 Merge pull request #297 from picklesrus/develop-perf-1
Remove Blockly.removeAllRanges and replace it with calls to add/remove
2016-03-28 12:17:11 -07:00
Katelyn Mann
b11bd4fb71 Remove Blockly.removeAllRanges and replace it with calls to add/remove
css to mark text as unselectable instead.  I can't prove this is
significantly faster with numbers since the call to setup the time out
costs ~.1ms and the call when the timer fires is ~.05.  This happens on almost
every mouse event though.  Plus, it seems to remove a flicker of highlighting when
frames are skipped and keeps scrolling via the scrollbar from highlighting.
2016-03-28 10:06:43 -07:00
Neil Fraser
e7fcc39e78 Remove redundant movable check from checkType. 2016-03-27 01:46:53 -07:00
Neil Fraser
05fc1ad91b Add workspace.clearUndo 2016-03-25 19:03:18 -07: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
Neil Fraser
a22b936229 Fix invalid colours in Block Factory. 2016-02-26 21:20:39 -08:00
Neil Fraser
1d44036cf9 Add missing move when unshadowing and missing XY when deleting. 2016-02-12 19:34:51 -08:00
Neil Fraser
211595075e Make colour optional in JSON. Add ;/n in generator stub. 2016-01-28 14:25:38 -05:00
Neil Fraser
9804b31bb0 Allow easier addition of custom loops or functions. 2016-01-21 18:16:25 -08:00
Neil Fraser
80f36f0629 Clean up for demo apps. 2016-01-08 13:58:18 -08:00
Neil Fraser
4253de041a Remove old realtime. 2016-01-08 13:03:22 -08:00
Neil Fraser
19c71573b7 Update messages.
Remove unused PROCEDURES_CALLNORETURN_CALL.  Add
PROCEDURES_DEFNORETURN_COMMENT and PROCEDURES_IFRETURN_HELPURL.
2015-12-17 15:34:23 -08:00
Neil Fraser
6acaf35967 Add workspace.newBlock, deprecate Blockly.Block.obtain. 2015-12-07 16:40:45 +01:00
Neil Fraser
fa279b91ce Add option to delete all blocks on workspace. 2015-12-02 22:10:09 -08:00
Neil Fraser
d717546cdc Adding Tamil to Code demo. 2015-12-01 12:45:29 -08:00
Muthiah Annamalai
86f35a40f9 1) Tamil translations to Blockly from generally accepted conventions of ezhillang.org and other implementations of Tamil programming scripts.
2) Resolves issue #144 on google/blockly
2015-11-21 16:38:16 -05:00
Neil Fraser
00ba0acf40 Clean up build file from previous PR. 2015-11-13 21:11:24 -08:00
Neil Fraser
dcd463b550 Add 'startScale' and remove 'enabled' options on zoom. 2015-10-21 13:25:02 -07:00
Neil Fraser
b503dd7d80 Add shadow blocks and category colours to code demo. 2015-10-12 21:00:29 -07:00
Neil Fraser
8fb16b61a3 Simplify Block factory init. 2015-10-04 17:41:59 -07:00
Prof Gra
d489c132db Typo: evironment -> environment. 2015-10-03 22:56:10 +02:00
Neil Fraser
ac9de0d915 Deprecate empty list block. 2015-10-02 15:38:39 -07:00
Neil Fraser
0c3dad0e1c Resize Code demo before injection to eliminate loading reflow. 2015-09-14 15:23:42 -07:00
Neil Fraser
5085ebfb24 Revert "Adding தமிழ்."
This reverts commit 02d75ca60b.
2015-08-19 18:03:47 -07:00
Neil Fraser
02d75ca60b Adding தமிழ். 2015-08-19 17:51:15 -07:00
Neil Fraser
5b7fec7092 Add zooming feature.
By carloslfu.
2015-08-19 17:21:05 -07:00
Neil Fraser
0274763beb Clean up temporary generator data. 2015-08-14 18:26:05 -07:00
Neil Fraser
be70863b07 Clean plane coordinates. Fix RTL alignment. 2015-07-28 12:09:52 -07:00
carlosperate
7612964a51 Change plane demo readme cli quotation marks for better compatibility. 2015-07-27 02:24:25 +01:00
carlosperate
195389a6e0 Increase the plane svg height and move the text to a second row. 2015-07-27 00:08:23 +01:00
g-rocket
25c5ee605e Fix typo (wth -> with) 2015-07-20 10:33:46 -04:00
carlosperate
6926da48c9 Block factory: close workspace drop downs and unfocus selections on manual edit. 2015-07-16 04:05:26 +01:00
Neil Fraser
e0f90e6e33 Adding more type documentation. 2015-07-13 15:03:22 -07:00
Neil Fraser
774a76f275 Allowing manual code editing in Block Factory. 2015-06-30 22:51:06 -07:00
Neil Fraser
345b0cb668 Remove selection in Block Factory when switching modes. 2015-06-29 17:06:36 -07:00
Neil Fraser
e300931071 Allow multiple interpolation messages. Fix variable context menus. 2015-06-27 12:49:01 -07:00
Neil Fraser
b37fb2bf8c Move datepicker CSS out of main codebase. 2015-06-13 16:29:21 -07:00
Neil Fraser
7e90591a21 Fix lastDummyAlign in Block Factory. 2015-06-12 18:19:53 -07:00
Neil Fraser
842783f442 Add block name as JSON id. 2015-06-11 18:06:44 -07:00
Neil Fraser
9bfca8b019 Tighten statement connections. 2015-06-11 15:28:45 -07:00
Neil Fraser
d817575767 Block Factory should show empty dummy inputs. 2015-06-10 23:15:09 -07:00
Neil Fraser
059c2f1778 Add automatic mode for internal/external input layout. 2015-06-10 18:45:15 -07:00
Neil Fraser
9050e32954 Adding JsonInit method of creating blocks. 2015-06-08 15:54:18 -07:00