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
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
72bb08a4ec
Add undo/redo.
...
Some bugs in undoing function argument changes.
2016-03-14 23:14:05 -07:00
Neil Fraser
55a94a14f0
Add naked variable to generator test.
2016-03-09 11:51:57 -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
Neil Fraser
5097963cb1
Reduce code duplication in 'if' block.
2016-03-01 18:21:02 -08:00
Neil Fraser
4c542240e2
Provide default getVars and renameVar functions. Issue 265.
2016-02-27 12:28:32 -08:00
Neil Fraser
63c112932b
Rename Field.setChangeHandler to Field.setValidator
2016-02-10 14:33:13 -08:00
Neil Fraser
06858e8972
Trivial number/text/colour blocks should inherit parent's tooltip.
2016-02-02 16:20:02 -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
15a18b7d9f
Merge remote-tracking branch 'origin/2016' into 2016
...
# Conflicts:
# msg/json/en.json
2015-12-17 15:36:46 -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
Madeeha
7d48f253e6
changing the controls_if_if block to allow controls_if_elseif and controls_if_else blocks to attach to the bottom of the if block instead of in the middle of the block.
2015-12-17 15:29:50 -08:00
Neil Fraser
a5ea93a1db
Allow comments in flyouts.
2015-12-17 14:16:04 -08:00
Neil Fraser
6acaf35967
Add workspace.newBlock, deprecate Blockly.Block.obtain.
2015-12-07 16:40:45 +01:00
Neil Fraser
ac9de0d915
Deprecate empty list block.
2015-10-02 15:38:39 -07:00
Neil Fraser
218fdc667d
Fix duplicate procedure naming.
...
https://groups.google.com/forum/#!topic/blockly/2q0pleoMIco
2015-08-25 14:11:07 +01:00
Neil Fraser
535b4202d9
Convert 5 blocks to JSON.
...
No functional change.
2015-08-24 01:28:43 -07:00
Neil Fraser
7a5580b3d3
Minor lints from PR 150.
2015-08-08 15:15:58 -07:00
Neil Fraser
8d87f73f45
Fix types in lists_split block.
2015-07-28 13:00:03 -07:00
Neil Fraser
bafb3016fd
Remove duplicated generators.
2015-07-23 13:11:51 -07:00
Neil Fraser
179052792c
Save dynamic output types in XML.
2015-07-22 17:17:01 -07:00
Neil Fraser
64bd9d498d
Stop calling onchange on deleted blocks.
2015-07-13 14:16:09 -07:00
Neil Fraser
d1f6bdb173
Make Block.getField public.
2015-07-02 16:14:10 -07:00
Neil Fraser
e300931071
Allow multiple interpolation messages. Fix variable context menus.
2015-06-27 12:49:01 -07:00
Neil Fraser
aa746641fa
Add type check to loop param.
2015-06-24 10:34:53 -07:00
Neil Fraser
41b2a61931
Fix NaN in if block (issue #109 ).
2015-06-17 14:59:03 -07:00
Neil Fraser
edd3e3bf33
Lint corrections.
2015-06-17 13:05:24 -07:00
Neil Fraser
059c2f1778
Add automatic mode for internal/external input layout.
2015-06-10 18:45:15 -07:00
Neil Fraser
838a6a954b
Remove interpolateMsg.
2015-06-08 18:38:33 -07:00
Neil Fraser
9050e32954
Adding JsonInit method of creating blocks.
2015-06-08 15:54:18 -07:00
Neil Fraser
6218777acc
Reduce image sizes by using greyscale.
2015-05-10 15:13:50 -07:00
Neil Fraser
f454f77910
Break out procedure call argument rendering into separate function.
2015-04-30 14:57:14 -07:00
Neil Fraser
17961f7f58
Support multiple Blockly instances.
2015-04-28 13:51:25 -07:00
Neil Fraser
6dc6837981
Fix procedure param error.
2015-04-06 14:27:55 -07:00
Neil Fraser
706080c7ae
Prevent 'c?a:b' block from performing type violations.
2015-03-22 01:53:17 -07:00
Neil Fraser
6ee32c285a
Allow enabling/disabling of spellcheck on text fields.
2015-02-25 13:35:37 -08:00
Ryan Loader
4a5f0a0bf1
Fixed issue with mutated function call blocks
2015-02-17 11:35:37 +13:00
Neil Fraser
b36a88f423
Fix bad rendering of collapsed function calls.
2015-02-10 14:42:54 -08:00
Neil Fraser
9e81d41181
Fix missing procedure argument text fields (issue 61).
2015-02-06 16:23:20 -08:00
Neil Fraser
deb133cc25
Improve previous commit (faster, remove dependency).
2015-02-02 17:00:19 -08:00
Paul Kendall
82f1ab1157
Fix the logic block to bump the correct block.
...
Previously it was always bumping the first block added
even if you are putting the new block over the first block, so it
bumped the new block as well.
2015-02-03 11:06:57 +13:00
Neil Fraser
69294d8344
Change logic compare block to eject mismatched blocks.
2015-01-28 17:45:13 -08:00
Neil Fraser
193c47420c
Refactor previous merge.
2015-01-28 17:07:22 -08:00
Paul Kendall
1bf394ad83
Update logic block so it is reactive to the input attahced to it.
...
i.e. if you place a number in an input the other input changes it's type to number as well.
When you remove all inputs it reverts back to allowing any input type.
2015-01-29 13:26:18 +13:00
Neil Fraser
ddcf1ac969
Factor out hues into constants.
2015-01-26 01:20:03 -08:00
Neil Fraser
e69f5f4502
Add list/text join/split block.
2015-01-18 16:54:30 -08:00
Neil Fraser
c6fc29b4a2
Make 'WITH' text field be optional (for Blockly Games).
2015-01-06 16:29:27 -08:00