Commit Graph

482 Commits

Author SHA1 Message Date
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
Neil Fraser
aaccb2ee1d Recompile language updates. 2015-09-11 21:47:17 -07:00
Siebrand Mazeland
33bd0ba350 Localisation updates from https://translatewiki.net. 2015-09-10 10:29:12 +02:00
Neil Fraser
cb26a13b00 Fix generators for deprecated controls_repeat block. 2015-09-07 19:42:22 -07:00
Neil Fraser
db940ca493 Fix reversed height and width on image fields. 2015-09-07 18:52:07 -07:00
Neil Fraser
8660bbe6e9 Make XML parser less fragile.
This allows fields and inputs to be deprecated.
2015-09-03 08:21:31 -07:00
Neil Fraser
ea96266408 Routine recompile. 2015-09-02 15:15:28 -07:00
Neil Fraser
e4c902a105 Fix RTL alignment of new blocks when zoomed. 2015-09-02 00:09:49 +01:00
Neil Fraser
f9d47bd39e Lay out trashcan and zoom controls more flexibly. 2015-09-01 22:44:33 +01:00
Neil Fraser
7568015c8c Scale the flyout as the workspace zooms. 2015-09-01 20:00:13 +01:00
Neil Fraser
8f73c6b042 Clean getSvgXY_.
No functional change.
2015-09-01 12:22:50 +01:00
Neil Fraser
ca9ee114bc Remove 'id' from XML unless realtime is enabled. 2015-08-28 09:53:03 +01:00
Neil Fraser
8aa8bbb53e Fix placement of blocks on zoomed flyouts. 2015-08-27 16:46:45 +01:00
Neil Fraser
d1d89abca8 Fix block locations on flyouts.
Output tabs are negative coordinates.
2015-08-27 15:08:26 +01:00
Neil Fraser
8540118fe0 Add optional class to FieldLabel. 2015-08-26 14:27:30 +01:00
Neil Fraser
f81a5bd11a Expand regex to handle IE's scientific notation. 2015-08-26 14:08:03 +01:00