Commit Graph

246 Commits

Author SHA1 Message Date
Rodrigo Queiro
37d3ecc304 Fix JSDoc syntax on Blockly.Lua.lists.getIndex_
Also fix a return type warning in one of the branches.
2016-03-14 15:08:49 +01:00
Rodrigo Queiro
0aec80a088 Add missing comma to Lua reserved words
This meant that variables could be called _, conflicting with use in Lua
as a dummy variable, and in particular with scrubNakedValue.
2016-03-14 15:07:30 +01: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
1facefc3cf Support Python 3 (and 2) 2016-01-04 14:38:41 -08:00
Neil Fraser
2f30034983 Fix infinity in Python, PHP, and Dart. 2015-10-24 23:53:07 -04:00
Neil Fraser
54ffdc5926 Don't allow shadow blocks to be deleted. 2015-10-21 12:58:52 -07:00
Neil Fraser
c413fa1678 Fix JS and PHP list/text blocks.
The length and is_empty blocks can take either text or lists.
2015-10-03 07:45:16 -07:00
Neil Fraser
cb26a13b00 Fix generators for deprecated controls_repeat block. 2015-09-07 19:42:22 -07:00
Neil Fraser
0274763beb Clean up temporary generator data. 2015-08-14 18:26:05 -07:00
Neil Fraser
bafb3016fd Remove duplicated generators. 2015-07-23 13:11:51 -07:00
Neil Fraser
e0f90e6e33 Adding more type documentation. 2015-07-13 15:03:22 -07:00
Neil Fraser
d8a72df17f Generalize PHP $ hack for variables. 2015-07-02 19:59:32 -07:00
Neil Fraser
d819db2acf Lint corrections. 2015-07-02 19:41:10 -07:00
Neil Fraser
edd3e3bf33 Lint corrections. 2015-06-17 13:05:24 -07:00
Neil Fraser
760d203c06 Fix PHP's blend colour block. 2015-06-04 15:41:09 -07:00
Neil Fraser
c95865a181 Fix PHP's RGB colour block. 2015-06-04 15:12:37 -07:00
daarond
d8468e3bf4 print statement fix from Neil's comments 2015-05-24 11:27:27 -05:00
daarond
58b41c9c46 changes from Neil's comments 2015-05-21 11:26:32 -05:00
daarond
6246631240 fixing constructor variable 2015-05-19 09:16:54 -05:00
daarond
b797f32e80 fixing reserved words from revert 2015-05-15 17:50:42 -05:00
daarond
64c35268d9 fixing name 2015-05-15 17:09:58 -05:00
daarond
2fc79ecdf3 fixing lists to pass tests 2015-05-13 16:05:04 -05:00
daarond
0faf2b7a53 still working on tests, lists are the only unfinished 2015-05-12 21:35:49 -05:00
daarond
867d6c03da changes from Neil's comments 2015-05-12 16:20:57 -05:00
daarond
37faa9937a more debugging 2015-05-11 21:18:12 -05:00
daarond
5e7f92cec3 more debugging 2015-05-10 00:40:01 -05:00
daarond
da2e0710bf fixing some items 2015-05-09 17:48:55 -05:00
daarond
f0c837bb2d starting php support addition 2015-05-09 16:52:36 -05:00
Neil Fraser
e571533f6a Cache list value in JS foreach loops. 2015-03-20 16:24:09 -07:00
Neil Fraser
0d6a3bf99f Replace trimLeft/trimRight functions (not supported by IE). 2015-03-05 16:41:55 -06:00
Neil Fraser
3e893da239 Rename 'text' to 'texts' to avoid collision with 'text' block. 2015-01-26 02:45:03 -08:00
Neil Fraser
1c39a638e3 Lint fixes. 2015-01-22 15:58:10 -08:00
Neil Fraser
e69f5f4502 Add list/text join/split block. 2015-01-18 16:54:30 -08:00
Neil Fraser
315a5fc762 Remove global workspace references from variable and procedure utilities. 2015-01-12 14:57:00 -08:00
Neil Fraser
0f8d01209c Headless workspaces and blocks. 2014-12-23 11:22:02 -08:00
Neil Fraser
ab133cb539 Move Code app to demos directory. 2014-11-20 15:37:12 -08:00
Neil Fraser
6539211104 Change official project URL. 2014-10-07 13:09:55 -07:00
Neil Fraser
8c252abae4 Updating wiki help URLs. 2014-09-19 22:14:51 -07:00
Neil Fraser
7122410373 Changing project location from Google Code to GitHub. 2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec Update to latest version. 2014-09-08 14:26:52 -07:00
ellen.spertus
6ee38cdec3 Automatic commit Tue Jan 28 03:00:09 PST 2014 2014-01-28 03:00:09 -08:00
ellen.spertus
bd778cdfea Automatic commit Wed Jan 15 03:00:09 PST 2014 2014-01-15 03:00:09 -08:00
ellen.spertus
ce63f70b37 Automatic commit Mon Jan 13 03:00:02 PST 2014 2014-01-13 03:00:02 -08:00
ellen.spertus
08f4022b38 Automatic commit Sat Jan 11 03:00:02 PST 2014 2014-01-11 03:00:02 -08:00
ellen.spertus
ea211c5080 Manual commit 2013-12-20 16:25:26 -08:00
ellen.spertus
a8acffd81c New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00