Commit Graph

4131 Commits

Author SHA1 Message Date
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
Jasper Pilgrim
b517f3d7a3 Fix typo in readme (#3015)
'reqeusts' -> 'requests'
2019-09-13 08:26:07 -07:00
Sam El-Husseini
e2588152c0 Merge pull request #3011 from google/fraser-delete
Code cleanup
2019-09-12 19:52:07 -07:00
Neil Fraser
5650fe51a2 Typos. 2019-09-12 18:24:48 -07:00
Neil Fraser
e43e19d19a Remove three functions deprecated in 2015
We’ve had four years of console warnings, and this next release is known to be breaking.  Each is trivial to fix in code.
2019-09-12 18:04:45 -07:00
Neil Fraser
23caa12571 Error is a constructor, ‘new’ is not required. 2019-09-12 18:02:59 -07:00
Neil Fraser
bf31b41a4e Delete orphaned file.
Nowhere requires ‘Blockly.DraggedConnectionManager’
2019-09-12 18:01:45 -07:00
Neil Fraser
d6cb6b9832 Remove last @export tag (#3010)
* Remove last @export tag
2019-09-12 17:01:51 -07:00
Sam El-Husseini
f3f3329355 Fix configure method (#2915)
* Fix configure method.
2019-09-12 17:01:03 -07:00
Monica Kozbial
7f2a1aef4d Merge pull request #3006 from moniika/moniika-dummy-input
Fix logic in shouldStartNewRow_ and between row padding in geras.
2019-09-12 13:47:07 -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
Monica Kozbial
82e9344b8e Merge pull request #3003 from moniika/moniika-misaligned-flyout
Fixing x positioning of blocks with output connections in vertical fl…
2019-09-12 11:17:10 -07:00
kozbial
a12a47e0f8 Fixing require ordering and bug in horizontal layout computation. 2019-09-12 11:05:30 -07:00
kozbial
b26f50ab8d Fixing x positioning of blocks with output connections in vertical flyout. 2019-09-12 11:05:30 -07:00
translatewiki.net
f0dd5d8954 Localisation updates from https://translatewiki.net. 2019-09-12 15:53:06 +02: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
Rachel Fenichel
f717add5a5 Block annotations (#2997)
* Replace `@this Blockly.Block` with `@this {Blockly.Block}` in all block files.

* Fix 9 compiler warnings (JSC_USED_GLOBAL_THIS)
2019-09-11 17:50:52 -07:00
Sam El-Husseini
fb74181589 Add Object values helper method to fix IE (#3005) 2019-09-11 17:44:41 -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
Sam El-Husseini
09d2a167f9 Fix travis by running browser tests in headless mode (#3001)
* Fix travis by running browser tests in headless mode
2019-09-11 17:25:22 -07:00
Beka Westberg
042ddb043b Added hideChaff calls to the custom fields demo. 2019-09-11 15:49:21 -07:00
Rachel Fenichel
7a068f8521 Merge pull request #2996 from rachel-fenichel/alphabetize
Alphabetize requires
2019-09-10 13:18:56 -07:00
Rachel Fenichel
4b17234cba Alphabetize requires 2019-09-10 13:01:13 -07:00
alschmiedt
4a80889ef1 Enter accessibility (#2982)
* Fix shift clicking on a block

* Add tests for toggle keyboar nav
2019-09-09 16:41:06 -07:00
Sam El-Husseini
22fdf2ac20 Update npm readme to use correct path for the Javascript generator (#2993) 2019-09-09 15:41:09 -07:00
translatewiki.net
8e0a0e85c4 Localisation updates from https://translatewiki.net. 2019-09-09 19:11:40 +02:00
Sam El-Husseini
4c8e28c53d Dynamic output shapes (#2980)
* Round and triangle dynamic output shapes.
2019-09-06 13:04:01 -07:00
translatewiki.net
f2595b980c Localisation updates from https://translatewiki.net. 2019-09-06 06:44:42 +02:00
Rachel Fenichel
cd2d59597d Merge pull request #2974 from rachel-fenichel/block_height
Add dark path offset in geras info.
2019-09-05 17:11:06 -07:00
Rachel Fenichel
e96acf476c Add dark path offset in geras info. 2019-09-05 16:55:56 -07:00
Rachel Fenichel
ffd1a157ae Merge pull request #2973 from rachel-fenichel/highlight_path
Use strings instead of arrays for highlight paths
2019-09-05 16:30:39 -07:00
Rachel Fenichel
261040a6fd Add jsdoc 2019-09-05 16:19:51 -07:00
Rachel Fenichel
e48c60fee6 Use strings instead of arrays for highlight paths 2019-09-05 15:48:46 -07:00
RoboErikG
a7b560db81 Revert "Mark Blockly.Constants.Colour and .Lists depreacted. (#1797)"
This reverts commit b2cb96b5b1.
2019-09-05 15:34:20 -07:00
Rachel Fenichel
dc1f285251 Merge pull request #2971 from rachel-fenichel/dark_path
Remove references to dark path offset; fix highlights while dragging
2019-09-05 14:51:34 -07:00
alschmiedt
e8f328aa28 Fix enable accessibility (#2968)
* Enables accessibility mode should make the cursor visible
2019-09-05 14:05:52 -07:00
Rachel Fenichel
77c6344a37 Reset renderer 2019-09-05 12:01:54 -07:00
Rachel Fenichel
2ffe71f0a0 Remove references to dark path offset; fix highlights while dragging' 2019-09-05 11:59:28 -07:00
Rachel Fenichel
43944f7151 Merge pull request #2970 from rachel-fenichel/renderer_object
Define a BlockRenderer object that Geras, Thrasos, and Zelos extend
2019-09-05 11:21:57 -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
4e5f03e7c2 Merge pull request #2969 from rachel-fenichel/top_bottom_rows
Tweak top and bottom rows
2019-09-04 16:47:31 -07:00
Rachel Fenichel
e35f4d5070 More cleanup. 2019-09-04 16:26:53 -07:00
Rachel Fenichel
b4ac23df6c Remove useless variable. 2019-09-04 16:26:53 -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