Commit graph

497 commits

Author SHA1 Message Date
Neil Fraser
b503dd7d80 Add shadow blocks and category colours to code demo. 2015-10-12 21:00:29 -07:00
Neil Fraser
59cadcb2d7 Add optional colour tabs on toolbox categories. 2015-10-12 17:30:41 -07:00
Neil Fraser
4dffad0dad Improve 'clean up' spacing. 2015-10-12 16:14:03 -07:00
Neil Fraser
879cacbb8d Add 'clean up blocks' command to workspace menu. 2015-10-09 19:22:22 -07:00
Neil Fraser
a6ea38db4a Stop shadow from reappearing when one block replaces another. Issue #193 2015-10-09 16:04:19 -07:00
Neil Fraser
b5844c45e2 Fix images on blocks that are created collaped. Issue #190. 2015-10-09 15:32:21 -07:00
Neil Fraser
701ae603b7 Fix headless connections. 2015-10-09 13:53:14 -07:00
Neil Fraser
29262cb441 Merge pull request #189 from kencheung/clone-refactoring-svg
Refactor duplicated callback function for collapse and expand options
2015-10-09 13:31:08 -07:00
Neil Fraser
799835943a Shadow Blocks 2015-10-06 18:09:27 -07:00
Neil Fraser
1140a6ccf2 Simplify XML parser. 2015-10-05 16:08:44 -07:00
Ken Cheung
18bac530d8 Refactor duplicated callback function for collapse and expand options 2015-10-05 21:26:16 +08:00
Neil Fraser
8fb16b61a3 Simplify Block factory init. 2015-10-04 17:41:59 -07:00
Neil Fraser
90e3ccb2b7 Add Blockly.BlockSvg.START_HAT option. 2015-10-04 07:15:18 -07:00
Neil Fraser
b992957390 Merge pull request #187 from Grahack/patch-2
Typo: evironment -> environment.
2015-10-03 15:08:08 -07:00
Prof Gra
d489c132db Typo: evironment -> environment. 2015-10-03 22:56:10 +02: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
ac9de0d915 Deprecate empty list block. 2015-10-02 15:38:39 -07:00
Neil Fraser
2d11522c0e Stop Firefox from jumping when widget div is displayed. Issue 186. 2015-10-01 20:23:46 -07:00
Neil Fraser
6f924e349a Speed up connection matching. Fix theoretical race condition. 2015-10-01 14:09:14 -07:00
Neil Fraser
c82c460da8 Move icon reference to block SVG.
No functional change.
2015-09-30 19:33:05 -07:00
Neil Fraser
7db8ce94de Minor simplifications to connections. 2015-09-29 23:12:32 -07:00
Neil Fraser
349146743b Remove dependency on goog.cssom. 2015-09-29 15:40:19 -07:00
Neil Fraser
fbab06082e Recompile language updates. 2015-09-28 14:17:53 -07:00
Neil Fraser
8ecfab014f Separate overlapping emboss filter and disabled pattern across multiple Blockly instances. Issue 184. 2015-09-28 12:20:28 -07:00
Siebrand Mazeland
abd8833dbc Localisation updates from https://translatewiki.net. 2015-09-25 16:05:59 +02:00
Neil Fraser
510d96276e Improve a couple of XML literal strings. 2015-09-24 15:20:31 -07:00
Neil Fraser
8beffc6c33 Fix dropdowns on scrolled pages. Issue 183. 2015-09-24 14:53:29 -07:00
Neil Fraser
33a0cc98de Switch focus to correct workspace when clicking on block. 2015-09-23 14:46:29 -07:00
Neil Fraser
47ad32f6c7 A better fix for the zoom center button. 2015-09-22 17:51:21 -07:00
Neil Fraser
890d8d8d73 Fix zoom center button. Reverse disconnect wiggle. 2015-09-22 17:28:51 -07:00
Neil Fraser
34f4b06797 Merge pull request #182 from trodi/master
adding type annotations
2015-09-22 15:57:02 -07:00
Neil Fraser
5538f70bc2 Remove unused files from blockly_uncompressed.js 2015-09-22 15:19:33 -07:00
Troy McKinnon
6d6716c3d3 adding type annotations 2015-09-22 13:32:14 -05:00
Neil Fraser
37777828f4 Fix disconnect sound in FF. 2015-09-22 11:14:25 -07:00
Neil Fraser
f23702f2c7 Turn off debugging in compiled mode. 2015-09-21 18:05:34 -07:00
Neil Fraser
317db942d5 Fix jump when blocks are added from top of flyout. Issue 179. 2015-09-21 16:23:33 -07:00
Neil Fraser
7ecf7df1cb Don't leave blockly_uncompressed.js empty for a long period during build. 2015-09-21 16:12:21 -07:00
Neil Fraser
c00f95f45b Stub out Realtime. Saves 15kb in blockly_compressed.js 2015-09-21 15:11:51 -07:00
Neil Fraser
bd77e4c1bf Fix deletion or cutting block that is being dragged. 2015-09-21 15:08:35 -07:00
Neil Fraser
2d60d94941 Re-allow output coupled with next statement. 2015-09-20 14:37:28 -07:00
Neil Fraser
c14951c928 Add disconnect sound and animation. 2015-09-20 14:28:39 -07:00
Neil Fraser
ad1d1261c8 Duplicate should spread blocks out like copy and paste do. 2015-09-18 18:46:19 -07:00
Neil Fraser
2b345bbcb6 Fix centering of fields. 2015-09-17 17:12:18 -07:00
Neil Fraser
0061482977 Disallow output coupled with next statement. 2015-09-17 16:47:13 -07:00
Neil Fraser
6f2f3914f6 Double rendering speeds by adding a cache to prevent repeated calls to getComputedTextLength. 2015-09-15 16:20:13 -07:00
Neil Fraser
76697301e7 Fix IE's failure to scroll grid (issue 173)
IE does not realize that when a pattern changes, objects painted with
said pattern need to be rerendered.
2015-09-14 16:17:36 -07:00
Neil Fraser
0c3dad0e1c Resize Code demo before injection to eliminate loading reflow. 2015-09-14 15:23:42 -07:00
Neil Fraser
3f8e586fe8 Use prototypes for primitive properties. 2015-09-12 19:31:22 -07:00
Neil Fraser
1b43699ae3 Use prototypes for Connection properties. 2015-09-12 18:44:14 -07:00
Neil Fraser
58db773526 Move trashcan split by 1px.
Firefox on Windows is off by a pixel.
2015-09-11 21:50:44 -07:00