11 Commits

Author SHA1 Message Date
Rachel Fenichel 9ce06fb7d3 Add missing requireTypes for core/renderers/measurables 2021-02-02 11:38:08 -08:00
Neil Fraser 4e2f8e6e02 Use SPDX licences.
This is a followup to #3127.
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08: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 e339ae26bc Move the rendering object to live on the workspace_svg (#3016)
* Move the rendering object onto the workspace allowing the various workspaces to have different renderers.
2019-09-13 14:20:34 -07:00
Rachel Fenichel 4b17234cba Alphabetize requires 2019-09-10 13:01:13 -07:00
Sam El-Husseini 189c561f49 Rendering type checker (#2950)
* Convert all rendering types to use a type enum flag.
2019-09-03 14:39:02 -07:00
Rachel Fenichel 27cd26b264 Add a function to get the shape object of a connection, and use it 2019-08-23 17:34:41 -07:00
Rachel Fenichel 81fc9bf32c Switch constants to objects 2019-08-23 11:21:30 -07:00
Rachel Fenichel a81c633be7 Centralize references to Blockly.blockRendering.constants 2019-08-22 18:08:59 -07:00
kozbial ffbd483442 Storing notch_left_offset on rows and measurables. 2019-08-20 14:09:16 -07:00
Rachel Fenichel 981761f7da Move the base Measurable class to its own file 2019-08-19 13:54:07 -07:00