Commit Graph

591 Commits

Author SHA1 Message Date
Neil Fraser
5ca8b36cfc Allow <sep> to be used to add gaps between blocks. 2016-02-05 18:41:47 -08:00
Neil Fraser
3e6e962412 Merge pull request #247 from picklesrus/drag-perf
Cache delete area rectangle bounds in the on mouse down event
2016-02-04 11:34:27 -08:00
picklesrus
80d8d55315 Cache delete area rectangle bounds in the on mouse down event
to avoid getting it for every mouse move event. The delete areas
won't change while the user is dragging blocks around.
Also switch calculations for delete area inclusion to be done in
client coordinates so we don't have to convert to svg coordinates on
every mouse move event.
This should speed up dragging blocks a bunch.
2016-02-03 15:36:39 -08:00
Neil Fraser
0585cea1e3 Fix capacity filter to reenable blocks in non-closing flouts. 2016-02-02 19:53:52 -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
acd6af1c45 Add Move event. 2016-02-02 00:28:49 -08:00
Neil Fraser
0027d9294a Double speed of workspace drag. 2016-02-01 16:13:05 -08:00
Neil Fraser
bbfd883629 Reduce duplication in Connection.connect. Support shadow statement blocks. Fix race condition. 2016-01-30 13:08:47 -05:00
Neil Fraser
a114849545 Remove duplicated connection path from connection.js 2016-01-28 22:12:42 -05: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
c429949a4e Add Create, Delete, and Change events.
Not counting change for mutators.
2016-01-20 19:11:03 -08:00
Neil Fraser
36fe3994c9 Misc cleanup. 2016-01-15 15:36:06 -08:00
Neil Fraser
4b0ed0d372 Add custom event file. 2016-01-12 16:47:18 -08:00
Neil Fraser
8fad5b1b16 Merge branch 'master' into 2016 2016-01-08 15:15:02 -08:00
Neil Fraser
dc1f03a168 Merge pull request #231 from carlosperate/toolbox_nodes
Allow XML DOM nodes to be injected as toolbox in IE
2016-01-08 15:13:47 -08:00
Neil Fraser
b1b96e45db Merge pull request #228 from google/2016
Update from 2016 dev branch.
2016-01-08 14:03:22 -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
3bce368115 Simplify workspace options by removing svg property. 2016-01-07 17:01:01 -08:00
carlosperate
bda78da155 Allow nodes input to toolbox injection in IE 2016-01-05 00:56:57 +00:00
Neil Fraser
1facefc3cf Support Python 3 (and 2) 2016-01-04 14:38:41 -08:00
Neil Fraser
9746650aee Disable comment creation in IE. 2016-01-04 12:05:41 -08:00
Neil Fraser
554244fd35 Allow string hues. 2015-12-18 19:45:39 -08:00
Neil Fraser
c374827204 Routine recompile. 2015-12-17 15:38:50 -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
8738da0def Merge branch 'master' into 2016 2015-12-17 14:25:35 -08:00
Neil Fraser
a5ea93a1db Allow comments in flyouts. 2015-12-17 14:16:04 -08:00
Neil Fraser
26828d6c08 Simplify gear icon. 2015-12-16 18:22:42 -08:00
Neil Fraser
e1acdf5caf Allow RGB colours. 2015-12-13 19:13:05 +01:00
Neil Fraser
19263bdd5b Vectorize icons. 2015-12-13 11:06:15 +01:00
Siebrand Mazeland
a77788deb4 Localisation updates from https://translatewiki.net. 2015-12-11 07:35:27 +01:00
Neil Fraser
23251b5187 Create workspace id database. 2015-12-09 10:17:40 +01:00
Neil Fraser
3b3ef79fbd Create block id database. 2015-12-09 10:02:42 +01:00
Neil Fraser
b2bbde04a1 Support custom CSS in JSON. 2015-12-08 10:07:56 +01:00
Neil Fraser
6acaf35967 Add workspace.newBlock, deprecate Blockly.Block.obtain. 2015-12-07 16:40:45 +01:00
Neil Fraser
dff95fc7b0 Allow for mutators with no quarks. 2015-12-04 23:35:39 -08:00
Neil Fraser
96e130d113 Remove old realtime files. 2015-12-02 22:37:55 -08:00
Neil Fraser
fa279b91ce Add option to delete all blocks on workspace. 2015-12-02 22:10:09 -08:00
Neil Fraser
97e5e12d13 Merge pull request #215 from AllisonLamm/patch-1
fixing JSDoc format
2015-12-02 12:07:41 -08:00
Neil Fraser
e7e38810f8 Merge pull request #213 from tarling/doCommand
Fix to Blockly.doCommand to call Blockly.Realtime.isEnabled
2015-12-02 12:06:47 -08:00
Allison Lamm
137905df69 fixing JSDoc format 2015-12-02 11:09:50 -06:00
James Tarling
ce8bbd6650 Reverted change to compiled js files to simplify PR merge 2015-12-02 11:25:57 +00:00
Neil Fraser
d717546cdc Adding Tamil to Code demo. 2015-12-01 12:45:29 -08:00
Neil Fraser
5fc559c730 Merge pull request #209 from Immortalin/master
Fix potential issue with naming and merged changes from techplexengineer to ensure headless works
2015-12-01 12:41:46 -08:00
Neil Fraser
35bf4d0f53 Merge pull request #211 from arcturusannamalai/master
1) Tamil translations to Blockly from generally accepted conventions …
2015-12-01 12:30:48 -08:00
Neil Fraser
cd36f2ca12 Merge pull request #214 from trodi/type-data
adding additional type annotations
2015-12-01 12:29:08 -08:00
Neil Fraser
383ca8258c Fix toolbar with both colours and subcategories.
Also fix updating of toolbar after loading Blockly.
2015-12-01 12:28:19 -08:00