Commit Graph

2562 Commits

Author SHA1 Message Date
Neil Fraser
35f7357878 Strip coordinates from storage of single block stacks.
When loading, place blocks with no coordinates at 10,10 instead of 0,0.
2018-04-05 14:04:06 -07:00
translatewiki.net
d06ebea082 Localisation updates from https://translatewiki.net. 2018-04-05 09:14:08 +02:00
Rachel Fenichel
172b60f404 Merge pull request #1761 from trodi/disabled-toolbox-block
Allow block xml disable tag to be more accepting
2018-04-04 13:32:08 -07:00
Troy McKinnon
65d0b8fda7 Allow block xml disable tag to be more accepting 2018-04-04 13:42:01 -05:00
Rachel Fenichel
65fe7cc96a Merge pull request #1752 from samelhusseini/develop_unplugblock
Snap a single block from a stack (if meta key is pressed)
2018-04-02 09:27:09 -07:00
Sam El-Husseini
3926b3f7aa Heal stack of any of the meta keys are pressed when dragging. Fixes Google/blockly#1485 2018-03-30 14:25:50 -07:00
Rachel Fenichel
ccca62b263 Merge pull request #1751 from jandrewb/jandrewb-patch-1
Fix #1745
2018-03-30 13:59:19 -07:00
jandrewb
237a7d5590 Fix #1745 2018-03-29 19:46:16 -05:00
picklesrus
063b5d880c Add a test block with a dropdown containing both text and images (#1748) 2018-03-29 13:15:20 -07:00
translatewiki.net
d13d303fa8 Localisation updates from https://translatewiki.net. 2018-03-29 09:03:35 +02:00
Rachel Fenichel
9304b6bddb Merge pull request #1742 from samelhusseini/contextmenuflyout
Don't show create VAR and create Function context menu options when in the flyout
2018-03-28 10:52:47 -07:00
Rachel Fenichel
a8ff2af394 Merge pull request #1737 from rachel-fenichel/feature/enable_pinch_to_zoom
Enable touch gestures and pinch-to-zoom
2018-03-28 10:24:12 -07:00
Rachel Fenichel
24b7ab1052 Merge pull request #1738 from rachel-fenichel/bugfix/1484
Create an empty pattern if there is no grid.
2018-03-28 10:23:54 -07:00
Sam El-Husseini
c248ff8f43 Remove chromedriver 2018-03-27 23:42:16 -07:00
Sam El-Husseini
134b32fe56 Don't show create var getter in block contextmenu when in flyout 2018-03-27 23:40:54 -07:00
Rachel Fenichel
d85c0dab74 Fix #1484 2018-03-27 16:22:50 -07:00
Rachel Fenichel
d45170b118 Enable touch gestures and pinch-to-zoom 2018-03-27 16:08:03 -07:00
Neil Fraser
b296ffebd0 Stop storing IDs on every block in our datastore. 2018-03-27 13:56:01 -07:00
Rachel Fenichel
830fb54c2d Merge pull request #1733 from rachel-fenichel/cleanup/this_annotations
Add @this annotations in blocks/text.js
2018-03-27 11:33:09 -07:00
Rachel Fenichel
b402f3c204 Add @this annotations in blocks/text.js 2018-03-26 14:32:49 -07:00
Neil Fraser
ec6b5c7f96 Dragging blocks towards the toolbox should create blocks rather than do nothing
Recreation of commit c2bf01ab48 which got
lost in a refactor.
2018-03-22 16:47:55 -07:00
Rachel Fenichel
300446964e Merge pull request #1727 from google/rachel-fenichel-patch-1
Make bind/unbindEvent_ public
2018-03-22 13:14:35 -07:00
Rachel Fenichel
2c7520a9db Make bind/unbindEvent_ public 2018-03-22 12:14:58 -07:00
translatewiki.net
735abd2cce Localisation updates from https://translatewiki.net. 2018-03-22 08:06:29 +01:00
Rachel Fenichel
1400bcb466 Merge pull request #1716 from rachel-fenichel/lint_rules
Lint rule updates
2018-03-19 14:56:14 -07:00
Rachel Fenichel
6d83b9bc28 Add keyword-spacing rule to eslint 2018-03-19 13:10:29 -07:00
Rachel Fenichel
3f77ceb823 Tighten line length rule from 120 to 100 2018-03-19 13:08:47 -07:00
translatewiki.net
d884c7dc85 Localisation updates from https://translatewiki.net. 2018-03-19 20:54:47 +01:00
Neil Fraser
a3b26c4ea7 Add source code link to custom dialog demo.
Fix typos.
2018-03-19 12:04:46 -07:00
Rachel Fenichel
701b187640 Fix #1699 2018-03-16 15:00:31 -07:00
Neil Fraser
6ff49fb3bf Prevent fatal errors in browsers that don't support dataset. 2018-03-16 14:46:05 -07:00
Neil Fraser
554e644017 Don't compute (useless) location of trashcan while workspace is being built.
Theoretical performance bump, fixes crash in Opera 12.
2018-03-16 14:46:05 -07:00
Neil Fraser
b1e4648c3c Use dataset instead of ID. 2018-03-16 14:46:05 -07:00
Neil Fraser
0be4c80224 Add warning_level directives to build.
No functional change, but shows where this setting can be altered.
2018-03-16 14:46:05 -07:00
Neil Fraser
867dcdb716 Add IDs to bubbles. 2018-03-16 14:46:05 -07:00
Rachel Fenichel
7c48c271fd Merge pull request #1710 from rachel-fenichel/bugfix/391
Add hook for custom context menus on the workspace
2018-03-16 12:29:32 -07:00
Rachel Fenichel
81bc4674bc Add hook for custom context menus on the workspace 2018-03-16 10:58:23 -07:00
Rachel Fenichel
70d782f24c Merge pull request #1708 from rachel-fenichel/compiler_warnings
Warnings in drag surface classes
2018-03-15 14:45:16 -07:00
Rachel Fenichel
33d30f1907 Merge pull request #1707 from google/rachel-fenichel-patch-2
Get rid of variable redeclaration
2018-03-15 13:57:22 -07:00
Rachel Fenichel
e46e69944e Merge pull request #1706 from google/rachel-fenichel-patch-1
Make undoStack_ and redoStack_ protected
2018-03-15 13:57:12 -07:00
Andrew n marshall
63e33c8894 Custom Dialogs demo: Bumping backdrop Z. (#1705) 2018-03-15 13:15:20 -07:00
Rachel Fenichel
f3107a49d0 Warnings in drag surface classes 2018-03-15 13:05:43 -07:00
Rachel Fenichel
8de5b3ee9f Get rid of variable redeclaration 2018-03-15 13:04:09 -07:00
Rachel Fenichel
d1d60eb62a Make undoStack_ and redoStack_ protected 2018-03-15 13:02:12 -07:00
Rachel Fenichel
fe2a7499d2 Merge pull request #1703 from rachel-fenichel/compiler_warnings
Fix more compiler warnings
2018-03-15 10:23:13 -07:00
translatewiki.net
1a4cadef68 Localisation updates from https://translatewiki.net. 2018-03-15 15:51:26 +01:00
Rachel Fenichel
d4c3835a5e Fix more compiler warnings 2018-03-14 17:37:32 -07:00
Rachel Fenichel
90a3730424 Fix more compiler warnings 2018-03-14 17:05:19 -07:00
Rachel Fenichel
40bb0d1221 Merge pull request #1687 from samelhusseini/develop_pointerfixes
Pointer Event fixes
2018-03-12 15:04:50 -07:00
Neil Fraser
c7b29d0bc0 Expose block ID in SVG. (#1698) 2018-03-12 14:04:03 -07:00