Beka Westberg
78e2fb2f4b
Fixed adding a variable field programmatically when it has a following field. ( #3468 )
...
* Fixed adding a var field through mutator error.
2019-12-11 14:10:38 -08:00
Neil Fraser
a15d9611d0
Add missing requires.
2019-11-12 13:15:06 -08:00
Rachel Fenichel
13e4d671c3
Moved setHighlighted and setDisabled into the path object.
2019-11-01 14:28:51 -07:00
Neil Fraser
123f436e04
Add parens around inline assignments ( #3381 )
2019-10-31 15:17:35 -07:00
Rachel Fenichel
85c4db5a10
First pass at colourers
2019-10-30 14:42:13 -07:00
Sam El-Husseini
6df85b9ff3
Update mutator workspace delete areas when bubble is moved. ( #3355 )
...
* Update mutator workspace delete areas when its moved
2019-10-29 09:10:43 -07:00
alschmiedt
cbf867f441
Add keyboard navigation support for multiple workspaces ( #3352 )
...
* Add keyboard navigation support for multiple workspaces
2019-10-28 12:53:51 -07:00
Sam El-Husseini
3b25c514c2
Fix warnings related to icons and bubbles ( #3308 )
...
* Fix warnings related to bubbles.
2019-10-25 19:14:26 -04:00
Sam El-Husseini
3c2c4677df
Fix 55 warnings related to flyouts. ( #3211 )
...
* Fix 55 warnings related to flyouts.
2019-10-16 12:13:37 -05:00
Beka Westberg
a08d9f2277
Re-added resizeBubble_ call. Fixed resizeBubble_ JSDoc. ( #3173 )
2019-10-07 11:08:45 -07:00
Sam El-Husseini
2ac4149d98
Misc compiler warnings. ( #3172 )
...
* Fix misc compiler warnings. Use ws.getToolbox() instead of ws.toolbox_
2019-10-07 11:06:56 -07:00
Sam El-Husseini
d0772ad496
Fix compiler warnings related to fields. ( #3144 )
...
* Fix compiler warnings related to fields.
2019-10-03 15:58:46 -07:00
Rachel Fenichel
79bedca5a7
Element -> SVGElement ( #3140 )
...
* Use SVGElement instead of Element for the results of createSvgElement
* More SVGElement annotations.
2019-10-02 16:12:31 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Sam El-Husseini
870824bc3e
Workspace theme ( #3093 )
...
* Move the theme object so it's on the workspace.
* Add support for subscribing UI elements to theme component styles and changes.
2019-09-26 16:52:17 -07:00
Beka Westberg
9e5df6216a
Fixed comment ownership. ( #2923 )
...
* Moved comment icons to use a model-based system. The block holds the model of the comment, and the comment icon holds a reference to it.
* Reorganized the setVisible function.
* Changed how xml.js serializes and deserializes comments.
2019-09-20 13:16:07 -07:00
Sam El-Husseini
8ab51c8639
Remove closure base file dependency ( #2976 )
...
* Trim down closure's base dependency even further by removing the dependency on closure's base file.
2019-09-11 17:30:51 -07:00
Sam El-Husseini
8ce619e827
Renaming base util to global as that's all it's used for. ( #2958 )
...
* Renaming base util to global as that's all it's used for.
2019-09-04 10:09:56 -07:00
alschmiedt
7bba4fa59c
Moves the cursor to correct location when block is deleted ( #2887 )
...
* Moves the cursor to correct location when block is deleted
* Moves cursor on block mutation
2019-08-21 16:33:16 -07:00
Rachel Fenichel
b4109d7c43
Add no-multi-spaces rule
2019-07-31 09:33:54 -07:00
Neil Fraser
74be35e23d
Rename Blockly.Xml.utils to Blockly.utils.xml
2019-07-08 13:29:43 -07:00
Neil Fraser
848d3a3509
Move setCssTransform & createSvgElement to dom.
...
Also move SVG_NS and HTML_NS properties.
2019-06-07 10:32:57 -07:00
Neil Fraser
d1a29739d8
Move utilities into own directory.
...
TODO: There are more functions which may be migrated into dom and string.
2019-06-07 10:32:57 -07:00
Neil Fraser
9f528922a7
Fix some dependencies
2019-05-24 15:45:05 -07:00
Neil Fraser
4161ba0fa7
Move goog.global to Blockly.utils.global
...
Can’t use Blockly.global since that’s the last file to load.
2019-05-17 15:04:39 -07:00
Neil Fraser
25adb40e66
Prefix and suffix edge cases for flow statements.
...
Call suffix code on break/continue before executing the break/continue.
Call prefix code for enclosing loop before executing continue.
2019-05-14 17:19:31 -07:00
alschmiedt
c4f8313792
Updates function call
2019-04-08 14:14:56 -07:00
Neil Fraser
f118d33855
Corrections to JSDoc comments
2019-03-29 15:24:37 -07:00
Rachel Fenichel
fd8865bda6
Merge pull request #2311 from BeksOmega/fixes/AbsoluteMetrics
...
Changed Absolute Metrics to Avoid Simple Toolboxes
2019-03-01 11:01:50 -08:00
Beka Westberg
e0673faf41
Added event filtering to workspaceChanged in mutator. ( #2320 )
2019-02-27 16:06:37 -08:00
Beka Westberg
69718f2fd4
Removed accessing private flyout.width_ variable.
2019-02-26 16:33:18 -08:00
Beka Westberg
a0aa84d861
Changed absolute metrics to avoid simple toolboxes.
2019-02-23 14:34:26 -08:00
Neil Fraser
471b54bea8
Disable orphaned mutator blocks. ( #2304 )
2019-02-20 08:59:32 -08:00
alschmiedt
caf664db04
Small fixes
2019-01-09 15:38:30 -08:00
alschmiedt
d3a603ffd9
Update the style on blocks in the mutator
2018-12-21 09:00:55 -08:00
Neil Fraser
dddb94aedd
Fix circular dependency.
2018-10-16 11:34:10 -07:00
Neil Fraser
e62bb1af73
Remove all calls to goog.dom.createDom
...
All XML node cereations are now centralized.
2018-10-16 11:34:10 -07:00
Neil Fraser
284b79407e
Require Blockly.utils where needed.
2018-07-11 12:20:02 -07:00
Andrew n marshall
2c84161b4a
Correct require goog.Timer statements. ( #1906 )
2018-06-06 15:57:53 -07:00
Neil Fraser
662d79443f
Add 'ordered' option to descendant getting functions. ( #1786 )
2018-04-17 11:41:03 -07:00
Rachel Fenichel
701b187640
Fix #1699
2018-03-16 15:00:31 -07:00
Neil Fraser
b1e4648c3c
Use dataset instead of ID.
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
4c9b602523
Move event classes into separate files, and update requires accordingly
2018-02-27 17:47:33 -08:00
Rachel Fenichel
f3a4664dea
Delete extra variables at the end of a procedure argument edit
2018-02-15 17:18:23 -08:00
Rachel Fenichel
2b7b4bf3af
More lint
2018-01-24 16:40:07 -08:00
Rachel Fenichel
3e62ffc20a
Split at higher level for multiline function calls
2018-01-24 11:26:41 -08:00
Rachel Fenichel
3575d53018
57 errors remaining
2018-01-23 18:42:45 -08:00
picklesrus
de8d13eaa1
Fix lint errors so we can eventually run eslint on travis.
2017-11-02 14:05:29 -07:00
marisaleung
aff9c4867c
Correctly named block events called.
2017-06-08 15:44:43 -07:00