Andrew n marshall
e9d8e00a55
Making all blocks use the MSG colour values. ( #1749 )
...
* Making all blocks use the MSG colour values.
* Deprecating Blockly.Constants.Lists.HUE and similar constants.
* Removing deprecated Blockly.Blocks.lists.HUE constants.
* Allowing message references in the Block.setColour() parameter.
* Adding checking of older constants, ensuring they are not overwritten.
2018-04-09 17:37:47 -07:00
Rachel Fenichel
9f07d04709
Simple tests for getContentDimensions
2018-04-09 11:28:18 -07:00
translatewiki.net
d3a9d96841
Localisation updates from https://translatewiki.net .
2018-04-09 08:14:44 +02:00
Rachel Fenichel
59faff4979
Merge pull request #1766 from rachel-fenichel/lint/args_ignore_pattern
...
Add argsIgnorePattern to the eslintrc
2018-04-06 17:49:28 -07:00
Rachel Fenichel
52e0241f66
Add argsIgnorePattern to the eslintrc
2018-04-06 13:29:22 -07:00
Rachel Fenichel
bd42a09f31
Merge pull request #1763 from rachel-fenichel/feature/goto_block
...
Add a function to scroll the workspace to center on a given block
2018-04-06 11:42:10 -07:00
Rachel Fenichel
112f48592f
Return early if there's no block
2018-04-05 18:19:56 -07:00
Rachel Fenichel
5964278e7d
Handle RTL
2018-04-05 18:16:05 -07:00
Rachel Fenichel
3a4adb3b0d
Scroll to the procedure definition from the procedure call context menu
2018-04-05 17:57:47 -07:00
Rachel Fenichel
2884bdfaa8
Use hideChaff instead of WidgetDiv.hide; move function closer to similar functions.
2018-04-05 17:42:37 -07:00
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
Rachel Fenichel
8609d502c9
Add a function to scroll the workspace to center on a given block
2018-04-05 11:33: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