Neil Fraser
64dadc2482
Merge branch 'develop'
2016-03-25 19:04:23 -07:00
Neil Fraser
0626724277
Merge branch 'master' into develop
2016-03-25 19:03:37 -07:00
Neil Fraser
05fc1ad91b
Add workspace.clearUndo
2016-03-25 19:03:18 -07:00
Neil Fraser
db980dbf94
Merge branch 'develop'
2016-03-24 21:32:02 -07:00
Neil Fraser
65a25ffb7e
Don't offer to cleanup blocks in non-scrolling workspace.
2016-03-24 21:31:13 -07:00
Neil Fraser
4585e21d9f
Allow checkmark customization.
...
Issue 295.
2016-03-24 17:18:21 -07:00
Neil Fraser
ad37d69af9
Merge branch 'master' into develop
2016-03-24 16:57:11 -07:00
Neil Fraser
a2176e43d9
Merge pull request #298 from google/develop
...
Undo/Redo
2016-03-24 16:56:58 -07:00
Neil Fraser
82fdb5805b
Fix leaky group. Recompile.
2016-03-24 16:54:53 -07:00
Neil Fraser
e0ebce1b60
Fix undoing function argument changes.
2016-03-24 15:30:29 -07:00
Neil Fraser
39fbd24659
Remove setProcedureParameters from API (use domToMutation instead).
2016-03-22 10:48:13 -07:00
Neil Fraser
d086634394
Lint and recompile.
2016-03-18 15:19:26 -07:00
rachel-fenichel
cd3b563e54
Merge pull request #292 from rachel-fenichel/cleanup/constants
...
Move constants to their own file
2016-03-18 14:36:17 -07:00
rachel-fenichel
b37efe829e
Move constants to their own file
2016-03-18 14:35:18 -07:00
Neil Fraser
a7892d1aee
Raise error if statement block returns tuple.
2016-03-18 14:17:31 -07:00
Neil Fraser
6ae436a153
Add undo/redo context menu options on workspace.
2016-03-17 14:44:26 -07:00
Neil Fraser
a7d181a58a
Merge branch 'master' into develop
2016-03-17 13:38:13 -07:00
Niklas Laxström
702dbc36b9
Localisation updates from https://translatewiki.net .
2016-03-17 08:44:28 +01:00
Neil Fraser
0b5338b707
Simplify function statement toggle reconnection.
2016-03-16 23:11:55 -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
Neil Fraser
2b96d7a756
Don't select blocks if readOnly is changed.
2016-03-16 19:10:36 -07:00
Neil Fraser
3bf04aedc6
Add toJson to events.
2016-03-16 17:55:44 -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
Neil Fraser
95fbc0bb49
Fix checkbox events. Fix block deletion while mutator is open.
2016-03-14 23:14:58 -07:00
Neil Fraser
72bb08a4ec
Add undo/redo.
...
Some bugs in undoing function argument changes.
2016-03-14 23:14:05 -07:00
Neil Fraser
8fb1178ed8
Update message descriptions.
2016-03-14 16:00:25 -07:00
Neil Fraser
02924bc34c
Merge branch 'master' into develop
2016-03-14 15:53:39 -07:00
Neil Fraser
be2626551f
Merge pull request #285 from drigz/reswords
...
Add missing comma to Lua reserved words
2016-03-14 15:53:25 -07:00
rachel-fenichel
7b77527d57
Merge pull request #284 from rachel-fenichel/feature/last_in_stack
...
consider the last block on the stack when looking for places to attac…
2016-03-14 13:29:11 -07:00
rachel-fenichel
7f1081fe41
Merge pull request #283 from rachel-fenichel/feature/connect_no_next
...
Don't connect a block with no next connection if that would force a b…
2016-03-14 13:10:39 -07:00
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
Niklas Laxström
9ce81a24aa
Localisation updates from https://translatewiki.net .
2016-03-14 08:05:02 +01:00
rachel-fenichel
74ea1f1ffe
consider the last block on the stack when looking for places to attach a dragging stack.
2016-03-11 18:07:26 -08: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
06ff90bcaf
Merge pull request #274 from picklesrus/bbox-develop
...
Replace the call to getBBox() in getMainWorkspaceMetrics
2016-03-11 14:24:01 -08:00
Neil Fraser
580ff24a2a
Merge pull request #280 from rachel-fenichel/bugfix/fix_requires
...
Require ConnectionDB where needed; recompile
2016-03-11 14:09:16 -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
f978826f77
Require ConnectionDB where needed; recompile
2016-03-11 12:16:25 -08:00
rachel-fenichel
23df4765c0
fix test
2016-03-11 11:41:02 -08:00
Neil Fraser
acea30294b
Merge pull request #279 from drigz/add-lua-squashed
...
Add a Lua code generator
2016-03-10 12:30:11 -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
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