Commit Graph

4308 Commits

Author SHA1 Message Date
Rachel Fenichel
ae111744b6 Rebuild 2019-10-14 12:55:48 -06:00
RoboErikG
52a6992dfc Remove multi-line comments to avoid escaping (#3231) (#3232)
Fixes #3230 by removing multi-line comments for procedures.
2019-10-14 11:22:08 -07:00
Sam El-Husseini
31db570cd1 Fix #2811 (#3205) (#3207) 2019-10-09 11:16:26 -07:00
Rachel Fenichel
b8ce62dec9 Merge pull request #3200 from rachel-fenichel/cp_3199
Version of #3199 for release
2019-10-08 16:28:37 -07:00
Rachel Fenichel
032dfa70b3 Version of #3199 for release 2019-10-08 14:26:23 -07:00
RoboErikG
6ff3ff2e85 Set correct defaults for Fields (#3179) (#3195)
null was being converted to 0 by Number() when it should cause the
default value to be set instead. This updates FieldNumber and
FieldAngle to handle nulls correctly. Also update jsdoc.

Fixes #3177
2019-10-08 11:31:48 -07:00
Sam El-Husseini
cbf8b4b18d Add setLocale to the Blockly typescript definition file. (#3197) 2019-10-08 11:13:00 -07:00
Sam El-Husseini
60d69b9dba Add support for setting the direction in RTL. (#3192) 2019-10-07 17:31:28 -07:00
alschmiedt
101bf3d94f Fix capitalization (#3182) (#3189) 2019-10-07 14:37:36 -07:00
Beka Westberg
51ff00b046 Re-added resizeBubble_ call. Fixed resizeBubble_ JSDoc. (#3173) 2019-10-07 11:10:24 -07:00
Rachel Fenichel
0484b6623b Merge pull request #3164 from samelhusseini/merge_master
Merge master into develop
2019-10-04 13:50:59 -07:00
Sam El-Husseini
7fe78a3050 Merge branch 'master' into merge_master 2019-10-04 13:45:00 -07:00
Sam El-Husseini
7d83cc57e8 Rebuild typings: (#3163) 2019-10-04 13:32:43 -07:00
Rachel Fenichel
3ea43a2821 Merge pull request #3162 from rachel-fenichel/rebuild_10_04_19
Rebuild
2019-10-04 13:27:40 -07:00
Rachel Fenichel
a9c0dcf146 Rebuild 2019-10-04 13:17:05 -07:00
Sam El-Husseini
74ecb94078 Remove last instance of Object.assign (#3161) 2019-10-04 13:06:58 -07:00
Sam El-Husseini
893461384e Fix UMD build in IE11 (#3158)
* Fix the UMD build in IE11. No Object.assign
2019-10-04 10:03:58 -07:00
Beka Westberg
bc68167763 Removed Object.assign() from turtle demo (#3157)
* Removed Object.assign() from turtle demo.
2019-10-03 19:39:06 -07:00
Sam El-Husseini
80aac249ea Make bumpNeighbours public. (#3156) 2019-10-03 19:31:55 -07:00
Sam El-Husseini
e4cc2217e6 Fix compiler warnings related to events. (#3151)
* Fix 23 warnings in event related code.
2019-10-03 15:59:01 -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
Sam El-Husseini
7839512f0e When collapsed, toString was referencing text_. Using getText instead. (#3150) 2019-10-03 15:26:41 -07:00
Sam El-Husseini
e5ec726253 Fix type, caught by typings 2019-10-03 14:41:15 -07:00
Sam El-Husseini
fba98fca5b Move the dropdown field into the dropdown div. (#3122)
* Move the dropdown field into the dropdown div.
2019-10-03 14:35:28 -07:00
Sam El-Husseini
e92bae1dda Download screenshot in playground (#3148)
* Add an option on the playground to download a screenshot of the blocks on the workspace.
2019-10-03 14:35:12 -07:00
Rachel Fenichel
f2812df7dd Merge pull request #3147 from rachel-fenichel/misc_cleanup
Misc cleanup
2019-10-03 14:27:03 -07:00
Rachel Fenichel
c5e691b88b Update workspace_svg.js 2019-10-03 14:26:42 -07:00
Sam El-Husseini
735a72c20a mutation / compose fn annotations (#3149)
* Add compose / decompose type annotations.
2019-10-03 14:25:07 -07:00
Neil Fraser
f5909c9916 Restore require variables to blockly.js (#3145)
Variables and Xml are circular dependencies.  Both need to be declared in blockly.js

Maybe they can be sorted out later, but for now things are broken since nobody in core currently requires variables anywhere.
2019-10-03 14:14:19 -07:00
Rachel Fenichel
f9e54b033a Merge pull request #3146 from rachel-fenichel/sign_error
Signs are hard.
2019-10-03 11:26:06 -07:00
Rachel Fenichel
05e9cf126a Signs are hard. 2019-10-03 10:47:27 -07:00
Rachel Fenichel
78dc82f7ac Misc cleanup: annotations, and flyoutButton disposal. 2019-10-03 10:40:43 -07:00
Rachel Fenichel
77e64b39bc Remove unused nulls in disposal 2019-10-02 17:10:41 -07:00
Rachel Fenichel
771d6a119e Merge pull request #3143 from rachel-fenichel/remove_block_render_svg
Remove block_render_svg
2019-10-02 16:33:47 -07:00
Rachel Fenichel
668731b545 add visibility annotations 2019-10-02 16:29:32 -07:00
Rachel Fenichel
7ed47670cf Remove block_render_svg 2019-10-02 16:21:36 -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
Sam El-Husseini
eb5f1cc94a Fix 6 warnings in components/ (#3141) 2019-10-02 16:12:17 -07:00
Neil Fraser
c6b8cd69b5 Update newly added licenses.
The minimalist rendere was added while the licenses PR was waiting for review.
2019-10-02 15:33:42 -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
31a2544989 Rename sample renderer to minimalist (#3137)
* Rename sample to minimalist
2019-10-02 14:16:36 -07:00
Sam El-Husseini
d28e897e47 Add a sample renderer instance. (#3136)
* Add a sample renderer instance.
2019-10-02 13:22:54 -07:00
Sam El-Husseini
99ce193b1f Base renderer next / prev connection fixes. (#3135) 2019-10-02 12:35:00 -07:00
Rachel Fenichel
d7cc808d1f Merge pull request #3134 from rachel-fenichel/bugfix/3098
Bound element position based on height of the row
2019-10-02 11:44:37 -07:00
Sam El-Husseini
1236660efd Actually make WS comments optional (#3130)
* Remove last reference to ws comments since its an optional module

* Also remove from workspace
2019-10-02 11:41:51 -07:00
Sam El-Husseini
f22603f32a Call onHide before clearing content (#3131) 2019-10-02 11:41:34 -07:00
Rachel Fenichel
6b78417ede Bound element position based on height of the row 2019-10-02 11:27:26 -07:00
Rachel Fenichel
1a461362b6 Merge pull request #3129 from rachel-fenichel/spacer_height
Use row height for spacer height.
2019-10-02 10:31:00 -07:00
Rachel Fenichel
ecf69d851d Use row height for spacer height. 2019-10-01 16:41:58 -07:00
Sam El-Husseini
d7a7c7b4d5 Support XML serialization in Node.js (#3126)
* Support XML serialization in Node.js
2019-10-01 14:40:35 -07:00