Commit Graph

4274 Commits

Author SHA1 Message Date
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
Rachel Fenichel
ae5c7527b6 Merge pull request #3125 from BeksOmega/fixes/MoveDbToRendered
Connection Tracking Pt 2: Moved all database related code out of headless
2019-10-01 14:05:12 -07:00
translatewiki.net
c782889975 Localisation updates from https://translatewiki.net. 2019-10-01 16:25:49 +02:00
Beka Westberg
229dd69e54 Fixed review comments. 2019-09-30 15:32:17 -07:00
Beka Westberg
afbb2cca1e Moved all database related code out of headless and into rendered. 2019-09-27 18:00:06 -07:00
Rachel Fenichel
d26d220f85 Merge pull request #3123 from BeksOmega/tests/Connections
Connection Tracking Pt 1: Added a bunch of connection related tests
2019-09-27 16:44:16 -07:00
Beka Westberg
d5e9e4c3b4 Removed TODO. 2019-09-27 16:38:37 -07:00
Beka Westberg
1baf7d1dcf Added a bunch of connection related tests. 2019-09-27 15:56:29 -07:00
alschmiedt
468b673b73 Fix bugs (#3108)
* Fix various bugs around keyboard nav
2019-09-27 14:34:28 -07:00
Sam El-Husseini
edf3d0cfe2 Don't require everything in uncompressed. (#3120)
* Don't require everything in uncompressed.
2019-09-27 14:26:10 -07:00
Neil Fraser
27f554c647 Strip out unused Closure functions (#3121)
No functional changes.
2019-09-27 13:30:53 -07:00
Rachel Fenichel
548d80e1c3 Merge pull request #3118 from rachel-fenichel/remove_debug
Remove blockRendering.Debug, thrasos, and zelos from default requires.js
2019-09-27 13:15:49 -07:00
Rachel Fenichel
371a7c5807 Merge branch 'develop' into remove_debug 2019-09-27 12:47:44 -07:00
alschmiedt
b5a076d2b3 Add theme requires (#3114) 2019-09-27 12:36:16 -07:00
Sam El-Husseini
41e5914bd7 el.style is readonly in strict mode IE. Fixing crash in IE. (#3119) 2019-09-27 12:21:08 -07:00
Rachel Fenichel
0e1a4b68e1 Remove blockRendering.Debug, thrasos, and zelos from default requires.js 2019-09-27 12:01:06 -07:00
Neil Fraser
a2e6cfffcc Block comments from XML not fatal
…if Blockly.Comment was not compiled in.
2019-09-27 11:46:23 -07:00
Neil Fraser
b701475984 Simplify trashcan code (#3110)
Also delete unused props in CSS.
2019-09-27 11:43:56 -07:00
Sam El-Husseini
fc2c730e44 Make workspace comments an optional module, remove from this release. (#3115) 2019-09-27 11:15:11 -07:00
Monica Kozbial
328f2c3373 Removing deprecated renderMode reference in playground. (#3107) 2019-09-27 11:12:49 -07:00
Monica Kozbial
f4136fdc2a Adding test and updating TODO. (#3102)
* Adding test and updating TODO.

* changing bug number referenced in TODO
2019-09-27 11:12:37 -07:00
Monica Kozbial
40e0d55187 Removing obsolete TODO comment. (#3104) 2019-09-27 11:12:11 -07:00
Neil Fraser
872aa45fae More straightening out of dependencies. 2019-09-27 10:48:14 -07:00
Neil Fraser
6650ecf13f Make dynamic variables be an optional module.
Also straighten out some dependencies.
2019-09-27 10:48:14 -07:00
Neil Fraser
4ed3295ad9 Make generator an optional module (#3105) 2019-09-27 10:47:10 -07:00