Commit Graph

246 Commits

Author SHA1 Message Date
alschmiedt
6516363469 Change setLocation to setCurNode (#3051)
* Change setLocation to setCurNode
2019-09-19 15:15:14 -07:00
alschmiedt
abb5ae6d23 Add key map demo (#3042)
* Merge with develop

* Update jsdocs
2019-09-19 13:02:02 -07:00
alschmiedt
8b3d48b148 Update demo (#3033)
* Update the cursor demo to use the basic cursor

* Change <br> to <br />
2019-09-18 12:01:50 -07:00
Sam El-Husseini
d9fcfdbc07 Blockly entry point (#3019)
* Move fields and renderers into their own entry point so folks are able to be more selective about which fields and renderers they include in their bundle.
2019-09-16 12:36:02 -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
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
alschmiedt
ec07a36e44 Update cursor api (#3002)
* Move over to new implementation for cursor
2019-09-11 18:16:05 -07:00
Rachel Fenichel
6f4476c962 Textarea Field, Multiline Block (from acbart) (#2663)
* Field Textarea, text_multiline block, generators
2019-09-11 17:57:46 -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
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
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
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
06a882348b Render round right corners in zelos. (#2938)
* Render round right corners in zelos.
2019-08-30 18:11:01 -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
Rachel Fenichel
8436f3f0c6 Rebuild 2019-08-26 10:26:46 -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
81c06281e0 Add a constant provider for zelos 2019-08-23 16:44:21 -07:00
Rachel Fenichel
a9189f01bc Fix up annotations 2019-08-23 14:52:42 -07:00
Rachel Fenichel
a57f4691c7 Move highlighting code into geras. 2019-08-23 14:43:56 -07:00
Rachel Fenichel
916ba8e5b8 Move rendering init call into workspace svg. 2019-08-23 13:36:56 -07:00
Rachel Fenichel
81fc9bf32c Switch constants to objects 2019-08-23 11:21:30 -07:00
Rachel Fenichel
3e8ea99d34 Centralize references to highlight constants 2019-08-23 10:44:46 -07:00
Rachel Fenichel
73ce1607a4 Merge pull request #2898 from rachel-fenichel/constant_property
Centralize references to Blockly.blockRendering.constants
2019-08-23 10:40:01 -07:00
Rachel Fenichel
a81c633be7 Centralize references to Blockly.blockRendering.constants 2019-08-22 18:08:59 -07:00
Sam El-Husseini
4deb166007 Remove closure from the build script and blockly_uncompressed (#2891)
* Remove closure from the build script and blockly_uncompressed.
2019-08-22 11:22:55 -07:00
Rachel Fenichel
e86c852936 Split render_info 2019-08-21 14:33:43 -07:00
Rachel Fenichel
0a6113aca7 Rebuild 2019-08-20 15:53:32 -07:00
Rachel Fenichel
c2e772f864 Fix provides and requires 2019-08-20 15:41:52 -07:00
Rachel Fenichel
8d32f6bef3 Move Connection measurables to their own file 2019-08-20 11:41:04 -07:00
Rachel Fenichel
9b8636661f Make rows populate themselves 2019-08-19 15:08:23 -07:00
Rachel Fenichel
981761f7da Move the base Measurable class to its own file 2019-08-19 13:54:07 -07:00
Rachel Fenichel
ba90f6b2bb Rebuild 2019-08-19 11:28:39 -07:00
Rachel Fenichel
88a9307cdb Move all rows into rows.js 2019-08-19 11:28:12 -07:00
Rachel Fenichel
4a3fdb83db Move rows to a new file and annotate 2019-08-19 11:28:12 -07:00
Sam El-Husseini
63f55da379 Remove last bit of closure! (#2858) 2019-08-16 18:39:25 -07:00
Sam El-Husseini
2b26787185 Blockly menus without closure (#2831)
* Blockly Menu and MenuItem that don't rely on the closure library.
2019-08-16 17:23:14 -07:00
Beka Westberg
e92dd6bcd6 Maybe like really fix mocha. 2019-08-16 12:09:47 -07:00
Beka Westberg
23366e40b4 Maybe fix mocha? 2019-08-16 10:45:26 -07:00
Beka Westberg
f1afb61694 Maybe fix mocha? 2019-08-16 10:26:01 -07:00
Beka Westberg
1d99c0ffef Rebuild for rebase. 2019-08-16 10:04:05 -07:00
alschmiedt
9b3e05e3d9 Field accessibility (#2823)
* Gives fields a chance to handle keyboard events
2019-08-15 15:44:54 -07:00
Sam El-Husseini
4a10ff833d Remove all calls to goog.events.KeyCodes (#2824)
* Remove all calls to goog.events.keyCodes
2019-08-14 14:14:49 -07:00
Sam El-Husseini
f118d6de88 No closure toolbox (#2819)
* Update the toolbox to not rely on closure and instead use the built in Blockly.tree component
2019-08-14 13:48:21 -07:00
alschmiedt
74fa3bb71a Initial commit for changing key mappings (#2787)
* Added ability to easily change key mappings
2019-08-13 13:37:01 -07:00
Sam El-Husseini
f34f2beac7 Remove all calls to goog.style (#2781)
* Remove dependency on goog.style
2019-08-06 14:54:13 -07:00
Sam El-Husseini
57868e7e83 Remove all calls to goog.math (#2739)
* Replace calls to goog.math.Size and goog.math.Coordinate with Blockly equivelants
2019-07-30 11:22:08 -07:00