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
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
99ce193b1f
Base renderer next / prev connection fixes. ( #3135 )
2019-10-02 12:35:00 -07:00
Rachel Fenichel
ecf69d851d
Use row height for spacer height.
2019-10-01 16:41:58 -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
872aa45fae
More straightening out of dependencies.
2019-09-27 10:48:14 -07:00
Monica Kozbial
22e79ae496
Updating behavior of register functions and adding unregister. ( #3085 )
...
* Updating behavior of register functions and adding unregister.
* Updates jsdoc comments.
2019-09-26 13:23:45 -07:00
Monica Kozbial
303a841685
Adding check for pushing last row with only empty dummy input. ( #3081 )
2019-09-24 13:41:26 -07:00
Monica Kozbial
21c5698e98
Moving DARK_PATH_OFFSET to geras only. ( #3066 )
...
* Moving DARK_PATH_OFFSET to geras.
* Adding compressed and uncompressed files.
* Adding missing newlines
* Reverting commit of messages.
* Reverting compressed files.
* Updating compressed files.
* Addressing PR comments.
* Removing unecessary input overrides.
2019-09-23 15:57:59 -07:00
Monica Kozbial
a14ac351b5
Adding checks for whether to add elem spacer on row ends ( #3060 )
...
* Adding checks for whether elem spacer shouldbe added to start and end of row.
* Fix eslint and add package visibility.
2019-09-20 14:20:14 -07:00
Monica Kozbial
a8af9fea21
Move populate for topRow and bottomRow to info ( #3057 )
...
* Move populate for topRow and bottomRow from measurable definition to info.
* Fix local variable and circular dependency.
2019-09-20 13:24:46 -07:00
Sam El-Husseini
57c8e3dded
Rendering: Fix setting the path in RTL ( #3047 )
...
* Fix setting the RTL path.
2019-09-19 14:44:44 -07:00
kozbial
60e6b8c6df
style and doc updates.
2019-09-19 10:38:23 -07:00
kozbial
3d06e7eb33
Creating cursordrawer in renderer.
2019-09-19 10:38:23 -07:00
Monica Kozbial
e551db41e0
Merge pull request #3017 from moniika/moniika-debug-render-checkmarks
...
Adding checkboxes for debug rendering options to playground.
2019-09-16 17:18:32 -07:00
Rachel Fenichel
77185906d8
Renderers define which paths a block has. ( #2981 )
...
* Move render elements into a path object.
2019-09-16 12:13:32 -07:00
kozbial
53cb811f78
Addressing PR comments.
2019-09-16 11:42:28 -07:00
kozbial
02e5b77a20
Adding checkboxes for debug rendering options to playground.
2019-09-16 11:42:28 -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
Sam El-Husseini
fc420b7037
Support for registering renderers and switching between them ( #3013 )
...
* Added support for registering renderers and for choosing which renderer the workspace wants to use.
2019-09-13 10:30:20 -07:00
Neil Fraser
23caa12571
Error is a constructor, ‘new’ is not required.
2019-09-12 18:02:59 -07:00
kozbial
8a00ed9eb2
Remove duplicate check and undo changes in debugger render.
2019-09-12 13:36:45 -07:00
kozbial
90a10e5f44
Fix logic in shouldStartNewRow_ and between row padding in geras.
2019-09-12 11:34:08 -07:00
Rachel Fenichel
4b17234cba
Alphabetize requires
2019-09-10 13:01:13 -07:00
Sam El-Husseini
4c8e28c53d
Dynamic output shapes ( #2980 )
...
* Round and triangle dynamic output shapes.
2019-09-06 13:04:01 -07:00
Rachel Fenichel
e96acf476c
Add dark path offset in geras info.
2019-09-05 16:55:56 -07:00
Rachel Fenichel
e48c60fee6
Use strings instead of arrays for highlight paths
2019-09-05 15:48:46 -07:00
Rachel Fenichel
da6d28b818
More cleanup
2019-09-05 11:16:27 -07:00
Rachel Fenichel
87e7be9619
Cleanup
2019-09-04 17:19:31 -07:00
Rachel Fenichel
581705cc7b
Create a Renderer base class and extend it for each type of renderer
2019-09-04 17:16:08 -07:00
Rachel Fenichel
135ab7993e
Use ascender/descender naming for top and bottom rows; tweak position calculation.
2019-09-04 16:26:53 -07:00
Sam El-Husseini
73d0b70c22
Add a spacer before and after a statement input and place use it to render a right corner before and after the statement input. ( #2967 )
2019-09-04 15:38:23 -07:00
Rachel Fenichel
5dc45be726
Reset default renderer to geras. ( #2960 )
2019-09-03 15:55:52 -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
Sam El-Husseini
96378f9183
Fix slight offset in statement input connection X location. ( #2953 )
...
* Fix slight offset in statement input connection X location.
2019-09-03 14:38:10 -07:00
Sam El-Husseini
06a882348b
Render round right corners in zelos. ( #2938 )
...
* Render round right corners in zelos.
2019-08-30 18:11:01 -07:00
Rachel Fenichel
4dfb03adbf
Make statement inputs store their actual width. ( #2944 )
...
* Make statement inputs store their actual width.
2019-08-30 17:55:51 -07:00
Sam El-Husseini
6050456bcf
Fix bug in base renderer, not respecting the bottom row's overhang Y property. ( #2942 )
2019-08-30 15:44:44 -07:00
Rachel Fenichel
aa8f4685da
Add connectedBlockBounds option; set quieter defaults
2019-08-29 17:12:09 -07:00
Rachel Fenichel
c069316866
Debug configurability
2019-08-29 16:21:51 -07:00
Rachel Fenichel
bc50143130
Remove special case for spacer after statement
2019-08-29 15:05:09 -07:00
kozbial
e063ae5a38
Simplify statement input height computation logic.
2019-08-27 16:50:09 -07:00
Sam El-Husseini
dc1e7b82fe
Zelos notch ( #2918 )
...
* Add the zelos notch
2019-08-26 17:49:42 -07:00
Rachel Fenichel
d28c5dd8be
Rename rendering files and folders
2019-08-26 10:48:44 -07:00